{
    "componentChunkName": "component---src-templates-api-tsx",
    "path": "/en/GoToConnect/",
    "result": {"data":{"openApi":{"postman":{"documentName":"GoToConnect.postman_collection.json","collection":"{\"item\":[{\"id\":\"e0944a91-b7c7-423f-b996-855bfd5bfd1f\",\"name\":\"voice-admin/v1\",\"item\":[{\"id\":\"a37b8588-57e8-4002-a403-6f1e8d50de1e\",\"name\":\"Get Account\",\"request\":{\"name\":\"Get Account\",\"description\":{\"content\":\"Get phone-system configuration-related information about an account.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"accounts\",\":accountKey\"],\"host\":[\"{{voice-admin-v1-accounts-accountKey-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"accountKey\",\"description\":\"(Required) This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"5e59e4eb-28b4-4c10-9c40-76500edec073\",\"name\":\"Account information.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"accounts\",\":accountKey\"],\"host\":[\"{{voice-admin-v1-accounts-accountKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"extensionDigits\\\": 4\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"41ecd6fd-dde7-4885-ab37-50d32c04cb30\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"accounts\",\":accountKey\"],\"host\":[\"{{voice-admin-v1-accounts-accountKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"94f8dc23-02f5-43cf-9ba1-83de264a1859\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"accounts\",\":accountKey\"],\"host\":[\"{{voice-admin-v1-accounts-accountKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e1d69757-2762-4141-830c-e5e5dffac7e5\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"accounts\",\":accountKey\"],\"host\":[\"{{voice-admin-v1-accounts-accountKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f3062060-5022-46f4-bd1e-451bf0a60407\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"accounts\",\":accountKey\"],\"host\":[\"{{voice-admin-v1-accounts-accountKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"337b3829-f5f8-4717-be83-fbbeaf73eaa2\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"accounts\",\":accountKey\"],\"host\":[\"{{voice-admin-v1-accounts-accountKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"599947f4-5511-4747-b379-172cdd466639\",\"name\":\"phone-number-orders\",\"item\":[{\"id\":\"667e1e64-3c8e-4f4d-bba5-40dee4992eed\",\"name\":\"Create a Phone Number Order\",\"request\":{\"name\":\"Create a Phone Number Order\",\"description\":{\"content\":\"Only supported in Canada and USA right now.\\nUse this API to start the phone number ordering flow. See the example in the description of the voice admin API to get a view of the full flow.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"<string>\\\",\\n    \\\"areaCode\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"9925004d-9088-491b-83bc-1dc847b9bfd6\",\"name\":\"The order was created. You can use the ID in the body to get detail about the order.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"31416\\\",\\n    \\\"areaCode\\\": \\\"418\\\"\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"ad in commodo\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"78840b94-dc12-4f72-a6ba-e72a9d3ecf01\",\"name\":\"The request has one or more issues. Potential error codes are\\n\\n* `INVALID_ACCOUNT_KEY` - The account key is invalid or unknown\\n\\n* `INVALID_AREA_CODE` - The given area code is invalid\\n\\n* `NO_PHONE_NUMBER_FOUND_FOR_AREA_CODE` - Not able to find a phone number for this area code\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"31416\\\",\\n    \\\"areaCode\\\": \\\"418\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\\\",\\n \\\"errorCode\\\": \\\"INVALID_ACCOUNT_KEY\\\",\\n \\\"message\\\": \\\"The account key is invalid or unknown\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"02a0a5e4-2245-4259-8f61-a26397384c30\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"31416\\\",\\n    \\\"areaCode\\\": \\\"418\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f2fb73c2-d2c8-4ae3-ad77-72105b49c880\",\"name\":\"There was an error during authorization.  The API returns a number of\\n`errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\\n* `EXCEED_MAX_DIDS_LIMIT` - The organization has reached the maximum number of phone numbers allowed.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"31416\\\",\\n    \\\"areaCode\\\": \\\"418\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"014ad218-c7dd-4eb7-ac6e-f00cca5d6197\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"31416\\\",\\n    \\\"areaCode\\\": \\\"418\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a89eafdc-ffb8-4a3b-91da-d2330af54eb9\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"31416\\\",\\n    \\\"areaCode\\\": \\\"418\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"6bccfe9c-e075-4d16-a43a-7faab7cb8edd\",\"name\":\"Get Phone Number Orders\",\"request\":{\"name\":\"Get Phone Number Orders\",\"description\":{\"content\":\"Obtains a paginated list of phone number orders.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\"},{\"disabled\":false,\"key\":\"start\",\"value\":\"<iso8601>\",\"description\":\"Defines the initial date to query the phone number orders. \\nIf not defined, all phone number orders since the first one will be fetched.\\n\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"e7ef2b27-31c0-41b6-b59b-c8054e1e4486\",\"name\":\"List of phone number orders. Will return an empty list if the user doesn't have the permission for the given account\\nor the given account is not found.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"start\",\"value\":\"<iso8601>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"anim reprehenderit sed\\\",\\n   \\\"status\\\": \\\"PROCESSING\\\",\\n   \\\"orderDate\\\": \\\"dolore nulla ut laborum\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"culpa Lorem officia elit reprehenderit\\\",\\n   \\\"status\\\": \\\"CANCELED\\\",\\n   \\\"orderDate\\\": \\\"cupidatat do\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a881d7b9-7622-4f1e-9667-2e3b54668201\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"start\",\"value\":\"<iso8601>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c4e66658-7d6d-4843-a25e-ddddc4aceead\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"start\",\"value\":\"<iso8601>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"18f9376f-6b5a-4d0a-a566-0a7fae2afed1\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"start\",\"value\":\"<iso8601>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e64d970e-010b-4fb2-acc7-2bc09d8e568d\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"start\",\"value\":\"<iso8601>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"17b1427f-58e3-43d9-91be-2e51a824d994\",\"name\":\"Get a Specific Phone Number Order\",\"request\":{\"name\":\"Get a Specific Phone Number Order\",\"description\":{\"content\":\"Use this API to the get status of your phone number order.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` or `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\",\":orderId\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-orderId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"orderId\",\"description\":\"(Required) The phone number order's unique identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"88319e09-5eb6-480e-a619-208b04c784eb\",\"name\":\"Contains the information about your phone number order\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\",\":orderId\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-orderId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"orderId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"do nisi dolor\\\",\\n \\\"status\\\": \\\"COMPLETED\\\",\\n \\\"orderDate\\\": \\\"anim sed consectetur pariat\\\",\\n \\\"phoneNumberIds\\\": [\\n  \\\"anim sed sint ullamco\\\",\\n  \\\"do velit\\\"\\n ],\\n \\\"phoneNumberId\\\": \\\"voluptate pariatur ad\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5917294f-684e-466a-a572-e43b28be7db3\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\",\":orderId\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-orderId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"orderId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f892563c-1d3a-411e-a7e3-f98bab8aa66e\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\",\":orderId\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-orderId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"orderId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2fe5bd19-173b-4416-8466-414f2529dbd1\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\",\":orderId\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-orderId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"orderId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a926dee2-2869-49d5-9e11-636640ab0436\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\",\":orderId\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-orderId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"orderId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e3a3efe3-695a-41c3-aeac-1baed67ea8a1\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-number-orders\",\":orderId\"],\"host\":[\"{{voice-admin-v1-phone-number-orders-orderId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"orderId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"70e11e39-92d1-40ca-acb4-e4a2e2281640\",\"name\":\"phone-numbers\",\"item\":[{\"id\":\"6dcac57f-b1bb-48bd-8060-83f841d03ae0\",\"name\":\"Get phone numbers\",\"request\":{\"name\":\"Get phone numbers\",\"description\":{\"content\":\"Obtains a paginated list of phone numbers in an account.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\"],\"host\":[\"{{voice-admin-v1-phone-numbers-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"targetExtensionId\",\"value\":\"<string>\",\"description\":\"The target extension's unique identifier.\"},{\"disabled\":false,\"key\":\"number\",\"value\":\"<string>\",\"description\":\"A list of E164-formatted phone numbers. If provided, the API will return only the phone numbers that match the provided numbers.\"},{\"disabled\":false,\"key\":\"number\",\"value\":\"<string>\",\"description\":\"A list of E164-formatted phone numbers. If provided, the API will return only the phone numbers that match the provided numbers.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"10ff7075-42a0-4d0b-a8d5-f6627f18ea95\",\"name\":\"List of phone numbers. Will return an empty list if the user doesn't have the permission for the given account\\nor the given account is not found.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\"],\"host\":[\"{{voice-admin-v1-phone-numbers-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"targetExtensionId\",\"value\":\"<string>\"},{\"key\":\"number\",\"value\":\"+14155552671\"},{\"key\":\"number\",\"value\":\"+14155552671\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"occaecat nisi\\\",\\n   \\\"accountKey\\\": \\\"1956177422157\\\",\\n   \\\"number\\\": \\\"quis aliquip\\\",\\n   \\\"organizationId\\\": \\\"eu Lorem est ea\\\",\\n   \\\"status\\\": \\\"DEACTIVATED\\\",\\n   \\\"name\\\": \\\"minim\\\",\\n   \\\"callerIdName\\\": \\\"fugiat e\\\",\\n   \\\"routeTo\\\": {\\n    \\\"id\\\": \\\"ut ad\\\",\\n    \\\"type\\\": \\\"EXTENSION\\\"\\n   },\\n   \\\"billingGroupId\\\": \\\"75bc74f1-1fb6-5daf-bc13-13f24932e3dc\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"proident Ut\\\",\\n   \\\"accountKey\\\": \\\"1956177422157\\\",\\n   \\\"number\\\": \\\"voluptate consectetur Ut\\\",\\n   \\\"organizationId\\\": \\\"et ipsum\\\",\\n   \\\"status\\\": \\\"DEACTIVATED\\\",\\n   \\\"name\\\": \\\"non nulla Duis\\\",\\n   \\\"callerIdName\\\": \\\"ame\\\",\\n   \\\"routeTo\\\": {\\n    \\\"id\\\": \\\"irure dolore\\\",\\n    \\\"type\\\": \\\"PHONE_NUMBER\\\"\\n   },\\n   \\\"billingGroupId\\\": \\\"75bc74f1-1fb6-5daf-bc13-13f24932e3dc\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e2570042-b499-45ab-8a16-41b43c9b4179\",\"name\":\"The request has one or more issues. The API returns a number of\\n`constraintViolation`s in the response that provide additional\\ndetails for the following cases:\\n\\n* The `pageMarker`, `pageSize`, or `targetExtensionId` is invalid\\n* `accountKey` is missing\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\"],\"host\":[\"{{voice-admin-v1-phone-numbers-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"targetExtensionId\",\"value\":\"<string>\"},{\"key\":\"number\",\"value\":\"+14155552671\"},{\"key\":\"number\",\"value\":\"+14155552671\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"accountKey\\\",\\n   \\\"constraint\\\": \\\"REQUIRED\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"nextPageMarker\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"pageSize\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"targetExtensionId\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"042968e5-84c5-47a5-aa37-680878272f11\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\"],\"host\":[\"{{voice-admin-v1-phone-numbers-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"targetExtensionId\",\"value\":\"<string>\"},{\"key\":\"number\",\"value\":\"+14155552671\"},{\"key\":\"number\",\"value\":\"+14155552671\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"67ce0b06-c384-4d3f-8b0a-cb8eac8f39d6\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\"],\"host\":[\"{{voice-admin-v1-phone-numbers-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"targetExtensionId\",\"value\":\"<string>\"},{\"key\":\"number\",\"value\":\"+14155552671\"},{\"key\":\"number\",\"value\":\"+14155552671\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cbe62191-9260-4c92-b4f6-3118b2687654\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\"],\"host\":[\"{{voice-admin-v1-phone-numbers-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"targetExtensionId\",\"value\":\"<string>\"},{\"key\":\"number\",\"value\":\"+14155552671\"},{\"key\":\"number\",\"value\":\"+14155552671\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3717bd11-e425-42ca-8491-7c6803a27701\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\"],\"host\":[\"{{voice-admin-v1-phone-numbers-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"targetExtensionId\",\"value\":\"<string>\"},{\"key\":\"number\",\"value\":\"+14155552671\"},{\"key\":\"number\",\"value\":\"+14155552671\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"d858b851-93b5-42ea-a039-2fe1fad73468\",\"name\":\"{phone Number Id}\",\"item\":[{\"id\":\"8c660efa-841d-4cfb-91b5-ba38b42a1900\",\"name\":\"Get a specific phone number\",\"request\":{\"name\":\"Get a specific phone number\",\"description\":{\"content\":\"Get a specific phone number by phone number id.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"phoneNumberId\",\"description\":\"(Required) The phone number's unique identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"76348348-7784-4869-8ec8-5449da2b118c\",\"name\":\"The phone number model\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"accountKey\\\": \\\"1956177422157\\\",\\n \\\"id\\\": \\\"fugiat eiusmod dolore\\\",\\n \\\"isBeingPorted\\\": false,\\n \\\"number\\\": \\\"dolore amet\\\",\\n \\\"organizationId\\\": \\\"Lorem enim\\\",\\n \\\"smsEnabled\\\": false,\\n \\\"status\\\": \\\"ACTIVE\\\",\\n \\\"name\\\": \\\"veniam\\\",\\n \\\"callerIdName\\\": \\\"Lor\\\",\\n \\\"routeTo\\\": {\\n  \\\"id\\\": \\\"aute dolore elit magna\\\",\\n  \\\"type\\\": \\\"EXTENSION\\\"\\n },\\n \\\"billingGroupId\\\": \\\"75bc74f1-1fb6-5daf-bc13-13f24932e3dc\\\",\\n \\\"campaignStatus\\\": \\\"IN_PROGRESS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2a3ec0d3-d8cf-4e51-a9bf-c097ef103379\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"40115905-306c-4bff-836a-c1f3b7d42e9a\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cbc25195-0919-4a82-abab-68da8cf9732c\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"529c607c-217c-4fc3-a079-153e64b7d978\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5c02ac13-7bb2-4e94-808a-9c6174dd06f2\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"4613e3e5-09c6-47aa-a3f3-048bd2cd997d\",\"name\":\"Update a specific phone number\",\"request\":{\"name\":\"Update a specific phone number\",\"description\":{\"content\":\"Only pass the fields that you want to update. If you want to unset a specific editable field, pass `null`.\\nNote that you cannot unset the `name` field, which is mandatory.\\n\\nIf you want to set the caller ID name and the name of given phone number, you can provide the following body:\\n```\\n{\\n  \\\"callerIdName\\\": \\\"Jawn Dough\\\",\\n  \\\"name\\\": \\\"TMBG Dial-A-Song Line\\\"\\n}\\n```\\n\\nIf you want to unset the caller ID name, pass the following instead:\\n```\\n{\\n  \\\"callerIdName\\\": null\\n}\\n```\\n\\nMoreover, you may set the route to an extension for a given phone number, with the following request body:\\n```\\n{\\n  \\\"routeTo\\\": {\\n    \\\"id\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n    \\\"type\\\": \\\"EXTENSION\\\"\\n  }  \\n}\\n```\\n\\nIf you want to unset the route, pass the following instead\\n```\\n{\\n  \\\"routeTo\\\": null\\n}\\n```\\n\\nYou can provide the following request body to set the billing group id:\\n```\\n{\\n  \\\"billingGroupId\\\": \\\"768e38ae-f468-11eb-9a03-0242ac131234\\\"\\n}\\n```\\n\\nTo unset the billing group id, pass the following:\\n```\\n{\\n  \\\"billingGroupId\\\": null\\n}\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"phoneNumberId\",\"description\":\"(Required) The phone number's unique identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"callerIdName\\\": \\\"<string>\\\",\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"routeTo\\\": {\\n        \\\"id\\\": \\\"<string>\\\",\\n        \\\"type\\\": \\\"<string>\\\"\\n    },\\n    \\\"billingGroupId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"3b6f372d-742d-428e-98ac-feb27ea9e0b8\",\"name\":\"The phone number was patched\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"callerIdName\\\": \\\"<string>\\\",\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"routeTo\\\": {\\n        \\\"id\\\": \\\"<string>\\\",\\n        \\\"type\\\": \\\"<string>\\\"\\n    },\\n    \\\"billingGroupId\\\": \\\"75bc74f1-1fb6-5daf-bc13-13f24932e3dc\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"exercitation Excepteur dolor esse elit\\\",\\n \\\"accountKey\\\": \\\"1956177422157\\\",\\n \\\"number\\\": \\\"adipisicing\\\",\\n \\\"organizationId\\\": \\\"v\\\",\\n \\\"status\\\": \\\"DEACTIVATED\\\",\\n \\\"name\\\": \\\"adipisicing Ex\\\",\\n \\\"callerIdName\\\": \\\"Lorem\\\",\\n \\\"routeTo\\\": {\\n  \\\"id\\\": \\\"sit qui\\\",\\n  \\\"type\\\": \\\"EXTENSION\\\"\\n },\\n \\\"billingGroupId\\\": \\\"75bc74f1-1fb6-5daf-bc13-13f24932e3dc\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a32aabc5-2684-4b47-9759-03e649e4d3c5\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `INVALID_CALLER_ID_NAME` - The given caller ID name is invalid\\n* `INVALID_NAME` - The given extension or phone number name is invalid\\n* `INVALID_ID` - The given extension or phone number ID is invalid\\n* `INVALID_TYPE` - The given route type is invalid\\n* `INVALID_BILLING_GROUP_ID` - The given billing group ID is invalid\\n* `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"callerIdName\\\": \\\"<string>\\\",\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"routeTo\\\": {\\n        \\\"id\\\": \\\"<string>\\\",\\n        \\\"type\\\": \\\"<string>\\\"\\n    },\\n    \\\"billingGroupId\\\": \\\"75bc74f1-1fb6-5daf-bc13-13f24932e3dc\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_CALLER_ID_NAME\\\",\\n \\\"message\\\": \\\"The caller ID name is invalid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2c9a8fd9-22c6-49aa-80b9-091d83de21ad\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"callerIdName\\\": \\\"<string>\\\",\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"routeTo\\\": {\\n        \\\"id\\\": \\\"<string>\\\",\\n        \\\"type\\\": \\\"<string>\\\"\\n    },\\n    \\\"billingGroupId\\\": \\\"75bc74f1-1fb6-5daf-bc13-13f24932e3dc\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e9e75ae0-eea2-4b74-8df5-5807cda58624\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"callerIdName\\\": \\\"<string>\\\",\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"routeTo\\\": {\\n        \\\"id\\\": \\\"<string>\\\",\\n        \\\"type\\\": \\\"<string>\\\"\\n    },\\n    \\\"billingGroupId\\\": \\\"75bc74f1-1fb6-5daf-bc13-13f24932e3dc\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"95d9cd49-b2cb-450a-af73-a8df512cdee8\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"callerIdName\\\": \\\"<string>\\\",\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"routeTo\\\": {\\n        \\\"id\\\": \\\"<string>\\\",\\n        \\\"type\\\": \\\"<string>\\\"\\n    },\\n    \\\"billingGroupId\\\": \\\"75bc74f1-1fb6-5daf-bc13-13f24932e3dc\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"The given phone number ID is invalid and the resource could not be found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d498fbf1-133e-4186-a121-b8e57dd923d5\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"callerIdName\\\": \\\"<string>\\\",\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"routeTo\\\": {\\n        \\\"id\\\": \\\"<string>\\\",\\n        \\\"type\\\": \\\"<string>\\\"\\n    },\\n    \\\"billingGroupId\\\": \\\"75bc74f1-1fb6-5daf-bc13-13f24932e3dc\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b9e7f43a-ac9c-4512-8732-6a652f178b16\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"callerIdName\\\": \\\"<string>\\\",\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"routeTo\\\": {\\n        \\\"id\\\": \\\"<string>\\\",\\n        \\\"type\\\": \\\"<string>\\\"\\n    },\\n    \\\"billingGroupId\\\": \\\"75bc74f1-1fb6-5daf-bc13-13f24932e3dc\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"3042f3f4-ec4e-45c1-b0c3-dcfe3dc85bd9\",\"name\":\"permissions\",\"item\":[{\"id\":\"3d225970-445d-4fce-9fcd-702b435f1238\",\"name\":\"Get Permissions\",\"request\":{\"name\":\"Get Permissions\",\"description\":{\"content\":\"Get a list of users assigned to the given phone number and their permissions. \\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"phoneNumberId\",\"description\":\"(Required) The phone number's unique identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"894d4244-d400-4e27-ade4-362e9151d9ec\",\"name\":\"List of users assigned to the given phone number and their permissions.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"userKey\\\": \\\"amet ullamco veniam reprehenderit qui\\\",\\n   \\\"permissions\\\": [\\n    \\\"TEXTING\\\",\\n    \\\"INSTANT_RESPONSE\\\"\\n   ]\\n  },\\n  {\\n   \\\"userKey\\\": \\\"quis enim\\\",\\n   \\\"permissions\\\": [\\n    \\\"INSTANT_RESPONSE\\\",\\n    \\\"OUTBOUND_CALLER_ID\\\"\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0508661f-10df-4596-b08c-a166a0d8d576\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4eba1246-f8b8-4ed2-8528-d448df77a45c\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"be196fe4-9dd2-4be0-b433-561c27810692\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2239169d-85ab-4608-9d3f-ff83ee8d3fce\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f6186338-629f-4ab5-98a3-6f8a9f7a6b87\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"e146c569-b2d1-4fdb-8db6-90f1de283ec6\",\"name\":\"Add Permissions\",\"request\":{\"name\":\"Add Permissions\",\"description\":{\"content\":\"Add permissions to a user for the given phone number. \\nFor instance, if you want to enable texting for a user, you can provide the the following payload:\\n\\n```\\n{\\n  \\\"userKey\\\": \\\"123456\\\", \\n  \\\"permissions\\\": [\\\"TEXTING\\\"]\\n}\\n```\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"phoneNumberId\",\"description\":\"(Required) The phone number's unique identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"<string>\\\",\\n    \\\"permissions\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"response\":[{\"id\":\"d46e9235-14e8-4bd9-a461-8c4a454e9d26\",\"name\":\"The permissions were added for the given user.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"<string>\\\",\\n    \\\"permissions\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"8ef2e33b-8533-4e13-882a-bcad6e3bfa27\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `INVALID_USER_KEY` - The user key is invalid.\\n* `INVALID_PERMISSION` - The permission is invalid.\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n* `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request.\\n* `SMS_NOT_SUPPORTED` - The SMS feature is not supported for the given phone number.\\n* `TEXTING_PERMISSION_REQUIRED` - The user must have TEXTING permission to manage instant response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"<string>\\\",\\n    \\\"permissions\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_USER_KEY\\\",\\n \\\"message\\\": \\\"The user key is invalid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"85ea0b96-37a0-4fc2-b968-681ba4ce464e\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"<string>\\\",\\n    \\\"permissions\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"08fa3078-f6c8-41b5-bd66-282c4221a829\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"<string>\\\",\\n    \\\"permissions\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7972d265-a167-4f45-be9b-d45f91e64323\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"<string>\\\",\\n    \\\"permissions\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"83ded77d-6cbb-42fc-a432-a689e8a04976\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"<string>\\\",\\n    \\\"permissions\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"eec67bf8-9129-48d2-a1f6-0c38d9c56f50\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"<string>\\\",\\n    \\\"permissions\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"a06ffb55-4f41-40f8-ad50-6bd4d86eeeed\",\"name\":\"Remove Permissions\",\"request\":{\"name\":\"Remove Permissions\",\"description\":{\"content\":\"Remove ALL permissions from a user for the given phone number. \\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\",\":userKey\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-userKey-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"phoneNumberId\",\"description\":\"(Required) The phone number's unique identifier.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"userKey\",\"description\":\"(Required) The unique user key.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"4c80df16-0ac9-4f8a-a728-03983b14bf0e\",\"name\":\"The permissions were removed for the given user.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\",\":userKey\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"06c04fc4-85dd-4379-b94c-69e50ee920eb\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\",\":userKey\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"441d4714-af09-4363-bf85-4f97eda712ce\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\",\":userKey\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"003fc3ca-13ac-4b21-be37-ce3ea556fd2b\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\",\":userKey\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b48e89bc-666a-4e78-baef-2621cad4284c\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\",\":userKey\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d18999fd-4f76-457b-8c18-703e82f24df4\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"phone-numbers\",\":phoneNumberId\",\"permissions\",\":userKey\"],\"host\":[\"{{voice-admin-v1-phone-numbers-phoneNumberId-permissions-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"7b353e18-4d86-4cd7-8281-93459d9f8d75\",\"name\":\"extensions\",\"item\":[{\"id\":\"4699337a-5f2c-4284-b9aa-6a6137203a91\",\"name\":\"Creates an extension\",\"request\":{\"name\":\"Creates an extension\",\"description\":{\"content\":\"Create an extension. \\nOnly direct extensions are supported for creation at this time.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\",\\n    \\\"number\\\": \\\"<string>\\\",\\n    \\\"omitFromDirectories\\\": false,\\n    \\\"omitFromAutoAttendants\\\": false,\\n    \\\"sharedAppearance\\\": false\\n}\"}},\"response\":[{\"id\":\"858295c5-32b2-477e-b166-fc2698ca3806\",\"name\":\"The extension was created\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\",\\n    \\\"number\\\": \\\"1545\\\",\\n    \\\"omitFromDirectories\\\": false,\\n    \\\"omitFromAutoAttendants\\\": false,\\n    \\\"sharedAppearance\\\": true\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"non minim dolore aute\\\",\\n \\\"accountKey\\\": \\\"ut\\\",\\n \\\"name\\\": \\\"nostrud aliquip occaecat proident\\\",\\n \\\"number\\\": \\\"culpa et Ut amet\\\",\\n \\\"omitFromDirectories\\\": true,\\n \\\"organizationId\\\": \\\"amet reprehenderit et eiusmod\\\",\\n \\\"type\\\": \\\"CONFERENCE_BRIDGE\\\",\\n \\\"extensionRegion\\\": \\\"US\\\",\\n \\\"language\\\": \\\"pt-BR\\\",\\n \\\"omitFromAutoAttendants\\\": false,\\n \\\"sharedAppearance\\\": true\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"42b383c7-f890-4139-9709-6924aa475920\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `INVALID_ACCOUNT_KEY` - The account key is unknown or invalid\\n* `INVALID_NAME` - Name is invalid\\n* `INVALID_NUMBER` - Extension number is invalid, or has invalid length for this organization.\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n* `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\",\\n    \\\"number\\\": \\\"1545\\\",\\n    \\\"omitFromDirectories\\\": false,\\n    \\\"omitFromAutoAttendants\\\": false,\\n    \\\"sharedAppearance\\\": true\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_ACCOUNT_KEY\\\",\\n \\\"message\\\": \\\"The account key is unknown or invalid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"613ebd77-f1d2-4df2-af14-087a495a6834\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\",\\n    \\\"number\\\": \\\"1545\\\",\\n    \\\"omitFromDirectories\\\": false,\\n    \\\"omitFromAutoAttendants\\\": false,\\n    \\\"sharedAppearance\\\": true\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6447fe99-62b3-46c0-bebb-fce833be8f6d\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\",\\n    \\\"number\\\": \\\"1545\\\",\\n    \\\"omitFromDirectories\\\": false,\\n    \\\"omitFromAutoAttendants\\\": false,\\n    \\\"sharedAppearance\\\": true\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9bbc8a14-e08f-47cb-908c-1d6229354a68\",\"name\":\"Potential error codes: * `NUMBER_EXISTS` - the extension number already exists in the account\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\",\\n    \\\"number\\\": \\\"1545\\\",\\n    \\\"omitFromDirectories\\\": false,\\n    \\\"omitFromAutoAttendants\\\": false,\\n    \\\"sharedAppearance\\\": true\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"ec7f9561-19fe-4e55-9e27-de243203d72b\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\",\\n    \\\"number\\\": \\\"1545\\\",\\n    \\\"omitFromDirectories\\\": false,\\n    \\\"omitFromAutoAttendants\\\": false,\\n    \\\"sharedAppearance\\\": true\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"62c5799f-f5a0-45d5-8fef-fdeb8ca89ffd\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\",\\n    \\\"number\\\": \\\"1545\\\",\\n    \\\"omitFromDirectories\\\": false,\\n    \\\"omitFromAutoAttendants\\\": false,\\n    \\\"sharedAppearance\\\": true\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"dfa4ee5f-88a0-45df-b961-b64e192bdbf7\",\"name\":\"Get extensions\",\"request\":{\"name\":\"Get extensions\",\"description\":{\"content\":\"Obtains a paginated list of extensions in an account.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"type\",\"value\":\"<string>\",\"description\":\"If specified, this parameter filter the search to only include the provided types.\"},{\"disabled\":false,\"key\":\"type\",\"value\":\"<string>\",\"description\":\"If specified, this parameter filter the search to only include the provided types.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"87b08563-da59-4f8f-ae5c-77562fe79909\",\"name\":\"List of extensions. Will return an empty list if the user doesn't have the permission for the given account\\nor the given account is not found.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"type\",\"value\":\"VIRTUAL_FAX\"},{\"key\":\"type\",\"value\":\"DIRECT_EXTENSION\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"occaecat elit in\\\",\\n   \\\"accountKey\\\": \\\"eu labore\\\",\\n   \\\"name\\\": \\\"incididunt ea ad eiusmod\\\",\\n   \\\"number\\\": \\\"reprehenderit Ut aliquip culpa\\\",\\n   \\\"omitFromDirectories\\\": false,\\n   \\\"organizationId\\\": \\\"voluptate dolore\\\",\\n   \\\"type\\\": \\\"CALL_QUEUE\\\",\\n   \\\"extensionRegion\\\": \\\"US\\\",\\n   \\\"language\\\": \\\"pt-BR\\\",\\n   \\\"omitFromAutoAttendants\\\": false,\\n   \\\"sharedAppearance\\\": true\\n  },\\n  {\\n   \\\"id\\\": \\\"consectetur quis\\\",\\n   \\\"accountKey\\\": \\\"aliqua mollit occaecat\\\",\\n   \\\"name\\\": \\\"in tempor ut\\\",\\n   \\\"number\\\": \\\"in aliquip\\\",\\n   \\\"omitFromDirectories\\\": true,\\n   \\\"organizationId\\\": \\\"ut reprehenderit non lab\\\",\\n   \\\"type\\\": \\\"VIRTUAL_FAX\\\",\\n   \\\"extensionRegion\\\": \\\"US\\\",\\n   \\\"language\\\": \\\"pt-BR\\\",\\n   \\\"omitFromAutoAttendants\\\": false,\\n   \\\"sharedAppearance\\\": true\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8ae077a0-430b-4166-aa82-bef5f979372f\",\"name\":\"The request has one or more issues. The API returns a number of\\n`constraintViolation`s in the response that provide additional\\ndetails for the following cases:\\n\\n* The `pageMarker` or `pageSize` is invalid\\n* `accountKey` is missing\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"type\",\"value\":\"VIRTUAL_FAX\"},{\"key\":\"type\",\"value\":\"DIRECT_EXTENSION\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"accountKey\\\",\\n   \\\"constraint\\\": \\\"REQUIRED\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"nextPageMarker\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"pageSize\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4c8473ca-30d7-4a06-be38-8062827ac4eb\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"type\",\"value\":\"VIRTUAL_FAX\"},{\"key\":\"type\",\"value\":\"DIRECT_EXTENSION\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3279827f-7ca4-457f-9a67-89e150b00d14\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"type\",\"value\":\"VIRTUAL_FAX\"},{\"key\":\"type\",\"value\":\"DIRECT_EXTENSION\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a153ed71-bba9-46b2-959f-84d45bf8b402\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"type\",\"value\":\"VIRTUAL_FAX\"},{\"key\":\"type\",\"value\":\"DIRECT_EXTENSION\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"861c32bf-f3c4-4020-9377-10b78c6d716d\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `CONCURRENT_MODIFICATION` - Entities were modified while processing the request. Please retry your request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\"],\"host\":[\"{{voice-admin-v1-extensions-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"type\",\"value\":\"VIRTUAL_FAX\"},{\"key\":\"type\",\"value\":\"DIRECT_EXTENSION\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"37a1a2cd-0ce3-4378-8506-626b801c3394\",\"name\":\"{extension Id}\",\"item\":[{\"id\":\"2b4145af-e6a4-4401-b10c-5300fa4befe4\",\"name\":\"Get a specific extension\",\"request\":{\"name\":\"Get a specific extension\",\"description\":{\"content\":\"Get details about a specific extension.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"extensionId\",\"description\":\"(Required) The extension's unique identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"33d41f47-e837-4cd7-a8c7-dcbd42540760\",\"name\":\"The extension model\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"cillum Duis\\\",\\n \\\"accountKey\\\": \\\"id consectetur voluptate proident\\\",\\n \\\"name\\\": \\\"magna veniam elit\\\",\\n \\\"number\\\": \\\"nulla nostrud\\\",\\n \\\"omitFromDirectories\\\": true,\\n \\\"organizationId\\\": \\\"officia\\\",\\n \\\"type\\\": \\\"DIRECT_EXTENSION\\\",\\n \\\"extensionRegion\\\": \\\"US\\\",\\n \\\"language\\\": \\\"pt-BR\\\",\\n \\\"omitFromAutoAttendants\\\": false,\\n \\\"sharedAppearance\\\": true,\\n \\\"assignedPrimaryUserKey\\\": \\\"pariatur occaecat aliqua \\\",\\n \\\"assignedSecondaryUserKeys\\\": [\\n  \\\"cupidatat nostrud in sit\\\",\\n  \\\"adipisicing ve\\\"\\n ],\\n \\\"callerId\\\": {\\n  \\\"useDefault\\\": false,\\n  \\\"phoneNumberId\\\": \\\"adipisicing dolore eu\\\"\\n }\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ae3e5c6b-91a8-48e1-bc6c-75105fc27175\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2682c72c-3509-41f1-9104-6f8d070b3f27\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ba0b29b3-9d0b-4fa7-af9c-bf8230b0475f\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a179e304-d4a6-4fdd-8e60-6d7125c79618\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c918752d-4430-4f16-887e-84c99fe6ad03\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"770bcd8b-09a8-42cb-a9e3-6393b30ce5b3\",\"name\":\"Delete a specific extension\",\"request\":{\"name\":\"Delete a specific extension\",\"description\":{\"content\":\"Delete a specific extension by `extensionId`.\\nDelete extensions at your own risk. For instance, if there are some voicemails associated to the extension,  the voicemails will be lost. If the extension is part of a dial plan, redirected phone number or any other  association, the associated objects will need to be updated. This also allows the deletion of dial plans,  ring groups, virtual fax, shared voicemail and conference bridges which cannot be recovered.\\n### Authentication Scopes\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"extensionId\",\"description\":\"(Required) The extension's unique identifier.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"e02ffa02-5f77-4dab-953e-a725c5414c01\",\"name\":\"Extension deleted successfully\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"ff5e94cb-da52-4fc6-81f2-cb2a86373c52\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1eb82c83-50f7-41e9-abd7-714a97171b17\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3c0c1534-c606-4dc6-b92b-c83a9de0a83c\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"The given extension ID is invalid and the resource could not be found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ae5c8136-75a2-4f8c-889f-9f47b62c6988\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b9e0a376-89a9-4c87-9010-db2d6882704b\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"efc50d97-e6d2-4703-86ab-3591e9b53a18\",\"name\":\"Update a specific extension\",\"request\":{\"name\":\"Update a specific extension\",\"description\":{\"content\":\"Only pass the fields that you want to update.\\nOnly direct extensions (lines) are supported for update at this time.\\nIf you want to set the number for a given extension, you can use the following body:\\n\\n```\\n{\\n  \\\"number\\\": \\\"1234\\\"\\n}\\n```\\n\\nIf you want to set the name, you can use:\\n\\n```\\n{\\n  \\\"name\\\": \\\"Software Engineering\\\"\\n}\\n```\\n\\nYou are also able to update the following properties in batch or individually\\n\\n```\\n{\\n  \\\"omitFromDirectories\\\": true,\\n  \\\"omitFromAutoAttendants\\\": true,\\n  \\\"sharedAppearance\\\": false\\n}\\n```\\n\\nIf you want to assign a user primary extension:\\n\\n```\\n{\\n  \\\"assignedPrimaryUserKey\\\": \\\"3141631416\\\"\\n}\\n```\\n\\nNOTE: There can be only one primary extension per user.\\nHence, if you try to assign a primary extension to a user that already has one, you will get an HTTP 409 response such as follows:\\n```\\n  {\\\"errorCode\\\":\\\"USER_ALREADY_HAS_PRIMARY_EXTENSION\\\",\\\"message\\\":\\\"Given user key [3141631416] on account [1956177422157042821], already assigned to extension [12ed21de-9be4-4ca7-85d2-0f2356cacc83]\\\",\\\"reference\\\":\\\"713e0461-22a8-4892-885a-f2d0bea4475a\\\"}\\n```\\n\\nTo proceed with this modification, you need to unassign the primary extension of this user first, by sending the following request body:\\n```\\nPATCH /extensions/12ed21de-9be4-4ca7-85d2-0f2356cacc83\\n{\\n  \\\"assignedPrimaryUserKey\\\": null\\n}\\n```\\n\\nEnsure that a primary user is set before assigning a secondary user.\\nWhen secondary users are assigned to an extension without a primary user already being set \\nsecondary users may be promoted to primary based on the licensing, current user extension configuration, \\nand previous interactions of the secondary users.\\n\\nSituations to be considered are:\\n* When initially setting users for an extension\\n* When removing a primary user from an extension\\n* When replacing one primary user with another\\n\\nIf you want to assign a user secondary extension:\\n\\n```\\n{\\n  \\\"assignedSecondaryUserKeys\\\": [\\\"3141631416\\\"]\\n}\\n```\\n\\nOr you could also assign it to a list of users:\\n\\n```\\n{\\n  \\\"assignedSecondaryUserKeys\\\": [\\\"3141631417\\\", \\\"3141631418\\\"]\\n}\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"extensionId\",\"description\":\"(Required) The extension's unique identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"number\\\": \\\"<string>\\\",\\n    \\\"omitFromDirectories\\\": false,\\n    \\\"omitFromAutoAttendants\\\": false,\\n    \\\"sharedAppearance\\\": false,\\n    \\\"assignedPrimaryUserKey\\\": \\\"<string>\\\",\\n    \\\"assignedSecondaryUserKeys\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"language\\\": \\\"<string>\\\",\\n    \\\"extensionRegion\\\": \\\"<string>\\\",\\n    \\\"callerId\\\": {\\n        \\\"useDefault\\\": \\\"<boolean>\\\",\\n        \\\"phoneNumberId\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"response\":[{\"id\":\"21b93e73-6109-4727-b1c4-1c669b6994c1\",\"name\":\"The extension was patched.\\nThe fields `assignedPrimaryUserKey` and `assignedSecondaryUserKeys` are only returned,\\nif they are passed in the request body.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Software Engineering\\\",\\n    \\\"number\\\": \\\"1234\\\",\\n    \\\"omitFromDirectories\\\": true,\\n    \\\"omitFromAutoAttendants\\\": true,\\n    \\\"sharedAppearance\\\": false,\\n    \\\"assignedPrimaryUserKey\\\": \\\"3141631416\\\",\\n    \\\"assignedSecondaryUserKeys\\\": [\\n        \\\"3141631417\\\",\\n        \\\"3141631418\\\"\\n    ],\\n    \\\"extensionRegion\\\": \\\"BR\\\",\\n    \\\"language\\\": \\\"pt-BR\\\",\\n    \\\"callerId\\\": {\\n        \\\"useDefault\\\": false,\\n        \\\"phoneNumberId\\\": \\\"98765432-abcd-1234-5678-9abcdef01234\\\"\\n    }\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"cillum Duis\\\",\\n \\\"accountKey\\\": \\\"id consectetur voluptate proident\\\",\\n \\\"name\\\": \\\"magna veniam elit\\\",\\n \\\"number\\\": \\\"nulla nostrud\\\",\\n \\\"omitFromDirectories\\\": true,\\n \\\"organizationId\\\": \\\"officia\\\",\\n \\\"type\\\": \\\"DIRECT_EXTENSION\\\",\\n \\\"extensionRegion\\\": \\\"US\\\",\\n \\\"language\\\": \\\"pt-BR\\\",\\n \\\"omitFromAutoAttendants\\\": false,\\n \\\"sharedAppearance\\\": true,\\n \\\"assignedPrimaryUserKey\\\": \\\"pariatur occaecat aliqua \\\",\\n \\\"assignedSecondaryUserKeys\\\": [\\n  \\\"cupidatat nostrud in sit\\\",\\n  \\\"adipisicing ve\\\"\\n ],\\n \\\"callerId\\\": {\\n  \\\"useDefault\\\": false,\\n  \\\"phoneNumberId\\\": \\\"adipisicing dolore eu\\\"\\n }\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"975b20f6-6dd2-4cf3-b1d8-82c767226552\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `INVALID_ID` - The given extension or phone number ID is invalid\\n* `INVALID_NAME` - Name is invalid.\\n* `INVALID_NUMBER` - Extension number is invalid, or has invalid length for this organization.\\n* `INVALID_USER_KEY` - The user key is invalid or not found on the account of the extension.\\n* `INVALID_EXTENSION_REGION` - The given extension region is invalid or has an invalid length.\\n* `INVALID_LANGUAGE` - The provided language is invalid or has an invalid format.\\n            \\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n* `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request.\\n* `INVALID_EXTENSION_ASSIGNMENT` - Cannot assign a single extension as both primary and secondary for a user.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Software Engineering\\\",\\n    \\\"number\\\": \\\"1234\\\",\\n    \\\"omitFromDirectories\\\": true,\\n    \\\"omitFromAutoAttendants\\\": true,\\n    \\\"sharedAppearance\\\": false,\\n    \\\"assignedPrimaryUserKey\\\": \\\"3141631416\\\",\\n    \\\"assignedSecondaryUserKeys\\\": [\\n        \\\"3141631417\\\",\\n        \\\"3141631418\\\"\\n    ],\\n    \\\"extensionRegion\\\": \\\"BR\\\",\\n    \\\"language\\\": \\\"pt-BR\\\",\\n    \\\"callerId\\\": {\\n        \\\"useDefault\\\": false,\\n        \\\"phoneNumberId\\\": \\\"98765432-abcd-1234-5678-9abcdef01234\\\"\\n    }\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_NUMBER\\\",\\n \\\"message\\\": \\\"Extension number is invalid, or has invalid length for this organization.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f3067bb7-f711-49f2-a038-d298db626c01\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Software Engineering\\\",\\n    \\\"number\\\": \\\"1234\\\",\\n    \\\"omitFromDirectories\\\": true,\\n    \\\"omitFromAutoAttendants\\\": true,\\n    \\\"sharedAppearance\\\": false,\\n    \\\"assignedPrimaryUserKey\\\": \\\"3141631416\\\",\\n    \\\"assignedSecondaryUserKeys\\\": [\\n        \\\"3141631417\\\",\\n        \\\"3141631418\\\"\\n    ],\\n    \\\"extensionRegion\\\": \\\"BR\\\",\\n    \\\"language\\\": \\\"pt-BR\\\",\\n    \\\"callerId\\\": {\\n        \\\"useDefault\\\": false,\\n        \\\"phoneNumberId\\\": \\\"98765432-abcd-1234-5678-9abcdef01234\\\"\\n    }\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c14ceed3-7eed-4d91-9c24-a5a992f0feb7\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Software Engineering\\\",\\n    \\\"number\\\": \\\"1234\\\",\\n    \\\"omitFromDirectories\\\": true,\\n    \\\"omitFromAutoAttendants\\\": true,\\n    \\\"sharedAppearance\\\": false,\\n    \\\"assignedPrimaryUserKey\\\": \\\"3141631416\\\",\\n    \\\"assignedSecondaryUserKeys\\\": [\\n        \\\"3141631417\\\",\\n        \\\"3141631418\\\"\\n    ],\\n    \\\"extensionRegion\\\": \\\"BR\\\",\\n    \\\"language\\\": \\\"pt-BR\\\",\\n    \\\"callerId\\\": {\\n        \\\"useDefault\\\": false,\\n        \\\"phoneNumberId\\\": \\\"98765432-abcd-1234-5678-9abcdef01234\\\"\\n    }\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ed54ffe1-181a-4af2-9e8c-4558042cc3c9\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Software Engineering\\\",\\n    \\\"number\\\": \\\"1234\\\",\\n    \\\"omitFromDirectories\\\": true,\\n    \\\"omitFromAutoAttendants\\\": true,\\n    \\\"sharedAppearance\\\": false,\\n    \\\"assignedPrimaryUserKey\\\": \\\"3141631416\\\",\\n    \\\"assignedSecondaryUserKeys\\\": [\\n        \\\"3141631417\\\",\\n        \\\"3141631418\\\"\\n    ],\\n    \\\"extensionRegion\\\": \\\"BR\\\",\\n    \\\"language\\\": \\\"pt-BR\\\",\\n    \\\"callerId\\\": {\\n        \\\"useDefault\\\": false,\\n        \\\"phoneNumberId\\\": \\\"98765432-abcd-1234-5678-9abcdef01234\\\"\\n    }\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"The given extension ID is invalid and the resource could not be found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f43afe9a-5ee3-40b9-b769-4db00446dd98\",\"name\":\"Potential error codes: * `NUMBER_EXISTS` - The extension number already exists for given account. * `USER_ALREADY_HAS_PRIMARY_EXTENSION` - Given user key [`:userKey`] on account [`:accountKey`], already assigned to extension [`:extensionId`]\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Software Engineering\\\",\\n    \\\"number\\\": \\\"1234\\\",\\n    \\\"omitFromDirectories\\\": true,\\n    \\\"omitFromAutoAttendants\\\": true,\\n    \\\"sharedAppearance\\\": false,\\n    \\\"assignedPrimaryUserKey\\\": \\\"3141631416\\\",\\n    \\\"assignedSecondaryUserKeys\\\": [\\n        \\\"3141631417\\\",\\n        \\\"3141631418\\\"\\n    ],\\n    \\\"extensionRegion\\\": \\\"BR\\\",\\n    \\\"language\\\": \\\"pt-BR\\\",\\n    \\\"callerId\\\": {\\n        \\\"useDefault\\\": false,\\n        \\\"phoneNumberId\\\": \\\"98765432-abcd-1234-5678-9abcdef01234\\\"\\n    }\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NUMBER_EXISTS\\\",\\n \\\"message\\\": \\\"The extension number already exists for given account.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8462d348-1777-4db2-8bf5-4d785e91a59a\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Software Engineering\\\",\\n    \\\"number\\\": \\\"1234\\\",\\n    \\\"omitFromDirectories\\\": true,\\n    \\\"omitFromAutoAttendants\\\": true,\\n    \\\"sharedAppearance\\\": false,\\n    \\\"assignedPrimaryUserKey\\\": \\\"3141631416\\\",\\n    \\\"assignedSecondaryUserKeys\\\": [\\n        \\\"3141631417\\\",\\n        \\\"3141631418\\\"\\n    ],\\n    \\\"extensionRegion\\\": \\\"BR\\\",\\n    \\\"language\\\": \\\"pt-BR\\\",\\n    \\\"callerId\\\": {\\n        \\\"useDefault\\\": false,\\n        \\\"phoneNumberId\\\": \\\"98765432-abcd-1234-5678-9abcdef01234\\\"\\n    }\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0cd3995f-64d3-447b-8fc4-5fae87d02328\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Software Engineering\\\",\\n    \\\"number\\\": \\\"1234\\\",\\n    \\\"omitFromDirectories\\\": true,\\n    \\\"omitFromAutoAttendants\\\": true,\\n    \\\"sharedAppearance\\\": false,\\n    \\\"assignedPrimaryUserKey\\\": \\\"3141631416\\\",\\n    \\\"assignedSecondaryUserKeys\\\": [\\n        \\\"3141631417\\\",\\n        \\\"3141631418\\\"\\n    ],\\n    \\\"extensionRegion\\\": \\\"BR\\\",\\n    \\\"language\\\": \\\"pt-BR\\\",\\n    \\\"callerId\\\": {\\n        \\\"useDefault\\\": false,\\n        \\\"phoneNumberId\\\": \\\"98765432-abcd-1234-5678-9abcdef01234\\\"\\n    }\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"d2466d6a-c5c8-4ac8-8234-7bdb11ed8c8d\",\"name\":\"find-me-follow-me\",\"item\":[{\"id\":\"7d452d72-46b3-4f3d-865b-d28e14b03a8d\",\"name\":\"Get find-me/follow-me for a specific extension\",\"request\":{\"name\":\"Get find-me/follow-me for a specific extension\",\"description\":{\"content\":\"Get all Find me/Follow me data for a specific extension.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"extensionId\",\"description\":\"(Required) The extension's unique identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"9aed32f5-703b-4fea-8250-eeac247d5472\",\"name\":\"The extension find me / follow me\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"ringSteps\\\": [\\n  {\\n   \\\"passThruCallerId\\\": false,\\n   \\\"timeout\\\": 20,\\n   \\\"items\\\": [\\n    {\\n     \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n     \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    }\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4ccac3ea-2129-4900-8f25-3bafb55ceefb\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7f8d88ab-cb02-43a2-bba5-2e6b31776a69\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"29a90103-3eec-4765-90ab-f8621f9b8608\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f8c1c278-8a80-4d4b-9db1-f25ebd4f4a51\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"518c7eb5-f81c-4fe8-a21e-2b579e59f304\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"39a5544d-786c-44ca-a1c2-c937c51f283d\",\"name\":\"Update find-me/follow-me for a specific extension\",\"request\":{\"name\":\"Update find-me/follow-me for a specific extension\",\"description\":{\"content\":\"Update Find me/Follow me data for a specific extension.\\nThis endpoint should be used for setting up the fields for the following use cases:\\n  - If no answer, send to.\\n  - If call fails, send to.\\n\\nOnly pass the fields that you want to update.\\nIf you want to forward unanswered calls to an external phone number, you can use the following request body:\\n\\n```\\n{\\n  \\\"finalStep\\\": {\\n    \\\"action\\\": \\\"EXTERNAL_NUMBER\\\",\\n    \\\"externalNumber\\\": \\\"+15145552672\\\"\\n  }\\n}\\n```\\n\\nIf you want to forward unanswered calls to an extension, you can use:\\n\\n```\\n{\\n  \\\"finalStep\\\": {\\n    \\\"action\\\": \\\"EXTENSION\\\",\\n    \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n  }\\n}\\n```\\n\\nYou can also forward failed calls to either an extension\\n\\n```\\n{\\n  \\\"unavailableStep\\\": {\\n    \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n  }\\n}\\n```\\n\\nOr an external phone number:\\n\\n```\\n{\\n  \\\"unavailableStep\\\": {\\n    \\\"externalNumber\\\": \\\"+15145552672\\\"\\n  }\\n}\\n```\\n\\nFinally, you can also unset the value of the `unavailableStep` field by sending `null`:\\n\\n```\\n{\\n  \\\"unavailableStep\\\": null\\n}\\n```\\n<br>\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"extensionId\",\"description\":\"(Required) The extension's unique identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"unavailableStep\\\": {\\n        \\\"extensionId\\\": \\\"<string>\\\",\\n        \\\"externalNumber\\\": \\\"<string>\\\"\\n    },\\n    \\\"finalStep\\\": {\\n        \\\"action\\\": \\\"<string>\\\",\\n        \\\"extensionId\\\": \\\"<string>\\\",\\n        \\\"externalNumber\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"response\":[{\"id\":\"d1eb433d-1002-411d-b07f-b045c02d30f1\",\"name\":\"The extension find-me/follow-me information was updated successfully.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"unavailableStep\\\": {\\n        \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n        \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    },\\n    \\\"finalStep\\\": {\\n        \\\"action\\\": \\\"EXTENSION\\\",\\n        \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n        \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    }\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"unavailableStep\\\": {\\n  \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n  \\\"externalNumber\\\": \\\"+15145552672\\\"\\n },\\n \\\"finalStep\\\": {\\n  \\\"action\\\": \\\"EXTENSION\\\",\\n  \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n  \\\"externalNumber\\\": \\\"+15145552672\\\"\\n }\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"73ef6ec3-80f6-478c-89c3-8f3304c90663\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `INVALID_DESTINATION` - Cannot set both an extension and an external phone number as destination.\\n* `INVALID_EXTENSION_ID` - The given extension ID [`:extensionId`] is invalid.\\n* `INVALID_NUMBER` - The given external phone number [`:externalNumber`] is invalid.\\n* `INVALID_ACTION` - The given action is invalid | Cannot set either extension or external phone number for given action [`:action`].\\n* `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"unavailableStep\\\": {\\n        \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n        \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    },\\n    \\\"finalStep\\\": {\\n        \\\"action\\\": \\\"EXTENSION\\\",\\n        \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n        \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    }\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_EXTENSION_ID\\\",\\n \\\"message\\\": \\\"The given extension ID is invalid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b1a08652-2d74-43ce-861d-5891554b6bdc\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"unavailableStep\\\": {\\n        \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n        \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    },\\n    \\\"finalStep\\\": {\\n        \\\"action\\\": \\\"EXTENSION\\\",\\n        \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n        \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    }\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0ebeffd3-83e3-4dde-b517-5b2119f8eb4d\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"unavailableStep\\\": {\\n        \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n        \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    },\\n    \\\"finalStep\\\": {\\n        \\\"action\\\": \\\"EXTENSION\\\",\\n        \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n        \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    }\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e03c0e35-6df1-40c7-b8d1-c3a32bbacae4\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"unavailableStep\\\": {\\n        \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n        \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    },\\n    \\\"finalStep\\\": {\\n        \\\"action\\\": \\\"EXTENSION\\\",\\n        \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n        \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    }\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e2716d8c-e3e5-4449-bf17-3555091597b5\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"unavailableStep\\\": {\\n        \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n        \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    },\\n    \\\"finalStep\\\": {\\n        \\\"action\\\": \\\"EXTENSION\\\",\\n        \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n        \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    }\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f6ffdce3-1b88-43ac-b6d5-32e46a4e45d4\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"unavailableStep\\\": {\\n        \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n        \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    },\\n    \\\"finalStep\\\": {\\n        \\\"action\\\": \\\"EXTENSION\\\",\\n        \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n        \\\"externalNumber\\\": \\\"+15145552672\\\"\\n    }\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"1cbdf4af-61b8-4dba-9fa4-cc77d376d3ca\",\"name\":\"Update find-me/follow-me ring steps for a specific extension\",\"request\":{\"name\":\"Update find-me/follow-me ring steps for a specific extension\",\"description\":{\"content\":\"Update Find me/Follow me ring steps for a specific extension.\\nThis endpoint should be used for setting up the fields for the following use cases:\\n  - On ring, send to.\\n\\nIf you want to forward incoming calls to another extension, you can use the following request body:\\n\\n```\\n{\\n  \\\"ringSteps\\\": [\\n    {\\n      \\\"passThruCallerId\\\": false,\\n      \\\"timeout\\\": 20,\\n      \\\"items\\\": [\\n        {\\n          \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        }\\n      ]\\n    }\\n  ]\\n}\\n```\\n\\nIf you want to forward incoming calls to both another extension and an external phone number, you can use:\\n\\n```\\n{\\n  \\\"ringSteps\\\": [\\n    {\\n      \\\"passThruCallerId\\\": false,\\n      \\\"timeout\\\": 20,\\n      \\\"items\\\": [\\n        {\\n          \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        },\\n        {\\n          \\\"externalNumber\\\": \\\"+15145552672\\\"\\n        }\\n      ]\\n    }\\n  ]\\n}\\n```\\n\\nYou can also set multiple ring steps for incoming calls:\\n\\n```\\n{\\n  \\\"ringSteps\\\": [\\n    {\\n      \\\"passThruCallerId\\\": false,\\n      \\\"timeout\\\": 20,\\n      \\\"items\\\": [\\n        {\\n          \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        },\\n        {\\n          \\\"externalNumber\\\": \\\"+15145552672\\\"\\n        }\\n      ]\\n    },\\n    {\\n      \\\"passThruCallerId\\\": false,\\n      \\\"timeout\\\": 20,\\n      \\\"items\\\": [\\n        {\\n          \\\"extensionId\\\": \\\"12ed21de-9be4-4ca7-85d2-0f2356cacc83\\\"\\n        },\\n        {\\n          \\\"externalNumber\\\": \\\"+12345678901\\\"\\n        }\\n      ]\\n    }\\n  ]\\n}\\n```\\n\\nFinally, you can unset the value of the `ringSteps` field by sending an empty array:\\n\\n```\\n{\\n  \\\"ringSteps\\\": []\\n}\\n```\\n<br>\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\",\"ring-steps\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-ring-steps-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"extensionId\",\"description\":\"(Required) The extension's unique identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PUT\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ringSteps\\\": [\\n        {\\n            \\\"passThruCallerId\\\": \\\"<boolean>\\\",\\n            \\\"timeout\\\": \\\"<integer>\\\",\\n            \\\"items\\\": [\\n                {\\n                    \\\"extensionId\\\": \\\"<string>\\\",\\n                    \\\"externalNumber\\\": \\\"<string>\\\"\\n                },\\n                {\\n                    \\\"extensionId\\\": \\\"<string>\\\",\\n                    \\\"externalNumber\\\": \\\"<string>\\\"\\n                }\\n            ]\\n        },\\n        {\\n            \\\"passThruCallerId\\\": \\\"<boolean>\\\",\\n            \\\"timeout\\\": \\\"<integer>\\\",\\n            \\\"items\\\": [\\n                {\\n                    \\\"extensionId\\\": \\\"<string>\\\",\\n                    \\\"externalNumber\\\": \\\"<string>\\\"\\n                },\\n                {\\n                    \\\"extensionId\\\": \\\"<string>\\\",\\n                    \\\"externalNumber\\\": \\\"<string>\\\"\\n                }\\n            ]\\n        }\\n    ]\\n}\"}},\"response\":[{\"id\":\"19f53090-e68c-41aa-a18b-593990082891\",\"name\":\"The extension find-me/follow-me information was updated successfully.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\",\"ring-steps\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-ring-steps-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ringSteps\\\": [\\n        {\\n            \\\"passThruCallerId\\\": true,\\n            \\\"timeout\\\": 20\\n        },\\n        {\\n            \\\"passThruCallerId\\\": true,\\n            \\\"timeout\\\": 20\\n        }\\n    ]\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"extensionId\\\": \\\"veniam aliqua\\\",\\n \\\"ringSteps\\\": [\\n  {\\n   \\\"passThruCallerId\\\": true,\\n   \\\"timeout\\\": 20\\n  },\\n  {\\n   \\\"passThruCallerId\\\": true,\\n   \\\"timeout\\\": 20\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4dd5377c-0e31-436f-9b3e-a1286c408330\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `INVALID_TIMEOUT` - Maximum timeout value is 999.\\n* `INVALID_DESTINATION` - Cannot set both an extension and an external phone number as destination for the same ring item.\\n* `INVALID_EXTENSION_ID` - The given extension ID [`:extensionId`] is invalid.\\n* `INVALID_NUMBER` - The given external phone number [`:externalNumber`] is invalid.\\n* `RING_STEPS_QUANTITY_EXCEEDED` - The number of elements in the list exceeds the maximum allowed number of 50 elements.\\n* `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\",\"ring-steps\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-ring-steps-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ringSteps\\\": [\\n        {\\n            \\\"passThruCallerId\\\": true,\\n            \\\"timeout\\\": 20\\n        },\\n        {\\n            \\\"passThruCallerId\\\": true,\\n            \\\"timeout\\\": 20\\n        }\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_EXTENSION_ID\\\",\\n \\\"message\\\": \\\"The given extension ID is invalid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1456a49e-9560-4e99-8596-6501bbe58987\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\",\"ring-steps\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-ring-steps-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ringSteps\\\": [\\n        {\\n            \\\"passThruCallerId\\\": true,\\n            \\\"timeout\\\": 20\\n        },\\n        {\\n            \\\"passThruCallerId\\\": true,\\n            \\\"timeout\\\": 20\\n        }\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a01edce5-6c5b-49d2-b665-08b12a9dbc55\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\",\"ring-steps\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-ring-steps-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ringSteps\\\": [\\n        {\\n            \\\"passThruCallerId\\\": true,\\n            \\\"timeout\\\": 20\\n        },\\n        {\\n            \\\"passThruCallerId\\\": true,\\n            \\\"timeout\\\": 20\\n        }\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8f7adc91-6aa8-4475-b658-d02aaa9bea3d\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\",\"ring-steps\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-ring-steps-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ringSteps\\\": [\\n        {\\n            \\\"passThruCallerId\\\": true,\\n            \\\"timeout\\\": 20\\n        },\\n        {\\n            \\\"passThruCallerId\\\": true,\\n            \\\"timeout\\\": 20\\n        }\\n    ]\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3aa71ba0-1e14-4919-a444-bf1c32f300ad\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\",\"ring-steps\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-ring-steps-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ringSteps\\\": [\\n        {\\n            \\\"passThruCallerId\\\": true,\\n            \\\"timeout\\\": 20\\n        },\\n        {\\n            \\\"passThruCallerId\\\": true,\\n            \\\"timeout\\\": 20\\n        }\\n    ]\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"684decaf-a695-40b9-ad86-97eddf9513e3\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"find-me-follow-me\",\"ring-steps\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-find-me-follow-me-ring-steps-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ringSteps\\\": [\\n        {\\n            \\\"passThruCallerId\\\": true,\\n            \\\"timeout\\\": 20\\n        },\\n        {\\n            \\\"passThruCallerId\\\": true,\\n            \\\"timeout\\\": 20\\n        }\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"859e63f3-5017-42a0-ad0f-5a99b6810ac2\",\"name\":\"Update voicemail for a specific extension\",\"request\":{\"name\":\"Update voicemail for a specific extension\",\"description\":{\"content\":\"Update voicemail settings for a specific extension.\\n\\nOnly pass the fields that you want to update.\\nIf you want to set the time zone for given extension voicemail, you can use the following request body:\\n\\n```\\n{\\n  \\\"timeZone\\\": \\\"America/New_York\\\"\\n}\\n```\\n\\nIf you want to set the voicemail password, you can use:\\n\\n```\\n{\\n  \\\"password\\\": \\\"9876\\\"\\n}\\n```\\n\\nIf you want to enable access to an extension voicemail without a password, you can pass:\\n\\n```\\n{\\n  \\\"allowAccessWithoutPassword\\\": true\\n}\\n```\\n\\nIf you want to allow callers to review their recorded messages and enable voicemail messages transcriptions:\\n\\n```\\n{\\n  \\\"allowMessageReview\\\": true,\\n  \\\"transcriptionEnabled\\\": true\\n}\\n```\\n\\nIf you want callers who press 0 to be transferred to an operator extension, you can pass:\\n\\n```\\n{\\n  \\\"allowEscapeToOperator\\\": true,\\n  \\\"operatorExtensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n}\\n```\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"voicemail\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-voicemail-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"extensionId\",\"description\":\"(Required) The extension's unique identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"timeZone\\\": \\\"<string>\\\",\\n    \\\"password\\\": \\\"0000\\\",\\n    \\\"allowAccessWithoutPassword\\\": false,\\n    \\\"allowEscapeToOperator\\\": false,\\n    \\\"allowMessageReview\\\": false,\\n    \\\"operatorExtensionId\\\": \\\"<string>\\\",\\n    \\\"transcriptionEnabled\\\": false\\n}\"}},\"response\":[{\"id\":\"41c6fdd9-9fe9-4675-b4b8-514bcc4638f4\",\"name\":\"The extension voicemail settings were updated successfully.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"voicemail\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-voicemail-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"timeZone\\\": \\\"America/New_York\\\",\\n    \\\"password\\\": \\\"0000\\\",\\n    \\\"allowAccessWithoutPassword\\\": false,\\n    \\\"allowEscapeToOperator\\\": true,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"operatorExtensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n    \\\"transcriptionEnabled\\\": true\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n \\\"timeZone\\\": \\\"America/New_York\\\",\\n \\\"password\\\": \\\"0000\\\",\\n \\\"allowAccessWithoutPassword\\\": false,\\n \\\"allowEscapeToOperator\\\": true,\\n \\\"allowMessageReview\\\": true,\\n \\\"operatorExtensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n \\\"transcriptionEnabled\\\": true\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"25543b6a-c3e6-4e65-bc18-ec48385f019d\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `INVALID_TIME_ZONE` - Given time zone ID is invalid.\\n* `INVALID_PASSWORD` - The password is invalid.\\n* `INVALID_EXTENSION_ID` - The given extension ID [`:extensionId`] is invalid.\\n* `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"voicemail\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-voicemail-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"timeZone\\\": \\\"America/New_York\\\",\\n    \\\"password\\\": \\\"0000\\\",\\n    \\\"allowAccessWithoutPassword\\\": false,\\n    \\\"allowEscapeToOperator\\\": true,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"operatorExtensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n    \\\"transcriptionEnabled\\\": true\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_EXTENSION_ID\\\",\\n \\\"message\\\": \\\"The given extension ID is invalid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e24b544c-dbe2-4c00-b105-d3d784297c35\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"voicemail\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-voicemail-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"timeZone\\\": \\\"America/New_York\\\",\\n    \\\"password\\\": \\\"0000\\\",\\n    \\\"allowAccessWithoutPassword\\\": false,\\n    \\\"allowEscapeToOperator\\\": true,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"operatorExtensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n    \\\"transcriptionEnabled\\\": true\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bd5e03d5-6890-4c61-a906-84818b10f580\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"voicemail\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-voicemail-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"timeZone\\\": \\\"America/New_York\\\",\\n    \\\"password\\\": \\\"0000\\\",\\n    \\\"allowAccessWithoutPassword\\\": false,\\n    \\\"allowEscapeToOperator\\\": true,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"operatorExtensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n    \\\"transcriptionEnabled\\\": true\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8ab6f258-2f28-4504-b57d-fe0decd68586\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"voicemail\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-voicemail-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"timeZone\\\": \\\"America/New_York\\\",\\n    \\\"password\\\": \\\"0000\\\",\\n    \\\"allowAccessWithoutPassword\\\": false,\\n    \\\"allowEscapeToOperator\\\": true,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"operatorExtensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n    \\\"transcriptionEnabled\\\": true\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5fc84cd8-4a0f-48b0-baa8-a6300ca0e9ac\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"voicemail\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-voicemail-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"timeZone\\\": \\\"America/New_York\\\",\\n    \\\"password\\\": \\\"0000\\\",\\n    \\\"allowAccessWithoutPassword\\\": false,\\n    \\\"allowEscapeToOperator\\\": true,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"operatorExtensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n    \\\"transcriptionEnabled\\\": true\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1bb1e836-0535-4f79-bdb1-bc9e87302cc0\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"extensions\",\":extensionId\",\"voicemail\"],\"host\":[\"{{voice-admin-v1-extensions-extensionId-voicemail-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"extensionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"timeZone\\\": \\\"America/New_York\\\",\\n    \\\"password\\\": \\\"0000\\\",\\n    \\\"allowAccessWithoutPassword\\\": false,\\n    \\\"allowEscapeToOperator\\\": true,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"operatorExtensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\n    \\\"transcriptionEnabled\\\": true\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"f85aaea7-3d31-470b-9a23-5c91830eec9d\",\"name\":\"Creates a Virtual Fax\",\"request\":{\"name\":\"Creates a Virtual Fax\",\"description\":{\"content\":\"Creates a virtual fax machine. Virtual fax machines are used to send and receive faxes via the [Fax API](/GoToConnect#tag/Faxes).\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"virtual-faxes\"],\"host\":[\"{{voice-admin-v1-virtual-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"213f0de1-c71f-4fbb-8228-a7283a8ba01e\",\"name\":\"Returns an object containing the ID of the created virtual fax object.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"virtual-faxes\"],\"host\":[\"{{voice-admin-v1-virtual-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Fax Records\\\",\\n    \\\"accountKey\\\": \\\"1234567890\\\"\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"161ce07c-df26-4b74-8c7d-9907b4d6e959\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"48b84d35-b2d6-4c0d-bf20-2fe55e545a79\",\"name\":\"The request has one or more issues.  The API returns a number of\\n`errorCode` values in the response that provide additional details.\\n\\n* `INVALID_NAME` - The virtual fax name is invalid.\\n\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n\\n* `INVALID_ACCOUNT_KEY` - The account key is invalid, unknown.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"virtual-faxes\"],\"host\":[\"{{voice-admin-v1-virtual-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Fax Records\\\",\\n    \\\"accountKey\\\": \\\"1234567890\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_NAME\\\",\\n \\\"message\\\": \\\"The virtual fax name is invalid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"00802a29-c697-413a-b9d7-6f3cbbc2d7a5\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"virtual-faxes\"],\"host\":[\"{{voice-admin-v1-virtual-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Fax Records\\\",\\n    \\\"accountKey\\\": \\\"1234567890\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6fd02034-86c9-4f00-b678-22754889e0fa\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"virtual-faxes\"],\"host\":[\"{{voice-admin-v1-virtual-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Fax Records\\\",\\n    \\\"accountKey\\\": \\\"1234567890\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a99abd0b-4449-4335-bfef-7d071ab47ede\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"virtual-faxes\"],\"host\":[\"{{voice-admin-v1-virtual-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Fax Records\\\",\\n    \\\"accountKey\\\": \\\"1234567890\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bf2ade4a-6a80-4a1c-b7ff-69e69753a38d\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"virtual-faxes\"],\"host\":[\"{{voice-admin-v1-virtual-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Fax Records\\\",\\n    \\\"accountKey\\\": \\\"1234567890\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"8040a357-82c4-496a-bd93-0e740b90c111\",\"name\":\"shared-voicemails\",\"item\":[{\"id\":\"02e32a38-2d54-47d7-b53b-c977d6958ef5\",\"name\":\"Creates a Shared Voicemail\",\"request\":{\"name\":\"Creates a Shared Voicemail\",\"description\":{\"content\":\"Creates a shared voicemail.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\",\\n    \\\"extensionNumber\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"c6166649-7d72-42da-921c-0eae4e39cb1f\",\"name\":\"Returns an object containing the ID of the created shared voicemail object.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Sales Inquiries\\\",\\n    \\\"accountKey\\\": \\\"1234567890\\\",\\n    \\\"extensionNumber\\\": \\\"1002\\\"\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"161ce07c-df26-4b74-8c7d-9907b4d6e959\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f6e6565a-4426-4ec2-bb75-73a03c26205d\",\"name\":\"The request has one or more issues.  The API returns a number of\\n`errorCode` values in the response that provide additional details.\\n\\n* `INVALID_NAME` - The shared voicemail name is invalid.\\n\\n* `INVALID_EXTENSION` - The extension number is invalid.\\n\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n\\n* `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request.\\n\\n* `INVALID_ACCOUNT_KEY` - The account key is invalid, unknown.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Sales Inquiries\\\",\\n    \\\"accountKey\\\": \\\"1234567890\\\",\\n    \\\"extensionNumber\\\": \\\"1002\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_ACCOUNT_KEY\\\",\\n \\\"message\\\": \\\"Account Key is invalid, unknown.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fe046233-9b62-4846-9d9d-4d1e5829bdfd\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Sales Inquiries\\\",\\n    \\\"accountKey\\\": \\\"1234567890\\\",\\n    \\\"extensionNumber\\\": \\\"1002\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"85ba2f80-f74a-4678-a058-c2fddd4bdf2b\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Sales Inquiries\\\",\\n    \\\"accountKey\\\": \\\"1234567890\\\",\\n    \\\"extensionNumber\\\": \\\"1002\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2a20aa70-5f58-4de3-a40a-ccb4abfced5e\",\"name\":\"The request has one or more issues.  The API returns a number of\\n`errorCode` values in the response that provide additional details.\\n\\n* `CONFLICTING_EXTENSION` - The extension number is already used.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Sales Inquiries\\\",\\n    \\\"accountKey\\\": \\\"1234567890\\\",\\n    \\\"extensionNumber\\\": \\\"1002\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONFLICTING_EXTENSION\\\",\\n \\\"message\\\": \\\"The extension number is already used.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a2246a7a-0543-4d09-9bc9-67eb78632973\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Sales Inquiries\\\",\\n    \\\"accountKey\\\": \\\"1234567890\\\",\\n    \\\"extensionNumber\\\": \\\"1002\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4b48e015-56b9-4cf5-bf85-a789bcfa0d05\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Sales Inquiries\\\",\\n    \\\"accountKey\\\": \\\"1234567890\\\",\\n    \\\"extensionNumber\\\": \\\"1002\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"526ad23a-3cbd-4ac1-a0eb-05a0badb5759\",\"name\":\"{shared Voicemail Id}\",\"item\":[{\"id\":\"82e0fd65-dbd4-4c30-96b0-93ebc0d00674\",\"name\":\"Get a specific Shared Voicemail\",\"request\":{\"name\":\"Get a specific Shared Voicemail\",\"description\":{\"content\":\"Get details about a specific shared voicemail.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sharedVoicemailId\",\"description\":\"(Required) The unique identifier of the shared voicemail.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"bb5ca49d-0ace-45c0-b35f-c9f106f01597\",\"name\":\"Returns an object containing the detailed information about a shared voicemail.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sharedVoicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"name\\\": \\\"Human Resources\\\",\\n \\\"extensionNumber\\\": \\\"1545\\\",\\n \\\"interceptIncomingFaxes\\\": false,\\n \\\"allowMessageReview\\\": true,\\n \\\"sendEmailNotification\\\": true,\\n \\\"emailNotificationEmailAddresses\\\": [\\n  \\\"my-first-email@goto.com\\\",\\n  \\\"my-backup-email@goto.com\\\"\\n ],\\n \\\"attachMessageToEmailNotification\\\": true,\\n \\\"transcriptionEnabled\\\": true,\\n \\\"deleteMessageAfterEmailingNotification\\\": true,\\n \\\"attachedMessageFormat\\\": \\\"WAV\\\",\\n \\\"sayMessageDuration\\\": true,\\n \\\"sayMessageCallerId\\\": false\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"855ce3cc-1f1c-4355-a191-db43e596dd35\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sharedVoicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d38f42bb-034e-4f35-80e6-88265a72295b\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sharedVoicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ff477b41-1f9b-48ac-9ae0-bb6644fda4f2\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sharedVoicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"eb506c08-38be-42bf-91d0-85ee1ce54a43\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sharedVoicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"40f26118-a0da-4e30-b3b4-a2ebb0ecd7d8\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sharedVoicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"62d130a6-78fe-4242-8a6b-b72d7bc0763e\",\"name\":\"Updates a Shared Voicemail\",\"request\":{\"name\":\"Updates a Shared Voicemail\",\"description\":{\"content\":\"Updates a shared voicemail.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sharedVoicemailId\",\"description\":\"(Required) The unique identifier of the shared voicemail.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"extensionNumber\\\": \\\"<string>\\\",\\n    \\\"interceptIncomingFaxes\\\": \\\"<boolean>\\\",\\n    \\\"allowMessageReview\\\": \\\"<boolean>\\\",\\n    \\\"sendEmailNotification\\\": \\\"<boolean>\\\",\\n    \\\"emailNotificationEmailAddresses\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"attachMessageToEmailNotification\\\": \\\"<boolean>\\\",\\n    \\\"transcriptionEnabled\\\": \\\"<boolean>\\\",\\n    \\\"deleteMessageAfterEmailingNotification\\\": \\\"<boolean>\\\",\\n    \\\"attachedMessageFormat\\\": \\\"<string>\\\",\\n    \\\"sayMessageDuration\\\": \\\"<boolean>\\\",\\n    \\\"sayMessageCallerId\\\": \\\"<boolean>\\\"\\n}\"}},\"response\":[{\"id\":\"aee290b2-2b43-4ca9-900a-4671d4483a1d\",\"name\":\"Returns an object containing the detailed information about the updated shared voicemail.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sharedVoicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"extensionNumber\\\": \\\"1545\\\",\\n    \\\"interceptIncomingFaxes\\\": false,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"sendEmailNotification\\\": true,\\n    \\\"emailNotificationEmailAddresses\\\": [\\n        \\\"my-first-email@goto.com\\\",\\n        \\\"my-backup-email@goto.com\\\"\\n    ],\\n    \\\"attachMessageToEmailNotification\\\": true,\\n    \\\"transcriptionEnabled\\\": true,\\n    \\\"deleteMessageAfterEmailingNotification\\\": true,\\n    \\\"attachedMessageFormat\\\": \\\"WAV\\\",\\n    \\\"sayMessageDuration\\\": true,\\n    \\\"sayMessageCallerId\\\": false\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"name\\\": \\\"Human Resources\\\",\\n \\\"extensionNumber\\\": \\\"1545\\\",\\n \\\"interceptIncomingFaxes\\\": false,\\n \\\"allowMessageReview\\\": true,\\n \\\"sendEmailNotification\\\": true,\\n \\\"emailNotificationEmailAddresses\\\": [\\n  \\\"my-first-email@goto.com\\\",\\n  \\\"my-backup-email@goto.com\\\"\\n ],\\n \\\"attachMessageToEmailNotification\\\": true,\\n \\\"transcriptionEnabled\\\": true,\\n \\\"deleteMessageAfterEmailingNotification\\\": true,\\n \\\"attachedMessageFormat\\\": \\\"WAV\\\",\\n \\\"sayMessageDuration\\\": true,\\n \\\"sayMessageCallerId\\\": false\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"976781f9-6767-4f50-8564-20e4a8b17745\",\"name\":\"The request has one or more issues.  The API returns a number of\\n`errorCode` values in the response that provide additional details.\\n\\n* `INVALID_NAME` - The shared voicemail name is invalid.\\n\\n* `INVALID_EXTENSION` - The extension number is invalid.\\n\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n\\n* `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request.\\n\\n* `INVALID_ATTACHED_MESSAGE_FORMAT` - The attached message format is invalid.\\n\\n* `INVALID_NOTIFICATION_EMAIL_ADDRESS` - The notification email address is invalid.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sharedVoicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"extensionNumber\\\": \\\"1545\\\",\\n    \\\"interceptIncomingFaxes\\\": false,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"sendEmailNotification\\\": true,\\n    \\\"emailNotificationEmailAddresses\\\": [\\n        \\\"my-first-email@goto.com\\\",\\n        \\\"my-backup-email@goto.com\\\"\\n    ],\\n    \\\"attachMessageToEmailNotification\\\": true,\\n    \\\"transcriptionEnabled\\\": true,\\n    \\\"deleteMessageAfterEmailingNotification\\\": true,\\n    \\\"attachedMessageFormat\\\": \\\"WAV\\\",\\n    \\\"sayMessageDuration\\\": true,\\n    \\\"sayMessageCallerId\\\": false\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_ACCOUNT_KEY\\\",\\n \\\"message\\\": \\\"Account Key is invalid, unknown.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6edd7e27-7a3c-48df-8ac0-c245bd3e7edd\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sharedVoicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"extensionNumber\\\": \\\"1545\\\",\\n    \\\"interceptIncomingFaxes\\\": false,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"sendEmailNotification\\\": true,\\n    \\\"emailNotificationEmailAddresses\\\": [\\n        \\\"my-first-email@goto.com\\\",\\n        \\\"my-backup-email@goto.com\\\"\\n    ],\\n    \\\"attachMessageToEmailNotification\\\": true,\\n    \\\"transcriptionEnabled\\\": true,\\n    \\\"deleteMessageAfterEmailingNotification\\\": true,\\n    \\\"attachedMessageFormat\\\": \\\"WAV\\\",\\n    \\\"sayMessageDuration\\\": true,\\n    \\\"sayMessageCallerId\\\": false\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"67aca39e-3b37-4954-9520-44a7cdaba861\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sharedVoicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"extensionNumber\\\": \\\"1545\\\",\\n    \\\"interceptIncomingFaxes\\\": false,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"sendEmailNotification\\\": true,\\n    \\\"emailNotificationEmailAddresses\\\": [\\n        \\\"my-first-email@goto.com\\\",\\n        \\\"my-backup-email@goto.com\\\"\\n    ],\\n    \\\"attachMessageToEmailNotification\\\": true,\\n    \\\"transcriptionEnabled\\\": true,\\n    \\\"deleteMessageAfterEmailingNotification\\\": true,\\n    \\\"attachedMessageFormat\\\": \\\"WAV\\\",\\n    \\\"sayMessageDuration\\\": true,\\n    \\\"sayMessageCallerId\\\": false\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c6e508ed-cafc-4cff-96a5-66e190c80786\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sharedVoicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"extensionNumber\\\": \\\"1545\\\",\\n    \\\"interceptIncomingFaxes\\\": false,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"sendEmailNotification\\\": true,\\n    \\\"emailNotificationEmailAddresses\\\": [\\n        \\\"my-first-email@goto.com\\\",\\n        \\\"my-backup-email@goto.com\\\"\\n    ],\\n    \\\"attachMessageToEmailNotification\\\": true,\\n    \\\"transcriptionEnabled\\\": true,\\n    \\\"deleteMessageAfterEmailingNotification\\\": true,\\n    \\\"attachedMessageFormat\\\": \\\"WAV\\\",\\n    \\\"sayMessageDuration\\\": true,\\n    \\\"sayMessageCallerId\\\": false\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f99c2197-2bdd-497c-b65f-23aee8572e53\",\"name\":\"The request has one or more issues.  The API returns a number of\\n`errorCode` values in the response that provide additional details.\\n\\n* `CONFLICTING_EXTENSION` - The extension number is already used.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sharedVoicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"extensionNumber\\\": \\\"1545\\\",\\n    \\\"interceptIncomingFaxes\\\": false,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"sendEmailNotification\\\": true,\\n    \\\"emailNotificationEmailAddresses\\\": [\\n        \\\"my-first-email@goto.com\\\",\\n        \\\"my-backup-email@goto.com\\\"\\n    ],\\n    \\\"attachMessageToEmailNotification\\\": true,\\n    \\\"transcriptionEnabled\\\": true,\\n    \\\"deleteMessageAfterEmailingNotification\\\": true,\\n    \\\"attachedMessageFormat\\\": \\\"WAV\\\",\\n    \\\"sayMessageDuration\\\": true,\\n    \\\"sayMessageCallerId\\\": false\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONFLICTING_EXTENSION\\\",\\n \\\"message\\\": \\\"The extension number is already used.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"94f83c02-2e9d-4e4c-a4c0-226c2df0496b\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sharedVoicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"extensionNumber\\\": \\\"1545\\\",\\n    \\\"interceptIncomingFaxes\\\": false,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"sendEmailNotification\\\": true,\\n    \\\"emailNotificationEmailAddresses\\\": [\\n        \\\"my-first-email@goto.com\\\",\\n        \\\"my-backup-email@goto.com\\\"\\n    ],\\n    \\\"attachMessageToEmailNotification\\\": true,\\n    \\\"transcriptionEnabled\\\": true,\\n    \\\"deleteMessageAfterEmailingNotification\\\": true,\\n    \\\"attachedMessageFormat\\\": \\\"WAV\\\",\\n    \\\"sayMessageDuration\\\": true,\\n    \\\"sayMessageCallerId\\\": false\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8a774bb5-8966-46cd-943c-13a15d9f039d\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"shared-voicemails\",\":sharedVoicemailId\"],\"host\":[\"{{voice-admin-v1-shared-voicemails-sharedVoicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sharedVoicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Human Resources\\\",\\n    \\\"extensionNumber\\\": \\\"1545\\\",\\n    \\\"interceptIncomingFaxes\\\": false,\\n    \\\"allowMessageReview\\\": true,\\n    \\\"sendEmailNotification\\\": true,\\n    \\\"emailNotificationEmailAddresses\\\": [\\n        \\\"my-first-email@goto.com\\\",\\n        \\\"my-backup-email@goto.com\\\"\\n    ],\\n    \\\"attachMessageToEmailNotification\\\": true,\\n    \\\"transcriptionEnabled\\\": true,\\n    \\\"deleteMessageAfterEmailingNotification\\\": true,\\n    \\\"attachedMessageFormat\\\": \\\"WAV\\\",\\n    \\\"sayMessageDuration\\\": true,\\n    \\\"sayMessageCallerId\\\": false\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"046e7ad7-a855-4608-8ba8-3db0ba745de5\",\"name\":\"devices\",\"item\":[{\"id\":\"48e23b17-3212-4ffd-84e5-88e9b60a5e87\",\"name\":\"Get devices\",\"request\":{\"name\":\"Get devices\",\"description\":{\"content\":\"Obtains a paginated list of devices in an account.\\nNote that Business Continuity and GoTo Room devices are not returned by this API right now.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"1b36a866-395e-434d-bd2e-45ca1dea23a1\",\"name\":\"List of devices. Will return an empty list if the user doesn't have the permission for the given account\\nor the given account is not found.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"Lorem velit officia quis\\\",\\n   \\\"macAddress\\\": \\\"fugiat mollit reprehenderit\\\",\\n   \\\"name\\\": \\\"laborum deserunt aute in laboris\\\",\\n   \\\"modelName\\\": \\\"dolore sunt\\\",\\n   \\\"assignedUserKey\\\": \\\"sed dolore\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"cillum sint \\\",\\n   \\\"macAddress\\\": \\\"ut\\\",\\n   \\\"name\\\": \\\"dolor\\\",\\n   \\\"modelName\\\": \\\"enim exercitation Ut\\\",\\n   \\\"assignedUserKey\\\": \\\"enim\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"88b13e7a-8de0-438b-8512-fadfcb3b74dd\",\"name\":\"The request has one or more issues. The API returns a number of\\n`constraintViolation`s in the response that provide additional\\ndetails for the following cases:\\n\\n* The `pageMarker` or `pageSize` is invalid\\n* `accountKey` is missing\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"accountKey\\\",\\n   \\\"constraint\\\": \\\"REQUIRED\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"nextPageMarker\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"pageSize\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f2523f50-ca2b-44ba-80c0-5f98d44e911d\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"868c7e75-0803-4f15-8d2a-594dc4261a6e\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ecdebd02-8441-4dd9-86a8-f9bbd45520cc\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e9167302-de25-4ac8-aaba-7515b7599517\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"96a29b4b-5f17-4f81-a858-f17b2a904acd\",\"name\":\"Create a device\",\"request\":{\"name\":\"Create a device\",\"description\":{\"content\":\"Creates a new device in an account.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\",\\n    \\\"modelId\\\": \\\"<string>\\\",\\n    \\\"macAddress\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"13436e05-9e45-47ac-9176-0b58af473205\",\"name\":\"The device was created.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"John's Desk Phone\\\",\\n    \\\"modelId\\\": \\\"aastra.480i\\\",\\n    \\\"macAddress\\\": \\\"00005e0053af\\\",\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\"\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"accountKey\\\": \\\"1956177422157\\\",\\n \\\"id\\\": \\\"occaecat labore in aliqua in\\\",\\n \\\"macAddress\\\": \\\"ut qui\\\",\\n \\\"modelId\\\": \\\"officia adipisicing pariatur\\\",\\n \\\"name\\\": \\\"cupidatat\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7f7e57a6-4e6f-44a0-9285-2fd2310cc589\",\"name\":\"The request has one or more issues.  The API returns a number of\\n`errorCode` values in the response that provide additional details.\\n\\n* `INVALID_NAME` - The device name is invalid.\\n\\n* `INVALID_MODEL` - The model ID is invalid.\\n\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n\\n* `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request.\\n\\n* `MALFORMED_MAC_ADDRESS` - The mac address is malformed.\\n\\n* `INVALID_ACCOUNT_KEY` - The account key is invalid, unknown.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"John's Desk Phone\\\",\\n    \\\"modelId\\\": \\\"aastra.480i\\\",\\n    \\\"macAddress\\\": \\\"00005e0053af\\\",\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_NAME\\\",\\n \\\"message\\\": \\\"Device name is invalid, or has invalid length.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"66460e2a-60fb-4cc3-aec7-227a648ccde8\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"John's Desk Phone\\\",\\n    \\\"modelId\\\": \\\"aastra.480i\\\",\\n    \\\"macAddress\\\": \\\"00005e0053af\\\",\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7f93997f-c7a6-4b8a-9817-943e337eeadd\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"John's Desk Phone\\\",\\n    \\\"modelId\\\": \\\"aastra.480i\\\",\\n    \\\"macAddress\\\": \\\"00005e0053af\\\",\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a227ad1a-0a91-4552-8ec6-b952a59aea30\",\"name\":\"Potential error codes: * `MAC_ADDRESS_EXISTS` - The device mac address already exists for given account.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"John's Desk Phone\\\",\\n    \\\"modelId\\\": \\\"aastra.480i\\\",\\n    \\\"macAddress\\\": \\\"00005e0053af\\\",\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"MAC_ADDRESS_EXISTS\\\",\\n \\\"message\\\": \\\"The device mac address already exists for given account.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"18b638e3-ed0a-489a-b548-e6630ae95423\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"John's Desk Phone\\\",\\n    \\\"modelId\\\": \\\"aastra.480i\\\",\\n    \\\"macAddress\\\": \\\"00005e0053af\\\",\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0d03fba8-d55c-4398-97e2-288c482cc2c7\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\"],\"host\":[\"{{voice-admin-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"John's Desk Phone\\\",\\n    \\\"modelId\\\": \\\"aastra.480i\\\",\\n    \\\"macAddress\\\": \\\"00005e0053af\\\",\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"35637199-63ba-4b8a-97b5-02cf69868986\",\"name\":\"{device Id}\",\"item\":[{\"id\":\"3d994fb5-20dd-405f-864a-dcf2315b2c37\",\"name\":\"Get a specific device\",\"request\":{\"name\":\"Get a specific device\",\"description\":{\"content\":\"Get details about a specific device.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"deviceId\",\"description\":\"(Required) The device's unique identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"5a5d7ec5-4697-44f8-9912-a7f72827d343\",\"name\":\"A brief information set about a device, which includes device ID and license key.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"veniam\\\",\\n \\\"status\\\": \\\"UNAVAILABLE\\\",\\n \\\"licenseKey\\\": \\\"quis commodo laboris\\\",\\n \\\"locationId\\\": \\\"ut dolore ut\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"61bcb844-8e63-4693-80f6-1b86281bf283\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4817ca7c-6180-41dd-8451-dd5fee3f80bb\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a38b9684-0414-40ca-a6a9-979cd4ede03c\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ea8cbb65-298a-464e-92cf-10fa66c5e7c5\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4e34ad68-8430-427b-89b8-04db55ba3817\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"8de97c9e-8590-4a13-bfc6-194a05cb8e82\",\"name\":\"Update a device\",\"request\":{\"name\":\"Update a device\",\"description\":{\"content\":\"Update a device. \\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\\nOnly pass the fields that you want to update.\\n\\nIf you want to set the name for a given device, you can use the following body:\\n\\n```\\n{\\n  \\\"name\\\": \\\"John Mayer\\\"\\n}\\n```\\n\\nIf you want to assign a user to a device, do the following:\\n\\n```\\n{\\n  \\\"assignedUserKey\\\": \\\"3141631416\\\"\\n}\\n```\\n\\nNote that you can't pass fields other than `assignedUserKey` when this one is provided.\\n\\nIf you want to set the license, you can use:\\n\\n```\\n{\\n  \\\"licenseKey\\\": \\\"896518965461657741\\\"\\n}\\n```\\n\\nIt is important to note that licenses can only be assigned to standalone devices,\\nand users can only be assigned to user devices. If you try to assign a user to a\\nstandalone device or assign a license to a user device, you will get a\\n`INVALID_DEVICE_TYPE` bad request error.\\n\\nAlso, note that you cannot assign a user or a license to a device along with other field updates. \\nFor example, you cannot assign a user and update the device name at the same request, or assign a user and a license at the same request.\\nIf you try, you will get an `ASSIGNMENTS_MUST_BE_ALONE` bad request error.\\n\\nAny license changes take time to propagate through the platform and may not be immediately reflected in the device.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"deviceId\",\"description\":\"(Required) The device's unique identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"assignedUserKey\\\": \\\"<string>\\\",\\n    \\\"licenseKey\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"fbd54619-d73f-415c-b5ab-db669fdfcc0b\",\"name\":\"The device was updated\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Gregor's Desk Phone 2\\\",\\n    \\\"licenseKey\\\": \\\"896518965461657741\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"cupidatat aliquip\\\",\\n \\\"name\\\": \\\"laboris dolor\\\",\\n \\\"modelId\\\": \\\"non dolore\\\",\\n \\\"macAddress\\\": \\\"reprehenderit labore nostrud deserunt\\\",\\n \\\"assignedUserKey\\\": \\\"dolore nostrud\\\",\\n \\\"licenseKey\\\": \\\"pariatur\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e46a0819-5790-4872-b612-b591422535cd\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `INVALID_NAME` - Name is invalid\\n* `INVALID_LICENSE_KEY` - The license key is invalid.\\n* `LICENSE_FULL` - The license has no remaining capacity.\\n* `INVALID_DEVICE_TYPE` - License cannot be assigned to a user device | User cannot be assigned to a standalone device.\\n* `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n* `INVALID_DEVICE_LICENSE` - The license is not applicable to standalone devices.\\n* `INVALID_USER_LICENSE` - The user has none or more than one license and the operation is not supported in these cases\\n* `INVALID_USER_FOR_ACCOUNT` - The user key is not found for the given device account\\n* `INVALID_USER_KEY` - The user key is invalid\\n* `ASSIGNMENTS_MUST_BE_ALONE` - License or user assignment must be alone in the request body\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Gregor's Desk Phone 2\\\",\\n    \\\"licenseKey\\\": \\\"896518965461657741\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_NAME\\\",\\n \\\"message\\\": \\\"Name is invalid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b8539d9e-0578-43d3-bda5-bd713204eb6c\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Gregor's Desk Phone 2\\\",\\n    \\\"licenseKey\\\": \\\"896518965461657741\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d18d2683-667a-4133-a0c5-67d719f43614\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Gregor's Desk Phone 2\\\",\\n    \\\"licenseKey\\\": \\\"896518965461657741\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ea09ad08-436f-4489-9ee7-36d337975f48\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource. A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Gregor's Desk Phone 2\\\",\\n    \\\"licenseKey\\\": \\\"896518965461657741\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"The given device ID is invalid and the resource could not be found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"29ae9e7b-9684-4a3e-94b0-bbade706c870\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `LICENSE_CONFLICT` - The device has an existing license association.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Gregor's Desk Phone 2\\\",\\n    \\\"licenseKey\\\": \\\"896518965461657741\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"LICENSE_CONFLICT\\\",\\n \\\"message\\\": \\\"The device has an existing license association.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5a8ae121-4de3-4332-b4b7-e7c97b33a679\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Gregor's Desk Phone 2\\\",\\n    \\\"licenseKey\\\": \\\"896518965461657741\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"38e783f3-5f80-4ba6-be9e-c374cc472c17\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"Gregor's Desk Phone 2\\\",\\n    \\\"licenseKey\\\": \\\"896518965461657741\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"b5b8892b-7ae7-40a4-a5f5-5d49461beb83\",\"name\":\"Reboot a device\",\"request\":{\"name\":\"Reboot a device\",\"description\":{\"content\":\"Reboot a device. \\n\\nThe selected device must support the feature and be `online` to make appropriate use of this API.   \\n\\nIn the event that the device is either `offline` or that it does not support the functionality, the request will be returned successfully without being processed.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"reboot\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-reboot-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"deviceId\",\"description\":\"(Required) The device's unique identifier.\"}]},\"method\":\"POST\",\"auth\":null},\"response\":[{\"id\":\"fbef7935-9139-468a-8395-ed8540cc979c\",\"name\":\"The device is being rebooted.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"reboot\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-reboot-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"POST\",\"body\":{}},\"status\":\"Accepted\",\"code\":202,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"90d59561-7d97-4cbb-98cc-24759b85e826\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"reboot\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-reboot-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"POST\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4e901e8a-6389-4855-b996-89f1b4f653cc\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"reboot\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-reboot-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"POST\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5db771ba-b1ba-44fd-a90e-17169861a3fc\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource. A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"reboot\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-reboot-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"POST\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"The given device ID is invalid and the resource could not be found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"efad5c3d-0bd7-4eb8-9a8d-53d6c53b1aff\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"reboot\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-reboot-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"POST\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5152724b-d683-48a0-952c-1cae27b59303\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"reboot\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-reboot-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"POST\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"30229e83-5315-4d60-baf9-9c3e3e20353b\",\"name\":\"Resync a device\",\"request\":{\"name\":\"Resync a device\",\"description\":{\"content\":\"Resync a device. \\n\\nThe selected device must support the feature and be `online` to make appropriate use of this API.   \\n\\nIn the event that the device is either `offline` or that it does not support the functionality, the request will be returned successfully without being processed.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"resync\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-resync-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"deviceId\",\"description\":\"(Required) The device's unique identifier.\"}]},\"method\":\"POST\",\"auth\":null},\"response\":[{\"id\":\"5d3830da-9a2f-4c8d-bdc6-0f6deacfa958\",\"name\":\"The device is being resynchronized.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"resync\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-resync-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"POST\",\"body\":{}},\"status\":\"Accepted\",\"code\":202,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"b5565529-66a5-49d7-ad97-a5bf8fb99604\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"resync\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-resync-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"POST\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ef8b421c-764f-42af-9b31-6b4ee83428f6\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"resync\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-resync-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"POST\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1671b102-838b-4c0d-b4a4-b2d9873f41f0\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"resync\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-resync-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"POST\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"The given device ID is invalid and the resource could not be found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9907f595-a0be-4a28-9ced-94034d74221c\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"resync\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-resync-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"POST\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e0702209-f9b6-41d3-9b7a-ba62f1707eaf\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"resync\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-resync-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"POST\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"574f8d11-eede-46a4-9593-b687f47c16ea\",\"name\":\"buttons-configuration\",\"item\":[{\"id\":\"040c0cef-eb23-4ad0-ab7d-b77235df3110\",\"name\":\"Get device button configuration for a specific device\",\"request\":{\"name\":\"Get device button configuration for a specific device\",\"description\":{\"content\":\"Get device button configuration data for a specific device.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"deviceId\",\"description\":\"(Required) The device's unique identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"16e80e0e-c663-4dab-a80b-0bf158a067cc\",\"name\":\"The device button configuration list.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"type\\\": \\\"SPEED_DIAL\\\",\\n   \\\"position\\\": 0,\\n   \\\"label\\\": \\\"Human Resources\\\",\\n   \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n  },\\n  {\\n   \\\"type\\\": \\\"SPEED_DIAL\\\",\\n   \\\"position\\\": 0,\\n   \\\"label\\\": \\\"Human Resources\\\",\\n   \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4a5aecb3-7d56-454c-bb27-8c1a62157445\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b094ba58-02ff-416f-bdc9-03ec652782a3\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5cec8728-efa9-46c4-bd09-04d23436ca14\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1196fc7d-4d71-4051-9a2b-1a58e90aa1d6\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a20eb56e-f717-475c-b801-a0f6532e2901\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"1b5ac9d4-a4d2-4f11-a906-3195d66eb961\",\"name\":\"Update device button configuration for a specific device\",\"request\":{\"name\":\"Update device button configuration for a specific device\",\"description\":{\"content\":\"Set a button configuration list for a specific device.\\n\\nYour payload must contain the whole desired button configuration list for the device.\\n\\nIf you want to set the list of button configuration for the given device, you can provide the following body:\\n\\n```\\n{\\n  \\\"items\\\": [\\n    {\\n      \\\"position\\\": 0,\\n      \\\"type\\\": \\\"SPEED_DIAL\\\",\\n      \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n    },\\n    {\\n      \\\"position\\\": 2,\\n      \\\"type\\\": \\\"LINE\\\",\\n      \\\"extensionId\\\": \\\"818cdba0-e609-4f68-b139-d58585c3a811\\\"\\n    }\\n  ]\\n}\\n```\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"deviceId\",\"description\":\"(Required) The device's unique identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PUT\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"items\\\": [\\n        {\\n            \\\"type\\\": \\\"<string>\\\",\\n            \\\"position\\\": \\\"<integer>\\\",\\n            \\\"label\\\": \\\"<string>\\\",\\n            \\\"extensionId\\\": \\\"<string>\\\"\\n        },\\n        {\\n            \\\"type\\\": \\\"<string>\\\",\\n            \\\"position\\\": \\\"<integer>\\\",\\n            \\\"label\\\": \\\"<string>\\\",\\n            \\\"extensionId\\\": \\\"<string>\\\"\\n        }\\n    ]\\n}\"}},\"response\":[{\"id\":\"15de14fd-15c1-4fdf-8016-464cc12ad8fe\",\"name\":\"The device button configuration list has been updated with the accepted buttons.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"items\\\": [\\n        {\\n            \\\"type\\\": \\\"SPEED_DIAL\\\",\\n            \\\"position\\\": 0,\\n            \\\"label\\\": \\\"Human Resources\\\",\\n            \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        },\\n        {\\n            \\\"type\\\": \\\"SPEED_DIAL\\\",\\n            \\\"position\\\": 0,\\n            \\\"label\\\": \\\"Human Resources\\\",\\n            \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"type\\\": \\\"SPEED_DIAL\\\",\\n   \\\"position\\\": 0,\\n   \\\"label\\\": \\\"Human Resources\\\",\\n   \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n  },\\n  {\\n   \\\"type\\\": \\\"SPEED_DIAL\\\",\\n   \\\"position\\\": 0,\\n   \\\"label\\\": \\\"Human Resources\\\",\\n   \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a00a96de-13d8-4df0-bdbf-db23177352d1\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `INVALID_OPERATION_FOR_DEVICE` - Device button configuration is only permitted on provisioned devices.\\n* `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable\\n* `UNSUPPORTED_BUTTON_TYPE` - A type provided in the configuration list is invalid or not supported.\\n* `INVALID_EXTENSION_ID` - An extension ID provided in the configuration list is invalid.\\n* `INVALID_POSITION` - A position provided in the configuration list is invalid.\\n* `TOO_MANY_BUTTONS` - Maximum number of buttons exceeded.\\n* `INVALID_LABEL` - A label provided in the configuration list is invalid.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"items\\\": [\\n        {\\n            \\\"type\\\": \\\"SPEED_DIAL\\\",\\n            \\\"position\\\": 0,\\n            \\\"label\\\": \\\"Human Resources\\\",\\n            \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        },\\n        {\\n            \\\"type\\\": \\\"SPEED_DIAL\\\",\\n            \\\"position\\\": 0,\\n            \\\"label\\\": \\\"Human Resources\\\",\\n            \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Bad Request\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"af91b6d0-cdeb-47ff-b08b-08c61a178b79\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"items\\\": [\\n        {\\n            \\\"type\\\": \\\"SPEED_DIAL\\\",\\n            \\\"position\\\": 0,\\n            \\\"label\\\": \\\"Human Resources\\\",\\n            \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        },\\n        {\\n            \\\"type\\\": \\\"SPEED_DIAL\\\",\\n            \\\"position\\\": 0,\\n            \\\"label\\\": \\\"Human Resources\\\",\\n            \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c61157cd-94ac-4576-9b61-2d3e90c0811e\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"items\\\": [\\n        {\\n            \\\"type\\\": \\\"SPEED_DIAL\\\",\\n            \\\"position\\\": 0,\\n            \\\"label\\\": \\\"Human Resources\\\",\\n            \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        },\\n        {\\n            \\\"type\\\": \\\"SPEED_DIAL\\\",\\n            \\\"position\\\": 0,\\n            \\\"label\\\": \\\"Human Resources\\\",\\n            \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c6dd5edd-cbe5-4d92-bc7f-7fa4d007a8c4\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"items\\\": [\\n        {\\n            \\\"type\\\": \\\"SPEED_DIAL\\\",\\n            \\\"position\\\": 0,\\n            \\\"label\\\": \\\"Human Resources\\\",\\n            \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        },\\n        {\\n            \\\"type\\\": \\\"SPEED_DIAL\\\",\\n            \\\"position\\\": 0,\\n            \\\"label\\\": \\\"Human Resources\\\",\\n            \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8e0cefab-4378-41ae-b04c-abad5705a4d7\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"items\\\": [\\n        {\\n            \\\"type\\\": \\\"SPEED_DIAL\\\",\\n            \\\"position\\\": 0,\\n            \\\"label\\\": \\\"Human Resources\\\",\\n            \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        },\\n        {\\n            \\\"type\\\": \\\"SPEED_DIAL\\\",\\n            \\\"position\\\": 0,\\n            \\\"label\\\": \\\"Human Resources\\\",\\n            \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"875ba5d3-649c-420b-89b1-57b4b396f157\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"devices\",\":deviceId\",\"buttons-configuration\"],\"host\":[\"{{voice-admin-v1-devices-deviceId-buttons-configuration-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"items\\\": [\\n        {\\n            \\\"type\\\": \\\"SPEED_DIAL\\\",\\n            \\\"position\\\": 0,\\n            \\\"label\\\": \\\"Human Resources\\\",\\n            \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        },\\n        {\\n            \\\"type\\\": \\\"SPEED_DIAL\\\",\\n            \\\"position\\\": 0,\\n            \\\"label\\\": \\\"Human Resources\\\",\\n            \\\"extensionId\\\": \\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"e779747d-ca64-40c4-99fe-85cef7d20f5a\",\"name\":\"Get Device Models\",\"request\":{\"name\":\"Get Device Models\",\"description\":{\"content\":\"Obtains a paginated list of available device models.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"device-models\"],\"host\":[\"{{voice-admin-v1-device-models-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"084a6b4f-c8b4-4d6b-8528-ca63f616fa34\",\"name\":\"List of available device models.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"device-models\"],\"host\":[\"{{voice-admin-v1-device-models-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"irure anim aliquip\\\",\\n   \\\"name\\\": \\\"laboris laborum sint\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"dolore Duis\\\",\\n   \\\"name\\\": \\\"culpa commodo\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a9e4d20c-c814-444f-8152-e1d4c874a822\",\"name\":\"The request has one or more issues. The API returns a number of\\n`constraintViolation`s in the response that provide additional\\ndetails for the following cases:\\n\\n* The `pageMarker` or `pageSize` is invalid\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"device-models\"],\"host\":[\"{{voice-admin-v1-device-models-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"3ecf0903-baba-4ee1-af38-35e3da6a3c99\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"device-models\"],\"host\":[\"{{voice-admin-v1-device-models-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a3b73724-edb3-40ff-b1d7-b6e8d9671a17\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"device-models\"],\"host\":[\"{{voice-admin-v1-device-models-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bce5cfd8-f95f-499b-b727-87bfe8a17ab0\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"device-models\"],\"host\":[\"{{voice-admin-v1-device-models-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"048b8aa7-4a77-43f0-ab1c-f1e97c28086a\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"device-models\"],\"host\":[\"{{voice-admin-v1-device-models-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"02da6541-a755-4274-b67d-88f59c2d3f81\",\"name\":\"locations\",\"item\":[{\"id\":\"5c8428c3-cc4c-4b5a-9fbe-0ee21669a811\",\"name\":\"Get Locations\",\"request\":{\"name\":\"Get Locations\",\"description\":{\"content\":\"Obtains a paginated list of available locations (both emergency and non-emergency).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\"],\"host\":[\"{{voice-admin-v1-locations-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"52146c79-7a88-4e55-8b62-5a8314eee49c\",\"name\":\"List of available locations. Will return an empty list if the user doesn't have the permission \\nfor the given account or the given account is not found.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\"],\"host\":[\"{{voice-admin-v1-locations-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"ex enim labore magna o\\\",\\n   \\\"name\\\": {\\n    \\\"name\\\": \\\"labore mollit sint\\\"\\n   },\\n   \\\"address\\\": {\\n    \\\"line1\\\": \\\"320 Summer St\\\",\\n    \\\"line2\\\": \\\"\\\",\\n    \\\"city\\\": \\\"Boston\\\",\\n    \\\"state\\\": \\\"MA\\\",\\n    \\\"postalCode\\\": \\\"02210\\\",\\n    \\\"country\\\": \\\"US\\\"\\n   },\\n   \\\"usedForEmergencyServices\\\": {\\n    \\\"usedForEmergencyServices\\\": true\\n   },\\n   \\\"callbackPhoneNumber\\\": {\\n    \\\"number\\\": \\\"+15145552672\\\"\\n   }\\n  },\\n  {\\n   \\\"id\\\": \\\"id in est\\\",\\n   \\\"name\\\": {\\n    \\\"name\\\": \\\"ex ullamco aliquip\\\"\\n   },\\n   \\\"address\\\": {\\n    \\\"line1\\\": \\\"320 Summer St\\\",\\n    \\\"line2\\\": \\\"\\\",\\n    \\\"city\\\": \\\"Boston\\\",\\n    \\\"state\\\": \\\"MA\\\",\\n    \\\"postalCode\\\": \\\"02210\\\",\\n    \\\"country\\\": \\\"US\\\"\\n   },\\n   \\\"usedForEmergencyServices\\\": {\\n    \\\"usedForEmergencyServices\\\": false\\n   },\\n   \\\"callbackPhoneNumber\\\": {\\n    \\\"number\\\": \\\"+15145552672\\\"\\n   }\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d9d19bf5-55b3-4b64-b43c-efacc4938d47\",\"name\":\"The request could not be completed due to missing mandatory fields. This API \\nreturns a number of `constraintViolation`s in the response that provide additional\\ndetails for the following cases:\\n\\n* The `pageMarker` or `pageSize` is invalid\\n* `accountKey` is missing\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\"],\"host\":[\"{{voice-admin-v1-locations-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"accountKey\\\",\\n   \\\"constraint\\\": \\\"REQUIRED\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"pageMarker\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"pageSize\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e29f80d8-f5a5-4f34-ba91-8e5d2d986685\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\"],\"host\":[\"{{voice-admin-v1-locations-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f911a00b-610b-4e01-957e-c43ce6179a75\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\"],\"host\":[\"{{voice-admin-v1-locations-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"981dbb95-51d8-4346-9e72-237269ee94a4\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\"],\"host\":[\"{{voice-admin-v1-locations-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"53890b70-2936-454a-bd1d-c14476cb12b0\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\"],\"host\":[\"{{voice-admin-v1-locations-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"e4f0af7c-f284-4049-a76f-fcb1a092ece8\",\"name\":\"Create a Location\",\"request\":{\"name\":\"Create a Location\",\"description\":{\"content\":\"Creates a new non-emergency Location for an account.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\"],\"host\":[\"{{voice-admin-v1-locations-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"<string>\\\",\\n        \\\"line2\\\": \\\"<string>\\\",\\n        \\\"city\\\": \\\"<string>\\\",\\n        \\\"state\\\": \\\"<string>\\\",\\n        \\\"postalCode\\\": \\\"<string>\\\",\\n        \\\"country\\\": \\\"<string>\\\"\\n    },\\n    \\\"accountKey\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"ef6ec0fd-a7ca-44dd-84d6-cb3e1aec574d\",\"name\":\"The location was created.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\"],\"host\":[\"{{voice-admin-v1-locations-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"GoTo Headquarters\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"320 Summer St\\\",\\n        \\\"line2\\\": \\\"\\\",\\n        \\\"city\\\": \\\"Boston\\\",\\n        \\\"state\\\": \\\"MA\\\",\\n        \\\"postalCode\\\": \\\"02210\\\",\\n        \\\"country\\\": \\\"US\\\"\\n    },\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\"\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"accountKey\\\": \\\"1956177422157\\\",\\n \\\"address\\\": {\\n  \\\"line1\\\": \\\"320 Summer St\\\",\\n  \\\"line2\\\": \\\"\\\",\\n  \\\"city\\\": \\\"Boston\\\",\\n  \\\"state\\\": \\\"MA\\\",\\n  \\\"postalCode\\\": \\\"02210\\\",\\n  \\\"country\\\": \\\"US\\\"\\n },\\n \\\"id\\\": \\\"Excepteur aliqua \\\",\\n \\\"name\\\": \\\"ipsum commodo est\\\",\\n \\\"usedForEmergencyServices\\\": false\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f7b2437c-0eb1-4caa-90f7-f587ffa67d9d\",\"name\":\"The request has one or more issues.  The API returns a number of\\n`errorCode` values in the response that provide additional details.\\n\\n* `BAD_REQUEST` - The request is invalid\\n\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n\\n* `INVALID_ACCOUNT_KEY` - The account key is unknown or invalid.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\"],\"host\":[\"{{voice-admin-v1-locations-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"GoTo Headquarters\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"320 Summer St\\\",\\n        \\\"line2\\\": \\\"\\\",\\n        \\\"city\\\": \\\"Boston\\\",\\n        \\\"state\\\": \\\"MA\\\",\\n        \\\"postalCode\\\": \\\"02210\\\",\\n        \\\"country\\\": \\\"US\\\"\\n    },\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Bad Request\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"39a421ef-4654-4622-8ee0-a37496c3ad9a\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\"],\"host\":[\"{{voice-admin-v1-locations-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"GoTo Headquarters\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"320 Summer St\\\",\\n        \\\"line2\\\": \\\"\\\",\\n        \\\"city\\\": \\\"Boston\\\",\\n        \\\"state\\\": \\\"MA\\\",\\n        \\\"postalCode\\\": \\\"02210\\\",\\n        \\\"country\\\": \\\"US\\\"\\n    },\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f4db9e8d-2024-4eed-94e9-1bf1525ef8ab\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\"],\"host\":[\"{{voice-admin-v1-locations-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"GoTo Headquarters\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"320 Summer St\\\",\\n        \\\"line2\\\": \\\"\\\",\\n        \\\"city\\\": \\\"Boston\\\",\\n        \\\"state\\\": \\\"MA\\\",\\n        \\\"postalCode\\\": \\\"02210\\\",\\n        \\\"country\\\": \\\"US\\\"\\n    },\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"23ee838f-239d-494e-b88a-1e0728e1d492\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\"],\"host\":[\"{{voice-admin-v1-locations-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"GoTo Headquarters\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"320 Summer St\\\",\\n        \\\"line2\\\": \\\"\\\",\\n        \\\"city\\\": \\\"Boston\\\",\\n        \\\"state\\\": \\\"MA\\\",\\n        \\\"postalCode\\\": \\\"02210\\\",\\n        \\\"country\\\": \\\"US\\\"\\n    },\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"825c13fd-69c6-492b-8e4c-de3b5ba47421\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\"],\"host\":[\"{{voice-admin-v1-locations-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"GoTo Headquarters\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"320 Summer St\\\",\\n        \\\"line2\\\": \\\"\\\",\\n        \\\"city\\\": \\\"Boston\\\",\\n        \\\"state\\\": \\\"MA\\\",\\n        \\\"postalCode\\\": \\\"02210\\\",\\n        \\\"country\\\": \\\"US\\\"\\n    },\\n    \\\"accountKey\\\": \\\"1956177422157042821\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"e4d5fcd0-3c5d-43a0-870c-5570725abfe7\",\"name\":\"{location Id}\",\"item\":[{\"id\":\"f5bdc774-96eb-4139-8496-02c5e4cf651e\",\"name\":\"Delete a location\",\"request\":{\"name\":\"Delete a location\",\"description\":{\"content\":\"Removes the specified non-emergency location.\\nNote that all users and devices assigned to the location will automatically be unassigned.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"locationId\",\"description\":\"(Required) The location's unique identifier.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"1bb52db5-857d-42eb-bdfb-e3d6a548ff3c\",\"name\":\"The location has been deleted.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"b293ae6d-96fe-4c71-887c-d2f5e599056b\",\"name\":\"The request cannot be processed. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNSUPPORTED_LOCATION_TYPE` - Will be returned if the client tries to delete an emergency location eg. if `usedForEmergencyServices` is true on the given location.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNSUPPORTED_LOCATION_TYPE\\\",\\n \\\"message\\\": \\\"The location type is not supported for this action\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8aeba4da-6b68-4182-8bdc-68c303096e0b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2f6199f3-2969-487b-bc1d-c1cdc4df9ade\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a29365eb-c3b8-4d38-9693-ee81a969061a\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a9926839-86b4-47fb-8dc7-45de35008652\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f6fa1f6a-067e-4413-a253-0cba8d39a8a1\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"8b5c6bda-c9b9-413b-8878-8be8a4340b20\",\"name\":\"Update a Location\",\"request\":{\"name\":\"Update a Location\",\"description\":{\"content\":\"Update a specific location general settings.\\n\\nOnly non-emergency locations can be updated for now.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"locationId\",\"description\":\"(Required) The location's unique identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"<string>\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"<string>\\\",\\n        \\\"line2\\\": \\\"<string>\\\",\\n        \\\"city\\\": \\\"<string>\\\",\\n        \\\"state\\\": \\\"<string>\\\",\\n        \\\"postalCode\\\": \\\"<string>\\\",\\n        \\\"country\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"response\":[{\"id\":\"7215a65d-46dd-49ee-ab7b-c0e07addca50\",\"name\":\"The location general settings has been updated.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"GoTo Headquarters\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"320 Summer St\\\",\\n        \\\"line2\\\": \\\"\\\",\\n        \\\"city\\\": \\\"Boston\\\",\\n        \\\"state\\\": \\\"MA\\\",\\n        \\\"postalCode\\\": \\\"02210\\\",\\n        \\\"country\\\": \\\"US\\\"\\n    }\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"laboris\\\",\\n \\\"name\\\": \\\"ut irure in\\\",\\n \\\"address\\\": {\\n  \\\"line1\\\": \\\"320 Summer St\\\",\\n  \\\"line2\\\": \\\"\\\",\\n  \\\"city\\\": \\\"Boston\\\",\\n  \\\"state\\\": \\\"MA\\\",\\n  \\\"postalCode\\\": \\\"02210\\\",\\n  \\\"country\\\": \\\"US\\\"\\n },\\n \\\"usedForEmergencyServices\\\": true,\\n \\\"accountKey\\\": \\\"1956177422157\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4a903ff2-f968-45bf-ac33-f6bb20981286\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `BAD_REQUEST` - The request is invalid\\n* `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable\\n* `UNSUPPORTED_LOCATION_TYPE` - Will be returned if the client tries to update an emergency location eg. if `usedForEmergencyServices` is true on the given location.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"GoTo Headquarters\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"320 Summer St\\\",\\n        \\\"line2\\\": \\\"\\\",\\n        \\\"city\\\": \\\"Boston\\\",\\n        \\\"state\\\": \\\"MA\\\",\\n        \\\"postalCode\\\": \\\"02210\\\",\\n        \\\"country\\\": \\\"US\\\"\\n    }\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Bad Request\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"dcbec543-6ad2-4f92-b0fe-2d69bd9fff2f\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"GoTo Headquarters\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"320 Summer St\\\",\\n        \\\"line2\\\": \\\"\\\",\\n        \\\"city\\\": \\\"Boston\\\",\\n        \\\"state\\\": \\\"MA\\\",\\n        \\\"postalCode\\\": \\\"02210\\\",\\n        \\\"country\\\": \\\"US\\\"\\n    }\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"65acd349-bbe7-4d32-8edd-c5623d4112db\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"GoTo Headquarters\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"320 Summer St\\\",\\n        \\\"line2\\\": \\\"\\\",\\n        \\\"city\\\": \\\"Boston\\\",\\n        \\\"state\\\": \\\"MA\\\",\\n        \\\"postalCode\\\": \\\"02210\\\",\\n        \\\"country\\\": \\\"US\\\"\\n    }\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"41ee326c-72bf-468c-bf74-f91904da2c0c\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"GoTo Headquarters\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"320 Summer St\\\",\\n        \\\"line2\\\": \\\"\\\",\\n        \\\"city\\\": \\\"Boston\\\",\\n        \\\"state\\\": \\\"MA\\\",\\n        \\\"postalCode\\\": \\\"02210\\\",\\n        \\\"country\\\": \\\"US\\\"\\n    }\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"14301c29-a841-4b98-8f13-e121709dd0ad\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"GoTo Headquarters\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"320 Summer St\\\",\\n        \\\"line2\\\": \\\"\\\",\\n        \\\"city\\\": \\\"Boston\\\",\\n        \\\"state\\\": \\\"MA\\\",\\n        \\\"postalCode\\\": \\\"02210\\\",\\n        \\\"country\\\": \\\"US\\\"\\n    }\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d5bef24b-fe88-4890-9f8f-870c0e2b8057\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"name\\\": \\\"GoTo Headquarters\\\",\\n    \\\"address\\\": {\\n        \\\"line1\\\": \\\"320 Summer St\\\",\\n        \\\"line2\\\": \\\"\\\",\\n        \\\"city\\\": \\\"Boston\\\",\\n        \\\"state\\\": \\\"MA\\\",\\n        \\\"postalCode\\\": \\\"02210\\\",\\n        \\\"country\\\": \\\"US\\\"\\n    }\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"32f7663c-70dd-4170-a609-8cbc1d30f981\",\"name\":\"users\",\"item\":[{\"id\":\"48cdaa86-6a5e-4c9c-a1ca-70d26b04f7c6\",\"name\":\"Get Users for Location\",\"request\":{\"name\":\"Get Users for Location\",\"description\":{\"content\":\"Obtains a paginated list of users for a given location.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"locationId\",\"description\":\"(Required) The location's unique identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"f2b6e2c2-5548-4e22-a4ff-39b0b66a8581\",\"name\":\"List of users for the given location. Will return a 404 if the user doesn't have the permission \\nfor the given location or the given location is not found.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"userKey\\\": \\\"311416\\\"\\n  },\\n  {\\n   \\\"userKey\\\": \\\"311416\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e6346012-a139-4570-a390-e3a7d921d9f3\",\"name\":\"* The `pageMarker` is invalid\\n* The `pageSize` is invalid\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"pageMarker\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"pageSize\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"647b81b7-b4f6-480d-a6f0-172a40b3cc85\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"210e9526-1c8f-4deb-b2ab-7d08e487aea5\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4e602d6f-20fb-49fa-bbc8-267195b3f27c\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8c6b12ce-1d99-4d38-9670-a30ec13ba804\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"dc93b4d1-103d-4520-834b-a371b78b762d\",\"name\":\"Assign User to a Location\",\"request\":{\"name\":\"Assign User to a Location\",\"description\":{\"content\":\"Assign a user to a specific location.\\n\\n* A user can only be assigned to a single location.\\n\\n* If a user is already assigned to a location and is requested to be assigned to another one, \\nthe user will be unassigned from that location first and then assigned to the new location.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"locationId\",\"description\":\"(Required) The location's unique identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"e224a45f-38ba-464d-9a79-d978b532d748\",\"name\":\"The list of users assigned for the given location has been updated.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"311416\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"userKey\\\": \\\"311416\\\"\\n  },\\n  {\\n   \\\"userKey\\\": \\\"311416\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"df8310a8-00a4-4652-9625-113558d84165\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `INVALID_USER_KEY` - The user key is invalid\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"311416\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_USER_KEY\\\",\\n \\\"message\\\": \\\"The user key is invalid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"79c0eec5-44ca-4366-a2a2-97c8bd3e5839\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"311416\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"02bdb91c-4f84-4e7c-96c2-a89f6a170ab6\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"311416\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c8cdceaa-3dc1-4178-a97c-13af76fa8626\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"311416\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"83c8c0ac-5f74-48e5-ba62-1368aae0cfc3\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"311416\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a0101379-c96f-4498-bf87-141de87ca025\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"311416\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"ecd7d8ba-5fd1-46f6-9964-5f27edef06ea\",\"name\":\"Remove Assigned User from a Location\",\"request\":{\"name\":\"Remove Assigned User from a Location\",\"description\":{\"content\":\"Removes an assigned user from a specific location.\\n\\n* Users that are assigned to emergency locations cannot be removed.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"locationId\",\"description\":\"(Required) The location's unique identifier.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"userKey\",\"description\":\"(Required) The unique user key.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"bbe5a607-d9bf-4949-99a7-baf279082eef\",\"name\":\"The user has been removed from location.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"eb9c007e-aad7-4800-8505-b00089a71de4\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNSUPPORTED_LOCATION_TYPE` - Will be returned if the client tries to remove a resource from an emergency location eg. if `usedForEmergencyServices` is true on the given location.\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNSUPPORTED_LOCATION_TYPE\\\",\\n \\\"message\\\": \\\"Emergency location assignment cannot be deleted\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c93d862d-46cd-433b-ac81-681913c7dac0\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f8d80e3d-fa4a-47c5-b41b-66ed5ece86f7\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"693e0a3b-e52f-4cf1-a54f-c539c3c5d455\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"eb918ce8-d489-4c2b-adaa-801cd9924505\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bb34b824-a030-4cc6-9507-ece6d2299791\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-locations-locationId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"f377380b-f958-4fab-87ce-63ce49d9ab6e\",\"name\":\"devices\",\"item\":[{\"id\":\"07437dcf-829f-42df-b032-105ae908e38a\",\"name\":\"Get Devices for Location\",\"request\":{\"name\":\"Get Devices for Location\",\"description\":{\"content\":\"Obtains a paginated list of devices assigned to a given location.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"locationId\",\"description\":\"(Required) The location's unique identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"a91b3d36-75d8-46d6-a2cc-1b095824639e\",\"name\":\"List of devices assigned to the given location. Will return a 404 if the user doesn't have the permission \\nfor the given location or the given location is not found.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"74ac74f0-1cb6-4daf-bc13-52f12932e3eb\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"74ac74f0-1cb6-4daf-bc13-52f12932e3eb\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"93895448-0823-4a01-afa7-5bd6ab8df995\",\"name\":\"* The `pageMarker` is invalid\\n* The `pageSize` is invalid\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"pageMarker\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"pageSize\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e3b197d1-8fdd-44e0-bd00-45ea63aefdf6\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"170b1be5-31d6-4e06-af0f-61cbbff93a1c\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"28400a74-ae69-406c-a1a2-7efec250bfef\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"94ad681e-57c9-42be-9e5d-96f286c32226\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"d40fe498-dae1-48f2-b16b-be000382de1b\",\"name\":\"Assign Device to a Location\",\"request\":{\"name\":\"Assign Device to a Location\",\"description\":{\"content\":\"Assign a device to a specific location.\\n\\n* A device may only be assigned to a single location.\\n\\n* If a device is already assigned to a location and is requested to be assigned to another one, \\nthe device will be unassigned from that location first and then assigned to the new location.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"locationId\",\"description\":\"(Required) The location's unique identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"deviceId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"057d2519-6374-4803-a4fb-fb573664aae0\",\"name\":\"The list of devices assigned for the given location has been updated.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"deviceId\\\": \\\"983ca2ee-aac8-4dd1-a944-bedeb5885d5f\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"74ac74f0-1cb6-4daf-bc13-52f12932e3eb\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"74ac74f0-1cb6-4daf-bc13-52f12932e3eb\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8e6e2be4-9f40-4a69-8dcd-b4e89bde340f\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `INVALID_DEVICE_ID` - The device id is invalid\\n* `BAD_REQUEST` - Missing or invalid mandatory fields in the request\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"deviceId\\\": \\\"983ca2ee-aac8-4dd1-a944-bedeb5885d5f\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_DEVICE_ID | BAD_REQUEST\\\",\\n \\\"message\\\": \\\"The device key is invalid. | \\\\\\\"Provided parameter(s) must be valid\\\\\\\"\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"deviceId\\\",\\n   \\\"constraint\\\": \\\"REQUIRED\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2485aa8f-6ac2-4a01-9ded-f97117f9c474\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"deviceId\\\": \\\"983ca2ee-aac8-4dd1-a944-bedeb5885d5f\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"951b215c-6496-4f73-ad12-8b7a31c1a532\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"deviceId\\\": \\\"983ca2ee-aac8-4dd1-a944-bedeb5885d5f\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2a093fc2-d986-41d0-81f8-baafcf85a16f\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"deviceId\\\": \\\"983ca2ee-aac8-4dd1-a944-bedeb5885d5f\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"31c5d9b2-7a05-4b27-938b-9d912f3d6c20\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"deviceId\\\": \\\"983ca2ee-aac8-4dd1-a944-bedeb5885d5f\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7051caaa-2aea-4abe-ba7a-f3fa6123bb95\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"deviceId\\\": \\\"983ca2ee-aac8-4dd1-a944-bedeb5885d5f\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"64d1097a-4860-4d92-af98-bc2c02d7a6c7\",\"name\":\"Remove Assigned Device from a Location\",\"request\":{\"name\":\"Remove Assigned Device from a Location\",\"description\":{\"content\":\"Removes an assigned device from a specific location.\\n\\n* Devices that are assigned to emergency locations cannot be removed.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"locationId\",\"description\":\"(Required) The location's unique identifier.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"deviceId\",\"description\":\"(Required) The device's unique identifier.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"e9d6b6fc-3240-40ad-84c1-b0a36f2231bf\",\"name\":\"The device has been removed from location.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"},{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"c81b9faa-8af6-4591-9d26-baa3fbdd79aa\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNSUPPORTED_LOCATION_TYPE_OPERATION` - Will be returned if the client tries to remove a resource from an emergency location eg. if `usedForEmergencyServices` is true on the given location.\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"},{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNSUPPORTED_LOCATION_TYPE_OPERATION\\\",\\n \\\"message\\\": \\\"Resources cannot be removed from an emergency location.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5adc9ae2-7bf2-49e0-b4dd-2fce5bec4242\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"},{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f498a4b8-7ad0-4f45-a308-c22b4149fb40\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"},{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"547a439a-3b25-4cce-8828-03c2a57400bd\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"},{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7ec3374f-8bef-44b8-aa6d-dd337488a666\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"},{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bae52e77-fb4a-4363-91ef-983278c9970e\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"locations\",\":locationId\",\"devices\",\":deviceId\"],\"host\":[\"{{voice-admin-v1-locations-locationId-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"locationId\"},{\"type\":\"any\",\"key\":\"deviceId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"4bfa8799-7b71-4ea1-abe3-a6dfcdc0dba2\",\"name\":\"Get Billing Groups\",\"request\":{\"name\":\"Get Billing Groups\",\"description\":{\"content\":\"Obtains a paginated list of available billing groups.\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"billing-groups\"],\"host\":[\"{{voice-admin-v1-billing-groups-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"8e36707d-28ab-494c-b50e-1a87a0960895\",\"name\":\"List of available billing groups. Will return an empty list if the user doesn't have the permission \\nfor the given account or the given account is not found.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"billing-groups\"],\"host\":[\"{{voice-admin-v1-billing-groups-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"Lorem esse\\\",\\n   \\\"name\\\": \\\"amet mollit sint reprehen\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"id cillum commodo deserunt\\\",\\n   \\\"name\\\": \\\"in minim consequat\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"aec2e0c0-a516-498e-828a-d9ca393903f1\",\"name\":\"The request could not be completed due to missing mandatory fields. This API \\nreturns a number of `constraintViolation`s in the response that provide additional\\ndetails for the following cases:\\n\\n* The `pageMarker` or `pageSize` is invalid\\n* `accountKey` is missing\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"billing-groups\"],\"host\":[\"{{voice-admin-v1-billing-groups-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"accountKey\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"pageMarker\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"pageSize\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"29034de6-a6bf-423b-976a-c1862b22022b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"billing-groups\"],\"host\":[\"{{voice-admin-v1-billing-groups-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"78b8d606-4085-4c35-8d1b-31206e74483f\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n \\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"billing-groups\"],\"host\":[\"{{voice-admin-v1-billing-groups-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ba460eee-f3d1-45b7-b41c-c180f02398b1\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"billing-groups\"],\"host\":[\"{{voice-admin-v1-billing-groups-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bb3c6a50-968e-416a-936d-4cd53a125a6c\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"billing-groups\"],\"host\":[\"{{voice-admin-v1-billing-groups-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"a73b7606-0bae-487f-8507-ac5d161c9e53\",\"name\":\"call-queues\",\"item\":[{\"id\":\"33a18982-a9bd-47ff-a391-1fdb870d48a4\",\"name\":\"Get Call Queues\",\"request\":{\"name\":\"Get Call Queues\",\"description\":{\"content\":\"Retrieve a list of call queues with the details.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\"],\"host\":[\"{{voice-admin-v1-call-queues-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"91bf728a-a949-4097-b355-ac15e8597383\",\"name\":\"List of call queues and their details.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\"],\"host\":[\"{{voice-admin-v1-call-queues-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"aliquip nostrud elit veniam\\\",\\n   \\\"extensionNumber\\\": \\\"commodo magna consectetur\\\",\\n   \\\"name\\\": \\\"in proident irur\\\",\\n   \\\"type\\\": \\\"BASIC\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"dolor dolore consectetur reprehenderit mollit\\\",\\n   \\\"extensionNumber\\\": \\\"culpa exercitation occaecat sed\\\",\\n   \\\"name\\\": \\\"do fugiat\\\",\\n   \\\"type\\\": \\\"ICR\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"84147045-e2fc-4d7a-9e1e-2391457f9418\",\"name\":\"The request could not be completed due to missing mandatory fields. This API \\nreturns a number of `constraintViolation`s in the response that provide additional\\ndetails for the following cases:\\n\\n* The `pageMarker` or `pageSize` is invalid\\n* `accountKey` is missing\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\"],\"host\":[\"{{voice-admin-v1-call-queues-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"accountKey\\\",\\n   \\\"constraint\\\": \\\"REQUIRED\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"pageMarker\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"pageSize\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a4fdee5c-885f-4a04-92a5-39ec5fe1f309\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\"],\"host\":[\"{{voice-admin-v1-call-queues-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7416b28e-a715-41fb-ab88-5a615dcc3114\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\"],\"host\":[\"{{voice-admin-v1-call-queues-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f88d2cf6-cb7f-47e7-91ee-9427ff4e5623\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\"],\"host\":[\"{{voice-admin-v1-call-queues-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7a0e1e69-bd6d-45fc-8507-e1e7d447abf5\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\"],\"host\":[\"{{voice-admin-v1-call-queues-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"19965f81-3eab-4fce-ad65-bceb1db35ada\",\"name\":\"{call Queue Id}/users\",\"item\":[{\"id\":\"05522d4a-feb8-4b33-96cb-093d1d940a5e\",\"name\":\"Log a User into a Specific Call Queue\",\"request\":{\"name\":\"Log a User into a Specific Call Queue\",\"description\":{\"content\":\"Log in a user to the call queue.\\nThe user must be active for the request to be valid.\\nThis will link the user's primary extension to the call queue. Incoming calls will be taken from the GoTo app only.\\n*ALL devices assigned to the user will be logged into the call queue.*\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callQueueId\",\"description\":\"(Required) The call queue's unique identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"fe9489df-498d-4373-9fef-8ac367498383\",\"name\":\"The user was logged in to the call queue\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"5277010418967541911\\\"\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"65486a93-567a-4afd-8d93-276af81a96c2\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `INVALID_USER_KEY` - The user key is invalid.\\n* `NOT_FOUND_DEVICES` -  Unable to find devices associated for the given request.\\n* `NOT_FOUND_LINES` - Unable to find lines associated for the given request.\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n* `CALL_QUEUE_USER_LOGIN_FAILED` - The user could not be logged to the call queue.\\n* `CALL_QUEUE_USER_LIMIT` - Maximum number of logged users into the call queue has been reached.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"5277010418967541911\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_USER_KEY\\\",\\n \\\"message\\\": \\\"The user key is invalid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"56d9e747-4f4b-4a41-a196-4c9905d13833\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"5277010418967541911\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bb90ac45-f31f-4a83-b7c6-3084de4b08f6\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"5277010418967541911\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b0b8aa12-efb1-4db8-a22e-088e775daee2\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"5277010418967541911\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"99dadabb-cec6-4b7d-8790-c1fb353f6541\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"5277010418967541911\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a6c92cc5-9eae-47c9-a204-03e9a48164bf\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKey\\\": \\\"5277010418967541911\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"21ef7a50-3880-4a71-82c6-2b4f3399ebbd\",\"name\":\"Get Users Logged-In for a Specific Call Queue\",\"request\":{\"name\":\"Get Users Logged-In for a Specific Call Queue\",\"description\":{\"content\":\"Obtains a paginated list of users logged in for a given call queue.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callQueueId\",\"description\":\"(Required) The call queue's unique identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"7c702249-72c5-4d4d-bfc0-d92362c16903\",\"name\":\"List of users assigned to the given call queue.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"userKey\\\": \\\"5277010418967541911\\\"\\n  },\\n  {\\n   \\\"userKey\\\": \\\"5277010418967541911\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9acbedc4-876c-492b-b8a6-4ce76d68ed65\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6e7c86f0-240c-466f-be58-87ee0b4c2768\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0f5e64de-a880-4f5f-85ad-07daf506942a\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e428c3c8-cedb-49a8-8b68-3c6c062f9acd\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bc109dd7-c2b2-4ee4-a747-d545e05930e6\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"239b9030-fddf-4a38-9ae4-74f1aed8471e\",\"name\":\"Log a User out of a Specific Call Queue\",\"request\":{\"name\":\"Log a User out of a Specific Call Queue\",\"description\":{\"content\":\"Log out a user out of the call queue.\\nThe user must be active for the request to be valid.\\nThis will unlink the user's primary extension from the call queue. The user will no longer receive calls from this call queue.\\n*ALL devices assigned to the user will be logged out of the call queue.*\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callQueueId\",\"description\":\"(Required) The call queue's unique identifier.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"userKey\",\"description\":\"(Required) The unique user key.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"a84167b4-20ad-47c2-b236-7b121e56d99d\",\"name\":\"The user was logged in to the call queue\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"970742c8-05e5-4cca-a2f8-98ada9729800\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `INVALID_USER_KEY` - The user key is invalid.\\n* `NOT_FOUND_DEVICES` -  Unable to find devices associated for the given request.\\n* `NOT_FOUND_LINES` - Unable to find lines associated for the given request.\\n* `MALFORMED_REQUEST` - The request is malformed and not interpretable.\\n* `CALL_QUEUE_USER_LOGOUT_FAILED` - The user could not be logged out from the call queue.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_USER_KEY\\\",\\n \\\"message\\\": \\\"The user key is invalid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"90e142e3-1272-44b7-83d8-56ce419cb57b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0439e4e6-cc52-414c-ac89-55bdbf8cdddb\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bd667e61-3233-4809-928a-ae3bbcc2dc0a\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"56b1ff80-8c40-427f-b396-7334a8577f0b\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4a39e60d-cea2-4f95-8003-bf1ef853b04c\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"call-queues\",\":callQueueId\",\"users\",\":userKey\"],\"host\":[\"{{voice-admin-v1-call-queues-callQueueId-users-userKey-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callQueueId\"},{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"1014387f-a374-4b4e-ae91-c31b2c7a2606\",\"name\":\"Get SMS Registrations\",\"request\":{\"name\":\"Get SMS Registrations\",\"description\":{\"content\":\"Get details about the SMS registrations linked to a given account.\\n\\nTo use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \\nor [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\\n\\n### Authentication Scopes\\n\\n`voice-admin.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voice-admin\",\"v1\",\"sms-registrations\"],\"host\":[\"{{voice-admin-v1-sms-registrations-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"8748e51b-3f9e-4a5c-a77f-786bca11ad53\",\"name\":\"List of SMS registrations and their details.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"sms-registrations\"],\"host\":[\"{{voice-admin-v1-sms-registrations-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"campaignStatus\\\": \\\"REGISTERED\\\",\\n   \\\"brandStatus\\\": \\\"REGISTERED\\\"\\n  },\\n  {\\n   \\\"campaignStatus\\\": \\\"REGISTERED\\\",\\n   \\\"brandStatus\\\": \\\"REGISTERED\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1467b9b1-3e3d-4399-a421-ef82464b910b\",\"name\":\"The request has one or more issues.  The API returns a number of\\n`errorCode` values in the response that provide additional details.\\n\\n* `INVALID_ACCOUNT_KEY` - The account key is invalid or is missing.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"sms-registrations\"],\"host\":[\"{{voice-admin-v1-sms-registrations-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"INVALID_ACCOUNT_KEY\\\",\\n \\\"message\\\": \\\"Invalid account key [123456789].\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8b2439a4-cdfc-4d3e-8f43-b2be4bc1a18b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"sms-registrations\"],\"host\":[\"{{voice-admin-v1-sms-registrations-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b6c71d21-d3e6-4d1b-9193-e38f40dd01e4\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"sms-registrations\"],\"host\":[\"{{voice-admin-v1-sms-registrations-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"18cb5cd3-dab0-4d0e-925e-6fca6673afa7\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"sms-registrations\"],\"host\":[\"{{voice-admin-v1-sms-registrations-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"64d57c89-cc41-4e93-a55e-212dfbda8535\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voice-admin\",\"v1\",\"sms-registrations\"],\"host\":[\"{{voice-admin-v1-sms-registrations-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"1956177422157042821\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"f1b71e65-ae72-42e5-a77c-ae90669282c8\",\"name\":\"voicemail/v1\",\"item\":[{\"id\":\"7c94f423-d58f-4eb5-bbc4-fa8850db5235\",\"name\":\"voicemailboxes\",\"item\":[{\"id\":\"e60df922-e2f2-414b-8ac4-4c495126c1d6\",\"name\":\"Get voicemail boxes\\n\",\"request\":{\"name\":\"Get voicemail boxes\\n\",\"description\":{\"content\":\"Returns the IDs of the voicemail boxes which the user can access.\\n\\nCan be optionally filtered by extension number to which the voicemail box belongs. If no \\nextension number is specified, all the voicemail boxes the user can access will be returned.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.voicemails.read` must be used when a token is requested from the Authentication API.\\n\\n### Example request\\n\\n```\\ncurl -X GET \\\\\\n  \\\"https://api.goto.com/voicemail/v1/voicemailboxes?accountKey=2930718022414574861&extensionNumber=1243\\\" \\\\\\n  -H 'Authorization: Bearer {auth-token}'\\n```\\n\\nA `400 Bad Request` is returned if the `accountKey` is missing.  \\nA `403 Forbidden` is returned if the user doesn't have access to either the `accountKey` \\nor the `extensionNumber`.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\"],\"host\":[\"{{voicemail-v1-voicemailboxes-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"organizationId\",\"value\":\"<string>\",\"description\":\"The ID of the organization associated with the voicemailbox.\\n\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"The account key associated with the voicemailbox.\\n\"},{\"disabled\":false,\"key\":\"extensionNumber\",\"value\":\"<string>\",\"description\":\"The extension number of the user in the organization.\\n\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The returned nextPageMarker from a Paginated Collection is used here to fetch the starting \\nitem for the paginated result.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"888cdbe9-abf8-44db-9b3a-9612a1c9f9f5\",\"name\":\"The list of voicemail boxes accessible by the user.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\"],\"host\":[\"{{voicemail-v1-voicemailboxes-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n   \\\"organizationId\\\": \\\"be342206-96ac-482b-bd2d-5fb317e7daa1\\\",\\n   \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n   \\\"extensionNumber\\\": \\\"1243\\\",\\n   \\\"lastUpdatedTimestamp\\\": \\\"1988-12-03T00:51:10.909Z\\\",\\n   \\\"newMessageCount\\\": 0,\\n   \\\"readMessageCount\\\": 0\\n  },\\n  {\\n   \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n   \\\"organizationId\\\": \\\"be342206-96ac-482b-bd2d-5fb317e7daa1\\\",\\n   \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n   \\\"extensionNumber\\\": \\\"1243\\\",\\n   \\\"lastUpdatedTimestamp\\\": \\\"1968-04-05T17:27:22.626Z\\\",\\n   \\\"newMessageCount\\\": 0,\\n   \\\"readMessageCount\\\": 0\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d6f24e51-bc3a-46eb-8925-548ef398d4e1\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\"],\"host\":[\"{{voicemail-v1-voicemailboxes-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fd35907c-0621-49bc-879e-745ca48c7166\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\"],\"host\":[\"{{voicemail-v1-voicemailboxes-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a95e41c7-90fc-499e-a473-0ca975f22f53\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\"],\"host\":[\"{{voicemail-v1-voicemailboxes-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ebb9c989-d9da-43f0-a96c-e221df2284b3\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\"],\"host\":[\"{{voicemail-v1-voicemailboxes-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a45c947d-161b-4fd2-8929-adb2289ae54f\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\"],\"host\":[\"{{voicemail-v1-voicemailboxes-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9572b1ec-d3bb-4a31-8c16-ed9d31e93997\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\"],\"host\":[\"{{voicemail-v1-voicemailboxes-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]},{\"id\":\"8b40d83a-021b-407a-b4d1-84b943688e60\",\"name\":\"{voicemailbox Id}/voicemails\",\"item\":[{\"id\":\"e3fcf055-4ebf-41be-b5e8-791fa354b4aa\",\"name\":\"Get voicemails\\n\",\"request\":{\"name\":\"Get voicemails\\n\",\"description\":{\"content\":\"Returns the voicemails belonging to the supplied voicemail box ID.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.voicemails.read` must be used when a token is requested from the Authentication API.\\n\\n### Example request\\n\\n```\\ncurl -X GET \\\\\\n  https://api.goto.com/voicemail/v1/voicemailboxes/606d12ff-9482-4ff0-8971-95133ffc47d1/voicemails \\\\\\n  -H 'Authorization: Bearer {auth-token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"page\",\"value\":\"<integer>\",\"description\":\"The zero-based integer page index from a PageableCollection that is used to fetch the \\ncorresponding page from the paginated result.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"status\",\"value\":\"<string>\",\"description\":\"The status of the voicemail.\\n\"},{\"disabled\":false,\"key\":\"sort\",\"value\":\"+timestamp\",\"description\":\"Sorts the list of voicemails by the given fields. Prefix with an ordering command, either\\n`+` for ascending or `-` for descending.\\n\\nAccepted sort values are:\\n- `timestamp`\\n- `status`\\n\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"voicemailboxId\",\"description\":\"(Required) The ID of the voicemailbox to query.\\n\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"3b685d84-0bfc-48c8-a916-f3f855261851\",\"name\":\"The list of voicemails in a user voicemailbox.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[{\"key\":\"page\",\"value\":\"<integer>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"status\",\"value\":\"NEW\"},{\"key\":\"sort\",\"value\":\"+timestamp\"}],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailboxId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"page\\\": 0,\\n \\\"pageSize\\\": 10,\\n \\\"matchesTotal\\\": 100,\\n \\\"items\\\": [\\n  {\\n   \\\"voicemailId\\\": \\\"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\\\",\\n   \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n   \\\"organizationId\\\": \\\"be342206-96ac-482b-bd2d-5fb317e7daa1\\\",\\n   \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n   \\\"callerNumber\\\": \\\"1003\\\",\\n   \\\"durationMs\\\": 1500,\\n   \\\"timestamp\\\": \\\"1952-09-07T10:43:27.666Z\\\",\\n   \\\"status\\\": \\\"NEW\\\",\\n   \\\"externalUserKey\\\": \\\"5435428342435765436\\\",\\n   \\\"extensionName\\\": {},\\n   \\\"extensionNumber\\\": \\\"1243\\\",\\n   \\\"calledNumber\\\": \\\"123-456-7890\\\",\\n   \\\"callerName\\\": \\\"John Doe\\\",\\n   \\\"legId\\\": \\\"229e8710-409a-40fa-908c-de647f66298a\\\",\\n   \\\"originalTimestamp\\\": \\\"1988-08-11T18:13:39.200Z\\\",\\n   \\\"transcriptionStatus\\\": \\\"SUCCESS\\\",\\n   \\\"forwardFrom\\\": [\\n    {\\n     \\\"extensionName\\\": \\\"velit occaecat\\\",\\n     \\\"extensionNumber\\\": \\\"dolore e\\\",\\n     \\\"forwarderUserKey\\\": \\\"mollit\\\",\\n     \\\"timestamp\\\": \\\"2002-12-20T16:38:35.954Z\\\"\\n    },\\n    {\\n     \\\"extensionName\\\": \\\"officia\\\",\\n     \\\"extensionNumber\\\": \\\"est mollit amet labore\\\",\\n     \\\"forwarderUserKey\\\": \\\"est eu enim ipsum\\\",\\n     \\\"timestamp\\\": \\\"1996-09-15T20:19:28.665Z\\\"\\n    }\\n   ],\\n   \\\"forwardTo\\\": [\\n    {\\n     \\\"extensionName\\\": \\\"laboris Lorem\\\",\\n     \\\"extensionNumber\\\": \\\"aliquip\\\",\\n     \\\"forwarderUserKey\\\": \\\"in voluptate do et\\\",\\n     \\\"timestamp\\\": \\\"1953-08-28T03:36:41.267Z\\\"\\n    },\\n    {\\n     \\\"extensionName\\\": \\\"sit do al\\\",\\n     \\\"extensionNumber\\\": \\\"dolor aute elit officia\\\",\\n     \\\"forwarderUserKey\\\": \\\"ipsum consequat esse in\\\",\\n     \\\"timestamp\\\": \\\"1984-02-01T13:13:12.216Z\\\"\\n    }\\n   ]\\n  },\\n  {\\n   \\\"voicemailId\\\": \\\"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\\\",\\n   \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n   \\\"organizationId\\\": \\\"be342206-96ac-482b-bd2d-5fb317e7daa1\\\",\\n   \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n   \\\"callerNumber\\\": \\\"1003\\\",\\n   \\\"durationMs\\\": 1500,\\n   \\\"timestamp\\\": \\\"1980-02-19T04:20:22.860Z\\\",\\n   \\\"status\\\": \\\"NEW\\\",\\n   \\\"externalUserKey\\\": \\\"5435428342435765436\\\",\\n   \\\"extensionName\\\": {},\\n   \\\"extensionNumber\\\": \\\"1243\\\",\\n   \\\"calledNumber\\\": \\\"123-456-7890\\\",\\n   \\\"callerName\\\": \\\"John Doe\\\",\\n   \\\"legId\\\": \\\"229e8710-409a-40fa-908c-de647f66298a\\\",\\n   \\\"originalTimestamp\\\": \\\"1963-10-27T10:57:50.961Z\\\",\\n   \\\"transcriptionStatus\\\": \\\"SUCCESS\\\",\\n   \\\"forwardFrom\\\": [\\n    {\\n     \\\"extensionName\\\": \\\"amet sunt voluptate minim\\\",\\n     \\\"extensionNumber\\\": \\\"ullamco sint mollit\\\",\\n     \\\"forwarderUserKey\\\": \\\"ad commodo ipsum est\\\",\\n     \\\"timestamp\\\": \\\"1973-01-28T05:47:46.977Z\\\"\\n    },\\n    {\\n     \\\"extensionName\\\": \\\"voluptate\\\",\\n     \\\"extensionNumber\\\": \\\"qui\\\",\\n     \\\"forwarderUserKey\\\": \\\"commodo aute\\\",\\n     \\\"timestamp\\\": \\\"1979-06-24T13:02:00.075Z\\\"\\n    }\\n   ],\\n   \\\"forwardTo\\\": [\\n    {\\n     \\\"extensionName\\\": \\\"officia id mollit\\\",\\n     \\\"extensionNumber\\\": \\\"amet ut qui\\\",\\n     \\\"forwarderUserKey\\\": \\\"in culpa quis commodo\\\",\\n     \\\"timestamp\\\": \\\"1980-12-11T09:47:14.690Z\\\"\\n    },\\n    {\\n     \\\"extensionName\\\": \\\"consequat pariatur\\\",\\n     \\\"extensionNumber\\\": \\\"ad eu occaecat\\\",\\n     \\\"forwarderUserKey\\\": \\\"laboris est\\\",\\n     \\\"timestamp\\\": \\\"2010-12-04T16:14:25.170Z\\\"\\n    }\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f287ccc0-dd25-49ed-af21-88d7f1db7d41\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[{\"key\":\"page\",\"value\":\"<integer>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"status\",\"value\":\"NEW\"},{\"key\":\"sort\",\"value\":\"+timestamp\"}],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailboxId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"420b64ec-a40c-4917-b1af-ae5d3f880413\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[{\"key\":\"page\",\"value\":\"<integer>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"status\",\"value\":\"NEW\"},{\"key\":\"sort\",\"value\":\"+timestamp\"}],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailboxId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1ab3c3e7-71b2-4e1e-bd7e-a887eb5398e7\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[{\"key\":\"page\",\"value\":\"<integer>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"status\",\"value\":\"NEW\"},{\"key\":\"sort\",\"value\":\"+timestamp\"}],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailboxId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6c0da4ca-d14e-43b5-92bd-4ff3c2e42891\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[{\"key\":\"page\",\"value\":\"<integer>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"status\",\"value\":\"NEW\"},{\"key\":\"sort\",\"value\":\"+timestamp\"}],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailboxId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"931c58ca-c78e-4584-8a0b-b360d074d06b\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[{\"key\":\"page\",\"value\":\"<integer>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"status\",\"value\":\"NEW\"},{\"key\":\"sort\",\"value\":\"+timestamp\"}],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailboxId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"62afaf87-be59-4261-a4ac-cf068055ba6f\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[{\"key\":\"page\",\"value\":\"<integer>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"status\",\"value\":\"NEW\"},{\"key\":\"sort\",\"value\":\"+timestamp\"}],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailboxId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"c799abff-c61f-482b-bd8c-ed3be86b20df\",\"name\":\"Update properties of multiple voicemails\\n\",\"request\":{\"name\":\"Update properties of multiple voicemails\\n\",\"description\":{\"content\":\"Allows a user to update voicemail properties in batches.\\n\\nThe primary use case is for a user to move voicemail/s to their specified destination\\nfolder/s.\\n\\nOperation will be denied (404) if the user is not the owner of the mailbox or a super admin\\nor (403) if the user's token doesn't have sufficient privileges to hit the endpoint.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.voicemails.write` must be used when a token is requested from the Authentication API.\\n\\n### Example request\\n\\n```\\ncurl -X PATCH \\\\\\n  https://api.goto.com/voicemail/v1/voicemailboxes/606d12ff-9482-4ff0-8971-95133ffc47d1/voicemails \\\\\\n  -H 'Authorization: Bearer {auth-token}'\\n  -H 'Content-Type: application/json' \\\\\\n  -d '[{\\\"id\\\": \\\"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\\\", \\\"objectProperties\\\": [{\\\"name\\\": \\\"status\\\", \\\"value\\\": \\\"READ\\\"}]}]'\\n```\\n\\nAt this point only READ & NEW are supported as the voicemail Status. DELETED is not\\nsupported.\\n\\nA `404` is returned if the user doesn't have access to the `voicemailboxId`.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"voicemailboxId\",\"description\":\"(Required) The ID of the voicemailbox to query.\\n\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"id\\\": \\\"<string>\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    },\\n    {\\n        \\\"id\\\": \\\"<string>\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    }\\n]\"}},\"response\":[{\"id\":\"502eacf1-f8d4-407c-b6da-0feefaf33b6e\",\"name\":\"The list of voicemailIds along with their status & errors.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailboxId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"id\\\": \\\"my-voicemail-id\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    },\\n    {\\n        \\\"id\\\": \\\"my-voicemail-id\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    }\\n]\"}},\"status\":\"Multi-Status (WebDAV) (RFC 4918)\",\"code\":207,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"voicemailId\\\": \\\"culpa cupidatat est Lorem ullamco\\\",\\n   \\\"status\\\": \\\"SUCCESS\\\",\\n   \\\"error\\\": \\\"nostrud enim\\\"\\n  },\\n  {\\n   \\\"voicemailId\\\": \\\"id\\\",\\n   \\\"status\\\": \\\"SUCCESS\\\",\\n   \\\"error\\\": \\\"Excepteur\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a23803c2-b0e2-401e-97d6-ec9eef3f0faf\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailboxId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"id\\\": \\\"my-voicemail-id\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    },\\n    {\\n        \\\"id\\\": \\\"my-voicemail-id\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    }\\n]\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"965ae27e-3c78-4046-8368-a3af185de932\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailboxId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"id\\\": \\\"my-voicemail-id\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    },\\n    {\\n        \\\"id\\\": \\\"my-voicemail-id\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    }\\n]\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5afcb03f-7ecc-4d95-8958-9abc6e91216d\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailboxId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"id\\\": \\\"my-voicemail-id\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    },\\n    {\\n        \\\"id\\\": \\\"my-voicemail-id\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    }\\n]\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a20f13d1-ebfd-4e9e-9f16-c68c43479240\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailboxId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"id\\\": \\\"my-voicemail-id\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    },\\n    {\\n        \\\"id\\\": \\\"my-voicemail-id\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    }\\n]\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f60caffb-4e82-4f91-98fa-1ef2677f0bec\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailboxId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"id\\\": \\\"my-voicemail-id\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    },\\n    {\\n        \\\"id\\\": \\\"my-voicemail-id\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    }\\n]\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f93e445a-f6cb-48ea-b8e6-b74f847f5365\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemailboxes\",\":voicemailboxId\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailboxId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"id\\\": \\\"my-voicemail-id\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    },\\n    {\\n        \\\"id\\\": \\\"my-voicemail-id\\\",\\n        \\\"objectProperties\\\": [\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            },\\n            {\\n                \\\"name\\\": \\\"status\\\",\\n                \\\"value\\\": \\\"READ\\\"\\n            }\\n        ]\\n    }\\n]\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"b53ff0a3-28a0-4441-b411-e932fd4d9530\",\"name\":\"voicemails\",\"item\":[{\"id\":\"a8adc4c9-f9aa-4625-84ab-5e10a1d4ae6d\",\"name\":\"Delete multiple voicemails.\\n\",\"request\":{\"name\":\"Delete multiple voicemails.\\n\",\"description\":{\"content\":\"Allows a user to delete multiple voicemails identified by a list of voicemail ids.\\n\\nThe user must be the owner of the voicemailbox which contains the voicemail to be able\\nto delete the voicemail. A user is an owner of voicemailboxes which belongs to the \\nextensions to which the user is assigned, as well as any shared voicemailboxes assigned to \\nthose extensions.\\n\\nA super admin can delete voicemails in any voicemailbox.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.voicemails.write` must be used when a token is requested from the Authentication API.\\n\\n### Example request\\n\\n```\\ncurl -X DELETE \\\\\\n  https://api.goto.com/voicemail/v1/voicemails?id=djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU3 \\\\\\n  &id=bn76YUA4OEMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIVOWA5\\n  -H 'Authorization: Bearer {auth-token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemails-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"id\",\"value\":\"<string>\",\"description\":\"(Required) Id(s) of the voicemail(s) to delete.\\n\"}],\"variable\":[]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"66873b19-3303-4945-9c46-56de58ae494f\",\"name\":\"Request completed. See individual results.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemails-Url}}\"],\"query\":[{\"key\":\"id\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"voicemailId\\\": \\\"culpa cupidatat est Lorem ullamco\\\",\\n   \\\"status\\\": \\\"SUCCESS\\\",\\n   \\\"error\\\": \\\"nostrud enim\\\"\\n  },\\n  {\\n   \\\"voicemailId\\\": \\\"id\\\",\\n   \\\"status\\\": \\\"SUCCESS\\\",\\n   \\\"error\\\": \\\"Excepteur\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c7684a82-adff-430f-9efc-c00ef550fbbf\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemails-Url}}\"],\"query\":[{\"key\":\"id\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f64f32be-c180-4d30-9ed6-136329d2fcd3\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\"],\"host\":[\"{{voicemail-v1-voicemails-Url}}\"],\"query\":[{\"key\":\"id\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"0464504d-4a8d-4f99-9370-ff5ff48a85ab\",\"name\":\"{voicemail Id}\",\"item\":[{\"id\":\"2191485f-65fe-48ad-9c77-4a0f5ffa4595\",\"name\":\"Fetch a voicemail in a user voicemailbox.\\n\",\"request\":{\"name\":\"Fetch a voicemail in a user voicemailbox.\\n\",\"description\":{\"content\":\"Allow a user to get a voicemail identified by a specific voicemail ID.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.voicemails.read` must be used when a token is requested from the Authentication API.\\n\\n### Example request\\n\\n```\\ncurl -X GET \\\\\\n  https://api.goto.com/voicemail/v1/voicemails/djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU3 \\\\\\n  -H 'Authorization: Bearer {auth-token}'\\n```\\n\\nA `404` is returned if the user doesn't have access to the `voicemailId`.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"voicemailId\",\"description\":\"(Required) The ID of the voicemail to query.\\n\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"0276cff7-7268-441c-b5db-08aeb8eae64d\",\"name\":\"Successfully retrieved the voicemail associated to voicemailId\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"voicemailId\\\": \\\"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\\\",\\n \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n \\\"organizationId\\\": \\\"be342206-96ac-482b-bd2d-5fb317e7daa1\\\",\\n \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n \\\"callerNumber\\\": \\\"1003\\\",\\n \\\"durationMs\\\": 1500,\\n \\\"timestamp\\\": \\\"1973-05-07T05:45:16.230Z\\\",\\n \\\"status\\\": \\\"NEW\\\",\\n \\\"externalUserKey\\\": \\\"5435428342435765436\\\",\\n \\\"extensionName\\\": {},\\n \\\"extensionNumber\\\": \\\"1243\\\",\\n \\\"calledNumber\\\": \\\"123-456-7890\\\",\\n \\\"callerName\\\": \\\"John Doe\\\",\\n \\\"legId\\\": \\\"229e8710-409a-40fa-908c-de647f66298a\\\",\\n \\\"originalTimestamp\\\": \\\"1963-12-01T00:06:40.980Z\\\",\\n \\\"transcriptionStatus\\\": \\\"SUCCESS\\\",\\n \\\"forwardFrom\\\": [\\n  {\\n   \\\"extensionName\\\": \\\"Lorem\\\",\\n   \\\"extensionNumber\\\": \\\"dolor amet\\\",\\n   \\\"forwarderUserKey\\\": \\\"deserunt voluptate ad exercitation cillum\\\",\\n   \\\"timestamp\\\": \\\"1994-04-08T11:51:06.919Z\\\"\\n  },\\n  {\\n   \\\"extensionName\\\": \\\"commodo sunt ad\\\",\\n   \\\"extensionNumber\\\": \\\"sed commodo do\\\",\\n   \\\"forwarderUserKey\\\": \\\"Excepteur ipsum mollit in\\\",\\n   \\\"timestamp\\\": \\\"2020-03-29T17:45:29.081Z\\\"\\n  }\\n ],\\n \\\"forwardTo\\\": [\\n  {\\n   \\\"extensionName\\\": \\\"velit in consectetur\\\",\\n   \\\"extensionNumber\\\": \\\"enim dolore exercitation nisi\\\",\\n   \\\"forwarderUserKey\\\": \\\"deserunt i\\\",\\n   \\\"timestamp\\\": \\\"2008-07-30T01:08:48.664Z\\\"\\n  },\\n  {\\n   \\\"extensionName\\\": \\\"Ut i\\\",\\n   \\\"extensionNumber\\\": \\\"do aute sed laborum ut\\\",\\n   \\\"forwarderUserKey\\\": \\\"Ut\\\",\\n   \\\"timestamp\\\": \\\"1979-01-02T01:17:53.745Z\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3e8c6168-05ef-4cd0-b143-25aeb2f90274\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8be0be3b-85f6-47f4-800e-3f2adaef2bae\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8ad5fde1-c5d1-4baa-bba0-dd88cf031a69\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"58564843-a1dd-42df-884f-62a8989a11d0\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"b3c7b459-cda4-471d-b6f2-adafcc231029\",\"name\":\"Delete a voicemail\\n\",\"request\":{\"name\":\"Delete a voicemail\\n\",\"description\":{\"content\":\"Deletes a voicemail identified by `voicemailId`.\\n\\nOperation will be denied if the user is not the owner of the mailbox or a super admin.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.voicemails.write` must be used when a token is requested from the Authentication API.\\n\\n### Example request\\n\\n```\\ncurl -X DELETE \\\\\\n  https://api.goto.com/voicemail/v1/voicemails/djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0 \\\\\\n  -H 'Authorization: Bearer {auth-token}'\\n```\\n\\nA `404` is returned if the user doesn't have access to the `voicemailId`.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"voicemailId\",\"description\":\"(Required) The ID of the voicemail to query.\\n\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"15c444a2-9dbe-4303-9db8-c2fb1541f0be\",\"name\":\"Successfully removed the voicemail.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"3082c15c-1bae-4c20-8a06-f9b188613e04\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"01436fb5-2388-4332-94eb-86e8c302b364\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"54330936-e0c5-47b5-ae01-e25c0e6f8178\",\"name\":\"The resource corresponding to the `voicemailId` does not exist or the principal \\nrepresented by the supplied token is not authorized to view the resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"41b50fda-9ae2-4da7-a534-cd1e751c9940\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1dc8aca1-e43b-4096-9df6-155ece8c9860\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"ff0d421a-54d7-4f34-ac01-d86917ce9b93\",\"name\":\"Update properties of a given voicemail.\\n\",\"request\":{\"name\":\"Update properties of a given voicemail.\\n\",\"description\":{\"content\":\"Allows a user to update voicemail properties.\\n\\nThe primary use case is for a user to update voicemail status from new to read & vice versa.\\n\\nOperation will be denied (404) if the user is not the owner of the mailbox or a super admin \\nor (403) if the user's token doesn't have sufficient privileges to hit the endpoint.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.voicemails.write` must be used when a token is requested from the Authentication API.\\n\\n### Example request\\n\\n```\\ncurl -X PATCH \\\\\\n  https://api.goto.com/voicemail/v1/voicemails/djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0 \\\\\\n  -H 'Authorization: Bearer {auth-token}'\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{[{\\\"name\\\": \\\"status\\\", \\\"value\\\": \\\"READ\\\"}]}'\\n```\\n\\nAt this point only READ & NEW are supported as the voicemail Status. DELETED is not supported.  \\nA `404` is returned if the user doesn't have access to the `voicemailboxId`.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"voicemailId\",\"description\":\"(Required) The ID of the voicemail to query.\\n\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    },\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    }\\n]\"}},\"response\":[{\"id\":\"a8f2bb05-6eb9-4eb3-96e0-514a0986a3a1\",\"name\":\"Successfully updated the voicemail.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    },\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    }\\n]\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"47f86862-3fb9-40ec-947b-771bbd8834dc\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    },\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    }\\n]\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1bf95031-b5a8-4e59-b95a-d84074c964ec\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    },\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    }\\n]\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b128f284-dcb6-4e62-8fb1-4d0f4efc555b\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    },\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    }\\n]\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d620b199-2a9e-4dc2-9ea3-9979866dc85c\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    },\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    }\\n]\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"208e4459-e9d6-42e0-9e4a-54bd4bc689b4\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    },\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    }\\n]\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7ad33b7f-81f4-4a81-a7d5-6f8e3bdd070f\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    },\\n    {\\n        \\\"name\\\": \\\"status\\\",\\n        \\\"value\\\": \\\"READ\\\"\\n    }\\n]\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"9047d4ff-ab5f-474e-b3c1-88bcc78da3e4\",\"name\":\"Get voicemail media content\\n\",\"request\":{\"name\":\"Get voicemail media content\\n\",\"description\":{\"content\":\"Returns the media (audio) of a voicemail identified by `voicemailId`.\\n\\nOperation will be denied if the user is not the owner of the mailbox or a super admin.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.voicemails.read` must be used when a token is requested from the Authentication API.\\n\\n### Accept Header\\n\\nProviding the `Accept: audio/mpeg` header will return the media content in binary encoding. If this header is not provided, the media will be Base64 encoded in the response.\\n\\n### Example request\\n\\n```\\ncurl -X GET \\\\\\n  https://api.goto.com/voicemail/v1/voicemails/djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0/mediacontent \\\\\\n  -H 'Authorization: Bearer {auth-token}' \\\\\\n  -H 'Accept: audio/mpeg'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"mediacontent\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-mediacontent-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"voicemailId\",\"description\":\"(Required) The ID of the voicemail to query.\\n\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"5b5fa530-aa83-478c-b712-bffb291e1607\",\"name\":\"Successfully retrieved the media content associated to `voicemailId`\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"mediacontent\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-mediacontent-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"audio/mpeg\"}],\"body\":\"nulla n\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"cbd30c7b-3424-4842-ac18-4b1177b0d4e8\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"mediacontent\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-mediacontent-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1cf50f28-7de2-44ee-9f0b-c6ac5793a0aa\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"mediacontent\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-mediacontent-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e47ea7fc-8450-4e76-992a-505db72e2b8c\",\"name\":\"The resource corresponding to the `voicemailId` does not exist or the principal \\nrepresented by the supplied token is not authorized to view the resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"mediacontent\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-mediacontent-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"72605858-44c0-476b-af76-1d102470a1c3\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"mediacontent\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-mediacontent-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5dfa9040-8b62-434b-816a-5828706ae91d\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"mediacontent\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-mediacontent-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"4819727d-b4da-4368-a2ae-3b7c5b241bbd\",\"name\":\"Forward the voicemail to the specified extensions\\n\",\"request\":{\"name\":\"Forward the voicemail to the specified extensions\\n\",\"description\":{\"content\":\"Forward the voicemail to the specified extensions\\n\\nOperation will be denied if the user is not the owner of the voicemail or a super admin.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.voicemails.write` must be used when a token is requested from the Authentication API.\\n\\n### Example request to forward the voicemail to 3 extensions\\n\\n```\\ncurl -X POST 'https://api.goto.com/voicemail/v1/voicemails/djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0/forward' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{\\\"extensionNumbers\\\": [\\\"1002\\\", \\\"4005\\\", \\\"7009\\\"]}' \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\\nThe response to this request is an HTTP 200 OK with the content:\\n\\n```\\n{\\n  \\\"items\\\": [\\n    {\\n      \\\"extensionNumber\\\": \\\"1002\\\",\\n      \\\"status\\\": \\\"SUCCESS\\\",\\n      \\\"forwardTo\\\": {\\n        \\\"extensionNumber\\\": \\\"1002\\\",\\n        \\\"extensionName\\\": \\\"Bob's extension\\\",\\n        \\\"forwarderUserKey\\\": \\\"2930718022414574861\\\",\\n        \\\"timestamp\\\": \\\"2020-11-17T18:31:35.245Z\\\"\\n      }\\n    },\\n    {\\n      \\\"extensionNumber\\\": \\\"4005\\\",\\n      \\\"status\\\": \\\"NOT_FOUND\\\"\\n    }\\n    {\\n      \\\"extensionNumber\\\": \\\"7009\\\",\\n      \\\"status\\\": \\\"FAILED\\\"\\n    },\\n  ]\\n}\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"forward\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-forward-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"voicemailId\",\"description\":\"(Required) The ID of the voicemail to forward.\\n\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"extensionNumbers\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"response\":[{\"id\":\"8bc32c35-5523-40b5-8904-601e01207efa\",\"name\":\"The list of voicemail forwards.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"forward\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-forward-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"extensionNumbers\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"extensionNumber\\\": \\\"2748\\\",\\n   \\\"status\\\": \\\"SUCCESS\\\",\\n   \\\"forwardTo\\\": {\\n    \\\"extensionName\\\": \\\"cillum laborum\\\",\\n    \\\"extensionNumber\\\": \\\"in\\\",\\n    \\\"forwarderUserKey\\\": \\\"irure occaecat velit\\\",\\n    \\\"timestamp\\\": \\\"1962-06-22T07:07:39.080Z\\\"\\n   }\\n  },\\n  {\\n   \\\"extensionNumber\\\": \\\"2748\\\",\\n   \\\"status\\\": \\\"SUCCESS\\\",\\n   \\\"forwardTo\\\": {\\n    \\\"extensionName\\\": \\\"mollit irure eiusmod\\\",\\n    \\\"extensionNumber\\\": \\\"ut consectetur\\\",\\n    \\\"forwarderUserKey\\\": \\\"Excepteur aliquip Duis\\\",\\n    \\\"timestamp\\\": \\\"1975-07-25T10:36:05.339Z\\\"\\n   }\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8422370c-cfff-4956-bce1-221d78b721e5\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"forward\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-forward-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"extensionNumbers\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3fec6783-4f4e-436b-b328-bdb29b7ccc6c\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"forward\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-forward-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"extensionNumbers\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"761c549a-2adb-421b-a64c-4b59cb3f8acf\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"forward\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-forward-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"extensionNumbers\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5491cd80-5f4b-44a8-9283-06650704f9f3\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"forward\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-forward-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"extensionNumbers\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"256c5399-610c-4842-9fc1-6edb52e2370d\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"forward\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-forward-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"extensionNumbers\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a1a0a8b2-3873-4b9c-af7b-2aae0d80eeef\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"forward\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-forward-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"extensionNumbers\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"abf3c6ba-8a21-4ae6-ae03-4c35af0c339f\",\"name\":\"Get transcription\\n\",\"request\":{\"name\":\"Get transcription\\n\",\"description\":{\"content\":\"Get the transcription for the voicemail id provided.\\n\\nOperation will be denied if the user is not the owner of the voicemail or a super admin.\\n\\n**The transcription feature needs to be turned on via the admin portal for transcriptions \\nto be available.  \\nSee [How to turn on transcriptions](https://support.goto.com/connect/help/how-do-i-enable-voicemail-transcription) \\nfor more details.**\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.voicemails.read` must be used when a token is requested from the Authentication API.\\n\\n### Example request\\n\\n```\\ncurl -X GET 'https://api.goto.com/voicemail/v1/voicemails/djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0/transcription' -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n\\nThe response to this request is an HTTP 200 OK with the content:\\n\\n```\\n  {\\n    \\\"id\\\": \\\"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\\\",\\n    \\\"text\\\": \\\"Please call me back.\\\",\\n    \\\"status\\\": \\\"SUCCESS\\\"\\n  }\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"transcription\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-transcription-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"showArchived\",\"value\":\"false\",\"description\":\"Deleted voicemails are kept in the system for 36 hours before being permanently deleted. This flag allows you to see the deleted voicemails.\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"voicemailId\",\"description\":\"(Required) The ID of the voicemail to query.\\n\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"132eaef5-00bd-438d-bdea-de3c0f23a1ac\",\"name\":\"The voicemail transcription.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"transcription\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-transcription-Url}}\"],\"query\":[{\"key\":\"showArchived\",\"value\":\"false\"}],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU3\\\",\\n \\\"status\\\": \\\"SUCCESS\\\",\\n \\\"text\\\": \\\"please call me back.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e71fa00a-d41f-4a07-a3ca-a79e5f00ca8a\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"transcription\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-transcription-Url}}\"],\"query\":[{\"key\":\"showArchived\",\"value\":\"false\"}],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"22c9037a-2087-4068-9a2c-7009a5ebe892\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"transcription\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-transcription-Url}}\"],\"query\":[{\"key\":\"showArchived\",\"value\":\"false\"}],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3047b0dd-1e42-48c7-8406-e18b50d73b82\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"transcription\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-transcription-Url}}\"],\"query\":[{\"key\":\"showArchived\",\"value\":\"false\"}],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6b16c5e5-3481-4b3d-9bec-8d8e8ac752da\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"transcription\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-transcription-Url}}\"],\"query\":[{\"key\":\"showArchived\",\"value\":\"false\"}],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e04c24e1-12f2-469e-8991-f53c054b9daf\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"voicemails\",\":voicemailId\",\"transcription\"],\"host\":[\"{{voicemail-v1-voicemails-voicemailId-transcription-Url}}\"],\"query\":[{\"key\":\"showArchived\",\"value\":\"false\"}],\"variable\":[{\"type\":\"any\",\"key\":\"voicemailId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"f238df3b-2cce-4144-b6d2-5187123de5f2\",\"name\":\"subscriptions\",\"item\":[{\"id\":\"3196b70d-2cc8-4c77-b7fc-e336bc45a11f\",\"name\":\"Create a subscription\\n\",\"request\":{\"name\":\"Create a subscription\\n\",\"description\":{\"content\":\"Creates a subscription for the user. The user must first create a notification channel by \\nusing the Notification Channel API. The user will be able to receive notifications for the \\nvoicemailbox requested after subscribing. Operation will be denied if the user is not the \\nowner of the mailbox or a super admin.\\n\\nThe subscription allows notifications to be sent to the notification channel with the \\nprovided notification channel ID. Notifications would be received only if the user is the \\nowner of the mailbox or a super admin. Only 1 subscription per voicemailbox can exist at a \\ntime for a given user's channel ID. When a new subscription is created for a combination\\nof channel ID and voicemailbox ID that already has a subscription, a 409 Conflict will be \\nreturned.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"<string>\\\",\\n    \\\"voicemailboxId\\\": \\\"<string>\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"response\":[{\"id\":\"7f563cc8-fd01-4e7f-b416-7af6ea887b4c\",\"name\":\"The successfully created subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"fugiat labore ut aliquip officia\\\",\\n \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n \\\"externalUserKey\\\": \\\"officia sunt\\\",\\n \\\"organizationId\\\": \\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\",\\n \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n \\\"events\\\": [\\n  \\\"VOICEMAIL_UPDATED\\\",\\n  \\\"VOICEMAIL_DELETED\\\"\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2db03669-f748-42a8-aee5-c862edfea34c\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a131ca98-f3f2-434f-9a56-08b9aafa5454\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"75413bf9-ab8a-43fb-9fa7-1f1b930210f0\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"46969e59-d93e-4240-a697-bde73c8fc63d\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"fea3a672-e763-4e4d-9c6d-fb9a4bfab963\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"499d4f7d-893d-40ec-9c54-8477a779bae4\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2b9165be-34f5-421d-8e9b-a20c46dfb5a2\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]},{\"id\":\"a8932b14-ffa7-4c2e-b199-dbdf33f5c94b\",\"name\":\"Get subscriptions\",\"request\":{\"name\":\"Get subscriptions\",\"description\":{\"content\":\"Obtains the list of subscription details of the user.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The returned nextPageMarker from a Paginated Collection is used here to fetch the starting \\nitem for the paginated result.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"organizationId\",\"value\":\"<string>\",\"description\":\"The ID of the organization associated with the voicemailbox.\\n\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"The account key associated with the voicemailbox.\\n\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"9185a26a-82a0-4677-b4e2-598ec5aaac81\",\"name\":\"The subscription list\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"ex mollit tempor\\\",\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n   \\\"externalUserKey\\\": \\\"velit in qui\\\",\\n   \\\"organizationId\\\": \\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\",\\n   \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n   \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n   \\\"events\\\": [\\n    \\\"VOICEMAIL_DELETED\\\",\\n    \\\"NEW_VOICEMAIL\\\"\\n   ]\\n  },\\n  {\\n   \\\"id\\\": \\\"cupidatat ullamco\\\",\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n   \\\"externalUserKey\\\": \\\"ut sed minim dolor\\\",\\n   \\\"organizationId\\\": \\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\",\\n   \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n   \\\"voicemailboxId\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\n   \\\"events\\\": [\\n    \\\"NEW_VOICEMAIL\\\",\\n    \\\"VOICEMAIL_DELETED\\\"\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"013cfe20-30f4-4388-8f50-ec8e20f1f994\",\"name\":\"The `pageMarker` or `pageSize` is invalid.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"pageMarker\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c6d72c88-5ee3-468d-bfe5-cfeed566bc20\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fdfeb8c6-6a8a-440b-972d-e2d8ac1107c9\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"24cb4d0a-6b88-4002-b6f8-4807a0bfc73f\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ff6aface-9333-4132-8a0f-ef8b45b2946a\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\"],\"host\":[\"{{voicemail-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]},{\"id\":\"b8587ea8-72b9-4a17-bc51-337ebf5b4f84\",\"name\":\"Delete a subscription\",\"request\":{\"name\":\"Delete a subscription\",\"description\":{\"content\":\"Deletes a user's subscription associated with the given subscription ID.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"subscriptionId\",\"description\":\"(Required) The subscription's unique identifier.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"d045459a-edc8-4025-aaad-39ae98bec99a\",\"name\":\"Successfully removed the subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"7b2b6321-cbbe-41c0-98b3-dc134d0ce0f3\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4e87adfe-32d2-44ad-931b-15e3dc16eb53\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"de95d800-e7d5-434a-b813-19401ffb29e1\",\"name\":\"The provided `subscriptionId` doesn't exist or the subscription doesn't belong to the \\nprovided user defined by the authorization token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6bad7c98-227a-4955-bcc2-e943d6312698\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"258e863d-f7dd-4a83-9a88-5ba57dc27c71\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3e6dd13e-3b8a-4415-bdf2-6bba0a0dd367\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]}],\"event\":[]},{\"id\":\"0d260258-2a63-499d-a2b1-acf3a2eda46c\",\"name\":\"organization-subscriptions\",\"item\":[{\"id\":\"9e11cc1c-6052-42e0-9a28-820ec8c2fa01\",\"name\":\"Create an organization subscription\\n\",\"request\":{\"name\":\"Create an organization subscription\\n\",\"description\":{\"content\":\"Creates a subscription for the user. The user must first create a notification channel by \\nusing the [Notification Channel API](/GoToConnect#tag/Channels). The user \\nwill be able to receive notifications for all voicemailboxes of the organization after \\nsubscribing. Operation will be denied if the user is not a super admin.\\n\\nThe subscription allows notifications to be sent to the notification channel with the \\nprovided notification channel ID. Notifications would be received only if the user is the\\nowner of the channel. Only 1 subscription per account key (organization) can exist at a time\\nfor a given user's channel ID. \\n\\n### Authentication Scopes\\n\\n`voicemail.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"<string>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"organizationId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"b9b52fbc-8666-4c0d-ae69-37962ea68e32\",\"name\":\"The successfully created subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"organizationId\\\": \\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\"\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"culpa mollit\\\",\\n \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n \\\"userKey\\\": \\\"anim Duis\\\",\\n \\\"organizationId\\\": \\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\",\\n \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n \\\"events\\\": [\\n  \\\"TRANSCRIPTION_COMPLETED\\\",\\n  \\\"NEW_VOICEMAIL\\\"\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b13ceb9a-3015-4100-9729-202e940a106e\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"organizationId\\\": \\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"09c53784-c46a-4e7b-9d56-a6810a5c7114\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"organizationId\\\": \\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1c9c1ab9-1234-4df8-b34f-a3bd8278ceed\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"organizationId\\\": \\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8f7d8264-2842-4be0-acd6-5dcc412974b2\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"organizationId\\\": \\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"8624611c-7699-4e28-877a-831956548fba\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"organizationId\\\": \\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0470c8c3-6b5f-4c53-ac7f-b9b6198f2f48\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"organizationId\\\": \\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"05f50f8c-d284-4b77-b08a-a682036085d2\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"organizationId\\\": \\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\"\\n}\"}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]},{\"id\":\"b47e85f8-d57e-4fd4-bcb2-1116ad933db9\",\"name\":\"Get organization subscriptions\",\"request\":{\"name\":\"Get organization subscriptions\",\"description\":{\"content\":\"Obtains the list of organization subscription details of the user.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The returned nextPageMarker from a Paginated Collection is used here to fetch the starting \\nitem for the paginated result.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"organizationId\",\"value\":\"<string>\",\"description\":\"The ID of the organization associated with the voicemailbox.\\n\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"The account key associated with the voicemailbox.\\n\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"45c5dc2b-d821-4117-a925-169383c6ffdb\",\"name\":\"The subscription list\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"occaecat\\\",\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n   \\\"userKey\\\": \\\"ullamco\\\",\\n   \\\"organizationId\\\": \\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\",\\n   \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n   \\\"events\\\": [\\n    \\\"TRANSCRIPTION_COMPLETED\\\",\\n    \\\"VOICEMAIL_UPDATED\\\"\\n   ]\\n  },\\n  {\\n   \\\"id\\\": \\\"nostrud\\\",\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n   \\\"userKey\\\": \\\"mollit deserunt ea qui\\\",\\n   \\\"organizationId\\\": \\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\",\\n   \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n   \\\"events\\\": [\\n    \\\"NEW_VOICEMAIL\\\",\\n    \\\"VOICEMAIL_DELETED\\\"\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8a11a393-b90e-46bc-85fb-d8ab805c493a\",\"name\":\"The `pageMarker` or `pageSize` is invalid.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"pageMarker\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4d35f813-536b-47dc-88e4-e1d31101038c\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d92ae704-24ff-4af4-a198-6a2a0d238438\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d95ebef2-03b8-452e-944c-e5fca419b788\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e840a9d3-87f9-4e59-8edc-6d452e89e7ce\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]},{\"id\":\"7aefb2a9-8a70-48d7-8089-ab449671fa24\",\"name\":\"Delete an organization subscription\",\"request\":{\"name\":\"Delete an organization subscription\",\"description\":{\"content\":\"Deletes a user's organization subscription associated with the given subscription ID.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"subscriptionId\",\"description\":\"(Required) The subscription's unique identifier.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"a3e7dec8-d67f-415d-95ab-b77f2d4df5a2\",\"name\":\"Successfully removed the subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"095f7d03-9d9d-4a26-80dd-ae85feac11da\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ca24fd57-181a-493f-b285-8c21ca0fd706\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7515cb32-c0cf-4cfa-aae7-0b92e6488d26\",\"name\":\"The provided `subscriptionId` doesn't exist or the subscription doesn't belong to the \\nprovided user defined by the authorization token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ef5d2f4e-9f12-4fa9-93a2-e398122430c6\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2027fcac-9ced-42d9-8e80-05b2e4a645e6\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3d5696c3-b4e9-45ef-b9c7-bb842618ac11\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{voicemail-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]}],\"event\":[]},{\"id\":\"2c4d8746-b711-4c76-ad09-48f9bf6240a6\",\"name\":\"Request voicemails transcription.\\n\",\"request\":{\"name\":\"Request voicemails transcription.\\n\",\"description\":{\"content\":\"Get the transcription for all the voicemail ids provided.\\n\\nOperation will be denied if the user is not the owner of the transcriptions or a super admin.\\n\\n### Authentication Scopes\\n\\n`voicemail.v1.voicemails.read` must be used when a token is requested from the Authentication API.\\n\\n### Example request to get transcription of 3 voicemails\\n\\n```\\ncurl -X \\\"POST\\\" \\\"https://api.goto.com/voicemail/v1/transcriptions\\\" \\\\\\n  -H \\\"Content-Type: application/json\\\" \\\\\\n  -d '[ \\\"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\\\", \\n  \\\"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU3\\\", \\n  \\\"djE6MDE1NGJhZDAtNWQzNS1jMjY4LTg4ODUtMDAwMTAwNDIwMDA3L0hBQ0tBVEhPTl8yMDIwX1NTUENBUF9CRVRBLzdlNDU1M2ZkLWFhM2ItNDU2MS1hYzM0LWM0NjRlNGJiZTQ0ZQ\\\" ]' \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\\nThe response to this request is an HTTP 200 OK with the content:\\n\\n```\\n{\\n  \\\"items\\\": [\\n    {\\n      \\\"id\\\": \\\"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\\\",\\n      \\\"text\\\": \\\"Please call me back.\\\",\\n      \\\"status\\\": \\\"SUCCESS\\\"\\n    },\\n    {\\n      \\\"id\\\": \\\"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU3\\\",\\n      \\\"text\\\": \\\"\\\"\\n      \\\"status\\\": \\\"NOT_FOUND\\\"\\n    },\\n    {\\n      \\\"id\\\": \\\"djE6MDE1NGJhZDAtNWQzNS1jMjY4LTg4ODUtMDAwMTAwNDIwMDA3L0hBQ0tBVEhPTl8yMDIwX1NTUENBUF9CRVRBLzdlNDU1M2ZkLWFhM2ItNDU2MS1hYzM0LWM0NjRlNGJiZTQ0ZQ\\\",\\n      \\\"text\\\": \\\"\\\"\\n      \\\"status\\\": \\\"NO_AUDIO\\\"\\n    }\\n  ]\\n}\\n```\\n\\nIn this response one of the transcription Status is \\\"NOT_FOUND\\\" which means transcription\\nfor the voicemail id is not found. The transcription status \\\"NO_AUDIO\\\" means caller left no\\nrecognizable audio.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"voicemail\",\"v1\",\"transcriptions\"],\"host\":[\"{{voicemail-v1-transcriptions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"showArchived\",\"value\":\"false\",\"description\":\"Deleted voicemails are kept in the system for 36 hours before being permanently deleted. This flag allows you to see the deleted voicemails.\"}],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"voicemailIds\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"response\":[{\"id\":\"44f1bc1c-f127-4bae-bad8-b8bc8f82d616\",\"name\":\"The list of voicemail transcriptions.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"transcriptions\"],\"host\":[\"{{voicemail-v1-transcriptions-Url}}\"],\"query\":[{\"key\":\"showArchived\",\"value\":\"false\"}],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"voicemailIds\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"[\\n {\\n  \\\"id\\\": \\\"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU3\\\",\\n  \\\"status\\\": \\\"SUCCESS\\\",\\n  \\\"text\\\": \\\"please call me back.\\\"\\n },\\n {\\n  \\\"id\\\": \\\"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU3\\\",\\n  \\\"status\\\": \\\"SUCCESS\\\",\\n  \\\"text\\\": \\\"please call me back.\\\"\\n }\\n]\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f70dd738-4863-4ddb-b32e-98ed1a2a1c06\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"transcriptions\"],\"host\":[\"{{voicemail-v1-transcriptions-Url}}\"],\"query\":[{\"key\":\"showArchived\",\"value\":\"false\"}],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"voicemailIds\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1960142d-d08a-4df7-bebc-cad44de4d7f9\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"transcriptions\"],\"host\":[\"{{voicemail-v1-transcriptions-Url}}\"],\"query\":[{\"key\":\"showArchived\",\"value\":\"false\"}],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"voicemailIds\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5093d4e3-0c9e-441d-abef-2612d341d6f0\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"transcriptions\"],\"host\":[\"{{voicemail-v1-transcriptions-Url}}\"],\"query\":[{\"key\":\"showArchived\",\"value\":\"false\"}],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"voicemailIds\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"33b4765b-b47f-47eb-8cfc-df9a2563421d\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"transcriptions\"],\"host\":[\"{{voicemail-v1-transcriptions-Url}}\"],\"query\":[{\"key\":\"showArchived\",\"value\":\"false\"}],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"voicemailIds\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c61fcfb3-0e86-4ea6-b5fa-e9da02ee997d\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"voicemail\",\"v1\",\"transcriptions\"],\"host\":[\"{{voicemail-v1-transcriptions-Url}}\"],\"query\":[{\"key\":\"showArchived\",\"value\":\"false\"}],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"voicemailIds\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"021b6ce5-72f8-419f-99d0-05a42369b351\",\"name\":\"users/v1\",\"item\":[{\"id\":\"a8779cdb-eab8-48e3-96db-1322baae75d1\",\"name\":\"users\",\"item\":[{\"id\":\"ac8c02b7-f9ab-425c-8243-e77e7389aae3\",\"name\":\"List Users of an Account (Organization)\",\"request\":{\"name\":\"List Users of an Account (Organization)\",\"description\":{\"content\":\"To use this API, the authenticated user must be a [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions) or have the [configure pbx](https://support.goto.com/connect/help/what-permissions-are-available) permission.\\n\\nThis API will return all the users including their lines of the given account (organization).\\n\\n### Authentication Scopes\\n`users.v1.lines.read` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n###### Load Users of an Account (Organization)\\n```\\ncurl 'https://api.goto.com/users/v1/users?accountKey={accountKey}' -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n###### Load Next Page\\nThe presence of the field `nextPageMarker` in the response indicates that eventually there are more users to retrieve.\\n```\\ncurl 'https://api.goto.com/users/v1/users?accountKey={accountKey}&pageMarker={nextPageMarker}'\\\\\\n-H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"users\",\"v1\",\"users\"],\"host\":[\"{{users-v1-users-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"(Required) This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The opaque identifier representing a valid marker for the desired page. Default to first page when not provided.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"45b2c700-2209-4942-9eaf-c701b070d395\",\"name\":\"All users of the given account.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"users\"],\"host\":[\"{{users-v1-users-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"userKey\\\": \\\"31416\\\",\\n   \\\"userId\\\": \\\"2c422c4b-3d10-4d10-8325-dc0ccdfd97a8\\\",\\n   \\\"lines\\\": [\\n    {\\n     \\\"id\\\": \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\n     \\\"name\\\": \\\"Front desk\\\",\\n     \\\"number\\\": \\\"1234\\\",\\n     \\\"primary\\\": true,\\n     \\\"accountKey\\\": \\\"1956177422157\\\",\\n     \\\"organization\\\": {\\n      \\\"id\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\",\\n      \\\"name\\\": \\\"My Company\\\"\\n     },\\n     \\\"region\\\": \\\"US\\\"\\n    },\\n    {\\n     \\\"id\\\": \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\n     \\\"name\\\": \\\"Front desk\\\",\\n     \\\"number\\\": \\\"1234\\\",\\n     \\\"primary\\\": true,\\n     \\\"accountKey\\\": \\\"1956177422157\\\",\\n     \\\"organization\\\": {\\n      \\\"id\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\",\\n      \\\"name\\\": \\\"My Company\\\"\\n     },\\n     \\\"region\\\": \\\"US\\\"\\n    }\\n   ]\\n  },\\n  {\\n   \\\"userKey\\\": \\\"31416\\\",\\n   \\\"userId\\\": \\\"2c422c4b-3d10-4d10-8325-dc0ccdfd97a8\\\",\\n   \\\"lines\\\": [\\n    {\\n     \\\"id\\\": \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\n     \\\"name\\\": \\\"Front desk\\\",\\n     \\\"number\\\": \\\"1234\\\",\\n     \\\"primary\\\": true,\\n     \\\"accountKey\\\": \\\"1956177422157\\\",\\n     \\\"organization\\\": {\\n      \\\"id\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\",\\n      \\\"name\\\": \\\"My Company\\\"\\n     },\\n     \\\"region\\\": \\\"US\\\"\\n    },\\n    {\\n     \\\"id\\\": \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\n     \\\"name\\\": \\\"Front desk\\\",\\n     \\\"number\\\": \\\"1234\\\",\\n     \\\"primary\\\": true,\\n     \\\"accountKey\\\": \\\"1956177422157\\\",\\n     \\\"organization\\\": {\\n      \\\"id\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\",\\n      \\\"name\\\": \\\"My Company\\\"\\n     },\\n     \\\"region\\\": \\\"US\\\"\\n    }\\n   ]\\n  }\\n ],\\n \\\"nextPageMarker\\\": \\\"1\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bc426b14-8d9e-4c81-b9f4-a74f775115b3\",\"name\":\"The request has one of the following issues\\n  - The `accountKey` is missing.\\n  - The `pageMarker` is invalid.\\n\\n`BAD_REQUEST` will be returned as the `errorCode`.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"users\"],\"host\":[\"{{users-v1-users-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"The pageMarker is invalid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a857ae73-0b5c-4d47-b08d-a0d1fef6201c\",\"name\":\"You have provided an invalid token.\\nYou should expect an `errorCode` with value `INVALID_TOKEN`, `EXPIRED_TOKEN` or `UNSUPPORTED_SCHEME`.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"users\"],\"host\":[\"{{users-v1-users-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7add53cf-82aa-4c61-84e4-c1b9f0d693da\",\"name\":\"You are not authorized to do the specified operation for the given user.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"users\"],\"host\":[\"{{users-v1-users-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8416d6e7-e3c5-4f01-a773-479f9866e043\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"users\"],\"host\":[\"{{users-v1-users-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f8e8676f-fefe-4697-b921-500e102ee61f\",\"name\":\"An error occurred on the server or downstream while processing the request. Details can be found in the response body.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"users\"],\"host\":[\"{{users-v1-users-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error ocurred\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"fd513579-db9d-444d-b77e-f3cad69a6705\",\"name\":\"List the lines of a specific user\",\"request\":{\"name\":\"List the lines of a specific user\",\"description\":{\"content\":\"Returns a collection of lines for the specified `userKey`. The `userKey` matches the one from the [Admin API](https://developer.goto.com/admin).\\n### Security\\nThe authenticated user (`ACCESS_TOKEN` owner) should be the same as `userKey` or should be [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions) of the organization in which the user identified by `userKey` belongs.\\n### Authentication Scopes\\n`users.v1.lines.read` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl 'https://api.goto.com/users/v1/users/6586528897936948237/lines' \\\\ -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"users\",\"v1\",\"users\",\":userKey\",\"lines\"],\"host\":[\"{{users-v1-users-userKey-lines-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"userKey\",\"description\":\"(Required) This is the key (or email) of the specified user. Using email is deprecated.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"4afd33a2-3f14-4b16-9789-81ce5290c231\",\"name\":\"All lines defined for a user.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"users\",\":userKey\",\"lines\"],\"host\":[\"{{users-v1-users-userKey-lines-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\n   \\\"name\\\": \\\"Front desk\\\",\\n   \\\"number\\\": \\\"1234\\\",\\n   \\\"primary\\\": true,\\n   \\\"accountKey\\\": \\\"1956177422157\\\",\\n   \\\"organization\\\": {\\n    \\\"id\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\",\\n    \\\"name\\\": \\\"My Company\\\"\\n   },\\n   \\\"region\\\": \\\"US\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\n   \\\"name\\\": \\\"Front desk\\\",\\n   \\\"number\\\": \\\"1234\\\",\\n   \\\"primary\\\": true,\\n   \\\"accountKey\\\": \\\"1956177422157\\\",\\n   \\\"organization\\\": {\\n    \\\"id\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\",\\n    \\\"name\\\": \\\"My Company\\\"\\n   },\\n   \\\"region\\\": \\\"US\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"78779a25-15e7-4771-885b-6e8171ae5555\",\"name\":\"You have provided an invalid token.\\nYou should expect an `errorCode` with value `INVALID_TOKEN`, `EXPIRED_TOKEN` or `UNSUPPORTED_SCHEME`.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"users\",\":userKey\",\"lines\"],\"host\":[\"{{users-v1-users-userKey-lines-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"eb61f1ec-f9c1-466e-8536-142ca72c6458\",\"name\":\"You are not authorized to do the specified operation for the given user.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"users\",\":userKey\",\"lines\"],\"host\":[\"{{users-v1-users-userKey-lines-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4dadd68b-695a-4f03-9b0c-a15d00178462\",\"name\":\"The specified resource does not exist or cannot be seen.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"users\",\":userKey\",\"lines\"],\"host\":[\"{{users-v1-users-userKey-lines-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not Found\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"229910a9-4fba-4fb4-bd1b-1cb8ec7af996\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"users\",\":userKey\",\"lines\"],\"host\":[\"{{users-v1-users-userKey-lines-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"eea5d805-a95b-4b7a-af1e-88e455ea1e16\",\"name\":\"An error occurred on the server or downstream while processing the request. Details can be found in the response body.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"users\",\":userKey\",\"lines\"],\"host\":[\"{{users-v1-users-userKey-lines-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"userKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error ocurred\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"5ff211d7-9dcc-4064-bcfc-7b62c059fe71\",\"name\":\"List my lines\",\"request\":{\"name\":\"List my lines\",\"description\":{\"content\":\"Returns a collection of lines associated with the authenticated user (`ACCESS_TOKEN` owner).\\n### Authentication Scopes\\n`users.v1.lines.read` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl 'https://api.goto.com/users/v1/lines' -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"users\",\"v1\",\"lines\"],\"host\":[\"{{users-v1-lines-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"d478b1ba-c09d-4e85-82a5-5cf2a368b639\",\"name\":\"All lines of the authenticated user\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"lines\"],\"host\":[\"{{users-v1-lines-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\n   \\\"name\\\": \\\"Front desk\\\",\\n   \\\"number\\\": \\\"1234\\\",\\n   \\\"primary\\\": true,\\n   \\\"accountKey\\\": \\\"1956177422157\\\",\\n   \\\"organization\\\": {\\n    \\\"id\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\",\\n    \\\"name\\\": \\\"My Company\\\"\\n   },\\n   \\\"region\\\": \\\"US\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\n   \\\"name\\\": \\\"Front desk\\\",\\n   \\\"number\\\": \\\"1234\\\",\\n   \\\"primary\\\": true,\\n   \\\"accountKey\\\": \\\"1956177422157\\\",\\n   \\\"organization\\\": {\\n    \\\"id\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\",\\n    \\\"name\\\": \\\"My Company\\\"\\n   },\\n   \\\"region\\\": \\\"US\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b0096982-0eed-4f4c-ae70-ed323c7ef012\",\"name\":\"You have provided an invalid token.\\nYou should expect an `errorCode` with value `INVALID_TOKEN`, `EXPIRED_TOKEN` or `UNSUPPORTED_SCHEME`.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"lines\"],\"host\":[\"{{users-v1-lines-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0b6acb81-3eaa-4e15-84cc-cb11dc680290\",\"name\":\"You are not authorized to do the specified operation for the given user.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"lines\"],\"host\":[\"{{users-v1-lines-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6cb2fbee-806a-4f91-b4b4-0aa4b174937c\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"lines\"],\"host\":[\"{{users-v1-lines-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3f83ed41-2092-4ad3-9d36-5ca0a2b43948\",\"name\":\"An error occurred on the server or downstream while processing the request. Details can be found in the response body.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"lines\"],\"host\":[\"{{users-v1-lines-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error ocurred\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"43bc584c-48ec-4706-ba71-bd3b04732f78\",\"name\":\"Get my Goto Connect setup\",\"request\":{\"name\":\"Get my Goto Connect setup\",\"description\":{\"content\":\"Use this API to have an overview of the settings associated to the current user. Here the current user is defined as the principal defined in the access token.\\n### Authentication Scopes\\n`users.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"users\",\"v1\",\"me\"],\"host\":[\"{{users-v1-me-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"f2e161af-4f14-452d-aed1-2629c3965593\",\"name\":\"My GoTo Connect setup\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"me\"],\"host\":[\"{{users-v1-me-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"accountKey\\\": \\\"31416\\\",\\n   \\\"outboundPhoneNumbers\\\": [\\n    {\\n     \\\"id\\\": \\\"ed4ab409-dfc4-4b04-a39d-4e70416f498c\\\",\\n     \\\"number\\\": \\\"+14155552671\\\"\\n    },\\n    {\\n     \\\"id\\\": \\\"ed4ab409-dfc4-4b04-a39d-4e70416f498c\\\",\\n     \\\"number\\\": \\\"+14155552671\\\"\\n    }\\n   ]\\n  },\\n  {\\n   \\\"accountKey\\\": \\\"31416\\\",\\n   \\\"outboundPhoneNumbers\\\": [\\n    {\\n     \\\"id\\\": \\\"ed4ab409-dfc4-4b04-a39d-4e70416f498c\\\",\\n     \\\"number\\\": \\\"+14155552671\\\"\\n    },\\n    {\\n     \\\"id\\\": \\\"ed4ab409-dfc4-4b04-a39d-4e70416f498c\\\",\\n     \\\"number\\\": \\\"+14155552671\\\"\\n    }\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0264757f-a54b-441e-b69f-84886f27dc49\",\"name\":\"You have provided an invalid token.\\nYou should expect an `errorCode` with value `INVALID_TOKEN`, `EXPIRED_TOKEN` or `UNSUPPORTED_SCHEME`.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"me\"],\"host\":[\"{{users-v1-me-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c9951f96-0d92-466f-b149-1fd70f6eb7f8\",\"name\":\"You are not authorized to do the specified operation for the given user.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"me\"],\"host\":[\"{{users-v1-me-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6549ea17-3432-4c3f-8d3c-ae065e445a4d\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"me\"],\"host\":[\"{{users-v1-me-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3598e505-a89b-466f-8f34-82f571f20610\",\"name\":\"An error occurred on the server or downstream while processing the request. Details can be found in the response body.\",\"originalRequest\":{\"url\":{\"path\":[\"users\",\"v1\",\"me\"],\"host\":[\"{{users-v1-me-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error ocurred\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"e417b505-47e8-44a6-bb92-070f47d2743b\",\"name\":\"Initiate a call\",\"request\":{\"name\":\"Initiate a call\",\"description\":{\"content\":\"The calls resource enables you to programmatically initiate a phone call. First, the API queues the request,\\na return code of 202 means that the request was successfully queued - we typically process the request within milliseconds.\\nNext, we process your request in two phases. First we initiate a call to the line identified by `from.lineId`. If this call is answered,\\na call is then initiated to `dialString`. A common use of this API is to implement click-to-call functionality in applications by initiating\\na call from a GoToConnect line to the targeted phone number.\\n\\nTo initiate a call on the line defined at `from.lineId`, make a request with the following body :\\n\\n```json\\n  {\\n    \\\"dialString\\\": \\\"(866) 768-5429\\\",\\n    \\\"from\\\": {\\n      \\\"lineId\\\": \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\"\\n    }\\n  }\\n```\\n\\nWhen the call is answered on the line defined at `from.lineId`, a new call is initiated to `(866) 768-5429`.\\n### Intercom\\nWhen the  \\\"autoAnswer\\\" boolean is set to true, the call to the line identified by the lineId will be answered automatically when possible (the Intercom feature needs to be enabled on the line and the instructions to do so are available here: https://support.goto.com/connect/help/how-do-i-intercom-a-line-or-ring-group-gotoconnect-intercom-line-ring-group).  \\nBy default, all newly created lines should have this feature enabled.  \\n\\nThis feature is intended to work with a single device connected and will not work properly in some situations. \\nThe limitations include, but are not limited to, when a Ring Group or Call Queue is provided in the lineId. Another current limitation is when multiple devices are connected simultaneously, in which case multiple calls to the destination can be made at once. For the best user experience, this field should be used when a single device selected with the lineId exists. \\n\\nThe GoTo desktop application is considered a device that will be available to answer automatically the initiated call if possible. \\n### Caller-id\\nThe `phoneNumberId` parameter specifies which phone number will be displayed as the caller ID when initiating an outbound call. Only phone numbers belonging to the organization can be used as caller ID. To get a list of the available phone numbers in the account, use the phone numbers API.\\n### Security\\nThe authorization to initiate a call on a specific line is determined by the provided `ACCESS_TOKEN`. Lines from the authenticated user will be available for initiating a call. The authenticated user can only use authorized caller IDs when initiating outbound calls.\\nAlso, if the current user is a [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions)  of the organization, all lines of the organization will be available for initiating a call.  Note that if a super admin is associated to a device and a request is done on a line associated with this device, all devices associated to  this line will ring, not only the one of the super admin. That same user is also allowed to use any of the organization's phone numbers as caller ID to place outbound calls.\\n\\n### Authentication Scopes\\n`calls.v2.initiate` must be used when a token is requested from the Authentication API.\\n\\n### Example Interaction with curl\\n```\\ncurl -XPOST 'https://api.goto.com/calls/v2/calls'          \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'                \\\\\\n  -H 'Content-Type: application/json'                      \\\\\\n  -d '{                                                    \\\\\\n        \\\"dialString\\\": \\\"(866) 768-5429\\\",                    \\\\\\n        \\\"from\\\": {                                          \\\\\\n          \\\"lineId\\\": \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\" \\\\\\n        }                                                  \\\\\\n      }'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"calls\",\"v2\",\"calls\"],\"host\":[\"{{calls-v2-calls-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"<string>\\\",\\n    \\\"from\\\": {\\n        \\\"lineId\\\": \\\"<string>\\\"\\n    },\\n    \\\"autoAnswer\\\": false,\\n    \\\"phoneNumberId\\\": \\\"<uuid>\\\"\\n}\"}},\"response\":[{\"id\":\"ed079965-6f35-4f9f-891d-558458cda73d\",\"name\":\"Your request was successfully queued for processing.\",\"originalRequest\":{\"url\":{\"path\":[\"calls\",\"v2\",\"calls\"],\"host\":[\"{{calls-v2-calls-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"(866) 768-5429\\\",\\n    \\\"from\\\": {\\n        \\\"lineId\\\": \\\"014ce388-da2c-d120-88f9-000100320002\\\"\\n    },\\n    \\\"autoAnswer\\\": false,\\n    \\\"phoneNumberId\\\": \\\"<uuid>\\\"\\n}\"}},\"status\":\"Accepted\",\"code\":202,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"initiatorId\\\": \\\"014ce388-da2c-d120-88f9-000100320002\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f4c968f2-6b52-4f52-b4cb-bfba37dc4448\",\"name\":\"The request has one/or more of these issues:\\n  - `dialString` is missing or has a phone number that could not be parsed.\\n  - `from.lineId` is missing or malformed.\\n  - `phoneNumberId` is present and malformed.\\n\\nYou should expect an `errorCode` with value `CONSTRAINT_VIOLATION` whenever a 400 status code is returned.\\nFields with issues will be specified in `constraintViolations[].field`.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"calls\",\"v2\",\"calls\"],\"host\":[\"{{calls-v2-calls-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"(866) 768-5429\\\",\\n    \\\"from\\\": {\\n        \\\"lineId\\\": \\\"014ce388-da2c-d120-88f9-000100320002\\\"\\n    },\\n    \\\"autoAnswer\\\": false,\\n    \\\"phoneNumberId\\\": \\\"<uuid>\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cb530933-f5d0-4f05-8778-6b6de9add15f\",\"name\":\"You have provided an invalid token.\\nYou should expect an `errorCode` with value `INVALID_TOKEN`, `EXPIRED_TOKEN` or `UNSUPPORTED_SCHEME`.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"calls\",\"v2\",\"calls\"],\"host\":[\"{{calls-v2-calls-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"(866) 768-5429\\\",\\n    \\\"from\\\": {\\n        \\\"lineId\\\": \\\"014ce388-da2c-d120-88f9-000100320002\\\"\\n    },\\n    \\\"autoAnswer\\\": false,\\n    \\\"phoneNumberId\\\": \\\"<uuid>\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b74691b8-6fc9-4177-86dc-290643bf9a77\",\"name\":\"You are not authorized to do the specified operation for the given user.\\n\\nYou should expect an `errorCode` with value `AUTHZ_INSUFFICIENT_SCOPE`.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"calls\",\"v2\",\"calls\"],\"host\":[\"{{calls-v2-calls-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"(866) 768-5429\\\",\\n    \\\"from\\\": {\\n        \\\"lineId\\\": \\\"014ce388-da2c-d120-88f9-000100320002\\\"\\n    },\\n    \\\"autoAnswer\\\": false,\\n    \\\"phoneNumberId\\\": \\\"<uuid>\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9fbeb032-9609-43bd-9ba7-a36733a979f6\",\"name\":\"The request has one of the following issues\\n  - The `from.lineId` could not be found.\\n  - The `from.lineId` is not assigned to any device.\\n  - The given line associated with `from.lineId` is not associated to the authenticated user.\\n  - The `phoneNumberId`, if provided, does not exist or does not belong to the authenticated user's organization.\\n\\nYou should expect an `errorCode` with value `NOT_FOUND` whenever a 404 status code is returned.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"calls\",\"v2\",\"calls\"],\"host\":[\"{{calls-v2-calls-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"(866) 768-5429\\\",\\n    \\\"from\\\": {\\n        \\\"lineId\\\": \\\"014ce388-da2c-d120-88f9-000100320002\\\"\\n    },\\n    \\\"autoAnswer\\\": false,\\n    \\\"phoneNumberId\\\": \\\"<uuid>\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9c071935-3966-45e3-a0a1-9f262f2b613c\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"calls\",\"v2\",\"calls\"],\"host\":[\"{{calls-v2-calls-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"(866) 768-5429\\\",\\n    \\\"from\\\": {\\n        \\\"lineId\\\": \\\"014ce388-da2c-d120-88f9-000100320002\\\"\\n    },\\n    \\\"autoAnswer\\\": false,\\n    \\\"phoneNumberId\\\": \\\"<uuid>\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e222980b-6b4f-4021-aea9-6b6b42695917\",\"name\":\"An error occurred on the server or downstream while processing the request. Details can be found in the response body.\",\"originalRequest\":{\"url\":{\"path\":[\"calls\",\"v2\",\"calls\"],\"host\":[\"{{calls-v2-calls-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"(866) 768-5429\\\",\\n    \\\"from\\\": {\\n        \\\"lineId\\\": \\\"014ce388-da2c-d120-88f9-000100320002\\\"\\n    },\\n    \\\"autoAnswer\\\": false,\\n    \\\"phoneNumberId\\\": \\\"<uuid>\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error ocurred\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"5d3cb850-68cb-4cfb-b06b-3c7750ca0212\",\"name\":\"v2/session\",\"item\":[{\"id\":\"59bf9622-5bea-4668-92ec-adc655130d36\",\"name\":\"DEPRECATED. Creates a new session\",\"request\":{\"name\":\"DEPRECATED. Creates a new session\",\"description\":{\"content\":\"**DEPRECATED:** see [Deprecation Notice](/GoToConnect/#tag/Real-time-Overview)\\nCreates a new `session` used to manage subscriptions.\\n\\n### Example Interaction with curl\\n```\\ncurl 'https://realtime.jive.com/v2/session' -XPOST -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"v2\",\"session\"],\"host\":[\"{{v2-session-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"21da339a-7f77-4737-bd7c-064950187bab\",\"name\":\"Links describing the newly created session.\",\"originalRequest\":{\"url\":{\"path\":[\"v2\",\"session\"],\"host\":[\"{{v2-session-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"a742e74f-7537-414f-a6e1-12a3d4f03ef6\\\"\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"self\\\": \\\"https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\n \\\"subscriptions\\\": \\\"https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3/subscriptions\\\",\\n \\\"ws\\\": \\\"wss://realtime.jive.com/ws/v2/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c394e64e-7d78-4993-841c-ca2bd695cdfb\",\"name\":\"There was an error with the request. Details based on the `errorCode` field.\\n\\n* `TOO_MANY_SESSION` Too many sessions with active websocket connections or alive notification channels.\\n\\n* `CHANNEL_LIFETIME_TOO_LONG` The provided notification channel has lifetime more than 7 days.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"v2\",\"session\"],\"host\":[\"{{v2-session-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"a742e74f-7537-414f-a6e1-12a3d4f03ef6\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CHANNEL_LIFETIME_TOO_LONG\\\",\\n \\\"message\\\": \\\"Channel lifetime too long.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ec58c2bf-f578-446f-8df3-97c3d8d4e5f8\",\"name\":\"You have provided an invalid token.\",\"originalRequest\":{\"url\":{\"path\":[\"v2\",\"session\"],\"host\":[\"{{v2-session-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"a742e74f-7537-414f-a6e1-12a3d4f03ef6\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"f55a547e-b78c-46e3-a559-583d9a1a98e1\",\"name\":\"There was an error with the provided token. Details based on the `errorCode` field.\\n\\n* `UNAUTHORIZED` You have not provided any token.\\n\\n* `OWNER_MISMATCH` The provided channel's owner does not match the provided token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"v2\",\"session\"],\"host\":[\"{{v2-session-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"a742e74f-7537-414f-a6e1-12a3d4f03ef6\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"OWNER_MISMATCH\\\",\\n \\\"message\\\": \\\"The provided channel's owner does not match the provided token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0c7aa021-1b33-4c56-90ed-fb4a4033dd69\",\"name\":\"Conflict based on the `errorCode` field.\\n* `UNIQUE_CHANNEL_ID` Session with this `channel id` already exists.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"v2\",\"session\"],\"host\":[\"{{v2-session-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"a742e74f-7537-414f-a6e1-12a3d4f03ef6\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNIQUE_CHANNEL_ID\\\",\\n \\\"message\\\": \\\"Session with this channel id already exists.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"4ddff878-bab2-4ae1-8159-ae1039acd468\",\"name\":\"{session Id}\",\"item\":[{\"id\":\"5d633dd9-23e2-409b-8551-2e324a2bd6cd\",\"name\":\"DEPRECATED. Returns an existing session\",\"request\":{\"name\":\"DEPRECATED. Returns an existing session\",\"description\":{\"content\":\"**DEPRECATED:** see [Deprecation Notice](/GoToConnect/#tag/Real-time-Overview)\\nReturns the `session` with ID `sessionId`.\\n\\n### Example Interaction with curl\\n```\\ncurl 'https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3' -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"v2\",\"session\",\":sessionId\"],\"host\":[\"{{v2-session-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) The ID of the session to return\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"798813bf-8d37-44ba-a78a-3346ca013fa2\",\"name\":\"The requested `session`.\",\"originalRequest\":{\"url\":{\"path\":[\"v2\",\"session\",\":sessionId\"],\"host\":[\"{{v2-session-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\n \\\"links\\\": {\\n  \\\"self\\\": \\\"https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\n  \\\"subscriptions\\\": \\\"https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3/subscriptions\\\",\\n  \\\"ws\\\": \\\"wss://realtime.jive.com/ws/v2/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\"\\n },\\n \\\"activeSubscriptions\\\": {}\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d153cfc0-3411-4528-842d-f40831503987\",\"name\":\"You have provided an invalid token.\",\"originalRequest\":{\"url\":{\"path\":[\"v2\",\"session\",\":sessionId\"],\"host\":[\"{{v2-session-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"a558e381-7064-49ca-b025-08c5accccdd9\",\"name\":\"You are not authorized to view the requested `session`.\",\"originalRequest\":{\"url\":{\"path\":[\"v2\",\"session\",\":sessionId\"],\"host\":[\"{{v2-session-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"552508b1-3525-4641-bafa-f3a97bcf0b7c\",\"name\":\"You requested a `session` that does not exist.\",\"originalRequest\":{\"url\":{\"path\":[\"v2\",\"session\",\":sessionId\"],\"host\":[\"{{v2-session-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]},{\"id\":\"f273c9a9-79fe-4feb-b5cf-1792f345653e\",\"name\":\"DEPRECATED. Adds additional subscriptions to a session\",\"request\":{\"name\":\"DEPRECATED. Adds additional subscriptions to a session\",\"description\":{\"content\":\"**DEPRECATED:** see [Deprecation Notice](/GoToConnect/#tag/Real-time-Overview)\\nAdds additional `subscriptions` to the session with session ID `sessionId`.  This operation allows you to specify\\none or more `subscriptions` at once. The real time API defines a `subscription` in terms of a subscription type, a\\nresource type, a resource type specific ID, and your organization ID. In this example, you create a\\n`subscription` with type `dialog`, a fancy way to say call state, to the resource of type `line.v2` with\\nID `99be59bc-edfc-4c62-a73f-06087ec2fe00` under the organization with ID `f9d449ad-99b6-4105-985a-399cb1b29c41`.\\nThe `subscription`'s ID is \\\"elisha\\\".\\n\\n### Example Interaction with curl\\n```\\n curl 'https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3/subscriptions' -X POST -H 'Authorization: Bearer {ACCESS_TOKEN}' -H 'Content-Type: application/json' \\\\\\n -d '\\\\\\n [\\\\\\n   {\\\\\\n     \\\"id\\\":\\\"elisha\\\",\\\\\\n     \\\"type\\\":\\\"dialog\\\",\\\\\\n     \\\"entity\\\": {\\\\\\n       \\\"id\\\":\\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\\\\\n       \\\"type\\\":\\\"line.v2\\\",\\\\\\n       \\\"account\\\":\\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\"\\\\\\n     }\\\\\\n   }\\\\\\n ]'\\n```\\n\\nAs shown below, the returned response contains the requested subscription `id`s as field names with their\\nvalues being either `true` or `false` depending on whether or not the `subscription` was successful. If the\\nrequest contained multiple `subscription`s, the response contains a key value pair for each requested `subscription`.\\nSome possible reasons for a `false` response might be that you aren't authorized to subscribe to the particular\\nresource or you tried to subscribe to the same resource more than once within the same `session`.\\n```\\n{\\n  \\\"elisha\\\": true\\n}\\n```\\n*Note:* when using a Notification Channel sometimes you will get a response code `202 Accepted` without response body. This means that Realtime API couldn't process your request immediately, but your subscriptions will be created in a short while, typically within a few seconds. You can check your subscriptions by querying your session.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"v2\",\"session\",\":sessionId\",\"subscriptions\"],\"host\":[\"{{v2-session-sessionId-subscriptions-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) The ID of the session to add the requested `subscriptions` to\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"id\\\": \\\"<string>\\\",\\n        \\\"type\\\": \\\"<string>\\\",\\n        \\\"entity\\\": {\\n            \\\"id\\\": \\\"<string>\\\",\\n            \\\"type\\\": \\\"<string>\\\",\\n            \\\"account\\\": \\\"<string>\\\"\\n        }\\n    },\\n    {\\n        \\\"id\\\": \\\"<string>\\\",\\n        \\\"type\\\": \\\"<string>\\\",\\n        \\\"entity\\\": {\\n            \\\"id\\\": \\\"<string>\\\",\\n            \\\"type\\\": \\\"<string>\\\",\\n            \\\"account\\\": \\\"<string>\\\"\\n        }\\n    }\\n]\"}},\"response\":[{\"id\":\"6dab2916-c023-431f-a6d4-d6c55a0564fb\",\"name\":\"Realtime API received your subscription request, and they will be processed soon.\",\"originalRequest\":{\"url\":{\"path\":[\"v2\",\"session\",\":sessionId\",\"subscriptions\"],\"host\":[\"{{v2-session-sessionId-subscriptions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"id\\\": \\\"elisha\\\",\\n        \\\"type\\\": \\\"dialog\\\",\\n        \\\"entity\\\": {\\n            \\\"id\\\": \\\"4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\n            \\\"type\\\": \\\"line.v2\\\",\\n            \\\"account\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\"\\n        }\\n    },\\n    {\\n        \\\"id\\\": \\\"elisha\\\",\\n        \\\"type\\\": \\\"dialog\\\",\\n        \\\"entity\\\": {\\n            \\\"id\\\": \\\"4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\n            \\\"type\\\": \\\"line.v2\\\",\\n            \\\"account\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\"\\n        }\\n    }\\n]\"}},\"status\":\"Accepted\",\"code\":202,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"48396d26-f674-4479-869a-6c5ba907c384\",\"name\":\"The requested subscription ids as field names with their values being either `true` or `false` depending on\\nwhether or not the `subscription` was successful. If the request contained multiple subscriptions, the\\nresponse contains a key value pair for each requested `subscription`. Some possible reasons for a `false`\\nresponse might be that you are authorized to subscribe to the particular resource or you tried to subscribe\\nto the same resource more than once within the same `session`.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"v2\",\"session\",\":sessionId\",\"subscriptions\"],\"host\":[\"{{v2-session-sessionId-subscriptions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"id\\\": \\\"elisha\\\",\\n        \\\"type\\\": \\\"dialog\\\",\\n        \\\"entity\\\": {\\n            \\\"id\\\": \\\"4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\n            \\\"type\\\": \\\"line.v2\\\",\\n            \\\"account\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\"\\n        }\\n    },\\n    {\\n        \\\"id\\\": \\\"elisha\\\",\\n        \\\"type\\\": \\\"dialog\\\",\\n        \\\"entity\\\": {\\n            \\\"id\\\": \\\"4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\n            \\\"type\\\": \\\"line.v2\\\",\\n            \\\"account\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\"\\n        }\\n    }\\n]\"}},\"status\":\"Multi-Status (WebDAV) (RFC 4918)\",\"code\":207,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"elisha\\\": true\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1e1aa263-5d2d-425d-96b7-fdc8e54eb941\",\"name\":\"You have not provided any subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"v2\",\"session\",\":sessionId\",\"subscriptions\"],\"host\":[\"{{v2-session-sessionId-subscriptions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"id\\\": \\\"elisha\\\",\\n        \\\"type\\\": \\\"dialog\\\",\\n        \\\"entity\\\": {\\n            \\\"id\\\": \\\"4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\n            \\\"type\\\": \\\"line.v2\\\",\\n            \\\"account\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\"\\n        }\\n    },\\n    {\\n        \\\"id\\\": \\\"elisha\\\",\\n        \\\"type\\\": \\\"dialog\\\",\\n        \\\"entity\\\": {\\n            \\\"id\\\": \\\"4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\n            \\\"type\\\": \\\"line.v2\\\",\\n            \\\"account\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\"\\n        }\\n    }\\n]\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"a0de5773-3d7b-4b44-a855-3b6dc46691af\",\"name\":\"You have provided an invalid token.\",\"originalRequest\":{\"url\":{\"path\":[\"v2\",\"session\",\":sessionId\",\"subscriptions\"],\"host\":[\"{{v2-session-sessionId-subscriptions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"[\\n    {\\n        \\\"id\\\": \\\"elisha\\\",\\n        \\\"type\\\": \\\"dialog\\\",\\n        \\\"entity\\\": {\\n            \\\"id\\\": \\\"4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\n            \\\"type\\\": \\\"line.v2\\\",\\n            \\\"account\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\"\\n        }\\n    },\\n    {\\n        \\\"id\\\": \\\"elisha\\\",\\n        \\\"type\\\": \\\"dialog\\\",\\n        \\\"entity\\\": {\\n            \\\"id\\\": \\\"4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\n            \\\"type\\\": \\\"line.v2\\\",\\n            \\\"account\\\": \\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\"\\n        }\\n    }\\n]\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"50de1ac8-4287-468b-aa36-6523f67085e3\",\"name\":\"call-reports/v1/reports\",\"item\":[{\"id\":\"f6f09057-6624-441b-ae1b-46908b685648\",\"name\":\"phone-number-activity\",\"item\":[{\"id\":\"4736eb60-a1e3-4b20-af9e-1a3040fe58e2\",\"name\":\"Phone Number Activity Summary\",\"request\":{\"name\":\"Phone Number Activity Summary\",\"description\":{\"content\":\"Returns a summary of phone number activity consisting of a result set of phone numbers and their associated metrics. Phone Numbers are direct inward dial (DID) numbers configured in your GoToConnect organization.\\n\\n### Examples of interaction with curl\\n```\\ncurl 'https://api.goto.com/call-reports/v1/reports/phone-number-activity?startTime=2018-10-08T00%3A00%3A00&endTime=2018-10-14T23%3A59%3A59'\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"organizationId\",\"value\":\"<string>\",\"description\":\"ID of the organization. Mandatory if the user defined by the access token belongs to more than one organization. Otherwise the user's single organization will be taken.\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"This is the key of the account (organization). The [Admin API](/admin) can be used to find account keys. This is an alternative to the organization ID since there is a one to one mapping between both values. `organizationId` will be taken over `accountKey` if both are provided.\"},{\"disabled\":false,\"key\":\"startTime\",\"value\":\"<dateTime>\",\"description\":\"(Required) The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"endTime\",\"value\":\"<dateTime>\",\"description\":\"(Required) The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"page\",\"value\":\"0\",\"description\":\"Zero-based integer representing the page desired\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"100\",\"description\":\"Maximum number of items returned in a page. The largest supported page size is 10000.\"},{\"disabled\":false,\"key\":\"q\",\"value\":\"<string>\",\"description\":\"The query string used to conduct a fuzzy search on the  `phoneNumberName` and `phoneNumber` properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\\n\"},{\"disabled\":false,\"key\":\"q\",\"value\":\"<string>\",\"description\":\"The query string used to conduct a fuzzy search on the  `phoneNumberName` and `phoneNumber` properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\\n\"},{\"disabled\":false,\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"disabled\":false,\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"2e9010f5-0ad1-45af-aed7-98a7a67af499\",\"name\":\"A list of documents containing phone number information as well as the aggregated summary according to the applied filters and in the sorted order.\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"accountKey\",\"value\":\"3141592653589793238\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"dataValues\\\": {\\n    \\\"inboundVolume\\\": 24409288,\\n    \\\"inboundDuration\\\": -48936499,\\n    \\\"outboundVolume\\\": -64985187,\\n    \\\"outboundDuration\\\": -29046994,\\n    \\\"averageDuration\\\": 68995033,\\n    \\\"volume\\\": 78133905,\\n    \\\"totalDuration\\\": 26692367\\n   },\\n   \\\"alternativePhoneNumberNames\\\": [\\n    \\\"GoToConnect\\\",\\n    \\\"LogMeIn\\\"\\n   ],\\n   \\\"phoneNumberId\\\": \\\"f0db9c4f-1117-45c0-a5ea-2f751983421d\\\",\\n   \\\"phoneNumberName\\\": \\\"My Company\\\",\\n   \\\"phoneNumber\\\": \\\"4379967123\\\"\\n  },\\n  {\\n   \\\"dataValues\\\": {\\n    \\\"inboundVolume\\\": -97418080,\\n    \\\"inboundDuration\\\": 76358040,\\n    \\\"outboundVolume\\\": 23370110,\\n    \\\"outboundDuration\\\": 91855521,\\n    \\\"averageDuration\\\": -54010317,\\n    \\\"volume\\\": 18369762,\\n    \\\"totalDuration\\\": 83707777\\n   },\\n   \\\"alternativePhoneNumberNames\\\": [\\n    \\\"GoToConnect\\\",\\n    \\\"LogMeIn\\\"\\n   ],\\n   \\\"phoneNumberId\\\": \\\"f0db9c4f-1117-45c0-a5ea-2f751983421d\\\",\\n   \\\"phoneNumberName\\\": \\\"My Company\\\",\\n   \\\"phoneNumber\\\": \\\"4379967123\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"da8d2a8a-1625-4a3b-a658-706d4cc10d25\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n* MANDATORY_ORGANIZATION_ID - organizationId must be set\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"accountKey\",\"value\":\"3141592653589793238\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"fddsfj20hf2ihsusl\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Invalid Request.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5b954d3d-cc0a-4ca1-b078-193de403ef7c\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"accountKey\",\"value\":\"3141592653589793238\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cb453b6b-d289-4a03-ad20-57c5e00980a0\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"accountKey\",\"value\":\"3141592653589793238\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fb0c2dfc-d629-4649-bdae-b8777972d5d5\",\"name\":\"This will be returned if the given organization ID was not found or the given user is not authorized to check reports for this organization.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"accountKey\",\"value\":\"3141592653589793238\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bdc0f329-caf8-4557-bff7-32c1830243e7\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"accountKey\",\"value\":\"3141592653589793238\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9030e1cb-ceba-415d-801b-f2163224104c\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"accountKey\",\"value\":\"3141592653589793238\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"be9da9ee-eddf-4feb-b881-167bbf0dcc9e\",\"name\":\"Phone Number Activity Details\",\"request\":{\"name\":\"Phone Number Activity Details\",\"description\":{\"content\":\"Returns activity records for a specific phone number defined in your GoToConnect organization for the time frame specified.\\n### Examples of interaction with curl\\n```\\ncurl 'https://api.goto.com/call-reports/v1/reports/phone-number-activity/{phoneNumberId}?startTime=2018-10-08T00%3A00%3A00&endTime=2018-10-14T23%3A59%3A59'\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\",\":phoneNumberId\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-phoneNumberId-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"organizationId\",\"value\":\"<string>\",\"description\":\"ID of the organization. Mandatory if the user defined by the access token belongs to more than one organization. Otherwise the user's single organization will be taken.\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"This is the key of the account (organization). The [Admin API](/admin) can be used to find account keys. This is an alternative to the organization ID since there is a one to one mapping between both values. `organizationId` will be taken over `accountKey` if both are provided.\"},{\"disabled\":false,\"key\":\"startTime\",\"value\":\"<dateTime>\",\"description\":\"(Required) The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"endTime\",\"value\":\"<dateTime>\",\"description\":\"(Required) The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"page\",\"value\":\"0\",\"description\":\"Zero-based integer representing the page desired\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"100\",\"description\":\"Maximum number of items returned in a page. The largest supported page size is 10000.\"},{\"disabled\":false,\"key\":\"q\",\"value\":\"<string>\",\"description\":\"The query string used to conduct a fuzzy search on the  `callee.name`, `callee.number`, `caller.name`, and `caller.number`  properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\\n\"},{\"disabled\":false,\"key\":\"q\",\"value\":\"<string>\",\"description\":\"The query string used to conduct a fuzzy search on the  `callee.name`, `callee.number`, `caller.name`, and `caller.number`  properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\\n\"},{\"disabled\":false,\"key\":\"sort\",\"value\":\"-answerTime\"},{\"disabled\":false,\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<uuid>\",\"key\":\"phoneNumberId\",\"description\":\"(Required) Phone Number ID as listed on `/reports/phone-number-activity`\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"b6f49ae3-1626-49e8-8cf6-912cfbcdc32c\",\"name\":\"A list of documents containing inbound and outbound calls details where the given phone number is the caller or the callee, according to the applied filters and in the sorted order.\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\",\":phoneNumberId\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-phoneNumberId-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"accountKey\",\"value\":\"3141592653589793238\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"direction\\\": \\\"OUTBOUND\\\",\\n   \\\"disposition\\\": 16,\\n   \\\"duration\\\": 900,\\n   \\\"endTime\\\": \\\"2007-04-17T10:48:21.607Z\\\",\\n   \\\"caller\\\": {\\n    \\\"name\\\": \\\"Alice\\\",\\n    \\\"number\\\": \\\"8015551234\\\"\\n   },\\n   \\\"startTime\\\": \\\"1953-07-15T01:33:31.207Z\\\",\\n   \\\"callee\\\": {\\n    \\\"name\\\": \\\"Bob\\\",\\n    \\\"number\\\": \\\"8015556890\\\"\\n   },\\n   \\\"answerTime\\\": \\\"1966-06-27T06:55:42.705Z\\\"\\n  },\\n  {\\n   \\\"direction\\\": \\\"INBOUND\\\",\\n   \\\"disposition\\\": 16,\\n   \\\"duration\\\": 900,\\n   \\\"endTime\\\": \\\"1977-11-23T15:43:26.794Z\\\",\\n   \\\"caller\\\": {\\n    \\\"name\\\": \\\"Alice\\\",\\n    \\\"number\\\": \\\"8015551234\\\"\\n   },\\n   \\\"startTime\\\": \\\"2005-01-22T08:42:46.055Z\\\",\\n   \\\"callee\\\": {\\n    \\\"name\\\": \\\"Bob\\\",\\n    \\\"number\\\": \\\"8015556890\\\"\\n   },\\n   \\\"answerTime\\\": \\\"1950-03-15T07:16:56.986Z\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7a334b03-f5f4-4fac-a6d2-54c5340a80df\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n* MANDATORY_ORGANIZATION_ID - organizationId must be set\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\",\":phoneNumberId\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-phoneNumberId-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"accountKey\",\"value\":\"3141592653589793238\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"fddsfj20hf2ihsusl\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Invalid Request.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8f80864e-ab92-4f0a-8750-94d072599c7d\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\",\":phoneNumberId\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-phoneNumberId-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"accountKey\",\"value\":\"3141592653589793238\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d96573fa-f9a9-4dd3-9b9e-0631ba02e90f\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\",\":phoneNumberId\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-phoneNumberId-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"accountKey\",\"value\":\"3141592653589793238\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ea786b44-a4eb-4dd8-a342-edc8bdd6e67f\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\",\":phoneNumberId\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-phoneNumberId-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"accountKey\",\"value\":\"3141592653589793238\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3fdac209-e9df-4025-b65b-6a7c3950fa13\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\",\":phoneNumberId\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-phoneNumberId-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"accountKey\",\"value\":\"3141592653589793238\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2e063e6a-b96d-4814-820a-c258ee5a68ee\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"phone-number-activity\",\":phoneNumberId\"],\"host\":[\"{{call-reports-v1-reports-phone-number-activity-phoneNumberId-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"accountKey\",\"value\":\"3141592653589793238\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"phoneNumberId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"ff1c4f09-0356-4af7-8d1e-277cdbeaf47d\",\"name\":\"caller-activity\",\"item\":[{\"id\":\"c2a86c56-31ce-4486-8ac0-ae0cb17121ca\",\"name\":\"Caller Activity Summary\",\"request\":{\"name\":\"Caller Activity Summary\",\"description\":{\"content\":\"Returns a summary of caller activity consisting of a result set of an array of numbers and their associated metrics. A caller number is a phone number not necesseraly defined within your GoToConnect organization.\\n\\n### Examples of interaction with curl\\n```\\ncurl 'https://api.goto.com/call-reports/v1/reports/caller-activity?startTime=2018-10-08T00%3A00%3A00&endTime=2018-10-14T23%3A59%3A59'\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n  \\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"organizationId\",\"value\":\"<string>\",\"description\":\"ID of the organization. Mandatory if the user defined by the access token belongs to more than one organization. Otherwise the user's single organization will be taken.\"},{\"disabled\":false,\"key\":\"startTime\",\"value\":\"<dateTime>\",\"description\":\"(Required) The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"endTime\",\"value\":\"<dateTime>\",\"description\":\"(Required) The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"page\",\"value\":\"0\",\"description\":\"Zero-based integer representing the page desired\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"100\",\"description\":\"Maximum number of items returned in a page. The largest supported page size is 10000.\"},{\"disabled\":false,\"key\":\"q\",\"value\":\"<string>\",\"description\":\"The query string used to conduct a fuzzy search on the  `callee.name`, `callee.number`, `caller.name`, and `caller.number`  properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\\n\"},{\"disabled\":false,\"key\":\"q\",\"value\":\"<string>\",\"description\":\"The query string used to conduct a fuzzy search on the  `callee.name`, `callee.number`, `caller.name`, and `caller.number`  properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\\n\"},{\"disabled\":false,\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"disabled\":false,\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"disabled\":false,\"key\":\"callerNumbers\",\"value\":\"<string>\"},{\"disabled\":false,\"key\":\"callerNumbers\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"13ee5f0d-3828-4313-986c-8a50f782514e\",\"name\":\"A list of documents containing caller information as well as the aggregated summary according to the applied filters and in the sorted order.\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"callerNumbers\",\"value\":\"<string>\"},{\"key\":\"callerNumbers\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"dataValues\\\": {\\n    \\\"inboundVolume\\\": 72729136,\\n    \\\"inboundDuration\\\": -58326906,\\n    \\\"outboundVolume\\\": 73844788,\\n    \\\"outboundDuration\\\": 75215868,\\n    \\\"averageDuration\\\": 58150100,\\n    \\\"volume\\\": -66995547,\\n    \\\"totalDuration\\\": 76970198\\n   },\\n   \\\"name\\\": \\\"My Company\\\",\\n   \\\"number\\\": \\\"4379967123\\\",\\n   \\\"alternativePhoneNumberNames\\\": [\\n    \\\"GoToConnect\\\",\\n    \\\"LogMeIn\\\"\\n   ]\\n  },\\n  {\\n   \\\"dataValues\\\": {\\n    \\\"inboundVolume\\\": -38102668,\\n    \\\"inboundDuration\\\": 69022628,\\n    \\\"outboundVolume\\\": -57624029,\\n    \\\"outboundDuration\\\": -58076668,\\n    \\\"averageDuration\\\": -60828902,\\n    \\\"volume\\\": 69157909,\\n    \\\"totalDuration\\\": 93827994\\n   },\\n   \\\"name\\\": \\\"My Company\\\",\\n   \\\"number\\\": \\\"4379967123\\\",\\n   \\\"alternativePhoneNumberNames\\\": [\\n    \\\"GoToConnect\\\",\\n    \\\"LogMeIn\\\"\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c19a85df-2265-4426-a27c-6d9478980b11\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n* MANDATORY_ORGANIZATION_ID - organizationId must be set\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"callerNumbers\",\"value\":\"<string>\"},{\"key\":\"callerNumbers\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"fddsfj20hf2ihsusl\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Invalid Request.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6dc218e3-7525-49d5-8ba1-750a45968d24\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"callerNumbers\",\"value\":\"<string>\"},{\"key\":\"callerNumbers\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"40b566ae-432e-4e1d-b27e-3d8e88ed626e\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"callerNumbers\",\"value\":\"<string>\"},{\"key\":\"callerNumbers\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d20e061b-cacf-40a2-9c59-3341a6ee8f09\",\"name\":\"This will be returned if the given organization ID was not found or the given user is not authorized to check reports for this organization.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"callerNumbers\",\"value\":\"<string>\"},{\"key\":\"callerNumbers\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"99cfde3a-d404-4b4d-af1f-76be030d6647\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"callerNumbers\",\"value\":\"<string>\"},{\"key\":\"callerNumbers\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"de25406b-351c-440a-982f-65cec7f0daa6\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"callerNumbers\",\"value\":\"<string>\"},{\"key\":\"callerNumbers\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"a9f3f58c-deb9-48ac-a8fd-dbecb11680d9\",\"name\":\"Caller Activity Details\",\"request\":{\"name\":\"Caller Activity Details\",\"description\":{\"content\":\"Returns records of caller activity for a specific caller number. A caller number is a phone number not necesseraly defined within your GoToConnect organization.\\n### Examples of interaction with curl\\n```\\ncurl 'https://api.goto.com/call-reports/v1/reports/caller-activity/{callerNumber}?startTime=2018-10-08T00%3A00%3A00&endTime=2018-10-14T23%3A59%3A59'\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\",\":callerNumber\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-callerNumber-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"organizationId\",\"value\":\"<string>\",\"description\":\"ID of the organization. Mandatory if the user defined by the access token belongs to more than one organization. Otherwise the user's single organization will be taken.\"},{\"disabled\":false,\"key\":\"startTime\",\"value\":\"<dateTime>\",\"description\":\"(Required) The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"endTime\",\"value\":\"<dateTime>\",\"description\":\"(Required) The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"page\",\"value\":\"0\",\"description\":\"Zero-based integer representing the page desired\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"100\",\"description\":\"Maximum number of items returned in a page. The largest supported page size is 10000.\"},{\"disabled\":false,\"key\":\"q\",\"value\":\"<string>\",\"description\":\"The query string used to conduct a fuzzy search on the  `phoneNumberName` and `phoneNumber` properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\\n\"},{\"disabled\":false,\"key\":\"q\",\"value\":\"<string>\",\"description\":\"The query string used to conduct a fuzzy search on the  `phoneNumberName` and `phoneNumber` properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\\n\"},{\"disabled\":false,\"key\":\"sort\",\"value\":\"-answerTime\"},{\"disabled\":false,\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callerNumber\",\"description\":\"(Required) Caller phone number as returned on `reports/caller-activity`\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"0930615a-d695-4cde-8ef7-8bef1cc5833c\",\"name\":\"A list of documents containing caller call activity according to the applied filters and in the sorted order.\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\",\":callerNumber\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-callerNumber-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callerNumber\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"direction\\\": \\\"OUTBOUND\\\",\\n   \\\"disposition\\\": 16,\\n   \\\"duration\\\": 900,\\n   \\\"endTime\\\": \\\"2007-04-17T10:48:21.607Z\\\",\\n   \\\"caller\\\": {\\n    \\\"name\\\": \\\"Alice\\\",\\n    \\\"number\\\": \\\"8015551234\\\"\\n   },\\n   \\\"startTime\\\": \\\"1953-07-15T01:33:31.207Z\\\",\\n   \\\"callee\\\": {\\n    \\\"name\\\": \\\"Bob\\\",\\n    \\\"number\\\": \\\"8015556890\\\"\\n   },\\n   \\\"answerTime\\\": \\\"1966-06-27T06:55:42.705Z\\\"\\n  },\\n  {\\n   \\\"direction\\\": \\\"INBOUND\\\",\\n   \\\"disposition\\\": 16,\\n   \\\"duration\\\": 900,\\n   \\\"endTime\\\": \\\"1977-11-23T15:43:26.794Z\\\",\\n   \\\"caller\\\": {\\n    \\\"name\\\": \\\"Alice\\\",\\n    \\\"number\\\": \\\"8015551234\\\"\\n   },\\n   \\\"startTime\\\": \\\"2005-01-22T08:42:46.055Z\\\",\\n   \\\"callee\\\": {\\n    \\\"name\\\": \\\"Bob\\\",\\n    \\\"number\\\": \\\"8015556890\\\"\\n   },\\n   \\\"answerTime\\\": \\\"1950-03-15T07:16:56.986Z\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ddd62b9f-6a60-4e44-854a-5097b0a19023\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n* MANDATORY_ORGANIZATION_ID - organizationId must be set\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\",\":callerNumber\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-callerNumber-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callerNumber\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"fddsfj20hf2ihsusl\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Invalid Request.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9d3e72cd-3a62-479a-b56a-91efa5df575b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\",\":callerNumber\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-callerNumber-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callerNumber\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fec544fe-eef6-415d-88d1-de9fe922a8cd\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\",\":callerNumber\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-callerNumber-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callerNumber\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"04f65690-c347-4dc7-817e-2758a0085dbb\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\",\":callerNumber\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-callerNumber-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callerNumber\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0437f7e6-1b55-4fdc-9886-4fa8ffebfc48\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\",\":callerNumber\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-callerNumber-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callerNumber\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2d9cc8c0-483e-40f6-a441-6c40ce4591c9\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"caller-activity\",\":callerNumber\"],\"host\":[\"{{call-reports-v1-reports-caller-activity-callerNumber-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callerNumber\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"3e8370ce-fb6f-4ddc-8c3e-d11c55380523\",\"name\":\"user-activity\",\"item\":[{\"id\":\"55961245-4b18-4fdd-92fc-bdeb5c3f6191\",\"name\":\"User Activity Summary\",\"request\":{\"name\":\"User Activity Summary\",\"description\":{\"content\":\"Returns a summary of user activity consisting of a result set of users and their associated metrics.\\n### Examples of interaction with curl\\n```\\ncurl 'https://api.goto.com/call-reports/v1/reports/user-activity?startTime=2018-10-08T00%3A00%3A00&endTime=2018-10-14T23%3A59%3A59'\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\"],\"host\":[\"{{call-reports-v1-reports-user-activity-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"organizationId\",\"value\":\"<string>\",\"description\":\"ID of the organization. Mandatory if the user defined by the access token belongs to more than one organization. Otherwise the user's single organization will be taken.\"},{\"disabled\":false,\"key\":\"startTime\",\"value\":\"<dateTime>\",\"description\":\"(Required) The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"endTime\",\"value\":\"<dateTime>\",\"description\":\"(Required) The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"page\",\"value\":\"0\",\"description\":\"Zero-based integer representing the page desired\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"100\",\"description\":\"Maximum number of items returned in a page. The largest supported page size is 10000.\"},{\"disabled\":false,\"key\":\"q\",\"value\":\"<string>\",\"description\":\"The query string used to conduct a fuzzy search on the  `userName`. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\\n\"},{\"disabled\":false,\"key\":\"q\",\"value\":\"<string>\",\"description\":\"The query string used to conduct a fuzzy search on the  `userName`. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\\n\"},{\"disabled\":false,\"key\":\"userIds\",\"value\":\"<string>\",\"description\":\"An optional list of User IDs on which to filter when returning results. Summary results whose userId field does not match any value in this list will be omitted.\"},{\"disabled\":false,\"key\":\"userIds\",\"value\":\"<string>\",\"description\":\"An optional list of User IDs on which to filter when returning results. Summary results whose userId field does not match any value in this list will be omitted.\"},{\"disabled\":false,\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"disabled\":false,\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"31748835-a463-45c3-9287-6cd56687a9e1\",\"name\":\"A list of documents containing user information as well as aggregated summary numbers according to the applied filters and in the sorted order.  The list of users are users with call activity during the reporting time frame, not necessarily users currently defined in the GoToConnect Admin Portal.\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\"],\"host\":[\"{{call-reports-v1-reports-user-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"userIds\",\"value\":\"<string>\"},{\"key\":\"userIds\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"dataValues\\\": {\\n    \\\"inboundVolume\\\": -72541087,\\n    \\\"inboundDuration\\\": 21050142,\\n    \\\"outboundVolume\\\": -68952665,\\n    \\\"outboundDuration\\\": 97199136,\\n    \\\"averageDuration\\\": 40724116,\\n    \\\"volume\\\": 99419366,\\n    \\\"totalDuration\\\": 83793369\\n   },\\n   \\\"userId\\\": \\\"f0db9c4f-1117-45c0-a5ea-2f751983421d\\\",\\n   \\\"userName\\\": \\\"John Doe\\\",\\n   \\\"userAlternativeNames\\\": [\\n    \\\"John D.\\\",\\n    \\\"John D.\\\"\\n   ]\\n  },\\n  {\\n   \\\"dataValues\\\": {\\n    \\\"inboundVolume\\\": 56251672,\\n    \\\"inboundDuration\\\": -36664984,\\n    \\\"outboundVolume\\\": -52640275,\\n    \\\"outboundDuration\\\": 50198682,\\n    \\\"averageDuration\\\": -34574694,\\n    \\\"volume\\\": 7300627,\\n    \\\"totalDuration\\\": 86233977\\n   },\\n   \\\"userId\\\": \\\"f0db9c4f-1117-45c0-a5ea-2f751983421d\\\",\\n   \\\"userName\\\": \\\"John Doe\\\",\\n   \\\"userAlternativeNames\\\": [\\n    \\\"John D.\\\",\\n    \\\"John D.\\\"\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d5a8c64f-886a-4a0a-8c62-17ebcfe03f3e\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n* MANDATORY_ORGANIZATION_ID - organizationId must be set\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\"],\"host\":[\"{{call-reports-v1-reports-user-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"userIds\",\"value\":\"<string>\"},{\"key\":\"userIds\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"fddsfj20hf2ihsusl\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Invalid Request.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5f7da356-ffc1-4d43-936b-d2899a4679f7\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\"],\"host\":[\"{{call-reports-v1-reports-user-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"userIds\",\"value\":\"<string>\"},{\"key\":\"userIds\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"168de71d-d9d6-4999-97f9-a7d93d602664\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\"],\"host\":[\"{{call-reports-v1-reports-user-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"userIds\",\"value\":\"<string>\"},{\"key\":\"userIds\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"09ad15d5-ce8c-45b7-81b2-9f7828dc524d\",\"name\":\"This will be returned if the given organization ID was not found or the given user is not authorized to check reports for this organization.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\"],\"host\":[\"{{call-reports-v1-reports-user-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"userIds\",\"value\":\"<string>\"},{\"key\":\"userIds\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"168deb52-7b61-4955-a468-57775aeb7b76\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\"],\"host\":[\"{{call-reports-v1-reports-user-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"userIds\",\"value\":\"<string>\"},{\"key\":\"userIds\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"512a906d-116d-4611-bbb9-e1dd2cb5fa31\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\"],\"host\":[\"{{call-reports-v1-reports-user-activity-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"userIds\",\"value\":\"<string>\"},{\"key\":\"userIds\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"},{\"key\":\"sort\",\"value\":\"-totalDuration\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"0da335c2-b6e8-455f-9a6e-f85f9632959b\",\"name\":\"User Activity Details\",\"request\":{\"name\":\"User Activity Details\",\"description\":{\"content\":\"Returns records of user activity for a specific user\\n\\n### Examples of interaction with curl\\n```\\ncurl 'https://api.goto.com/call-reports/v1/reports/user-activity/{USER_ID}?startTime=2018-10-08T00%3A00%3A00&endTime=2018-10-14T23%3A59%3A59' \\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\",\":userId\"],\"host\":[\"{{call-reports-v1-reports-user-activity-userId-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"organizationId\",\"value\":\"<string>\",\"description\":\"ID of the organization. Mandatory if the user defined by the access token belongs to more than one organization. Otherwise the user's single organization will be taken.\"},{\"disabled\":false,\"key\":\"startTime\",\"value\":\"<dateTime>\",\"description\":\"(Required) The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"endTime\",\"value\":\"<dateTime>\",\"description\":\"(Required) The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"page\",\"value\":\"0\",\"description\":\"Zero-based integer representing the page desired\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"100\",\"description\":\"Maximum number of items returned in a page. The largest supported page size is 10000.\"},{\"disabled\":false,\"key\":\"q\",\"value\":\"<string>\",\"description\":\"The query string used to conduct a fuzzy search on the  `callee.number`, `caller.name`, and `caller.number`  properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\\n\"},{\"disabled\":false,\"key\":\"q\",\"value\":\"<string>\",\"description\":\"The query string used to conduct a fuzzy search on the  `callee.number`, `caller.name`, and `caller.number`  properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\\n\"},{\"disabled\":false,\"key\":\"sort\",\"value\":\"-answerTime\"},{\"disabled\":false,\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<uuid>\",\"key\":\"userId\",\"description\":\"(Required) User ID as listed on `/reports/user-activity`\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"6ff6d610-fb48-4bb5-8c66-ae76003871c4\",\"name\":\"A list of documents containing user call activity according to the applied filters and in the sorted order.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\",\":userId\"],\"host\":[\"{{call-reports-v1-reports-user-activity-userId-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"userId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"answerTime\\\": \\\"1985-01-12T05:37:01.568Z\\\",\\n   \\\"direction\\\": \\\"INBOUND\\\",\\n   \\\"disposition\\\": 16,\\n   \\\"duration\\\": 900,\\n   \\\"endTime\\\": \\\"1995-09-27T01:28:19.639Z\\\",\\n   \\\"caller\\\": {\\n    \\\"name\\\": \\\"Alice\\\",\\n    \\\"number\\\": \\\"8015551234\\\"\\n   },\\n   \\\"startTime\\\": \\\"2011-04-04T01:04:39.935Z\\\",\\n   \\\"callee\\\": {\\n    \\\"name\\\": \\\"Bob\\\",\\n    \\\"number\\\": \\\"8015556890\\\"\\n   }\\n  },\\n  {\\n   \\\"answerTime\\\": \\\"1962-10-31T23:20:39.547Z\\\",\\n   \\\"direction\\\": \\\"INBOUND\\\",\\n   \\\"disposition\\\": 16,\\n   \\\"duration\\\": 900,\\n   \\\"endTime\\\": \\\"1956-03-18T02:55:57.585Z\\\",\\n   \\\"caller\\\": {\\n    \\\"name\\\": \\\"Alice\\\",\\n    \\\"number\\\": \\\"8015551234\\\"\\n   },\\n   \\\"startTime\\\": \\\"1959-11-30T23:03:24.213Z\\\",\\n   \\\"callee\\\": {\\n    \\\"name\\\": \\\"Bob\\\",\\n    \\\"number\\\": \\\"8015556890\\\"\\n   }\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3a325336-68a4-411d-965f-46d14565d1f8\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n* MANDATORY_ORGANIZATION_ID - organizationId must be set\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\",\":userId\"],\"host\":[\"{{call-reports-v1-reports-user-activity-userId-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"userId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"fddsfj20hf2ihsusl\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Invalid Request.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8b715bd6-b4df-43d9-be76-fc79ad58a284\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\",\":userId\"],\"host\":[\"{{call-reports-v1-reports-user-activity-userId-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"userId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"84d7a542-9c30-4259-bc46-ea337a213c8f\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\",\":userId\"],\"host\":[\"{{call-reports-v1-reports-user-activity-userId-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"userId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a9f4cd3f-4540-4a1c-b33a-3d879c86b39c\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\",\":userId\"],\"host\":[\"{{call-reports-v1-reports-user-activity-userId-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"userId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4f84bfdc-78d7-420a-bb6c-ec3e2c664e2f\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\",\":userId\"],\"host\":[\"{{call-reports-v1-reports-user-activity-userId-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"userId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ddecec36-4d6f-432a-9020-ea4712794c9d\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-reports\",\"v1\",\"reports\",\"user-activity\",\":userId\"],\"host\":[\"{{call-reports-v1-reports-user-activity-userId-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"0127d974-f9f3-0704-2dee-000100422009\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"page\",\"value\":\"0\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"q\",\"value\":\"<string>\"},{\"key\":\"sort\",\"value\":\"-answerTime\"},{\"key\":\"sort\",\"value\":\"-answerTime\"}],\"variable\":[{\"type\":\"any\",\"key\":\"userId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"eabc2c77-7c92-4749-908b-b57cce010b06\",\"name\":\"call-history/v1\",\"item\":[{\"id\":\"5ffbeeb0-df00-4ce6-85bb-edcafae9b748\",\"name\":\"Call History Details\",\"request\":{\"name\":\"Call History Details\",\"description\":{\"content\":\"Returns the call history for user of the access token, or the requested user if specified.\\nThe `accountKey` is required in all cases to specify which account to request from.\\nRequesting the history of another user requires super admin permissions.\\n\\nWhen requesting the history of another user, the response will include the fields `userKey`\\nand `accountKey` identifying that user.\\n\\nThe `extension` parameter can be used to filter results to one or more extensions. If\\nabsent, the history of all the user's extensions is returned.\\n\\nThis should be only used for initial pulling.\\nUse a subscription instead if real-time history updates are needed.\\n\\nUnanswered calls can be identified by their absent `answerTime`.\\n\\n### Authentication Scopes\\n\\n`cr.v1.read` must be used when a token is requested from the Authentication API.\\n\\n\\n### Examples of interaction with curl\\n\\nCall History Details\\n\\n```\\ncurl -XGET 'https://api.goto.com/call-history/v1/calls?startTime=2018-10-08T00%3A00%3A00&endTime=2018-10-14T23%3A59%3A59'  \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n\\nResponse\\n\\n```\\n{\\n  \\\"items\\\": [\\n    {\\n      \\\"originatorId\\\": \\\"cf04466e-d6d5-4e22-8442-b610eb409057-1620140713.703369\\\",\\n      \\\"legId\\\": \\\"2300903e-9d46-4734-a05b-1d12082aa696-1620140713.703371\\\",\\n      \\\"caller\\\": {\\n        \\\"name\\\": \\\"caller name 1\\\",\\n        \\\"number\\\": \\\"1100\\\"\\n      },\\n      \\\"callee\\\": {\\n        \\\"name\\\": \\\"caller name 2\\\",\\n        \\\"number\\\": \\\"1000\\\"\\n      },\\n      \\\"direction\\\": \\\"OUTBOUND\\\",\\n      \\\"startTime\\\": \\\"2021-05-04T15:05:13.557221Z\\\",\\n      \\\"duration\\\": 0,\\n      \\\"hangupCause\\\": 16\\n    },\\n    {\\n      \\\"originatorId\\\": \\\"cf04466e-d6d5-4e22-8442-b610eb409057-1620140713.703369\\\",\\n      \\\"legId\\\": \\\"cf04466e-d6d5-4e22-8442-b610eb409057-1620140713.703369\\\",\\n      \\\"caller\\\": {\\n        \\\"name\\\": \\\"caller name 2\\\",\\n        \\\"number\\\": \\\"1100\\\"\\n      },\\n      \\\"callee\\\": {\\n        \\\"number\\\": \\\"1000\\\"\\n      },\\n      \\\"direction\\\": \\\"INBOUND\\\",\\n      \\\"startTime\\\": \\\"2021-05-04T15:05:13.225602Z\\\",\\n      \\\"answerTime\\\": \\\"2021-05-04T15:05:33.598879Z\\\",\\n      \\\"duration\\\": 155718,\\n      \\\"hangupCause\\\": 0\\n    },\\n    {\\n      \\\"originatorId\\\": \\\"c316aa10-8d4e-4864-8e8d-2bdc5fc5ac4a-1620140708.703301\\\",\\n      \\\"legId\\\": \\\"c316aa10-8d4e-4864-8e8d-2bdc5fc5ac4a-1620140708.703301\\\",\\n      \\\"caller\\\": {\\n        \\\"name\\\": \\\"caller name 2\\\",\\n        \\\"number\\\": \\\"1100\\\"\\n      },\\n      \\\"callee\\\": {\\n        \\\"number\\\": \\\"9235\\\"\\n      },\\n      \\\"direction\\\": \\\"INBOUND\\\",\\n      \\\"startTime\\\": \\\"2021-05-04T15:05:08.118018Z\\\",\\n      \\\"duration\\\": 0,\\n      \\\"hangupCause\\\": 1\\n    }\\n  ],\\n  \\\"nextPageMarker\\\": \\\"90b2053f-d66c-4929-a227-e9602e3265ae\\\",\\n  \\\"pageSize\\\": 100\\n}\\n```\\n\\n\\n### How pagination works\\n\\nTo start a query, first call this endpoint without a `pageMarker` and optionally set the\\n`pageSize` to the number of items you want per page (for example, `10`).\\nThe presence of `nextPageMarker` in a response indicates that more results are available to\\nbe fetched. To obtain further pages, send a new request with the `pageMarker` parameter set\\nto the value of `nextPageMarker`.\\n\\nOnce you reach the end of the result set, no results will be returned.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-history\",\"v1\",\"calls\"],\"host\":[\"{{call-history-v1-calls-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"Identifier of a user. Can be found via the Admin API on the /accounts/.../users endpoint.\\n\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"(Required) Identifier of an account. Can be found via the Admin API on the /me endpoint.\\n\"},{\"disabled\":false,\"key\":\"startTime\",\"value\":\"<dateTime>\",\"description\":\"The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"endTime\",\"value\":\"<dateTime>\",\"description\":\"The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The opaque identifier representing a valid marker for the desired page. Default to first page when not provided.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"100\",\"description\":\"Maximum number of items returned in a page\"},{\"disabled\":false,\"key\":\"extension\",\"value\":\"<string>\",\"description\":\"Extensions for which to query the call history\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"4212ba83-a4dd-40c2-a785-6a52124e6e60\",\"name\":\"List of grouped items belonging to the requested user that occurred\\nbetween the requested start time and end time.\\n\\nThis list of items, when combined together, form calls and all items related to the same call will be grouped under the same interaction id.\\n\\nThese items will be sorted in reverse chronological order based on the `startTime` field.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"calls\"],\"host\":[\"{{call-history-v1-calls-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"12345678\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"extension\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"originatorId\\\": \\\"dd90b71b-4d0b-4e4d-ad03-ebf8c6728311-1563304741.6043\\\",\\n   \\\"legId\\\": \\\"dd90b71b-4d0b-4e4d-ad03-ebf8c6728311-1563304741.6043\\\",\\n   \\\"caller\\\": {\\n    \\\"name\\\": \\\"Alice\\\",\\n    \\\"number\\\": \\\"1000\\\"\\n   },\\n   \\\"callee\\\": {\\n    \\\"name\\\": \\\"Bob\\\",\\n    \\\"number\\\": \\\"1001\\\"\\n   },\\n   \\\"direction\\\": \\\"INBOUND\\\",\\n   \\\"startTime\\\": \\\"1998-09-08T09:39:56.789Z\\\",\\n   \\\"duration\\\": 900,\\n   \\\"hangupCause\\\": 16,\\n   \\\"answerTime\\\": \\\"1986-11-12T11:24:10.676Z\\\",\\n   \\\"userKey\\\": \\\"589663315\\\",\\n   \\\"accountKey\\\": \\\"311416\\\",\\n   \\\"ownerPhoneNumber\\\": \\\"+15552345678\\\"\\n  },\\n  {\\n   \\\"originatorId\\\": \\\"dd90b71b-4d0b-4e4d-ad03-ebf8c6728311-1563304741.6043\\\",\\n   \\\"legId\\\": \\\"dd90b71b-4d0b-4e4d-ad03-ebf8c6728311-1563304741.6043\\\",\\n   \\\"caller\\\": {\\n    \\\"name\\\": \\\"Alice\\\",\\n    \\\"number\\\": \\\"1000\\\"\\n   },\\n   \\\"callee\\\": {\\n    \\\"name\\\": \\\"Bob\\\",\\n    \\\"number\\\": \\\"1001\\\"\\n   },\\n   \\\"direction\\\": \\\"OUTBOUND\\\",\\n   \\\"startTime\\\": \\\"2011-06-14T17:07:10.227Z\\\",\\n   \\\"duration\\\": 900,\\n   \\\"hangupCause\\\": 16,\\n   \\\"answerTime\\\": \\\"1957-12-27T12:01:11.593Z\\\",\\n   \\\"userKey\\\": \\\"589663315\\\",\\n   \\\"accountKey\\\": \\\"311416\\\",\\n   \\\"ownerPhoneNumber\\\": \\\"+15552345678\\\"\\n  }\\n ],\\n \\\"nextPageMarker\\\": \\\"90b2053f-d66c-4929-a227-e9602e3265ae\\\",\\n \\\"pageSize\\\": 67201315\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"731e9569-aff6-4965-a9e6-fc5b543ab0e9\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"calls\"],\"host\":[\"{{call-history-v1-calls-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"12345678\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"extension\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2b6b57e7-a82c-4ad9-9018-b351badc64f4\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"calls\"],\"host\":[\"{{call-history-v1-calls-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"12345678\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"extension\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a747bf3d-c2c9-4aee-932c-98c670e01a42\",\"name\":\"There was an error during authorization.  The API returns a number of\\n`errorCode` values in the response that provide additional details.\\n\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"calls\"],\"host\":[\"{{call-history-v1-calls-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"12345678\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"extension\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"26ecb61d-60e7-4786-a51a-d7241703415a\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"calls\"],\"host\":[\"{{call-history-v1-calls-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"12345678\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"extension\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0cc6729a-e7ff-4737-a688-c8f5410eb7be\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"calls\"],\"host\":[\"{{call-history-v1-calls-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"12345678\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"extension\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2f00144b-c1e0-4f08-87dd-88e395b3c879\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"calls\"],\"host\":[\"{{call-history-v1-calls-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"12345678\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"extension\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Gateway\",\"code\":502,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"5594bfdf-21ef-4eaa-8534-2eec3219d4b5\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"calls\"],\"host\":[\"{{call-history-v1-calls-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"12345678\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"extension\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f80e5a3f-75a1-4482-8d41-8e7fbfeb5109\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"calls\"],\"host\":[\"{{call-history-v1-calls-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"},{\"key\":\"accountKey\",\"value\":\"12345678\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"extension\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]},{\"id\":\"a2be1ae9-0f53-4d42-8cf5-3be26da9a27b\",\"name\":\"subscriptions\",\"item\":[{\"id\":\"1a124e37-93c5-4acc-8ee3-a4aecfc76f60\",\"name\":\"Create a Call History subscription\",\"request\":{\"name\":\"Create a Call History subscription\",\"description\":{\"content\":\"Create a call history subscription for the specified account of the specified users.\\nIf no user key is specified, the currently logged-in user is used.\\nThe `accountKey` is required in all cases to specify which account to request from.\\nThe endpoint responds with 409 when a duplicate subscription would be created with the same `channelId`, `accountKey` and `userKey`.\\nIf no `extensions` parameter is specified, all the user's extensions will be monitored.\\nIt is not allowed to filter by extensions when multiple `userKey` are specified.\\n\\n**Creating a new subscription, differing only by the extensions, will conflict.\\nYou must delete the old subscription first.**\\n\\nWhen requesting the history of another user(s), the notification will include the fields\\n`userKeys` and `accountKey` identifying that/those user(s).\\n\\nThis operation activates notifications towards the provided Notification Service's channel.\\nThe call history events pushed through the Notification Service follow the `CallHistoryEvent` model below.\\nA common usage pattern is to request a subscription and then fetch the whole history using the historical API described above.\\n\\nA limit of 500 subscriptions is applied per user, per channel.\\n\\n### Authentication Scopes\\n\\n`call-history.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\\n### Example Interaction with curl\\n\\nSubscribe to own history\\n\\n```\\ncurl -X POST \\\"https://api.goto.com/call-history/v1/subscriptions\\\" \\\\\\n-d '{\\n  \\\"accountKey\\\": \\\"12345678\\\",\\n  \\\"channelId\\\": \\\"oyYDKKFf4IE3J2PXB32AAeqWIqHaDxuTvTD7sabt2-AeYw_ce431afe-245e-4838-90f2-e926fd51abf0\\\"\\n}' \\\\\\n-H \\\"Authorization: Bearer {ACCESS_TOKEN}\\\" \\\\\\n-H \\\"Content-Type: application/json\\\"\\n```\\n\\n```\\n{\\n  \\\"items\\\": [\\n    {\\n      \\\"id\\\": \\\"12ed21de-9be4-4ca7-85d2-0f2356cacc83\\\",\\n      \\\"userKey\\\": \\\"4321\\\",\\n      \\\"channelId\\\": \\\"oyYDKKFf4IE3J2PXB32AAeqWIqHaDxuTvTD7sabt2-AeYw_ce431afe-245e-4838-90f2-e926fd51abf0\\\",\\n      \\\"accountKey\\\": \\\"12345678\\\"\\n    }\\n  ]\\n}\\n```\\n\\nSubscribe to the history of other users\\n\\n```\\ncurl -H \\\"Authorization: Bearer {ACCESS_TOKEN}\\\" -H \\\"Content-Type: application/json\\\" -X POST \\\\\\n-d '{\\\"accountKey\\\": \\\"12345678\\\", \\\"userKeys\\\": [\\\"1234\\\", \\\"5678\\\"], \\\"channelId\\\": \\\"oyYDKKFf4IE3J2PXB32AAeqWIqHaDxuTvTD7sabt2-AeYw_ce431afe-245e-4838-90f2-e926fd51abf0\\\"}' \\\\\\nhttps://api.goto.com/call-history/v1/subscriptions\\n```\\n\\n```\\n{\\n  \\\"items\\\": [\\n    {\\n      \\\"id\\\": \\\"12ed21de-9be4-4ca7-85d2-0f2356cacc83\\\",\\n      \\\"userKey\\\": \\\"1234\\\",\\n      \\\"channelId\\\": \\\"oyYDKKFf4IE3J2PXB32AAeqWIqHaDxuTvTD7sabt2-AeYw_ce431afe-245e-4838-90f2-e926fd51abf0\\\",\\n      \\\"accountKey\\\": \\\"12345678\\\"\\n    },\\n    {\\n      \\\"id\\\": \\\"5a3845c5-1401-440d-a6af-20d7f38496bb\\\",\\n      \\\"userKey\\\": \\\"5678\\\",\\n      \\\"channelId\\\": \\\"oyYDKKFf4IE3J2PXB32AAeqWIqHaDxuTvTD7sabt2-AeYw_ce431afe-245e-4838-90f2-e926fd51abf0\\\",\\n      \\\"accountKey\\\": \\\"12345678\\\"\\n    }\\n  ]\\n}\\n```\\n\\nSubscribe to the history of specific extensions of another user\\n\\n```\\ncurl -H \\\"Authorization: Bearer {ACCESS_TOKEN}\\\" -H \\\"Content-Type: application/json\\\" -X POST \\\\\\n-d '{\\\"accountKey\\\": \\\"12345678\\\", \\\"userKeys\\\": [\\\"1234\\\"], \\\"extensions\\\": [\\\"1002\\\", \\\"1003\\\"], \\\"channelId\\\": \\\"oyYDKKFf4IE3J2PXB32AAeqWIqHaDxuTvTD7sabt2-AeYw_ce431afe-245e-4838-90f2-e926fd51abf0\\\"}' \\\\\\nhttps://api.goto.com/call-history/v1/subscriptions\\n```\\n```\\n{\\n  \\\"items\\\": [\\n    {\\n      \\\"id\\\": \\\"12ed21de-9be4-4ca7-85d2-0f2356cacc83\\\",\\n      \\\"userKey\\\": \\\"1234\\\",\\n      \\\"channelId\\\": \\\"oyYDKKFf4IE3J2PXB32AAeqWIqHaDxuTvTD7sabt2-AeYw_ce431afe-245e-4838-90f2-e926fd51abf0\\\",\\n      \\\"accountKey\\\": \\\"12345678\\\",\\n      \\\"extensions\\\": [\\\"1002\\\", \\\"1003\\\"]\\n    }\\n  ]\\n}\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-history-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"<string>\\\",\\n    \\\"channelId\\\": \\\"<string>\\\",\\n    \\\"userKeys\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"extensions\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"response\":[{\"id\":\"9f8427cb-a5e2-4ff0-88a1-7a4e76cb3d5f\",\"name\":\"The subscription request has succeeded and the subscriptions are returned.\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-history-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKeys\\\": [\\n        \\\"589663315\\\"\\n    ],\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"accountKey\\\": \\\"311416\\\",\\n   \\\"id\\\": \\\"744244a8-d866-45cf-9c6f-8585b1e7e064\\\",\\n   \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n   \\\"userKey\\\": \\\"589663315\\\",\\n   \\\"extensions\\\": [\\n    \\\"1526\\\",\\n    \\\"1526\\\"\\n   ]\\n  },\\n  {\\n   \\\"accountKey\\\": \\\"311416\\\",\\n   \\\"id\\\": \\\"744244a8-d866-45cf-9c6f-8585b1e7e064\\\",\\n   \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n   \\\"userKey\\\": \\\"589663315\\\",\\n   \\\"extensions\\\": [\\n    \\\"1526\\\",\\n    \\\"1526\\\"\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4a28d6f5-10ba-433e-9430-30ea9c2ed0cf\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-history-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKeys\\\": [\\n        \\\"589663315\\\"\\n    ],\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e13f15ff-c942-4f61-b20a-5c3a13d0a209\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-history-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKeys\\\": [\\n        \\\"589663315\\\"\\n    ],\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2a0a8ce9-3f13-447c-9fb1-90e4812c7d9b\",\"name\":\"There was an error during authorization.  The API returns a number of\\n`errorCode` values in the response that provide additional details.\\n\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-history-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKeys\\\": [\\n        \\\"589663315\\\"\\n    ],\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"7a547f71-d7cc-4f23-80f7-5daacfdb0df4\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-history-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKeys\\\": [\\n        \\\"589663315\\\"\\n    ],\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"4d408012-62e2-4718-9f63-63904b4575b0\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-history-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKeys\\\": [\\n        \\\"589663315\\\"\\n    ],\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"50d281ee-41b5-4050-af79-bdbf1f39f48c\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-history-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKeys\\\": [\\n        \\\"589663315\\\"\\n    ],\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"4c70ed93-6625-41b4-92a3-aa3d786c4625\",\"name\":\"{subscription Id}\",\"item\":[{\"id\":\"dc14dde9-2b58-4bb3-b50f-85b58439a99a\",\"name\":\"Update a Call History subscription\",\"request\":{\"name\":\"Update a Call History subscription\",\"description\":{\"content\":\"Update a previously created subscription, identified by its `subscriptionId`.\\nIf the `userKey` parameter is missing, it is infered as the currently logged-in user. If no `extensions` parameter is specified, all the user's extensions will be monitored. Refer to the POST endpoint described above for more details.\\nFor symmetry with the POST API, this endpoint accepts a body of type `CallHistorySubscription`, but the `id` and `channelId` can be omitted since they are already associated with the `subscriptionId` query parameter.\\nNote that it's currently not possible to modify the `channelId` or `id` of an active subscription. If provided, they must match their previous values. If you wish to change your `channelId`, you will need to delete and recreate your subscription.\\n\\n### Authentication Scopes\\n`call-history.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n``` payload=$(cat <<EOF {\\n  \\\"accountKey\\\": \\\"12345678\\\",\\n  \\\"extensions\\\": [\\\"1003\\\"],\\n  \\\"userKey\\\": \\\"4321\\\"\\n} EOF ) curl -H \\\"Content-type: application/json\\\" -H \\\"Authorization: Bearer {ACCESS_TOKEN}\\\" -X PUT -d \\\"$payload\\\" https://api.goto.com/call-history/v1/subscriptions/{SUBSCRIPTION_ID} ```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"subscriptionId\",\"description\":\"(Required) Subscription ID to update\\n\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PUT\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"<string>\\\",\\n    \\\"id\\\": \\\"<string>\\\",\\n    \\\"channelId\\\": \\\"<string>\\\",\\n    \\\"userKey\\\": \\\"<string>\\\",\\n    \\\"extensions\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"response\":[{\"id\":\"dab45393-7762-41d6-9cbc-d5db89fe8491\",\"name\":\"The subscription has been correctly updated and now corresponds to the supplied configuration.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"id\\\": \\\"744244a8-d866-45cf-9c6f-8585b1e7e064\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKey\\\": \\\"589663315\\\",\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"41a255fc-71d7-4664-8ed3-f46bd52da321\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"id\\\": \\\"744244a8-d866-45cf-9c6f-8585b1e7e064\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKey\\\": \\\"589663315\\\",\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ce6e79da-f139-4c13-acbc-a64ad49212f2\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"id\\\": \\\"744244a8-d866-45cf-9c6f-8585b1e7e064\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKey\\\": \\\"589663315\\\",\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"78eccaf1-a206-4879-912c-33a73cc3752d\",\"name\":\"There was an error during authorization.  The API returns a number of\\n`errorCode` values in the response that provide additional details.\\n\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"id\\\": \\\"744244a8-d866-45cf-9c6f-8585b1e7e064\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKey\\\": \\\"589663315\\\",\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"91f82ad1-0596-4a77-87bb-160189bed2e2\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"id\\\": \\\"744244a8-d866-45cf-9c6f-8585b1e7e064\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKey\\\": \\\"589663315\\\",\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"953d2831-d62b-475e-aeb4-e97a82be3fb3\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"id\\\": \\\"744244a8-d866-45cf-9c6f-8585b1e7e064\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKey\\\": \\\"589663315\\\",\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2996351d-408d-4797-bcd1-8bc6e6072e53\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"id\\\": \\\"744244a8-d866-45cf-9c6f-8585b1e7e064\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKey\\\": \\\"589663315\\\",\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"066bc80b-dcc6-4e4b-b666-d9774b11fed8\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"311416\\\",\\n    \\\"id\\\": \\\"744244a8-d866-45cf-9c6f-8585b1e7e064\\\",\\n    \\\"channelId\\\": \\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\n    \\\"userKey\\\": \\\"589663315\\\",\\n    \\\"extensions\\\": [\\n        \\\"1526\\\",\\n        \\\"1526\\\"\\n    ]\\n}\"}},\"status\":\"Bad Gateway\",\"code\":502,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"e608e7fb-5a5d-4734-ab79-63ea6aef5963\",\"name\":\"Delete Call History subscriptions\",\"request\":{\"name\":\"Delete Call History subscriptions\",\"description\":{\"content\":\"Delete the `subscriptionId` from the service to stop receiving notifications.\\n### Authentication Scopes\\n`call-history.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n``` curl -H \\\"Accept: application/json\\\" -H \\\"Authorization: Bearer {ACCESS_TOKEN}\\\" -X DELETE -v https://api.goto.com/call-history/v1/subscriptions/{SUBSCRIPTION_ID} ```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"subscriptionId\",\"description\":\"(Required) Subscription ID to delete\\n\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"b3f40441-63ba-404f-97a5-2c10d0929b35\",\"name\":\"The deletion request has succeeded.\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"8e2391d1-37d0-4eea-b770-65f92c67ed54\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f498fee7-3e0b-4669-901c-235a05b5d033\",\"name\":\"There was an error during authorization.  The API returns a number of\\n`errorCode` values in the response that provide additional details.\\n\\n\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"6bf6a27d-f217-4f27-b185-941779c47d45\",\"name\":\"The specified `subscriptionId` does not exist for the current user\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2db665d4-11bd-4838-a05b-8b6a6da2801d\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7c7e0a99-e839-4091-a98d-6d7253b57335\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-history\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-history-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"ccfaf98b-b279-49bf-bf84-095fe26d42e4\",\"name\":\"call-control/v1\",\"item\":[{\"id\":\"bc10f368-fb9f-4a43-a271-3c9b7fa76e39\",\"name\":\"calls/recording\",\"item\":[{\"id\":\"6d1dcfac-cc9c-4a01-9f72-74e61c5cdc32\",\"name\":\"Start recording the call of the provided leg\",\"request\":{\"name\":\"Start recording the call of the provided leg\",\"description\":{\"content\":\"The start recording endpoint allows the owner of the leg in an organization  to start a call recording on the specified Leg Id.\\n### Start call recording\\nTo start a call recording, make a request with the following body:\\n``` curl -XPOST 'https://api.goto.com/call-control/v1/calls/recording/start' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399\\\"\\n  }'\\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"start\"],\"host\":[\"{{call-control-v1-calls-recording-start-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"<string>\\\",\\n    \\\"legId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"abf35c6d-d04e-411c-940f-51e3bd33c05d\",\"name\":\"Call recording start command was sent to the specified leg id.\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"start\"],\"host\":[\"{{call-control-v1-calls-recording-start-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"484685f8-fd4b-428c-9451-fffdfd0ccf9f\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"start\"],\"host\":[\"{{call-control-v1-calls-recording-start-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5499b830-6347-408f-b3d9-465f8685bf37\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"start\"],\"host\":[\"{{call-control-v1-calls-recording-start-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4d9684b3-e5ef-4215-841d-cb22e3bee6b6\",\"name\":\"You are not authorized to do the specified operation for the given user\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"start\"],\"host\":[\"{{call-control-v1-calls-recording-start-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9a716a73-52ec-4874-bfc1-72a79463ef09\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"start\"],\"host\":[\"{{call-control-v1-calls-recording-start-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2a201ee1-f177-4ff0-8585-3edda05d155a\",\"name\":\"Call recording was already started for the specified leg id.\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"start\"],\"host\":[\"{{call-control-v1-calls-recording-start-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"3ecf89d1-9cfe-4b57-97bf-06a62dbb3f16\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"start\"],\"host\":[\"{{call-control-v1-calls-recording-start-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"77ee9711-3ebc-416f-910f-86726c94d87c\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"start\"],\"host\":[\"{{call-control-v1-calls-recording-start-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"800fff10-207a-410b-ae7f-d7c85593bc3f\",\"name\":\"Pause all active recordings on the provided call leg\",\"request\":{\"name\":\"Pause all active recordings on the provided call leg\",\"description\":{\"content\":\"The pause recording endpoint allows anybody from an account to pause any ongoing call recording on the specified legId.\\n### Pause call recording example\\n```\\ncurl -XPOST 'https://api.goto.com/call-control/v1/calls/recording/pause' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399\\\"\\n  }'\\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"pause\"],\"host\":[\"{{call-control-v1-calls-recording-pause-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"<string>\\\",\\n    \\\"legId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"c69b67d7-cb6d-4294-bcbd-b2f9f55d30ac\",\"name\":\"Call recording pause command was sent to the specified leg id.\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"pause\"],\"host\":[\"{{call-control-v1-calls-recording-pause-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"105f36fc-15ed-411d-9875-1d47e2f23c10\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"pause\"],\"host\":[\"{{call-control-v1-calls-recording-pause-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fc998068-69be-4230-9942-55917d075d02\",\"name\":\"You are not authorized to do the specified operation for the given user\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"pause\"],\"host\":[\"{{call-control-v1-calls-recording-pause-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"471807f0-62bd-4ef3-8eb9-e69f584de502\",\"name\":\"Call recording was already paused for the specified leg id.\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"pause\"],\"host\":[\"{{call-control-v1-calls-recording-pause-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"1e0ef0be-43f1-42d1-8b33-f305a39443c2\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"pause\"],\"host\":[\"{{call-control-v1-calls-recording-pause-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d0ba441d-747b-4614-a7b1-5c9c57149c6a\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"pause\"],\"host\":[\"{{call-control-v1-calls-recording-pause-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"a0ffa5d9-190a-4df3-af4a-ad6487df1751\",\"name\":\"Unpause all paused recordings on the provided leg\",\"request\":{\"name\":\"Unpause all paused recordings on the provided leg\",\"description\":{\"content\":\"The unpause recording endpoint allows anybody from an account to unpause any paused call recording on the specified leg Id.\\n### Unpause call recording example\\n\\n ```\\n\\ncurl -XPOST 'https://api.goto.com/call-control/v1/calls/recording/unpause' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\", \\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399\\\"\\n  }'\\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"unpause\"],\"host\":[\"{{call-control-v1-calls-recording-unpause-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"<string>\\\",\\n    \\\"legId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"0470c221-8ed4-423d-8c4b-3e2f15063448\",\"name\":\"Call recording unpause command was sent to the specified leg id.\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"unpause\"],\"host\":[\"{{call-control-v1-calls-recording-unpause-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"41f7c16b-0538-420e-9fc9-6dabc117d922\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"unpause\"],\"host\":[\"{{call-control-v1-calls-recording-unpause-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"eb87c676-4626-4d53-a8cb-cc8abe13c6cf\",\"name\":\"You are not authorized to do the specified operation for the given user\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"unpause\"],\"host\":[\"{{call-control-v1-calls-recording-unpause-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d17e392d-4dff-443f-9d62-b63117bd551d\",\"name\":\"Call recording was already uppaused for the specified leg id.\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"unpause\"],\"host\":[\"{{call-control-v1-calls-recording-unpause-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"5e65cd5b-327d-4f12-98f5-9bd68b8b0b85\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"unpause\"],\"host\":[\"{{call-control-v1-calls-recording-unpause-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c817aee9-5fce-4ef3-91ec-aa623eb0efb7\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"calls\",\"recording\",\"unpause\"],\"host\":[\"{{call-control-v1-calls-recording-unpause-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"legId\\\": \\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"81e1fe37-25f6-4cca-bfb4-e05a35890c23\",\"name\":\"call-legs/{leg Id}\",\"item\":[{\"id\":\"3064afa3-5f50-4a5c-aa24-aba42a44452a\",\"name\":\"Transfers a call leg to a new destination\",\"request\":{\"name\":\"Transfers a call leg to a new destination\",\"description\":{\"content\":\"This endpoint allows a user to do a blind transfer of a call leg to a new specified destination. The 2nd call leg that was bridged to the transferred leg will then be  terminated after the transfer completes.\\nIn the case that the destination does not exist, the transferred call leg will be notified and be terminated.\\n### Scenario example\\nFor example, let's say Alice (A) calls Bob (B) and Bob then transfers Alice to Carol's (C)  extension. After the transfer, Bob's call leg (Call-Leg2) will be terminated and the conversation will continue between Alice and Carol.\\nConversation before the transfer:\\n`A <--Call-Leg1--> GoTo Platform <--Call-Leg2--> B`\\nConversation after the transfer:\\n`A <--Call-Leg1--> GoTo Platform <--Call-Leg3--> C`\\n### Blind transfer call example\\n\\n ```\\n\\ncurl -XPOST 'https://api.goto.com/call-control/v1/call-legs/4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2/blind-transfer' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n    \\\"destination\\\" : {\\n      \\\"type\\\" : \\\"DIAL_STRING\\\",\\n      \\\"dialString\\\" : \\\"2000\\\"\\n    }\\n  }'\\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"blind-transfer\"],\"host\":[\"{{call-control-v1-call-legs-legId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"legId\",\"description\":\"(Required) Call leg identifier for the call leg used to perform the operation\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"type\\\": \\\"<string>\\\",\\n        \\\"dialString\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"response\":[{\"id\":\"379f3999-982a-4a1e-99e1-41b30b0c3641\",\"name\":\"The blind transfer command has been sent to the specified call leg.\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"blind-transfer\"],\"host\":[\"{{call-control-v1-call-legs-legId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"legId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"destination\\\": {\\n        \\\"type\\\": \\\"DIAL_STRING\\\",\\n        \\\"dialString\\\": \\\"2000\\\"\\n    }\\n}\"}},\"status\":\"Accepted\",\"code\":202,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"e432f679-ebc8-4413-ba77-8d55218f63c7\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"blind-transfer\"],\"host\":[\"{{call-control-v1-call-legs-legId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"legId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"destination\\\": {\\n        \\\"type\\\": \\\"DIAL_STRING\\\",\\n        \\\"dialString\\\": \\\"2000\\\"\\n    }\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8996b08f-4217-4ee6-a4d0-b71b924d29b4\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"blind-transfer\"],\"host\":[\"{{call-control-v1-call-legs-legId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"legId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"destination\\\": {\\n        \\\"type\\\": \\\"DIAL_STRING\\\",\\n        \\\"dialString\\\": \\\"2000\\\"\\n    }\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bc35efa6-466a-457d-a048-76aac7031cbf\",\"name\":\"You are not authorized to do the specified operation for the given user\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"blind-transfer\"],\"host\":[\"{{call-control-v1-call-legs-legId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"legId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"destination\\\": {\\n        \\\"type\\\": \\\"DIAL_STRING\\\",\\n        \\\"dialString\\\": \\\"2000\\\"\\n    }\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"662c0022-4377-4b30-8ef9-439e7e048bc1\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"blind-transfer\"],\"host\":[\"{{call-control-v1-call-legs-legId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"legId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"destination\\\": {\\n        \\\"type\\\": \\\"DIAL_STRING\\\",\\n        \\\"dialString\\\": \\\"2000\\\"\\n    }\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"818c742c-bc96-4db0-b35a-78ea49f8542f\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"blind-transfer\"],\"host\":[\"{{call-control-v1-call-legs-legId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"legId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"destination\\\": {\\n        \\\"type\\\": \\\"DIAL_STRING\\\",\\n        \\\"dialString\\\": \\\"2000\\\"\\n    }\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6809adec-d865-4f78-9523-f1afb1049dfa\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"blind-transfer\"],\"host\":[\"{{call-control-v1-call-legs-legId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"legId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\",\\n    \\\"destination\\\": {\\n        \\\"type\\\": \\\"DIAL_STRING\\\",\\n        \\\"dialString\\\": \\\"2000\\\"\\n    }\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"c2298ad8-3526-4d94-8fce-ef6126ec1072\",\"name\":\"Hangs up the call leg\",\"request\":{\"name\":\"Hangs up the call leg\",\"description\":{\"content\":\"This endpoint allows a user hang up (terminate) an ongoing call leg specified by the provided  call leg identifier. For a conversation that had 2 call legs bridged together, terminating a call leg will  also terminate the other call leg to end the conversation.\\n  \\n### Scenario Example:\\n  \\nA conversation between 2 participants:\\n  \\n`A <--Call-Leg1--> GoTo Platform <--Call-Leg2--> B`\\n  \\nIf a hang up operation is done to terminate Call-Leg1, then Call-Leg2 will also get  terminated thus ending the conversation.\\n### Hangup call example\\n```\\ncurl -XPOST 'https://api.goto.com/call-control/v1/call-legs/4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2/hangup' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\"\\n  }'\\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"hangup\"],\"host\":[\"{{call-control-v1-call-legs-legId-hangup-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"legId\",\"description\":\"(Required) Call leg identifier for the call leg used to perform the operation\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"22387f4f-3daa-4e4e-a800-ea842a246f62\",\"name\":\"The call hangup command was sent to the specified call leg.\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"hangup\"],\"host\":[\"{{call-control-v1-call-legs-legId-hangup-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"legId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\"\\n}\"}},\"status\":\"Accepted\",\"code\":202,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"9acd6937-f7cc-414b-891f-e144aaeee651\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"hangup\"],\"host\":[\"{{call-control-v1-call-legs-legId-hangup-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"legId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"520d76f9-16b1-46a8-b1e8-d3bcb58af138\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"hangup\"],\"host\":[\"{{call-control-v1-call-legs-legId-hangup-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"legId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"15a968d9-7692-4bb1-9ae0-413657752c83\",\"name\":\"You are not authorized to do the specified operation for the given user\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"hangup\"],\"host\":[\"{{call-control-v1-call-legs-legId-hangup-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"legId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"28102b9e-c103-4b6b-85ee-8faf7d6b4c5f\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"hangup\"],\"host\":[\"{{call-control-v1-call-legs-legId-hangup-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"legId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fa03e8b9-053f-4f47-a391-f520cd2fc70e\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"hangup\"],\"host\":[\"{{call-control-v1-call-legs-legId-hangup-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"legId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3a48f186-06ff-4fb4-b0bf-53c6534170ee\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-control\",\"v1\",\"call-legs\",\":legId\",\"hangup\"],\"host\":[\"{{call-control-v1-call-legs-legId-hangup-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"legId\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"4793882253721559854\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"11c803d8-314f-4616-9972-9a97480a9f8f\",\"name\":\"call-events/v1\",\"item\":[{\"id\":\"e3eb08b4-c40b-43e5-a97b-f0a1cb6187eb\",\"name\":\"conversation-spaces\",\"item\":[{\"id\":\"0c51da73-987d-474c-a0db-5b6439e4c382\",\"name\":\"Retrieves the active calls of accounts and/or lines and their latest event.\",\"request\":{\"name\":\"Retrieves the active calls of accounts and/or lines and their latest event.\",\"description\":{\"content\":\"Retrieves the active calls and their latest event for all the accounts and lines provided.\\nThe result is ordered by the creation time of the calls, the latest calls appearing first (not ordered by the timestamp\\nof their latest event!).\\n\\nThe maximum number of account keys accepted for a query is 20. The maximum value for the `pageSize` parameter is 100.\\n\\nTo retrieve every past events for a given call, use the `/conversation-spaces/{conversationSpaceId}/events` endpoint.\\n\\n### Authentication Scopes\\n\\n`call-events.v1.events.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\"],\"host\":[\"{{call-events-v1-conversation-spaces-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"Account key.\\nThe caller must use a token that have permission to access the accounts listed.\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"Account key.\\nThe caller must use a token that have permission to access the accounts listed.\"},{\"disabled\":false,\"key\":\"lineId\",\"value\":\"<string>\",\"description\":\"Line id.\\nThe caller must use a token that have permission to access the line listed.\"},{\"disabled\":false,\"key\":\"lineId\",\"value\":\"<string>\",\"description\":\"Line id.\\nThe caller must use a token that have permission to access the line listed.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"100\",\"description\":\"Maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"\",\"description\":\"The opaque identifier representing a valid marker for the desired page. The value of `nextPageMarker` from a response SHOULD be used to get the next page of results. If no value is provided, the first items will be fetched.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"7cc21a29-3e63-4fab-b083-18b5ba4e8473\",\"name\":\"Successfully retrieved active calls and their latest event.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\"],\"host\":[\"{{call-events-v1-conversation-spaces-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"pageSize\\\": 50,\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"metadata\\\": {\\n    \\\"conversationSpaceId\\\": \\\"43643517-5c98-4102-942f-882d86a4a0fa\\\",\\n    \\\"direction\\\": \\\"INBOUND\\\",\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n    \\\"callCreated\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n    \\\"callInitiator\\\": \\\"DIRECT\\\",\\n    \\\"associatedConversations\\\": [\\n     \\\"43643517-5c98-4102-942f-882d86a4a0fa\\\"\\n    ],\\n    \\\"hangupOriginatorId\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n    \\\"dialString\\\": \\\"+19881234567\\\",\\n    \\\"initiatorId\\\": \\\"ebce0136-619c-4630-b2e1-5bedc958026e\\\",\\n    \\\"truncated\\\": true\\n   },\\n   \\\"state\\\": {\\n    \\\"id\\\": \\\"e17957a3-c95e-423a-9af9-3179f0386bb2\\\",\\n    \\\"type\\\": \\\"ACTIVE\\\",\\n    \\\"sequenceNumber\\\": 5,\\n    \\\"timestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n    \\\"participants\\\": [\\n     {\\n      \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n      \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n      \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n      \\\"type\\\": {\\n       \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n       \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n       \\\"number\\\": \\\"+19881234567\\\",\\n       \\\"callProvider\\\": \\\"PSTN\\\",\\n       \\\"caller\\\": {\\n        \\\"name\\\": \\\"Alice\\\",\\n        \\\"number\\\": \\\"+12345678945\\\"\\n       },\\n       \\\"device\\\": {\\n        \\\"model\\\": \\\"aastra.3l1\\\",\\n        \\\"user\\\": {}\\n       }\\n      },\\n      \\\"recordings\\\": [\\n       {\\n        \\\"id\\\": \\\"65785\\\",\\n        \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"transcriptEnabled\\\": true,\\n        \\\"pauses\\\": [\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        ]\\n       },\\n       {\\n        \\\"id\\\": \\\"65785\\\",\\n        \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"transcriptEnabled\\\": true,\\n        \\\"pauses\\\": [\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        ]\\n       }\\n      ]\\n     },\\n     {\\n      \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n      \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n      \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n      \\\"type\\\": {\\n       \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n       \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n       \\\"number\\\": \\\"+19881234567\\\",\\n       \\\"callProvider\\\": \\\"PSTN\\\",\\n       \\\"caller\\\": {\\n        \\\"name\\\": \\\"Alice\\\",\\n        \\\"number\\\": \\\"+12345678945\\\"\\n       },\\n       \\\"device\\\": {\\n        \\\"model\\\": \\\"aastra.3l1\\\",\\n        \\\"user\\\": {}\\n       }\\n      },\\n      \\\"recordings\\\": [\\n       {\\n        \\\"id\\\": \\\"65785\\\",\\n        \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"transcriptEnabled\\\": true,\\n        \\\"pauses\\\": [\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        ]\\n       },\\n       {\\n        \\\"id\\\": \\\"65785\\\",\\n        \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"transcriptEnabled\\\": true,\\n        \\\"pauses\\\": [\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        ]\\n       }\\n      ]\\n     }\\n    ],\\n    \\\"recordings\\\": [\\n     {\\n      \\\"id\\\": \\\"65785\\\",\\n      \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n      \\\"transcriptEnabled\\\": true,\\n      \\\"pauses\\\": [\\n       {\\n        \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n       },\\n       {\\n        \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n       }\\n      ]\\n     },\\n     {\\n      \\\"id\\\": \\\"65785\\\",\\n      \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n      \\\"transcriptEnabled\\\": true,\\n      \\\"pauses\\\": [\\n       {\\n        \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n       },\\n       {\\n        \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n       }\\n      ]\\n     }\\n    ],\\n    \\\"interactiveVoiceResponseSystems\\\": [\\n     {\\n      \\\"id\\\": \\\"001b7ea9-956b-4be5-8601-ac2ab100fea9\\\",\\n      \\\"status\\\": {\\n       \\\"value\\\": \\\"CONNECTED\\\"\\n      },\\n      \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n      \\\"type\\\": {\\n       \\\"value\\\": \\\"cupidatat et fugiat dolore\\\"\\n      }\\n     },\\n     {\\n      \\\"id\\\": \\\"001b7ea9-956b-4be5-8601-ac2ab100fea9\\\",\\n      \\\"status\\\": {\\n       \\\"value\\\": \\\"CONNECTED\\\"\\n      },\\n      \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n      \\\"type\\\": {\\n       \\\"value\\\": \\\"in et deserunt do\\\"\\n      }\\n     }\\n    ]\\n   }\\n  },\\n  {\\n   \\\"metadata\\\": {\\n    \\\"conversationSpaceId\\\": \\\"43643517-5c98-4102-942f-882d86a4a0fa\\\",\\n    \\\"direction\\\": \\\"INBOUND\\\",\\n    \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n    \\\"callCreated\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n    \\\"callInitiator\\\": \\\"DIRECT\\\",\\n    \\\"associatedConversations\\\": [\\n     \\\"43643517-5c98-4102-942f-882d86a4a0fa\\\"\\n    ],\\n    \\\"hangupOriginatorId\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n    \\\"dialString\\\": \\\"+19881234567\\\",\\n    \\\"initiatorId\\\": \\\"ebce0136-619c-4630-b2e1-5bedc958026e\\\",\\n    \\\"truncated\\\": true\\n   },\\n   \\\"state\\\": {\\n    \\\"id\\\": \\\"e17957a3-c95e-423a-9af9-3179f0386bb2\\\",\\n    \\\"type\\\": \\\"ACTIVE\\\",\\n    \\\"sequenceNumber\\\": 5,\\n    \\\"timestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n    \\\"participants\\\": [\\n     {\\n      \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n      \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n      \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n      \\\"type\\\": {\\n       \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n       \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n       \\\"number\\\": \\\"+19881234567\\\",\\n       \\\"callProvider\\\": \\\"PSTN\\\",\\n       \\\"caller\\\": {\\n        \\\"name\\\": \\\"Alice\\\",\\n        \\\"number\\\": \\\"+12345678945\\\"\\n       },\\n       \\\"device\\\": {\\n        \\\"model\\\": \\\"aastra.3l1\\\",\\n        \\\"user\\\": {}\\n       }\\n      },\\n      \\\"recordings\\\": [\\n       {\\n        \\\"id\\\": \\\"65785\\\",\\n        \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"transcriptEnabled\\\": true,\\n        \\\"pauses\\\": [\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        ]\\n       },\\n       {\\n        \\\"id\\\": \\\"65785\\\",\\n        \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"transcriptEnabled\\\": true,\\n        \\\"pauses\\\": [\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        ]\\n       }\\n      ]\\n     },\\n     {\\n      \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n      \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n      \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n      \\\"type\\\": {\\n       \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n       \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n       \\\"number\\\": \\\"+19881234567\\\",\\n       \\\"callProvider\\\": \\\"PSTN\\\",\\n       \\\"caller\\\": {\\n        \\\"name\\\": \\\"Alice\\\",\\n        \\\"number\\\": \\\"+12345678945\\\"\\n       },\\n       \\\"device\\\": {\\n        \\\"model\\\": \\\"aastra.3l1\\\",\\n        \\\"user\\\": {}\\n       }\\n      },\\n      \\\"recordings\\\": [\\n       {\\n        \\\"id\\\": \\\"65785\\\",\\n        \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"transcriptEnabled\\\": true,\\n        \\\"pauses\\\": [\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        ]\\n       },\\n       {\\n        \\\"id\\\": \\\"65785\\\",\\n        \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"transcriptEnabled\\\": true,\\n        \\\"pauses\\\": [\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        ]\\n       }\\n      ]\\n     }\\n    ],\\n    \\\"recordings\\\": [\\n     {\\n      \\\"id\\\": \\\"65785\\\",\\n      \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n      \\\"transcriptEnabled\\\": true,\\n      \\\"pauses\\\": [\\n       {\\n        \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n       },\\n       {\\n        \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n       }\\n      ]\\n     },\\n     {\\n      \\\"id\\\": \\\"65785\\\",\\n      \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n      \\\"transcriptEnabled\\\": true,\\n      \\\"pauses\\\": [\\n       {\\n        \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n       },\\n       {\\n        \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n        \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n       }\\n      ]\\n     }\\n    ],\\n    \\\"interactiveVoiceResponseSystems\\\": [\\n     {\\n      \\\"id\\\": \\\"001b7ea9-956b-4be5-8601-ac2ab100fea9\\\",\\n      \\\"status\\\": {\\n       \\\"value\\\": \\\"CONNECTED\\\"\\n      },\\n      \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n      \\\"type\\\": {\\n       \\\"value\\\": \\\"sint sit\\\"\\n      }\\n     },\\n     {\\n      \\\"id\\\": \\\"001b7ea9-956b-4be5-8601-ac2ab100fea9\\\",\\n      \\\"status\\\": {\\n       \\\"value\\\": \\\"CONNECTED\\\"\\n      },\\n      \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n      \\\"type\\\": {\\n       \\\"value\\\": \\\"do dolor dolore ex\\\"\\n      }\\n     }\\n    ]\\n   }\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3c7651c4-d874-4ae4-a65b-c318ab54e64b\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\"],\"host\":[\"{{call-events-v1-conversation-spaces-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"75ed70ea-51ac-41a7-b5d7-caeaf276c279\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\"],\"host\":[\"{{call-events-v1-conversation-spaces-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5c48f65b-42bc-4677-adce-e189b836c068\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\"],\"host\":[\"{{call-events-v1-conversation-spaces-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"23616d26-b4e2-4574-9cbc-7d5fd010ab8e\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\"],\"host\":[\"{{call-events-v1-conversation-spaces-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4d43a773-c917-4fd7-81bd-7e0712608fae\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\"],\"host\":[\"{{call-events-v1-conversation-spaces-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"6baf0f7e-93f2-47a8-8f92-e3250d5891ad\",\"name\":\"Retrieves the events associated to the call.\",\"request\":{\"name\":\"Retrieves the events associated to the call.\",\"description\":{\"content\":\"Retrieves the events associated to the call. The `sequenceFrom` and `sequenceTo` query parameters are optional.\\n\\nIf both are missing, all the events in the call will be returned.\\n\\nIf `sequenceFrom` is provided and `sequenceTo` is missing, then all events with sequence number equal to or larger than `sequenceFrom`\\nare returned including the latest call event.\\n\\nIf `sequenceFrom` is missing and `sequenceTo` is provided, then all events with sequence number equal to or smaller than\\n`sequenceTo` are returned.\\n\\nBoth `sequenceFrom` and `sequenceTo` bounds are inclusive.\\n\\nThe maximum value for the `pageSize` parameter is 100.\\n\\nEvents of calls that are terminated will not be listed in this manner but will be provided through\\nthe [Call Reports API](https://developer.goto.com/GoToConnect#tag/Call-Reports-Overview).\\n\\n\\n### Authentication Scopes\\n\\n`call-events.v1.events.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\",\":conversationSpaceId\",\"events\"],\"host\":[\"{{call-events-v1-conversation-spaces-conversationSpaceId-events-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"sequenceFrom\",\"value\":\"0\",\"description\":\"Events with a sequence number greater than or equal to this value shall be returned.\"},{\"disabled\":false,\"key\":\"sequenceTo\",\"value\":\"2147483647\",\"description\":\"Events with a sequence number less than or equal to this value shall be returned.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"100\",\"description\":\"Maximum number of items returned in a page. If the requested call sequence is larger than `pageSize`, the result will be paginated.\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"\",\"description\":\"The opaque identifier representing a valid marker for the desired page. The value of `nextPageMarker` from a response SHOULD be used to get the next page of results. If no value is provided, the first items will be fetched.\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"conversationSpaceId\",\"description\":\"(Required) Conversation space identifier, no result will be returned if the associated conversation space has terminated. Events of calls that are terminated will not be listed in this manner but will be provided through the [Call Reports API](https://developer.goto.com/GoToConnect#tag/Call-Reports-Overview).\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"5471b9e1-147d-4ebe-a38a-d3c1b616cd47\",\"name\":\"Successfully retrieved events of the call.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\",\":conversationSpaceId\",\"events\"],\"host\":[\"{{call-events-v1-conversation-spaces-conversationSpaceId-events-Url}}\"],\"query\":[{\"key\":\"sequenceFrom\",\"value\":\"0\"},{\"key\":\"sequenceTo\",\"value\":\"2147483647\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"\"}],\"variable\":[{\"type\":\"any\",\"key\":\"conversationSpaceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"pageSize\\\": 50,\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"metadata\\\": {\\n  \\\"conversationSpaceId\\\": \\\"43643517-5c98-4102-942f-882d86a4a0fa\\\",\\n  \\\"direction\\\": \\\"INBOUND\\\",\\n  \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n  \\\"callCreated\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n  \\\"callInitiator\\\": \\\"DIRECT\\\",\\n  \\\"associatedConversations\\\": [\\n   \\\"43643517-5c98-4102-942f-882d86a4a0fa\\\"\\n  ],\\n  \\\"hangupOriginatorId\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n  \\\"dialString\\\": \\\"+19881234567\\\",\\n  \\\"initiatorId\\\": \\\"ebce0136-619c-4630-b2e1-5bedc958026e\\\",\\n  \\\"truncated\\\": true\\n },\\n \\\"states\\\": [\\n  {\\n   \\\"id\\\": \\\"e17957a3-c95e-423a-9af9-3179f0386bb2\\\",\\n   \\\"type\\\": \\\"ACTIVE\\\",\\n   \\\"sequenceNumber\\\": 5,\\n   \\\"timestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n   \\\"participants\\\": [\\n    {\\n     \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n      \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n      \\\"number\\\": \\\"+19881234567\\\",\\n      \\\"callProvider\\\": \\\"PSTN\\\",\\n      \\\"caller\\\": {\\n       \\\"name\\\": \\\"Alice\\\",\\n       \\\"number\\\": \\\"+12345678945\\\"\\n      },\\n      \\\"device\\\": {\\n       \\\"model\\\": \\\"aastra.3l1\\\",\\n       \\\"user\\\": {}\\n      }\\n     },\\n     \\\"recordings\\\": [\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      },\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      }\\n     ]\\n    },\\n    {\\n     \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n      \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n      \\\"number\\\": \\\"+19881234567\\\",\\n      \\\"callProvider\\\": \\\"PSTN\\\",\\n      \\\"caller\\\": {\\n       \\\"name\\\": \\\"Alice\\\",\\n       \\\"number\\\": \\\"+12345678945\\\"\\n      },\\n      \\\"device\\\": {\\n       \\\"model\\\": \\\"aastra.3l1\\\",\\n       \\\"user\\\": {}\\n      }\\n     },\\n     \\\"recordings\\\": [\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      },\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      }\\n     ]\\n    }\\n   ],\\n   \\\"recordings\\\": [\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"transcriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    },\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"transcriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    }\\n   ],\\n   \\\"interactiveVoiceResponseSystems\\\": [\\n    {\\n     \\\"id\\\": \\\"001b7ea9-956b-4be5-8601-ac2ab100fea9\\\",\\n     \\\"status\\\": {\\n      \\\"value\\\": \\\"CONNECTED\\\"\\n     },\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"laboris amet fugiat velit ipsum\\\"\\n     }\\n    },\\n    {\\n     \\\"id\\\": \\\"001b7ea9-956b-4be5-8601-ac2ab100fea9\\\",\\n     \\\"status\\\": {\\n      \\\"value\\\": \\\"CONNECTED\\\"\\n     },\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"et magna se\\\"\\n     }\\n    }\\n   ]\\n  },\\n  {\\n   \\\"id\\\": \\\"e17957a3-c95e-423a-9af9-3179f0386bb2\\\",\\n   \\\"type\\\": \\\"ACTIVE\\\",\\n   \\\"sequenceNumber\\\": 5,\\n   \\\"timestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n   \\\"participants\\\": [\\n    {\\n     \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n      \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n      \\\"number\\\": \\\"+19881234567\\\",\\n      \\\"callProvider\\\": \\\"PSTN\\\",\\n      \\\"caller\\\": {\\n       \\\"name\\\": \\\"Alice\\\",\\n       \\\"number\\\": \\\"+12345678945\\\"\\n      },\\n      \\\"device\\\": {\\n       \\\"model\\\": \\\"aastra.3l1\\\",\\n       \\\"user\\\": {}\\n      }\\n     },\\n     \\\"recordings\\\": [\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      },\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      }\\n     ]\\n    },\\n    {\\n     \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n      \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n      \\\"number\\\": \\\"+19881234567\\\",\\n      \\\"callProvider\\\": \\\"PSTN\\\",\\n      \\\"caller\\\": {\\n       \\\"name\\\": \\\"Alice\\\",\\n       \\\"number\\\": \\\"+12345678945\\\"\\n      },\\n      \\\"device\\\": {\\n       \\\"model\\\": \\\"aastra.3l1\\\",\\n       \\\"user\\\": {}\\n      }\\n     },\\n     \\\"recordings\\\": [\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      },\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      }\\n     ]\\n    }\\n   ],\\n   \\\"recordings\\\": [\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"transcriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    },\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"transcriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    }\\n   ],\\n   \\\"interactiveVoiceResponseSystems\\\": [\\n    {\\n     \\\"id\\\": \\\"001b7ea9-956b-4be5-8601-ac2ab100fea9\\\",\\n     \\\"status\\\": {\\n      \\\"value\\\": \\\"CONNECTED\\\"\\n     },\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"est\\\"\\n     }\\n    },\\n    {\\n     \\\"id\\\": \\\"001b7ea9-956b-4be5-8601-ac2ab100fea9\\\",\\n     \\\"status\\\": {\\n      \\\"value\\\": \\\"CONNECTED\\\"\\n     },\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"nulla nostrud\\\"\\n     }\\n    }\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"27131b1b-f8c7-4894-90b6-f43177b15d16\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\",\":conversationSpaceId\",\"events\"],\"host\":[\"{{call-events-v1-conversation-spaces-conversationSpaceId-events-Url}}\"],\"query\":[{\"key\":\"sequenceFrom\",\"value\":\"0\"},{\"key\":\"sequenceTo\",\"value\":\"2147483647\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"\"}],\"variable\":[{\"type\":\"any\",\"key\":\"conversationSpaceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"13fe2f11-64f9-4514-9ad2-262b670a635e\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\",\":conversationSpaceId\",\"events\"],\"host\":[\"{{call-events-v1-conversation-spaces-conversationSpaceId-events-Url}}\"],\"query\":[{\"key\":\"sequenceFrom\",\"value\":\"0\"},{\"key\":\"sequenceTo\",\"value\":\"2147483647\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"\"}],\"variable\":[{\"type\":\"any\",\"key\":\"conversationSpaceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1e497709-d01f-4b5e-a2f9-940b5f9348dd\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\",\":conversationSpaceId\",\"events\"],\"host\":[\"{{call-events-v1-conversation-spaces-conversationSpaceId-events-Url}}\"],\"query\":[{\"key\":\"sequenceFrom\",\"value\":\"0\"},{\"key\":\"sequenceTo\",\"value\":\"2147483647\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"\"}],\"variable\":[{\"type\":\"any\",\"key\":\"conversationSpaceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7999e10c-6b3a-4a38-8daf-ee808436ce00\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\",\":conversationSpaceId\",\"events\"],\"host\":[\"{{call-events-v1-conversation-spaces-conversationSpaceId-events-Url}}\"],\"query\":[{\"key\":\"sequenceFrom\",\"value\":\"0\"},{\"key\":\"sequenceTo\",\"value\":\"2147483647\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"\"}],\"variable\":[{\"type\":\"any\",\"key\":\"conversationSpaceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3e7431ab-5c1a-4f31-a215-fe877a68795f\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\",\":conversationSpaceId\",\"events\"],\"host\":[\"{{call-events-v1-conversation-spaces-conversationSpaceId-events-Url}}\"],\"query\":[{\"key\":\"sequenceFrom\",\"value\":\"0\"},{\"key\":\"sequenceTo\",\"value\":\"2147483647\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"\"}],\"variable\":[{\"type\":\"any\",\"key\":\"conversationSpaceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6ba3e302-21a5-49df-9ac2-a3504c2b8cee\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"conversation-spaces\",\":conversationSpaceId\",\"events\"],\"host\":[\"{{call-events-v1-conversation-spaces-conversationSpaceId-events-Url}}\"],\"query\":[{\"key\":\"sequenceFrom\",\"value\":\"0\"},{\"key\":\"sequenceTo\",\"value\":\"2147483647\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"\"}],\"variable\":[{\"type\":\"any\",\"key\":\"conversationSpaceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"6ce92609-8006-4b7d-96b9-c2e9e95a0f49\",\"name\":\"subscriptions\",\"item\":[{\"id\":\"cc8dcd17-99d7-46a6-b755-7f80e07f03cb\",\"name\":\"Subscribe to the events of the calls of accounts and/or lines.\",\"request\":{\"name\":\"Subscribe to the events of the calls of accounts and/or lines.\",\"description\":{\"content\":\"Subscribe to be notified of events for the active calls associated to all the accounts and lines provided.\\n\\nOptionally, the [types of events](https://developer.goto.com/GoToConnect/#section/Retrieving-Call-Events/Via-Subscription) can also be specified\\nin the subscription.\\n\\n### Authentication Scopes\\n\\n`call-events.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\\nThe caller of this endpoint should be the owner of the channel provided.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"<string>\\\",\\n    \\\"accountKeys\\\": [\\n        {\\n            \\\"id\\\": \\\"<string>\\\",\\n            \\\"events\\\": [\\n                \\\"<string>\\\",\\n                \\\"<string>\\\"\\n            ]\\n        },\\n        {\\n            \\\"id\\\": \\\"<string>\\\",\\n            \\\"events\\\": [\\n                \\\"<string>\\\",\\n                \\\"<string>\\\"\\n            ]\\n        }\\n    ],\\n    \\\"lineIds\\\": [\\n        {\\n            \\\"id\\\": \\\"<string>\\\"\\n        },\\n        {\\n            \\\"id\\\": \\\"<string>\\\"\\n        }\\n    ]\\n}\"}},\"response\":[{\"id\":\"5d80d2a2-5cf9-4409-b131-15f46d78492d\",\"name\":\"Multi-part response to a request for subscriptions. The status of each subscription is in the response payload.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\n    \\\"accountKeys\\\": [\\n        {\\n            \\\"id\\\": \\\"2930718022414574861\\\",\\n            \\\"events\\\": [\\n                \\\"ACTIVE\\\",\\n                \\\"ACTIVE\\\"\\n            ]\\n        },\\n        {\\n            \\\"id\\\": \\\"2930718022414574861\\\",\\n            \\\"events\\\": [\\n                \\\"ACTIVE\\\",\\n                \\\"ACTIVE\\\"\\n            ]\\n        }\\n    ],\\n    \\\"lineIds\\\": [\\n        {\\n            \\\"id\\\": \\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"\\n        },\\n        {\\n            \\\"id\\\": \\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Multi-Status (WebDAV) (RFC 4918)\",\"code\":207,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"accountKeys\\\": [\\n  {\\n   \\\"id\\\": \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\n   \\\"status\\\": 200,\\n   \\\"message\\\": \\\"Success\\\",\\n   \\\"errorCode\\\": \\\"NOT_FOUND\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\n   \\\"status\\\": 200,\\n   \\\"message\\\": \\\"Success\\\",\\n   \\\"errorCode\\\": \\\"NOT_FOUND\\\"\\n  }\\n ],\\n \\\"lineIds\\\": [\\n  {\\n   \\\"id\\\": \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\n   \\\"status\\\": 200,\\n   \\\"message\\\": \\\"Success\\\",\\n   \\\"errorCode\\\": \\\"NOT_FOUND\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\n   \\\"status\\\": 200,\\n   \\\"message\\\": \\\"Success\\\",\\n   \\\"errorCode\\\": \\\"NOT_FOUND\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7c8d748c-80f1-423a-ad25-9fc96ff4c756\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\n    \\\"accountKeys\\\": [\\n        {\\n            \\\"id\\\": \\\"2930718022414574861\\\",\\n            \\\"events\\\": [\\n                \\\"ACTIVE\\\",\\n                \\\"ACTIVE\\\"\\n            ]\\n        },\\n        {\\n            \\\"id\\\": \\\"2930718022414574861\\\",\\n            \\\"events\\\": [\\n                \\\"ACTIVE\\\",\\n                \\\"ACTIVE\\\"\\n            ]\\n        }\\n    ],\\n    \\\"lineIds\\\": [\\n        {\\n            \\\"id\\\": \\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"\\n        },\\n        {\\n            \\\"id\\\": \\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"951daa1c-b27a-4b73-8459-6df3c23c68e6\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\n    \\\"accountKeys\\\": [\\n        {\\n            \\\"id\\\": \\\"2930718022414574861\\\",\\n            \\\"events\\\": [\\n                \\\"ACTIVE\\\",\\n                \\\"ACTIVE\\\"\\n            ]\\n        },\\n        {\\n            \\\"id\\\": \\\"2930718022414574861\\\",\\n            \\\"events\\\": [\\n                \\\"ACTIVE\\\",\\n                \\\"ACTIVE\\\"\\n            ]\\n        }\\n    ],\\n    \\\"lineIds\\\": [\\n        {\\n            \\\"id\\\": \\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"\\n        },\\n        {\\n            \\\"id\\\": \\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"56faf6ed-8e24-4df8-9e9d-085a45f79837\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\n    \\\"accountKeys\\\": [\\n        {\\n            \\\"id\\\": \\\"2930718022414574861\\\",\\n            \\\"events\\\": [\\n                \\\"ACTIVE\\\",\\n                \\\"ACTIVE\\\"\\n            ]\\n        },\\n        {\\n            \\\"id\\\": \\\"2930718022414574861\\\",\\n            \\\"events\\\": [\\n                \\\"ACTIVE\\\",\\n                \\\"ACTIVE\\\"\\n            ]\\n        }\\n    ],\\n    \\\"lineIds\\\": [\\n        {\\n            \\\"id\\\": \\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"\\n        },\\n        {\\n            \\\"id\\\": \\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"11ea3954-1026-4df2-9121-4daa7015ae90\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\n    \\\"accountKeys\\\": [\\n        {\\n            \\\"id\\\": \\\"2930718022414574861\\\",\\n            \\\"events\\\": [\\n                \\\"ACTIVE\\\",\\n                \\\"ACTIVE\\\"\\n            ]\\n        },\\n        {\\n            \\\"id\\\": \\\"2930718022414574861\\\",\\n            \\\"events\\\": [\\n                \\\"ACTIVE\\\",\\n                \\\"ACTIVE\\\"\\n            ]\\n        }\\n    ],\\n    \\\"lineIds\\\": [\\n        {\\n            \\\"id\\\": \\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"\\n        },\\n        {\\n            \\\"id\\\": \\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f2ebcb07-6226-49f6-a278-c33d4427b201\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\n    \\\"accountKeys\\\": [\\n        {\\n            \\\"id\\\": \\\"2930718022414574861\\\",\\n            \\\"events\\\": [\\n                \\\"ACTIVE\\\",\\n                \\\"ACTIVE\\\"\\n            ]\\n        },\\n        {\\n            \\\"id\\\": \\\"2930718022414574861\\\",\\n            \\\"events\\\": [\\n                \\\"ACTIVE\\\",\\n                \\\"ACTIVE\\\"\\n            ]\\n        }\\n    ],\\n    \\\"lineIds\\\": [\\n        {\\n            \\\"id\\\": \\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"\\n        },\\n        {\\n            \\\"id\\\": \\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"fe52ed36-ddf7-40b3-8133-ed1074f20c38\",\"name\":\"Query subscriptions on the given channel.\",\"request\":{\"name\":\"Query subscriptions on the given channel.\",\"description\":{\"content\":\"Retrieves the subscriptions on the given channel.\\n\\n### Authentication Scopes\\n\\n`call-events.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\\nThe caller of this endpoint should be the owner of the channel provided.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"channelId\",\"value\":\"<string>\",\"description\":\"(Required) Notification channel identifier obtained through the [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"b4f795fa-4cae-4efb-bfc6-d24385ed6e74\",\"name\":\"The subscriptions on the given Notification Channel\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"accountKeys\\\": [\\n  \\\"2930718022414574861\\\"\\n ],\\n \\\"lineIds\\\": [\\n  \\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a7b9e252-7655-4e62-a011-890ecea708d9\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2b70f0a6-afdc-4c0a-ad3b-d897c6b73e70\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"165a38b0-5ee7-4620-8b10-2308eac796ba\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5dab22e4-9243-4402-a953-3e40f0d95bf6\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"04b8464b-de2f-46cb-9663-b0bc12751970\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"b01a15d3-5914-4411-8e40-0481c9180c91\",\"name\":\"Delete subscriptions on the given channel\",\"request\":{\"name\":\"Delete subscriptions on the given channel\",\"description\":{\"content\":\"\\nDeletes the subscriptions on the given channel.\\n\\n**Important:** when no `accountKey` or `lineId` is provided then all of the subscriptions\\nassociated to call events for the given channel will be removed.\\n\\n### Authentication Scopes\\n\\n`call-events.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\\nThe caller of this endpoint should be the owner of the channel provided.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"channelId\",\"value\":\"<string>\",\"description\":\"(Required) Notification channel identifier obtained through the [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"Account keys to unsubscribe.\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"Account keys to unsubscribe.\"},{\"disabled\":false,\"key\":\"lineId\",\"value\":\"<string>\",\"description\":\"Line id.\\nThe caller must use a token that have permission to access the line listed.\"},{\"disabled\":false,\"key\":\"lineId\",\"value\":\"<string>\",\"description\":\"Line id.\\nThe caller must use a token that have permission to access the line listed.\"}],\"variable\":[]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"2223de5d-608d-4975-a27d-c00095834f91\",\"name\":\"The subscriptions were successfully removed on the given Notification Channel\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"27aa55dc-5a87-4f6e-8e1e-92a54b60e327\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e11fb78b-b792-479f-aba0-2a47752025b9\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c8398b88-eef1-4b7b-a3aa-54258cf10290\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c43a13f2-51ec-4a2c-acfd-fc10f2aad414\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7c9e3a80-22cb-418b-b2ec-bc19f4decb8e\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"},{\"key\":\"lineId\",\"value\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"0a9b3785-1d60-47e8-922e-099fedea6da7\",\"name\":\"call-events-report/v1\",\"item\":[{\"id\":\"5ad438d9-1795-40b3-8b95-1599d5538549\",\"name\":\"Retrieves completed call summaries\",\"request\":{\"name\":\"Retrieves completed call summaries\",\"description\":{\"content\":\"Retrieves the completed call (conversation space) summaries associated with either accounts,\\nphone numbers, users or lines.\\n\\nThe `accountKey`, `lineId`, `phoneNumberId`, `userKey` parameters are mutually exclusive. Only one of them can be provided.\\n\\nThe summary provides faster access to commonly used call information suitable for building\\nlists. To retrieve the complete details of a given call summary entry, use the\\n`/reports/{conversationSpaceId}` endpoint.\\n\\nBoth `startTime` and `endTime` are required parameters. The maximum time range is 31 days.\\n\\n### Authentication Scopes\\n\\n`cr.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-events-report\",\"v1\",\"report-summaries\"],\"host\":[\"{{call-events-report-v1-report-summaries-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"The caller must use a token that have permission to access the accounts listed.\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"The caller must use a token that have permission to access the accounts listed.\"},{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"\\nThe caller must use a token that has permission to access the users listed.\\n\"},{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"\\nThe caller must use a token that has permission to access the users listed.\\n\"},{\"disabled\":false,\"key\":\"phoneNumberId\",\"value\":\"<string>\",\"description\":\"\\nThe caller must use a token that has permission to access the phone numbers listed.\\n\"},{\"disabled\":false,\"key\":\"phoneNumberId\",\"value\":\"<string>\",\"description\":\"\\nThe caller must use a token that has permission to access the phone numbers listed.\\n\"},{\"disabled\":false,\"key\":\"lineId\",\"value\":\"<string>\",\"description\":\"\\nThe caller must use a token that has permission to access the lines listed.\\n\"},{\"disabled\":false,\"key\":\"lineId\",\"value\":\"<string>\",\"description\":\"\\nThe caller must use a token that has permission to access the lines listed.\\n\"},{\"disabled\":false,\"key\":\"virtualParticipantId\",\"value\":\"<string>\",\"description\":\"\\nThe caller must use a token that has permission to access the virtual participants listed.\\nThis is evaluated if the given token gives access to the organization in which the virtual participant resides.\\n\"},{\"disabled\":false,\"key\":\"virtualParticipantId\",\"value\":\"<string>\",\"description\":\"\\nThe caller must use a token that has permission to access the virtual participants listed.\\nThis is evaluated if the given token gives access to the organization in which the virtual participant resides.\\n\"},{\"disabled\":false,\"key\":\"startTime\",\"value\":\"<dateTime>\",\"description\":\"(Required) The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"endTime\",\"value\":\"<dateTime>\",\"description\":\"(Required) The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\"},{\"disabled\":false,\"key\":\"conversationScope\",\"value\":\"<string>\",\"description\":\"Enum to filter reports based on the participants in the conversation.\\n\\nA conversation is internal when none of its participants are of type `PHONE_NUMBER`, even when a user dials a phone number that belongs to the same organization.\\nA conversation is external as soon as even a single participant is of the type `PHONE_NUMBER`.\\n\"},{\"disabled\":false,\"key\":\"conversationCallerOutcome\",\"value\":\"<string>\",\"description\":\"Enum to filter reports based on the outcome of the conversation, from the point of view of the caller.\\n\\n- `NORMAL` when either the caller or the callee hangup the phone normally, while connected to each other.\\n- `MISSED` when the caller hangup the phone while attempting to reach the callee (even if the caller initially\\nreached someone and subsequently got transferred to another line/phone number).\\n- `VOICEMAIL` when the caller hangs up while in a voicemail system, either after leaving a message or just in the automated announcement.\\n- `LEFT_QUEUE` when the caller has hung up while in a queue.\\n- `LEFT_PARKING_SPOT` when the caller has hung up while parked.\\n- `LEFT_ON_HOLD` when the caller has hung up while being on hold.\\n- `LEFT_DIAL_PLAN` when the caller's call ended while being inside a dial plan (either terminated by the dial plan or by hanging up).\\n- `TRUNCATED` when the conversation length is over 250 events and the caller's outcome cannot be determined.\\n- `UNKNOWN` in all other cases and historical data before the field was created.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"100\",\"description\":\"Maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The opaque identifier representing a valid marker for the desired page. The value of `nextPageMarker` from a response SHOULD be used to get the next batch of results. During each subsequent pagination request, all other effective query arguments must be left unchanged otherwise the request will fail with a 403. The only exception is `pageSize` which is free to change across pagination requests.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"960634e5-69f5-406a-89d6-3ec8319241c3\",\"name\":\"Successfully retrieved matching summaries of completed calls.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"report-summaries\"],\"host\":[\"{{call-events-report-v1-report-summaries-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"virtualParticipantId\",\"value\":\"7e5fb305-5ec7-47c4-bf3b-4ee578264314\"},{\"key\":\"virtualParticipantId\",\"value\":\"7e5fb305-5ec7-47c4-bf3b-4ee578264314\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"conversationScope\",\"value\":\"INTERNAL\"},{\"key\":\"conversationCallerOutcome\",\"value\":\"NORMAL\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"pageSize\\\": 250,\\n \\\"items\\\": [\\n  {\\n   \\\"conversationSpaceId\\\": \\\"43643517-5c98-4102-942f-882d86a4a0fa\\\",\\n   \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n   \\\"callCreated\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n   \\\"callEnded\\\": \\\"2022-04-26T18:15:50.147Z\\\",\\n   \\\"callInitiator\\\": \\\"DIRECT\\\",\\n   \\\"direction\\\": \\\"INBOUND\\\",\\n   \\\"caller\\\": {\\n    \\\"name\\\": \\\"John Doe\\\",\\n    \\\"number\\\": \\\"1000\\\",\\n    \\\"type\\\": {\\n     \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n     \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n     \\\"number\\\": \\\"+19881234567\\\",\\n     \\\"name\\\": \\\"Sales Phone Number\\\",\\n     \\\"contact\\\": {\\n      \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\"\\n     },\\n     \\\"callProvider\\\": \\\"PSTN\\\"\\n    },\\n    \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n    \\\"recordingId\\\": \\\"39040a62-1956-4474-a68a-fc827849bc7b\\\",\\n    \\\"liveTranscriptId\\\": \\\"ecc273c3-4d02-47b5-a97e-7c728c995503\\\"\\n   },\\n   \\\"callerOutcome\\\": \\\"NORMAL\\\",\\n   \\\"participants\\\": [\\n    {\\n     \\\"name\\\": \\\"John Doe\\\",\\n     \\\"number\\\": \\\"1000\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n      \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n      \\\"number\\\": \\\"+19881234567\\\",\\n      \\\"name\\\": \\\"Sales Phone Number\\\",\\n      \\\"contact\\\": {\\n       \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\"\\n      },\\n      \\\"callProvider\\\": \\\"PSTN\\\"\\n     },\\n     \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n     \\\"recordingId\\\": \\\"39040a62-1956-4474-a68a-fc827849bc7b\\\",\\n     \\\"liveTranscriptId\\\": \\\"ecc273c3-4d02-47b5-a97e-7c728c995503\\\"\\n    },\\n    {\\n     \\\"name\\\": \\\"John Doe\\\",\\n     \\\"number\\\": \\\"1000\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n      \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n      \\\"number\\\": \\\"+19881234567\\\",\\n      \\\"name\\\": \\\"Sales Phone Number\\\",\\n      \\\"contact\\\": {\\n       \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\"\\n      },\\n      \\\"callProvider\\\": \\\"PSTN\\\"\\n     },\\n     \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n     \\\"recordingId\\\": \\\"39040a62-1956-4474-a68a-fc827849bc7b\\\",\\n     \\\"liveTranscriptId\\\": \\\"ecc273c3-4d02-47b5-a97e-7c728c995503\\\"\\n    }\\n   ],\\n   \\\"callAnswered\\\": \\\"2022-04-26T18:15:00.147Z\\\",\\n   \\\"aiAnalysis\\\": {\\n    \\\"sentiment\\\": \\\"POSITIVE\\\",\\n    \\\"topics\\\": [\\n     \\\"billing issues\\\",\\n     \\\"wifi setup\\\"\\n    ],\\n    \\\"summary\\\": \\\"Customer called to report a billing issue and was transferred to the billing department for resolution.\\\",\\n    \\\"flags\\\": [\\n     \\\"billing issues\\\",\\n     \\\"items held at customs\\\"\\n    ],\\n    \\\"editedBy\\\": {\\n     \\\"userId\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"userKey\\\": \\\"2930718022414574861\\\"\\n    }\\n   }\\n  },\\n  {\\n   \\\"conversationSpaceId\\\": \\\"43643517-5c98-4102-942f-882d86a4a0fa\\\",\\n   \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n   \\\"callCreated\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n   \\\"callEnded\\\": \\\"2022-04-26T18:15:50.147Z\\\",\\n   \\\"callInitiator\\\": \\\"DIRECT\\\",\\n   \\\"direction\\\": \\\"INBOUND\\\",\\n   \\\"caller\\\": {\\n    \\\"name\\\": \\\"John Doe\\\",\\n    \\\"number\\\": \\\"1000\\\",\\n    \\\"type\\\": {\\n     \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n     \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n     \\\"number\\\": \\\"+19881234567\\\",\\n     \\\"name\\\": \\\"Sales Phone Number\\\",\\n     \\\"contact\\\": {\\n      \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\"\\n     },\\n     \\\"callProvider\\\": \\\"PSTN\\\"\\n    },\\n    \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n    \\\"recordingId\\\": \\\"39040a62-1956-4474-a68a-fc827849bc7b\\\",\\n    \\\"liveTranscriptId\\\": \\\"ecc273c3-4d02-47b5-a97e-7c728c995503\\\"\\n   },\\n   \\\"callerOutcome\\\": \\\"NORMAL\\\",\\n   \\\"participants\\\": [\\n    {\\n     \\\"name\\\": \\\"John Doe\\\",\\n     \\\"number\\\": \\\"1000\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n      \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n      \\\"number\\\": \\\"+19881234567\\\",\\n      \\\"name\\\": \\\"Sales Phone Number\\\",\\n      \\\"contact\\\": {\\n       \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\"\\n      },\\n      \\\"callProvider\\\": \\\"PSTN\\\"\\n     },\\n     \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n     \\\"recordingId\\\": \\\"39040a62-1956-4474-a68a-fc827849bc7b\\\",\\n     \\\"liveTranscriptId\\\": \\\"ecc273c3-4d02-47b5-a97e-7c728c995503\\\"\\n    },\\n    {\\n     \\\"name\\\": \\\"John Doe\\\",\\n     \\\"number\\\": \\\"1000\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n      \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n      \\\"number\\\": \\\"+19881234567\\\",\\n      \\\"name\\\": \\\"Sales Phone Number\\\",\\n      \\\"contact\\\": {\\n       \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\"\\n      },\\n      \\\"callProvider\\\": \\\"PSTN\\\"\\n     },\\n     \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n     \\\"recordingId\\\": \\\"39040a62-1956-4474-a68a-fc827849bc7b\\\",\\n     \\\"liveTranscriptId\\\": \\\"ecc273c3-4d02-47b5-a97e-7c728c995503\\\"\\n    }\\n   ],\\n   \\\"callAnswered\\\": \\\"2022-04-26T18:15:00.147Z\\\",\\n   \\\"aiAnalysis\\\": {\\n    \\\"sentiment\\\": \\\"POSITIVE\\\",\\n    \\\"topics\\\": [\\n     \\\"billing issues\\\",\\n     \\\"wifi setup\\\"\\n    ],\\n    \\\"summary\\\": \\\"Customer called to report a billing issue and was transferred to the billing department for resolution.\\\",\\n    \\\"flags\\\": [\\n     \\\"billing issues\\\",\\n     \\\"items held at customs\\\"\\n    ],\\n    \\\"editedBy\\\": {\\n     \\\"userId\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"userKey\\\": \\\"2930718022414574861\\\"\\n    }\\n   }\\n  }\\n ],\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1491626a-89e3-49e6-a4df-924617a942ae\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"report-summaries\"],\"host\":[\"{{call-events-report-v1-report-summaries-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"virtualParticipantId\",\"value\":\"7e5fb305-5ec7-47c4-bf3b-4ee578264314\"},{\"key\":\"virtualParticipantId\",\"value\":\"7e5fb305-5ec7-47c4-bf3b-4ee578264314\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"conversationScope\",\"value\":\"INTERNAL\"},{\"key\":\"conversationCallerOutcome\",\"value\":\"NORMAL\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ff5e377d-51d5-4a01-b6a7-16de1e813ce0\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"report-summaries\"],\"host\":[\"{{call-events-report-v1-report-summaries-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"virtualParticipantId\",\"value\":\"7e5fb305-5ec7-47c4-bf3b-4ee578264314\"},{\"key\":\"virtualParticipantId\",\"value\":\"7e5fb305-5ec7-47c4-bf3b-4ee578264314\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"conversationScope\",\"value\":\"INTERNAL\"},{\"key\":\"conversationCallerOutcome\",\"value\":\"NORMAL\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9f132a30-5121-4d95-802c-069cace95ba3\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"report-summaries\"],\"host\":[\"{{call-events-report-v1-report-summaries-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"virtualParticipantId\",\"value\":\"7e5fb305-5ec7-47c4-bf3b-4ee578264314\"},{\"key\":\"virtualParticipantId\",\"value\":\"7e5fb305-5ec7-47c4-bf3b-4ee578264314\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"conversationScope\",\"value\":\"INTERNAL\"},{\"key\":\"conversationCallerOutcome\",\"value\":\"NORMAL\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"392f9c2e-25a1-4123-b07d-666edc168f6c\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"report-summaries\"],\"host\":[\"{{call-events-report-v1-report-summaries-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"virtualParticipantId\",\"value\":\"7e5fb305-5ec7-47c4-bf3b-4ee578264314\"},{\"key\":\"virtualParticipantId\",\"value\":\"7e5fb305-5ec7-47c4-bf3b-4ee578264314\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"conversationScope\",\"value\":\"INTERNAL\"},{\"key\":\"conversationCallerOutcome\",\"value\":\"NORMAL\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"172fc6b3-3c97-4d27-9c43-3c332180dec0\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"report-summaries\"],\"host\":[\"{{call-events-report-v1-report-summaries-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"virtualParticipantId\",\"value\":\"7e5fb305-5ec7-47c4-bf3b-4ee578264314\"},{\"key\":\"virtualParticipantId\",\"value\":\"7e5fb305-5ec7-47c4-bf3b-4ee578264314\"},{\"key\":\"startTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"endTime\",\"value\":\"2020-01-01T00:01:00Z\"},{\"key\":\"conversationScope\",\"value\":\"INTERNAL\"},{\"key\":\"conversationCallerOutcome\",\"value\":\"NORMAL\"},{\"key\":\"pageSize\",\"value\":\"100\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"2340678c-f57f-4eab-9cbb-822d5ad86c87\",\"name\":\"Retrieves the events associated to the completed conversation.\",\"request\":{\"name\":\"Retrieves the events associated to the completed conversation.\",\"description\":{\"content\":\"Retrieves the events associated to the completed conversation as well as extra metadata information about the participant in the events\\nand the various resources (recordings, voicemails) generated by this conversation.\\n\\n### Authentication Scopes\\n\\n`cr.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-events-report\",\"v1\",\"reports\",\":conversationSpaceId\"],\"host\":[\"{{call-events-report-v1-reports-conversationSpaceId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"conversationSpaceId\",\"description\":\"(Required) Conversation space identifier, no result will be returned until the associated conversation space has terminated.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"2f2c8b2e-f96f-4eb1-b2a3-00889866517d\",\"name\":\"Successfully retrieved events of the conversation.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"reports\",\":conversationSpaceId\"],\"host\":[\"{{call-events-report-v1-reports-conversationSpaceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"conversationSpaceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"conversationSpaceId\\\": \\\"43643517-5c98-4102-942f-882d86a4a0fa\\\",\\n \\\"callCreated\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n \\\"callEnded\\\": \\\"2022-04-26T18:15:50.147Z\\\",\\n \\\"accountKey\\\": \\\"2930718022414574861\\\",\\n \\\"direction\\\": \\\"INBOUND\\\",\\n \\\"participants\\\": [\\n  {\\n   \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n   \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n   \\\"type\\\": {\\n    \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n    \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n    \\\"number\\\": \\\"+19881234567\\\",\\n    \\\"name\\\": \\\"Sales Phone Number\\\",\\n    \\\"caller\\\": {\\n     \\\"name\\\": \\\"Alice\\\",\\n     \\\"number\\\": \\\"+12345678945\\\"\\n    },\\n    \\\"callee\\\": {\\n     \\\"name\\\": \\\"Alice\\\",\\n     \\\"number\\\": \\\"+12345678945\\\"\\n    },\\n    \\\"callProvider\\\": \\\"PSTN\\\"\\n   },\\n   \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n   \\\"recordings\\\": [\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"transcriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    },\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"transcriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    }\\n   ],\\n   \\\"liveTranscripts\\\": [\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"postCallTranscriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    },\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"postCallTranscriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    }\\n   ]\\n  },\\n  {\\n   \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n   \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n   \\\"type\\\": {\\n    \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n    \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n    \\\"number\\\": \\\"+19881234567\\\",\\n    \\\"name\\\": \\\"Sales Phone Number\\\",\\n    \\\"caller\\\": {\\n     \\\"name\\\": \\\"Alice\\\",\\n     \\\"number\\\": \\\"+12345678945\\\"\\n    },\\n    \\\"callee\\\": {\\n     \\\"name\\\": \\\"Alice\\\",\\n     \\\"number\\\": \\\"+12345678945\\\"\\n    },\\n    \\\"callProvider\\\": \\\"PSTN\\\"\\n   },\\n   \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n   \\\"recordings\\\": [\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"transcriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    },\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"transcriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    }\\n   ],\\n   \\\"liveTranscripts\\\": [\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"postCallTranscriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    },\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"postCallTranscriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    }\\n   ]\\n  }\\n ],\\n \\\"callStates\\\": [\\n  {\\n   \\\"id\\\": \\\"e17957a3-c95e-423a-9af9-3179f0386bb2\\\",\\n   \\\"type\\\": \\\"ACTIVE\\\",\\n   \\\"sequenceNumber\\\": 5,\\n   \\\"timestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n   \\\"participants\\\": [\\n    {\\n     \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n      \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n      \\\"number\\\": \\\"+19881234567\\\",\\n      \\\"callProvider\\\": \\\"PSTN\\\",\\n      \\\"caller\\\": {\\n       \\\"name\\\": \\\"Alice\\\",\\n       \\\"number\\\": \\\"+12345678945\\\"\\n      },\\n      \\\"device\\\": {\\n       \\\"model\\\": \\\"aastra.3l1\\\",\\n       \\\"user\\\": {}\\n      }\\n     },\\n     \\\"recordings\\\": [\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      },\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      }\\n     ]\\n    },\\n    {\\n     \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n      \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n      \\\"number\\\": \\\"+19881234567\\\",\\n      \\\"callProvider\\\": \\\"PSTN\\\",\\n      \\\"caller\\\": {\\n       \\\"name\\\": \\\"Alice\\\",\\n       \\\"number\\\": \\\"+12345678945\\\"\\n      },\\n      \\\"device\\\": {\\n       \\\"model\\\": \\\"aastra.3l1\\\",\\n       \\\"user\\\": {}\\n      }\\n     },\\n     \\\"recordings\\\": [\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      },\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      }\\n     ]\\n    }\\n   ],\\n   \\\"recordings\\\": [\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"transcriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    },\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"transcriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    }\\n   ],\\n   \\\"interactiveVoiceResponseSystems\\\": [\\n    {\\n     \\\"id\\\": \\\"001b7ea9-956b-4be5-8601-ac2ab100fea9\\\",\\n     \\\"status\\\": {\\n      \\\"value\\\": \\\"CONNECTED\\\"\\n     },\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"et eiusmod magna Ut\\\"\\n     }\\n    },\\n    {\\n     \\\"id\\\": \\\"001b7ea9-956b-4be5-8601-ac2ab100fea9\\\",\\n     \\\"status\\\": {\\n      \\\"value\\\": \\\"CONNECTED\\\"\\n     },\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"sit aliquip\\\"\\n     }\\n    }\\n   ]\\n  },\\n  {\\n   \\\"id\\\": \\\"e17957a3-c95e-423a-9af9-3179f0386bb2\\\",\\n   \\\"type\\\": \\\"ACTIVE\\\",\\n   \\\"sequenceNumber\\\": 5,\\n   \\\"timestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n   \\\"participants\\\": [\\n    {\\n     \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n      \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n      \\\"number\\\": \\\"+19881234567\\\",\\n      \\\"callProvider\\\": \\\"PSTN\\\",\\n      \\\"caller\\\": {\\n       \\\"name\\\": \\\"Alice\\\",\\n       \\\"number\\\": \\\"+12345678945\\\"\\n      },\\n      \\\"device\\\": {\\n       \\\"model\\\": \\\"aastra.3l1\\\",\\n       \\\"user\\\": {}\\n      }\\n     },\\n     \\\"recordings\\\": [\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      },\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      }\\n     ]\\n    },\\n    {\\n     \\\"id\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"legId\\\": \\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"PHONE_NUMBER\\\",\\n      \\\"phoneNumberId\\\": \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\n      \\\"number\\\": \\\"+19881234567\\\",\\n      \\\"callProvider\\\": \\\"PSTN\\\",\\n      \\\"caller\\\": {\\n       \\\"name\\\": \\\"Alice\\\",\\n       \\\"number\\\": \\\"+12345678945\\\"\\n      },\\n      \\\"device\\\": {\\n       \\\"model\\\": \\\"aastra.3l1\\\",\\n       \\\"user\\\": {}\\n      }\\n     },\\n     \\\"recordings\\\": [\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      },\\n      {\\n       \\\"id\\\": \\\"65785\\\",\\n       \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"transcriptEnabled\\\": true,\\n       \\\"pauses\\\": [\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        },\\n        {\\n         \\\"pauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         },\\n         \\\"unpauseTimestamp\\\": {\\n          \\\"value\\\": \\\"<Error: Too many levels of nesting to fake this schema>\\\"\\n         }\\n        }\\n       ]\\n      }\\n     ]\\n    }\\n   ],\\n   \\\"recordings\\\": [\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"transcriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    },\\n    {\\n     \\\"id\\\": \\\"65785\\\",\\n     \\\"startTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n     \\\"transcriptEnabled\\\": true,\\n     \\\"pauses\\\": [\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      },\\n      {\\n       \\\"pauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n       \\\"unpauseTimestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\"\\n      }\\n     ]\\n    }\\n   ],\\n   \\\"interactiveVoiceResponseSystems\\\": [\\n    {\\n     \\\"id\\\": \\\"001b7ea9-956b-4be5-8601-ac2ab100fea9\\\",\\n     \\\"status\\\": {\\n      \\\"value\\\": \\\"CONNECTED\\\"\\n     },\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"ullamco cillum mollit\\\"\\n     }\\n    },\\n    {\\n     \\\"id\\\": \\\"001b7ea9-956b-4be5-8601-ac2ab100fea9\\\",\\n     \\\"status\\\": {\\n      \\\"value\\\": \\\"CONNECTED\\\"\\n     },\\n     \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n     \\\"type\\\": {\\n      \\\"value\\\": \\\"dolore consectetur dolor\\\"\\n     }\\n    }\\n   ]\\n  }\\n ],\\n \\\"callInitiator\\\": \\\"DIRECT\\\",\\n \\\"associatedConversations\\\": [\\n  \\\"c6b0e8a1-ec8b-4aac-8aeb-5016c290c176\\\"\\n ],\\n \\\"hangupOriginatorId\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n \\\"interactiveVoiceResponseSystems\\\": [\\n  {\\n   \\\"id\\\": \\\"001b7ea9-956b-4be5-8601-ac2ab100fea9\\\",\\n   \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n   \\\"type\\\": {\\n    \\\"value\\\": \\\"CALL_QUEUE\\\",\\n    \\\"queueId\\\": \\\"783f909e-b874-430a-9f11-87d361f19b81\\\",\\n    \\\"queueName\\\": \\\"Duis est eiusmod ullamco\\\",\\n    \\\"configuredWrapUpDuration\\\": 77269792,\\n    \\\"timestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n    \\\"callerLegId\\\": \\\"sed quis ad cillum\\\",\\n    \\\"leftQueueReason\\\": \\\"ut\\\",\\n    \\\"callbackOffered\\\": true,\\n    \\\"intents\\\": [\\n     {\\n      \\\"intent\\\": \\\"esse cillum sint\\\"\\n     },\\n     {\\n      \\\"intent\\\": \\\"in \\\"\\n     }\\n    ],\\n    \\\"callerWaitDuration\\\": 52591309\\n   }\\n  },\\n  {\\n   \\\"id\\\": \\\"001b7ea9-956b-4be5-8601-ac2ab100fea9\\\",\\n   \\\"originator\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n   \\\"type\\\": {\\n    \\\"value\\\": \\\"CALL_QUEUE\\\",\\n    \\\"queueId\\\": \\\"783f909e-b874-430a-9f11-87d361f19b81\\\",\\n    \\\"queueName\\\": \\\"culpa anim Duis sint\\\",\\n    \\\"configuredWrapUpDuration\\\": -28672978,\\n    \\\"timestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n    \\\"callerLegId\\\": \\\"Lorem nisi amet ei\\\",\\n    \\\"leftQueueReason\\\": \\\"eu est anim in\\\",\\n    \\\"callbackOffered\\\": true,\\n    \\\"intents\\\": [\\n     {\\n      \\\"intent\\\": \\\"culpa\\\"\\n     },\\n     {\\n      \\\"intent\\\": \\\"aute exercitation\\\"\\n     }\\n    ],\\n    \\\"callerWaitDuration\\\": -39529131\\n   }\\n  }\\n ],\\n \\\"aiAnalysis\\\": {\\n  \\\"sentiment\\\": \\\"POSITIVE\\\",\\n  \\\"topics\\\": [\\n   \\\"billing issues\\\",\\n   \\\"wifi setup\\\"\\n  ],\\n  \\\"summary\\\": \\\"Customer called to report a billing issue and was transferred to the billing department for resolution.\\\",\\n  \\\"flags\\\": [\\n   \\\"billing issues\\\",\\n   \\\"items held at customs\\\"\\n  ],\\n  \\\"editedBy\\\": {\\n   \\\"userId\\\": \\\"c2391570-8f23-4a22-86d5-d6ba278e7a33\\\",\\n   \\\"userKey\\\": \\\"2930718022414574861\\\"\\n  }\\n },\\n \\\"notes\\\": {\\n  \\\"disposition\\\": {\\n   \\\"name\\\": \\\"Sale completed\\\",\\n   \\\"category\\\": \\\"Garage sales\\\"\\n  },\\n  \\\"note\\\": \\\"The caller has mentioned they would like to be contacted next week for a follow-up.\\\",\\n  \\\"tags\\\": [\\n   {\\n    \\\"name\\\": \\\"Follow-up\\\"\\n   },\\n   {\\n    \\\"name\\\": \\\"Important\\\"\\n   }\\n  ]\\n },\\n \\\"actions\\\": [\\n  {\\n   \\\"timestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n   \\\"type\\\": {\\n    \\\"value\\\": \\\"KNOWLEDGE_SEARCH\\\",\\n    \\\"virtualParticipantId\\\": \\\"e17957a3-c95e-423a-9af9-3179f0386bb2\\\",\\n    \\\"query\\\": \\\"How to troubleshoot a car that won't start\\\",\\n    \\\"items\\\": [\\n     {\\n      \\\"article\\\": {\\n       \\\"id\\\": 1985,\\n       \\\"name\\\": \\\"Common issues related to ignition\\\"\\n      },\\n      \\\"collection\\\": {\\n       \\\"id\\\": 1057578,\\n       \\\"name\\\": \\\"Customer care\\\"\\n      }\\n     },\\n     {\\n      \\\"article\\\": {\\n       \\\"id\\\": 1985,\\n       \\\"name\\\": \\\"Common issues related to ignition\\\"\\n      },\\n      \\\"collection\\\": {\\n       \\\"id\\\": 1057578,\\n       \\\"name\\\": \\\"Customer care\\\"\\n      }\\n     }\\n    ]\\n   }\\n  },\\n  {\\n   \\\"timestamp\\\": \\\"2022-04-26T18:14:50.147Z\\\",\\n   \\\"type\\\": {\\n    \\\"value\\\": \\\"KNOWLEDGE_SEARCH\\\",\\n    \\\"virtualParticipantId\\\": \\\"e17957a3-c95e-423a-9af9-3179f0386bb2\\\",\\n    \\\"query\\\": \\\"How to troubleshoot a car that won't start\\\",\\n    \\\"items\\\": [\\n     {\\n      \\\"article\\\": {\\n       \\\"id\\\": 1985,\\n       \\\"name\\\": \\\"Common issues related to ignition\\\"\\n      },\\n      \\\"collection\\\": {\\n       \\\"id\\\": 1057578,\\n       \\\"name\\\": \\\"Customer care\\\"\\n      }\\n     },\\n     {\\n      \\\"article\\\": {\\n       \\\"id\\\": 1985,\\n       \\\"name\\\": \\\"Common issues related to ignition\\\"\\n      },\\n      \\\"collection\\\": {\\n       \\\"id\\\": 1057578,\\n       \\\"name\\\": \\\"Customer care\\\"\\n      }\\n     }\\n    ]\\n   }\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2c9ce0d5-e86d-46cf-8018-ae89834240b0\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"reports\",\":conversationSpaceId\"],\"host\":[\"{{call-events-report-v1-reports-conversationSpaceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"conversationSpaceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"37237697-7212-487a-8d78-fe781b482d11\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"reports\",\":conversationSpaceId\"],\"host\":[\"{{call-events-report-v1-reports-conversationSpaceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"conversationSpaceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ad44f48d-074d-480f-a2d8-34556f5796fd\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"reports\",\":conversationSpaceId\"],\"host\":[\"{{call-events-report-v1-reports-conversationSpaceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"conversationSpaceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"039842c6-ec05-487f-8d57-84c9b40d5984\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"reports\",\":conversationSpaceId\"],\"host\":[\"{{call-events-report-v1-reports-conversationSpaceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"conversationSpaceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"106d2c11-9fab-4cb0-8e03-3947002919e2\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"reports\",\":conversationSpaceId\"],\"host\":[\"{{call-events-report-v1-reports-conversationSpaceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"conversationSpaceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"058f22d3-6fb6-4d18-b6b8-1b0202876d91\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"reports\",\":conversationSpaceId\"],\"host\":[\"{{call-events-report-v1-reports-conversationSpaceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"conversationSpaceId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"ec945c11-9946-4b20-b5ef-a8603829a711\",\"name\":\"subscriptions\",\"item\":[{\"id\":\"0a9201da-e1d5-4197-a757-52373aa39809\",\"name\":\"Subscribe to the completion of a Report containing accounts or users or lines or phone numbers.\",\"request\":{\"name\":\"Subscribe to the completion of a Report containing accounts or users or lines or phone numbers.\",\"description\":{\"content\":\"\\nSubscribe to be notified when a new report is available.\\n\\n### Authentication Scopes\\n\\n`call-events.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\\nThe caller of this endpoint should be the owner of the channel provided.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"<string>\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"response\":[{\"id\":\"ce9aab16-a6df-4b04-bbcc-bc7bcaf7fcb5\",\"name\":\"The subscription request has succeeded and the subscriptions are returned.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"REPORT_SUMMARY\\\"\\n    ]\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"70120057-431d-4fad-add1-f9cacc409d54\\\",\\n   \\\"channelId\\\": \\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\n   \\\"value\\\": \\\"2930718022414574861\\\",\\n   \\\"eventTypes\\\": [\\n    \\\"REPORT_SUMMARY\\\"\\n   ]\\n  },\\n  {\\n   \\\"id\\\": \\\"70120057-431d-4fad-add1-f9cacc409d54\\\",\\n   \\\"channelId\\\": \\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\n   \\\"value\\\": \\\"2930718022414574861\\\",\\n   \\\"eventTypes\\\": [\\n    \\\"REPORT_SUMMARY\\\"\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f3167adc-ffce-44ab-8113-3d54f18e7789\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"REPORT_SUMMARY\\\"\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c2578662-2ff4-49ab-9e53-c5a856b84a10\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"REPORT_SUMMARY\\\"\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9d93a6b2-f747-4660-9c0a-047d253e5211\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"REPORT_SUMMARY\\\"\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"92809235-6258-4af1-a11f-4c8550618eaa\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"REPORT_SUMMARY\\\"\\n    ]\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"212c0a1a-2107-4c4a-b7a4-497c97d9e361\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"REPORT_SUMMARY\\\"\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"87337a44-4c3d-49c0-bdfd-1307860d1113\",\"name\":\"Query subscriptions on the given channel\",\"request\":{\"name\":\"Query subscriptions on the given channel\",\"description\":{\"content\":\"\\nRetrieves the subscriptions on the given channel.\\n\\n### Authentication Scopes\\n\\n`call-events.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\\nThe caller of this endpoint should be the owner of the channel provided.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"channelId\",\"value\":\"<string>\",\"description\":\"(Required) Notification channel identifier obtained through the [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\"},{\"disabled\":false,\"key\":\"eventType\",\"value\":\"<string>\",\"description\":\"The types of events that the caller wants to be notified about.\\nIf not provided, the caller will only be notified for `LEGACY` events to preserve backward compatibility.\\n\\n- `REPORT_SUMMARY` [report summary notification event format](#/components/schemas/CallEventsReportSummariesResponseItem).\\n  Notifications are sent when all elements of a report summary are available, so delays of up to 5 minutes are possible depending on the features and add-ons activated on the account.\\n\\n  Extra fields that can induce delays include:\\n    - [AI Analysis](#/components/schemas/AiAnalysis)\\n- `REPORT_SUMMARY_REVISION` [report summary revision notification event format](#/components/schemas/CallEventsReportSummaryRevision).\\n  Notifications are sent when a conversation ends and every time auxiliary content is made available for that conversation (as a new revision of the full summary payload).\\n  Auxiliary content leading to subsequent notifications can include:\\n    - Call recordings being processed and uploaded.\\n    - Call transcripts being processed and uploaded.\\n    - [AI Analysis](#/components/schemas/AiAnalysis).\\n- `LEGACY` legacy notification event format.\\n  Notifications are sent as soon as a report's call events are available, and have no guarantee to include all call events report elements.\\n  **Should only be used to support existing integrations.**\\n\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"b1e6a89d-6835-4be6-8102-c8c022550c37\",\"name\":\"The subscriptions on the given Notification Channel\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"eventType\",\"value\":\"REPORT_SUMMARY\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"accountKeys\\\": [\\n  \\\"2930718022414574861\\\"\\n ],\\n \\\"userKeys\\\": [\\n  \\\"2830558022414876543\\\"\\n ],\\n \\\"lineIds\\\": [\\n  \\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\"\\n ],\\n \\\"phoneNumberIds\\\": [\\n  \\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\"\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e01b8ed9-06e3-47d0-bd97-32050229d812\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"eventType\",\"value\":\"REPORT_SUMMARY\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2bb5cc4e-2288-4bd9-ac75-81e48d000634\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"eventType\",\"value\":\"REPORT_SUMMARY\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"dc7614cc-52ed-4afc-94b6-f500aa448d2f\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"eventType\",\"value\":\"REPORT_SUMMARY\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1bc6b896-53ed-4ace-a6ef-5fe48bd769bd\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"eventType\",\"value\":\"REPORT_SUMMARY\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7884fe4d-951f-4861-98e5-4516f0beae91\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"eventType\",\"value\":\"REPORT_SUMMARY\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"af6d6eca-f740-4064-9b4b-58bdbaf96017\",\"name\":\"Delete subscriptions on the given channel\",\"request\":{\"name\":\"Delete subscriptions on the given channel\",\"description\":{\"content\":\"\\nDeletes the subscriptions on the given channel.\\n\\n**Important:** when none of the `accountKey`/`userKey`/`lineId`/`phoneNumberId` is provided then all of the subscriptions\\nassociated to call events Reports for the given channel will be removed.\\n\\n### Authentication Scopes\\n\\n`call-events.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\\nThe caller of this endpoint should be the owner of the channel provided.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"channelId\",\"value\":\"<string>\",\"description\":\"(Required) Notification channel identifier obtained through the [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"The caller must use a token that have permission to access the accounts listed.\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"The caller must use a token that have permission to access the accounts listed.\"},{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"\\nThe caller must use a token that has permission to access the users listed.\\n\"},{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"\\nThe caller must use a token that has permission to access the users listed.\\n\"},{\"disabled\":false,\"key\":\"phoneNumberId\",\"value\":\"<string>\",\"description\":\"\\nThe caller must use a token that has permission to access the phone numbers listed.\\n\"},{\"disabled\":false,\"key\":\"phoneNumberId\",\"value\":\"<string>\",\"description\":\"\\nThe caller must use a token that has permission to access the phone numbers listed.\\n\"},{\"disabled\":false,\"key\":\"lineId\",\"value\":\"<string>\",\"description\":\"\\nThe caller must use a token that has permission to access the lines listed.\\n\"},{\"disabled\":false,\"key\":\"lineId\",\"value\":\"<string>\",\"description\":\"\\nThe caller must use a token that has permission to access the lines listed.\\n\"},{\"disabled\":false,\"key\":\"eventType\",\"value\":\"<string>\",\"description\":\"The types of events that the caller wants to be notified about.\\nIf not provided, the caller will only be notified for `LEGACY` events to preserve backward compatibility.\\n\\n- `REPORT_SUMMARY` [report summary notification event format](#/components/schemas/CallEventsReportSummariesResponseItem).\\n  Notifications are sent when all elements of a report summary are available, so delays of up to 5 minutes are possible depending on the features and add-ons activated on the account.\\n\\n  Extra fields that can induce delays include:\\n    - [AI Analysis](#/components/schemas/AiAnalysis)\\n- `REPORT_SUMMARY_REVISION` [report summary revision notification event format](#/components/schemas/CallEventsReportSummaryRevision).\\n  Notifications are sent when a conversation ends and every time auxiliary content is made available for that conversation (as a new revision of the full summary payload).\\n  Auxiliary content leading to subsequent notifications can include:\\n    - Call recordings being processed and uploaded.\\n    - Call transcripts being processed and uploaded.\\n    - [AI Analysis](#/components/schemas/AiAnalysis).\\n- `LEGACY` legacy notification event format.\\n  Notifications are sent as soon as a report's call events are available, and have no guarantee to include all call events report elements.\\n  **Should only be used to support existing integrations.**\\n\"}],\"variable\":[]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"6cef0b8b-6d27-4260-84f3-63399e5a002f\",\"name\":\"The subscriptions were successfully removed on the given Notification Channel\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"eventType\",\"value\":\"REPORT_SUMMARY\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"45793411-e7b4-4709-ba9c-acfe6058802e\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"eventType\",\"value\":\"REPORT_SUMMARY\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a180060c-a993-4e6e-827d-1ec4bd002f06\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"eventType\",\"value\":\"REPORT_SUMMARY\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5191d834-57d8-47a1-b1bc-cc584ccb6c5b\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"eventType\",\"value\":\"REPORT_SUMMARY\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3340756e-a1b9-4e07-bcb3-085ea0512c3b\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"eventType\",\"value\":\"REPORT_SUMMARY\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2d79655d-e47b-4e2d-a3d3-ae125224f754\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"eventType\",\"value\":\"REPORT_SUMMARY\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4a0032e5-3012-4d0a-bbd6-05c787170af8\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-events-report\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-events-report-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"accountKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"userKey\",\"value\":\"2930718022414574861\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"phoneNumberId\",\"value\":\"afa67cca-c089-4ac6-a791-95d87cdea7dc\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"lineId\",\"value\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\"},{\"key\":\"eventType\",\"value\":\"REPORT_SUMMARY\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"cc44faec-b65d-4bde-bf71-9e2d0f9ace12\",\"name\":\"call-parking/v1\",\"item\":[{\"id\":\"975eec8d-5276-4e9d-a9e3-72cb83b0d79a\",\"name\":\"Get parked calls for an organization\\n\",\"request\":{\"name\":\"Get parked calls for an organization\\n\",\"description\":{\"content\":\"Retrieve the list of parked calls for an organization. If the user represented by the access token only belongs to a single organization, this organization will be taken. If the user represented by the access token belongs to more than one organization, you MUST pass an organizationId. <br/>\\nIf the `scope` query param is provided, the call parked list will be filtered to only return either the `PERSONAL` spot or the `ORGANIZATION` spot.\\n### Authentication Scopes\\n`call-parking.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-parking\",\"v1\",\"parked-calls\"],\"host\":[\"{{call-parking-v1-parked-calls-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"scope\",\"value\":\"ORGANIZATION\",\"description\":\"Scope to filter the call parking.\"},{\"disabled\":false,\"key\":\"organizationId\",\"value\":\"<string>\",\"description\":\"(Required) ID of the organization.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"cda9318c-61e7-4e76-9441-0b5fcef9e50d\",\"name\":\"Array of parked calls\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"parked-calls\"],\"host\":[\"{{call-parking-v1-parked-calls-Url}}\"],\"query\":[{\"key\":\"scope\",\"value\":\"PERSONAL\"},{\"key\":\"organizationId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"parkingSpot\\\": \\\"ea veniam\\\",\\n   \\\"callParked\\\": {\\n    \\\"name\\\": \\\"sed pariatur\\\",\\n    \\\"number\\\": \\\"incididunt ullamco fugiat reprehenderit anim\\\"\\n   },\\n   \\\"callParkedBy\\\": {\\n    \\\"name\\\": \\\"reprehenderit esse aliquip voluptate\\\",\\n    \\\"number\\\": \\\"commodo ut nostrud incididunt\\\"\\n   },\\n   \\\"parkTime\\\": \\\"1992-08-31T02:02:05.337Z\\\"\\n  },\\n  {\\n   \\\"parkingSpot\\\": \\\"aliqua in ullamco aliquip\\\",\\n   \\\"callParked\\\": {\\n    \\\"name\\\": \\\"magna dolore anim in\\\",\\n    \\\"number\\\": \\\"laborum\\\"\\n   },\\n   \\\"callParkedBy\\\": {\\n    \\\"name\\\": \\\"occaecat aliquip tempor non et\\\",\\n    \\\"number\\\": \\\"in minim Lorem magna sunt\\\"\\n   },\\n   \\\"parkTime\\\": \\\"1955-12-02T00:52:27.312Z\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c3c9679b-578b-4959-857a-38f7157cb157\",\"name\":\"The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\\n* BAD_REQUEST - The request is not valid.\\n* MANDATORY_ORGANIZATION_ID - organizationId must be set\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"parked-calls\"],\"host\":[\"{{call-parking-v1-parked-calls-Url}}\"],\"query\":[{\"key\":\"scope\",\"value\":\"PERSONAL\"},{\"key\":\"organizationId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"364db39e-95a4-4c9f-a129-1b06f0761e3b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"parked-calls\"],\"host\":[\"{{call-parking-v1-parked-calls-Url}}\"],\"query\":[{\"key\":\"scope\",\"value\":\"PERSONAL\"},{\"key\":\"organizationId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"09149983-42d5-4776-bc9b-1878a28e58fe\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"parked-calls\"],\"host\":[\"{{call-parking-v1-parked-calls-Url}}\"],\"query\":[{\"key\":\"scope\",\"value\":\"PERSONAL\"},{\"key\":\"organizationId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0b141689-41f7-493d-88be-da39502cacda\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"parked-calls\"],\"host\":[\"{{call-parking-v1-parked-calls-Url}}\"],\"query\":[{\"key\":\"scope\",\"value\":\"PERSONAL\"},{\"key\":\"organizationId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"d40b54df-3ae3-4b31-96fe-261e37bbe831\",\"name\":\"Get the call parking permission of the current user\\n\",\"request\":{\"name\":\"Get the call parking permission of the current user\\n\",\"description\":{\"content\":\"Retrieve the permission (FULL, PARTIAL or NONE) of the current user for a specific organization. The user is represented by the access token provided.\\n\\nIf the permission is FULL, the user has access to : <ol>\\n  <li> the parking spot number </li>\\n  <li> the number of the parked person (person waiting in the parking spot) </li>\\n  <li> the name/caller ID of the parked person </li>\\n  <li> the timestamp of the time when the call has been parked </li>\\n  <li> the PARKED FOR value (who the call has been transferred to) </li>\\n  <li> the PARKED BY value (who parked the call) </li>\\n</ol>\\n\\nIf the permission is PARTIAL, the user has access to : <ol>\\n  <li> the parking spot number </li>\\n  <li> the timestamp of the time when the call has been parked </li>\\n</ol>\\nNOTE: The user can always access the full information of the calls they parked, even if they have PARTIAL or NONE permissions <br/><br/>\\n\\n### Authentication Scopes\\n`call-parking.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-parking\",\"v1\",\"organizations\",\":organizationId\",\"permission\"],\"host\":[\"{{call-parking-v1-organizations-organizationId-permission-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"organizationId\",\"description\":\"(Required) The unique identifier of the Organization to subscribe to.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"a07c4bb9-ff93-4acd-8bdf-5294a52c5cca\",\"name\":\"FULL, PARTIAL or NONE permission\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"organizations\",\":organizationId\",\"permission\"],\"host\":[\"{{call-parking-v1-organizations-organizationId-permission-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"organizationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"permission\\\": \\\"PARTIAL\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a1dc28d4-8ad5-4056-9d7b-39306db3c42b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"organizations\",\":organizationId\",\"permission\"],\"host\":[\"{{call-parking-v1-organizations-organizationId-permission-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"organizationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"83759cee-9fb9-4808-8963-dfddd7d0f5b5\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"organizations\",\":organizationId\",\"permission\"],\"host\":[\"{{call-parking-v1-organizations-organizationId-permission-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"organizationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2466fff5-1796-4952-81c4-b6327e699841\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"organizations\",\":organizationId\",\"permission\"],\"host\":[\"{{call-parking-v1-organizations-organizationId-permission-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"organizationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"821bda23-8530-40ed-82d2-0c7f6c4f2f28\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"organizations\",\":organizationId\",\"permission\"],\"host\":[\"{{call-parking-v1-organizations-organizationId-permission-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"organizationId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"eb5adf68-6091-4c15-b69c-1c5565eb6604\",\"name\":\"subscriptions\",\"item\":[{\"id\":\"47241575-9e21-4d9b-bb24-b8089743e326\",\"name\":\"Create a subscription for a given organization.\\n\",\"request\":{\"name\":\"Create a subscription for a given organization.\\n\",\"description\":{\"content\":\"Create a subscription for the user defined in the authorization token. The subscription activates notifications towards the provided notification channel ID.<br/> <br/> If absent, the  default value for scopes is `[\\\"PERSONAL\\\", \\\"ORGANIZATION\\\"]`.<br/> <br/> The response body `scopes` may differ from the input `scopes`. This list will contain the intersection of requested and authorized scopes.<br /> <br/> For example, if PERSONAL and ORGANIZATION are requested:<br/> - If the user has FULL or PARTIAL permissions, the list contains ORGANIZATION and PERSONAL scopes.<br/> - If the user has NONE permission, the list contains PERSONAL scope only<br/>\\n\\n### Authentication Scopes\\n`call-parking.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-parking-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"<string>\\\",\\n    \\\"channelId\\\": \\\"<string>\\\",\\n    \\\"scopes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"response\":[{\"id\":\"8e522a50-f7e3-494e-bbbf-48a18125eb8e\",\"name\":\"The successfully created subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-parking-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"scopes\\\": [\\n        \\\"PERSONAL\\\",\\n        \\\"ORGANIZATION\\\"\\n    ]\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"reprehenderit cupidatat ut\\\",\\n \\\"organizationId\\\": \\\"5e8fe931-e62c-4631-aeba-540c74a29ddd\\\",\\n \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n \\\"scopes\\\": [\\n  \\\"PERSONAL\\\",\\n  \\\"PERSONAL\\\"\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"76c6ab7d-4a3a-439a-9060-c4e0e7336d86\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-parking-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"scopes\\\": [\\n        \\\"PERSONAL\\\",\\n        \\\"ORGANIZATION\\\"\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9e393521-6cc3-47cb-8810-ab944f7a50b6\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-parking-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"scopes\\\": [\\n        \\\"PERSONAL\\\",\\n        \\\"ORGANIZATION\\\"\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ba3a685e-5ef3-4c3f-b8bb-06e6d69047d2\",\"name\":\"The `organizationId` or `channelId` doesn't belong to this user and/or doesn't exist; or the user has insufficient/no permission.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-parking-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"scopes\\\": [\\n        \\\"PERSONAL\\\",\\n        \\\"ORGANIZATION\\\"\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5b315b22-50c8-49e2-90a2-c7648a25d184\",\"name\":\"If a subscription already exists for this given channelId, organizationId and user, defined by the authorization token, a 409 Conflict will be returned.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-parking-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"scopes\\\": [\\n        \\\"PERSONAL\\\",\\n        \\\"ORGANIZATION\\\"\\n    ]\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"659ece8f-2cb4-42b4-b0fb-c6e3b2e570ae\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-parking-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"scopes\\\": [\\n        \\\"PERSONAL\\\",\\n        \\\"ORGANIZATION\\\"\\n    ]\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9a1a4fc3-b173-4799-9a18-10922782e83c\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-parking-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"scopes\\\": [\\n        \\\"PERSONAL\\\",\\n        \\\"ORGANIZATION\\\"\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d467a7d3-4371-4a30-bd3e-4c8049b42e7c\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\"],\"host\":[\"{{call-parking-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"scopes\\\": [\\n        \\\"PERSONAL\\\",\\n        \\\"ORGANIZATION\\\"\\n    ]\\n}\"}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]},{\"id\":\"9c729524-85f3-4313-a7e5-4333f763303d\",\"name\":\"Delete a subscription\",\"request\":{\"name\":\"Delete a subscription\",\"description\":{\"content\":\"Delete a subscription for a desired organization where the user is defined in the authorization token.<br/>\\n### Authentication Scopes\\n`call-parking.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-parking-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"subscriptionId\",\"description\":\"(Required) The subscription's unique identifier.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"c9d1aa7c-5d0e-4287-954f-d3ee1ebf4c04\",\"name\":\"Successfully removed the subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-parking-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"153f7101-935c-4d68-924d-de1164190abe\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-parking-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7e0f5960-9035-4e2f-a0fe-b962fe836442\",\"name\":\"The provided `subscriptionId` doesn't exist or the subscription doesn't belong to the provided user, defined by either the authorization token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-parking-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7b1d82b2-c708-4452-aaef-8bdab0b34c1c\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-parking-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4c114132-fe34-4908-9a24-f174704e1d84\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-parking-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"370d6d3b-7d46-4add-bb3f-67ee532ab9e3\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"call-parking\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{call-parking-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"4a8d7efd-1005-4929-ad27-628260c3674a\",\"name\":\"contact-center-analytics/v1/accounts/{account Key}\",\"item\":[{\"id\":\"4ec5beca-1650-4966-9fa2-4f6febefc3b2\",\"name\":\"Get Queue Caller Details\",\"request\":{\"name\":\"Get Queue Caller Details\",\"description\":{\"content\":\"Retrieves detailed queue caller information within a given time range and organization.\\nResults can be filtered by specific call queue IDs and a time range defined by start and end times.\\nThe start time (inclusive) and end time (exclusive) follow the ISO 8601 datetime format. Only the UTC time zone is accepted. \\nThe start time must not be older than 13 months from the current date.\\n\\n### How pagination works\\n\\nTo start a query, first call this endpoint without a `pageMarker` and optionally set the\\n`pageSize` to the number of items you want per page (for example, `10`).\\nThe presence of `nextPageMarker` in a response indicates that more results are available to\\nbe fetched. To obtain further pages, send a new request with the `pageMarker` parameter set\\nto the value of `nextPageMarker`. Page markers remain available for ten minutes after the response is sent.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-caller-details\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-caller-details-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"accountKey\",\"description\":\"(Required) The key of the account (organization). You can use the [Admin API](/admin#tag/Me) to find account keys.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"<dateTime>\\\",\\n    \\\"endTime\\\": \\\"<dateTime>\\\",\\n    \\\"queueIds\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"pageSize\\\": 500,\\n    \\\"pageMarker\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"b5cef306-4b5d-45a2-97e3-938840efa3bb\",\"name\":\"Successful response\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-caller-details\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-caller-details-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00Z\\\",\\n    \\\"queueIds\\\": [\\n        \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"\\n    ],\\n    \\\"pageSize\\\": 500,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"startTime\\\": \\\"2025-06-03T14:59:58.580Z\\\",\\n   \\\"conversationSpaceIds\\\": [\\n    \\\"d91f0c7c-893e-4b1f-a52f-c8d3ae2355b1\\\"\\n   ],\\n   \\\"outcome\\\": \\\"HANDLED\\\",\\n   \\\"callOutcome\\\": \\\"HANDLED\\\",\\n   \\\"mediaType\\\": \\\"PHONE\\\",\\n   \\\"direction\\\": \\\"INBOUND\\\",\\n   \\\"callbackOffered\\\": false,\\n   \\\"callbackRequested\\\": false,\\n   \\\"leftQueueReason\\\": \\\"JOINED_EMPTY\\\",\\n   \\\"dialedNumber\\\": \\\"+15555555555\\\",\\n   \\\"dialedNumberName\\\": \\\"Support Main\\\",\\n   \\\"smsSent\\\": false,\\n   \\\"talkDuration\\\": 9271,\\n   \\\"duration\\\": 17802,\\n   \\\"waitTime\\\": 8531,\\n   \\\"agentRingTime\\\": 4,\\n   \\\"metServiceLevel\\\": \\\"YES\\\",\\n   \\\"caller\\\": {\\n    \\\"legId\\\": \\\"8ab089d6-d44f-4144-9a77-afc08d0928c1\\\",\\n    \\\"name\\\": \\\"John Doe\\\",\\n    \\\"number\\\": \\\"1018\\\"\\n   },\\n   \\\"queue\\\": {\\n    \\\"id\\\": \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\",\\n    \\\"name\\\": \\\"#1022 Queue CC Demo\\\"\\n   },\\n   \\\"agent\\\": {\\n    \\\"name\\\": \\\"Bob Dylan\\\"\\n   },\\n   \\\"disposition\\\": {\\n    \\\"id\\\": \\\"d91f0c7c-893e-4b1f-a52f-c8d3ae2355b1\\\",\\n    \\\"name\\\": \\\"Sales closed\\\",\\n    \\\"category\\\": \\\"Sales\\\"\\n   },\\n   \\\"tags\\\": [\\n    {\\n     \\\"id\\\": \\\"18a4ba62-c9f5-44f3-88b3-a9d9157de515\\\",\\n     \\\"name\\\": \\\"Tag 1\\\"\\n    },\\n    {\\n     \\\"id\\\": \\\"18a4ba62-c9f5-44f3-88b3-a9d9157de515\\\",\\n     \\\"name\\\": \\\"Tag 1\\\"\\n    }\\n   ],\\n   \\\"aiAnalytics\\\": {\\n    \\\"sentiment\\\": \\\"POSITIVE\\\",\\n    \\\"topics\\\": [\\n     \\\"wifi\\\",\\n     \\\"trade show\\\",\\n     \\\"general question\\\",\\n     \\\"pet\\\"\\n    ],\\n    \\\"topicFlagsNames\\\": [\\n     \\\"Billing\\\",\\n     \\\"Escalation\\\"\\n    ],\\n    \\\"topicFlagsIds\\\": [\\n     \\\"a001cb29-a2c4-47a1-ba66-7d08a12459e9\\\"\\n    ]\\n   },\\n   \\\"aiReceptionist\\\": {\\n    \\\"involvement\\\": true,\\n    \\\"outcome\\\": \\\"HANDLED\\\"\\n   }\\n  },\\n  {\\n   \\\"startTime\\\": \\\"2025-06-03T14:59:58.580Z\\\",\\n   \\\"conversationSpaceIds\\\": [\\n    \\\"d91f0c7c-893e-4b1f-a52f-c8d3ae2355b1\\\"\\n   ],\\n   \\\"outcome\\\": \\\"HANDLED\\\",\\n   \\\"callOutcome\\\": \\\"HANDLED\\\",\\n   \\\"mediaType\\\": \\\"PHONE\\\",\\n   \\\"direction\\\": \\\"INBOUND\\\",\\n   \\\"callbackOffered\\\": false,\\n   \\\"callbackRequested\\\": false,\\n   \\\"leftQueueReason\\\": \\\"JOINED_EMPTY\\\",\\n   \\\"dialedNumber\\\": \\\"+15555555555\\\",\\n   \\\"dialedNumberName\\\": \\\"Support Main\\\",\\n   \\\"smsSent\\\": false,\\n   \\\"talkDuration\\\": 9271,\\n   \\\"duration\\\": 17802,\\n   \\\"waitTime\\\": 8531,\\n   \\\"agentRingTime\\\": 4,\\n   \\\"metServiceLevel\\\": \\\"YES\\\",\\n   \\\"caller\\\": {\\n    \\\"legId\\\": \\\"8ab089d6-d44f-4144-9a77-afc08d0928c1\\\",\\n    \\\"name\\\": \\\"John Doe\\\",\\n    \\\"number\\\": \\\"1018\\\"\\n   },\\n   \\\"queue\\\": {\\n    \\\"id\\\": \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\",\\n    \\\"name\\\": \\\"#1022 Queue CC Demo\\\"\\n   },\\n   \\\"agent\\\": {\\n    \\\"name\\\": \\\"Bob Dylan\\\"\\n   },\\n   \\\"disposition\\\": {\\n    \\\"id\\\": \\\"d91f0c7c-893e-4b1f-a52f-c8d3ae2355b1\\\",\\n    \\\"name\\\": \\\"Sales closed\\\",\\n    \\\"category\\\": \\\"Sales\\\"\\n   },\\n   \\\"tags\\\": [\\n    {\\n     \\\"id\\\": \\\"18a4ba62-c9f5-44f3-88b3-a9d9157de515\\\",\\n     \\\"name\\\": \\\"Tag 1\\\"\\n    },\\n    {\\n     \\\"id\\\": \\\"18a4ba62-c9f5-44f3-88b3-a9d9157de515\\\",\\n     \\\"name\\\": \\\"Tag 1\\\"\\n    }\\n   ],\\n   \\\"aiAnalytics\\\": {\\n    \\\"sentiment\\\": \\\"POSITIVE\\\",\\n    \\\"topics\\\": [\\n     \\\"wifi\\\",\\n     \\\"trade show\\\",\\n     \\\"general question\\\",\\n     \\\"pet\\\"\\n    ],\\n    \\\"topicFlagsNames\\\": [\\n     \\\"Billing\\\",\\n     \\\"Escalation\\\"\\n    ],\\n    \\\"topicFlagsIds\\\": [\\n     \\\"a001cb29-a2c4-47a1-ba66-7d08a12459e9\\\"\\n    ]\\n   },\\n   \\\"aiReceptionist\\\": {\\n    \\\"involvement\\\": true,\\n    \\\"outcome\\\": \\\"HANDLED\\\"\\n   }\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9a279968-ee3e-4961-a74e-e2d74bf29506\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-caller-details\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-caller-details-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00Z\\\",\\n    \\\"queueIds\\\": [\\n        \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"\\n    ],\\n    \\\"pageSize\\\": 500,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3ea1d57c-e357-4970-9dc0-b533676b07fa\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-caller-details\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-caller-details-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00Z\\\",\\n    \\\"queueIds\\\": [\\n        \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"\\n    ],\\n    \\\"pageSize\\\": 500,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"37162dcf-f0e2-4e4d-bcb4-500d6732b82d\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-caller-details\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-caller-details-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00Z\\\",\\n    \\\"queueIds\\\": [\\n        \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"\\n    ],\\n    \\\"pageSize\\\": 500,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4662e30f-c705-4b58-b11b-64da4f283537\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-caller-details\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-caller-details-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00Z\\\",\\n    \\\"queueIds\\\": [\\n        \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"\\n    ],\\n    \\\"pageSize\\\": 500,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c31e570a-e4d4-480b-8226-e8d86b6a47ed\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-caller-details\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-caller-details-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00Z\\\",\\n    \\\"queueIds\\\": [\\n        \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"\\n    ],\\n    \\\"pageSize\\\": 500,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"42c426a3-b260-4deb-9cfe-91af5841252b\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-caller-details\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-caller-details-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00Z\\\",\\n    \\\"queueIds\\\": [\\n        \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"\\n    ],\\n    \\\"pageSize\\\": 500,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"25b4e01e-4bc0-4da4-8b2d-81ed80351aa2\",\"name\":\"Get contact center historical queue metrics\",\"request\":{\"name\":\"Get contact center historical queue metrics\",\"description\":{\"content\":\"Retrieves historical queue metrics aggregated into 15-minute intervals aligned to standard boundaries (:00, :15, :30, :45) within a specified time range. Each period includes metrics for all queues with activity during that interval. Queues with no activity in a period are excluded.\\n\\n### Time Range\\n\\nAll 15-minute periods that overlap the requested time range are returned.\\nThe time range must be in ISO 8601 datetime format in the UTC time zone, and the `startTime` must not be older than 13 months from the current date.\\n\\n### Period Completeness\\n\\nCall data becomes available only after the call fully completes, including wrap-up time. When a caller accepts a callback offer, the original call counts as `outflowedSystem` (formerly `evictedSystem`). The callback is then queued immediately and may appear in a different 15-minute period. Since some calls may take up to 7 hours to complete, recent periods may not reflect all activity until sufficient time has passed.\\n\\n### How pagination works\\n\\nTo start a query, first call this endpoint without a `pageMarker` and optionally set the\\n`pageSize` to the number of 15-minute period buckets you want per page (for example, `10` would return 10 periods, each containing metrics for multiple queues).\\nThe presence of `nextPageMarker` in a response indicates that more results are available to\\nbe fetched. To obtain further pages, send a new request with the `pageMarker` parameter set\\nto the value of `nextPageMarker`. Page markers remain available for ten minutes after the response is sent.\\n\\n### Outflowed Calls (Deprecation Notice)\\n\\nA new `callOutcome` field has been introduced in the queue caller details response, replacing the deprecated `outcome` field.\\nThe new field uses `OUTFLOWED_*` values (`OUTFLOWED`, `OUTFLOWED_CUSTOMER`, `OUTFLOWED_SYSTEM`, `OUTFLOWED_USER`) as clearer,\\nmore intuitive replacements for the `EVICTED_*` values present in `outcome`. The deprecated `outcome` field will be removed in a\\nfuture version of this API. We recommend updating your integration to use `callOutcome` at your earliest convenience.\\nBoth fields will be returned during the transition period to give you ample time to migrate.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-metrics\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-metrics-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"accountKey\",\"description\":\"(Required) The key of the account (organization). You can use the [Admin API](/admin#tag/Me) to find account keys.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"<dateTime>\\\",\\n    \\\"endTime\\\": \\\"<dateTime>\\\",\\n    \\\"pageSize\\\": 96,\\n    \\\"pageMarker\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"52efc80a-2749-4605-863b-0b4790905d55\",\"name\":\"A list of 15 minutes aggregated queue metrics\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-metrics\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-metrics-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00.000Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00.000Z\\\",\\n    \\\"pageSize\\\": 96,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"startTime\\\": \\\"2024-12-10T20:00:00.000Z\\\",\\n   \\\"endTime\\\": \\\"2024-12-10T20:15:00.000Z\\\",\\n   \\\"queueMetricsItems\\\": [\\n    {\\n     \\\"queueId\\\": \\\"3ee072d7-5caa-4019-b3d2-e944ac584e76\\\",\\n     \\\"totalCalls\\\": 130,\\n     \\\"handledCalls\\\": 100,\\n     \\\"outflowedCalls\\\": {\\n      \\\"customer\\\": 3,\\n      \\\"system\\\": 5,\\n      \\\"user\\\": 2\\n     },\\n     \\\"abandonedCalls\\\": 20,\\n     \\\"totalTalkTimeSec\\\": 123456,\\n     \\\"totalHoldTimeSec\\\": 123,\\n     \\\"totalWrapUpTimeSec\\\": 40,\\n     \\\"serviceLevelPercent\\\": 90.2\\n    },\\n    {\\n     \\\"queueId\\\": \\\"3ee072d7-5caa-4019-b3d2-e944ac584e76\\\",\\n     \\\"totalCalls\\\": 130,\\n     \\\"handledCalls\\\": 100,\\n     \\\"outflowedCalls\\\": {\\n      \\\"customer\\\": 3,\\n      \\\"system\\\": 5,\\n      \\\"user\\\": 2\\n     },\\n     \\\"abandonedCalls\\\": 20,\\n     \\\"totalTalkTimeSec\\\": 123456,\\n     \\\"totalHoldTimeSec\\\": 123,\\n     \\\"totalWrapUpTimeSec\\\": 40,\\n     \\\"serviceLevelPercent\\\": 90.2\\n    }\\n   ]\\n  },\\n  {\\n   \\\"startTime\\\": \\\"2024-12-10T20:00:00.000Z\\\",\\n   \\\"endTime\\\": \\\"2024-12-10T20:15:00.000Z\\\",\\n   \\\"queueMetricsItems\\\": [\\n    {\\n     \\\"queueId\\\": \\\"3ee072d7-5caa-4019-b3d2-e944ac584e76\\\",\\n     \\\"totalCalls\\\": 130,\\n     \\\"handledCalls\\\": 100,\\n     \\\"outflowedCalls\\\": {\\n      \\\"customer\\\": 3,\\n      \\\"system\\\": 5,\\n      \\\"user\\\": 2\\n     },\\n     \\\"abandonedCalls\\\": 20,\\n     \\\"totalTalkTimeSec\\\": 123456,\\n     \\\"totalHoldTimeSec\\\": 123,\\n     \\\"totalWrapUpTimeSec\\\": 40,\\n     \\\"serviceLevelPercent\\\": 90.2\\n    },\\n    {\\n     \\\"queueId\\\": \\\"3ee072d7-5caa-4019-b3d2-e944ac584e76\\\",\\n     \\\"totalCalls\\\": 130,\\n     \\\"handledCalls\\\": 100,\\n     \\\"outflowedCalls\\\": {\\n      \\\"customer\\\": 3,\\n      \\\"system\\\": 5,\\n      \\\"user\\\": 2\\n     },\\n     \\\"abandonedCalls\\\": 20,\\n     \\\"totalTalkTimeSec\\\": 123456,\\n     \\\"totalHoldTimeSec\\\": 123,\\n     \\\"totalWrapUpTimeSec\\\": 40,\\n     \\\"serviceLevelPercent\\\": 90.2\\n    }\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"89d9da95-8aa4-420f-8b70-88bfdb25995d\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-metrics\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-metrics-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00.000Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00.000Z\\\",\\n    \\\"pageSize\\\": 96,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cca13e14-4f6b-4556-93e7-89fd06a216a0\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-metrics\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-metrics-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00.000Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00.000Z\\\",\\n    \\\"pageSize\\\": 96,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c1088d24-ed4a-457c-aee9-61dce6685b8f\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-metrics\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-metrics-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00.000Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00.000Z\\\",\\n    \\\"pageSize\\\": 96,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5fa8600f-9360-46fc-817a-bbaa8c6fffc3\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-metrics\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-metrics-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00.000Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00.000Z\\\",\\n    \\\"pageSize\\\": 96,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"67176e4b-72a7-423c-b64a-50d5b2bba47c\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-metrics\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-metrics-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00.000Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00.000Z\\\",\\n    \\\"pageSize\\\": 96,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9d99d237-28ca-46bd-bca4-cb834fe98f53\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"queue-metrics\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-queue-metrics-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00.000Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00.000Z\\\",\\n    \\\"pageSize\\\": 96,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"1ac5f640-c134-4645-bb63-2157096246bd\",\"name\":\"Get contact center historical agent status\",\"request\":{\"name\":\"Get contact center historical agent status\",\"description\":{\"content\":\"Retrieves a flattened representation of the agent's activity. This API will include events like logins, logouts and include all the historical statuses of an agent. The result items are returned sorted by startTime in ascending order. Each item represents a status of an agent on a queue. If an agent was working on multiple queues at the same time, there will be multiple items with the same startTime but different queueIds. Some agent states that are still ongoing and not completed yet might not be returned for the most recent time periods, as the system waits for those states to complete to have the full details of the event, which can take up to 7 hours to be available.\\n\\n### How pagination works\\n\\nTo start a query, first call this endpoint without a `pageMarker` and optionally set the\\n`pageSize` to the number of hours to be retrieved (for example, `10` would return 10 hours worth of events from the startDate or from the start of the current page).\\nThe presence of `nextPageMarker` in a response indicates that more results are available to\\nbe fetched for the given time range. To obtain further pages, send a new request with the `pageMarker` parameter set\\nto the value of `nextPageMarker`. Page markers remain available for ten minutes after the response is sent.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"agent-statuses\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-agent-statuses-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"accountKey\",\"description\":\"(Required) The key of the account (organization). You can use the [Admin API](/admin#tag/Me) to find account keys.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"<dateTime>\\\",\\n    \\\"endTime\\\": \\\"<dateTime>\\\",\\n    \\\"queueIds\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"agentIds\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"pageSize\\\": 2,\\n    \\\"pageMarker\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"40a546c2-17fb-488c-b157-f9a3e2c3c171\",\"name\":\"A list of items with agent status metrics\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"agent-statuses\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-agent-statuses-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00.000Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00.000Z\\\",\\n    \\\"queueIds\\\": [\\n        \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"\\n    ],\\n    \\\"agentIds\\\": [\\n        \\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\"\\n    ],\\n    \\\"pageSize\\\": 2,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"agentId\\\": \\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\n   \\\"agentName\\\": \\\"Bob Dylan\\\",\\n   \\\"superstate\\\": \\\"WORKING\\\",\\n   \\\"substate\\\": \\\"TALKING\\\",\\n   \\\"startTime\\\": \\\"2024-12-10T19:30:00Z\\\",\\n   \\\"endTime\\\": \\\"2024-12-18T20:00:00Z\\\",\\n   \\\"duration\\\": 17802,\\n   \\\"queueId\\\": \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\",\\n   \\\"queueName\\\": \\\"#1022 Queue CC Demo\\\"\\n  },\\n  {\\n   \\\"agentId\\\": \\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\",\\n   \\\"agentName\\\": \\\"Bob Dylan\\\",\\n   \\\"superstate\\\": \\\"WORKING\\\",\\n   \\\"substate\\\": \\\"TALKING\\\",\\n   \\\"startTime\\\": \\\"2024-12-10T19:30:00Z\\\",\\n   \\\"endTime\\\": \\\"2024-12-18T20:00:00Z\\\",\\n   \\\"duration\\\": 17802,\\n   \\\"queueId\\\": \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\",\\n   \\\"queueName\\\": \\\"#1022 Queue CC Demo\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5484f3b0-0bb3-45e4-bf67-a8c0fd36771f\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"agent-statuses\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-agent-statuses-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00.000Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00.000Z\\\",\\n    \\\"queueIds\\\": [\\n        \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"\\n    ],\\n    \\\"agentIds\\\": [\\n        \\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\"\\n    ],\\n    \\\"pageSize\\\": 2,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b6f91b51-49ab-489a-b2b7-d72cc89e0ba7\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"agent-statuses\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-agent-statuses-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00.000Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00.000Z\\\",\\n    \\\"queueIds\\\": [\\n        \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"\\n    ],\\n    \\\"agentIds\\\": [\\n        \\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\"\\n    ],\\n    \\\"pageSize\\\": 2,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"45855d40-19e1-42ae-81e3-232bbf44e0b9\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"agent-statuses\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-agent-statuses-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00.000Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00.000Z\\\",\\n    \\\"queueIds\\\": [\\n        \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"\\n    ],\\n    \\\"agentIds\\\": [\\n        \\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\"\\n    ],\\n    \\\"pageSize\\\": 2,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cc58010e-69b3-4a04-8eef-8e94011bf013\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"agent-statuses\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-agent-statuses-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00.000Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00.000Z\\\",\\n    \\\"queueIds\\\": [\\n        \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"\\n    ],\\n    \\\"agentIds\\\": [\\n        \\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\"\\n    ],\\n    \\\"pageSize\\\": 2,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1178c6c8-9a47-4221-889d-361cce1f297a\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"agent-statuses\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-agent-statuses-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00.000Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00.000Z\\\",\\n    \\\"queueIds\\\": [\\n        \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"\\n    ],\\n    \\\"agentIds\\\": [\\n        \\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\"\\n    ],\\n    \\\"pageSize\\\": 2,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9e656d09-fcad-4c51-b4b9-6430ad590de1\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"contact-center-analytics\",\"v1\",\"accounts\",\":accountKey\",\"agent-statuses\"],\"host\":[\"{{contact-center-analytics-v1-accounts-accountKey-agent-statuses-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"startTime\\\": \\\"2024-12-10T19:30:00.000Z\\\",\\n    \\\"endTime\\\": \\\"2024-12-18T20:00:00.000Z\\\",\\n    \\\"queueIds\\\": [\\n        \\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"\\n    ],\\n    \\\"agentIds\\\": [\\n        \\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\"\\n    ],\\n    \\\"pageSize\\\": 2,\\n    \\\"pageMarker\\\": \\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"8501f2a1-6208-48cc-8867-bbb00b9ab057\",\"name\":\"fax/v1\",\"item\":[{\"id\":\"e55423b5-ba82-459b-bf21-d97d54f9ac0f\",\"name\":\"faxes\",\"item\":[{\"id\":\"39d5121b-9ce3-4333-8e12-bb4eed6d8359\",\"name\":\"Get Faxes\\n\",\"request\":{\"name\":\"Get Faxes\\n\",\"description\":{\"content\":\"Retrieve all faxes that match the specified search criteria. The results are filtered by fax type: incoming (default) or outgoing.  You can additionally filter the results by virtual fax machine IDs, phone number IDs,  sender phone numbers, fax status (outgoing only), and read/unread status (incoming only). The results will be sorted by the received time within their respective virtual fax machines.\\nNote: A 400 error will be returned if the `read` parameter is used for outgoing faxes  or the `status` parameter is used for incoming faxes.\\n### Authentication Scopes\\n`fax.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"(Required) The account key of an organization (pbx).\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The next page marker value represent the page to fetch.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"Maximum number of items returned in a page. Maximum page size is 100 items.\"},{\"disabled\":false,\"key\":\"type\",\"value\":\"INCOMING\",\"description\":\"The type of the faxes in the query, can be incoming or outgoing\"},{\"disabled\":false,\"key\":\"status\",\"value\":\"<string>\",\"description\":\"Filter outgoing faxes by status. 400 error is returned if this parameter used with incoming faxes.\"},{\"disabled\":false,\"key\":\"readStatus\",\"value\":\"<boolean>\",\"description\":\"Filter incoming faxes by read/unread status. 400 error is returned if this parameter used with outgoing faxes.\"},{\"disabled\":false,\"key\":\"virtualFaxMachineId\",\"value\":\"<string>\",\"description\":\"The ID of a virtual fax machine. This parameter can be repeated multiple times in the query.\"},{\"disabled\":false,\"key\":\"virtualFaxMachineId\",\"value\":\"<string>\",\"description\":\"The ID of a virtual fax machine. This parameter can be repeated multiple times in the query.\"},{\"disabled\":false,\"key\":\"phoneNumberId\",\"value\":\"<string>\",\"description\":\"The ID of a phone number. This parameter can be repeated multiple times in the query.\"},{\"disabled\":false,\"key\":\"phoneNumberId\",\"value\":\"<string>\",\"description\":\"The ID of a phone number. This parameter can be repeated multiple times in the query.\"},{\"disabled\":false,\"key\":\"senderPhoneNumber\",\"value\":\"<E.164>\",\"description\":\"Filter faxes by sender phone number in E.164 format\"},{\"disabled\":false,\"key\":\"senderPhoneNumber\",\"value\":\"<E.164>\",\"description\":\"Filter faxes by sender phone number in E.164 format\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"41958856-6236-4cdf-8dc7-2d41351efba7\",\"name\":\"Successfully retrieved.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"5097f252-b5f7-45d0-9589-4eb5057e764d\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"type\",\"value\":\"INCOMING\"},{\"key\":\"status\",\"value\":\"<string>\"},{\"key\":\"readStatus\",\"value\":\"<boolean>\"},{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"},{\"key\":\"phoneNumberId\",\"value\":\"123e4567-e89b-12d3-a456-426614174000\"},{\"key\":\"senderPhoneNumber\",\"value\":\"+18887776666\"},{\"key\":\"senderPhoneNumber\",\"value\":\"+18887776666\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"pageSize\\\": 50,\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"matchesTotal\\\": 200,\\n \\\"items\\\": [\\n  {\\n   \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\",\\n   \\\"callerIdName\\\": \\\"caller name\\\",\\n   \\\"callerIdNumber\\\": \\\"+14385007000\\\",\\n   \\\"receivedTime\\\": \\\"2019-12-31T23:59:59.999999Z\\\",\\n   \\\"pageCount\\\": 3,\\n   \\\"fileSize\\\": 4000,\\n   \\\"virtualFaxMachineId\\\": \\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\n   \\\"read\\\": true,\\n   \\\"type\\\": \\\"INCOMING\\\"\\n  },\\n  {\\n   \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\",\\n   \\\"callerIdName\\\": \\\"caller name\\\",\\n   \\\"callerIdNumber\\\": \\\"+14385007000\\\",\\n   \\\"receivedTime\\\": \\\"2019-12-31T23:59:59.999999Z\\\",\\n   \\\"pageCount\\\": 3,\\n   \\\"fileSize\\\": 4000,\\n   \\\"virtualFaxMachineId\\\": \\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\n   \\\"read\\\": true,\\n   \\\"type\\\": \\\"INCOMING\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0c1e2abb-82b0-46b0-a8ef-493858b395b5\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"5097f252-b5f7-45d0-9589-4eb5057e764d\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"type\",\"value\":\"INCOMING\"},{\"key\":\"status\",\"value\":\"<string>\"},{\"key\":\"readStatus\",\"value\":\"<boolean>\"},{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"},{\"key\":\"phoneNumberId\",\"value\":\"123e4567-e89b-12d3-a456-426614174000\"},{\"key\":\"senderPhoneNumber\",\"value\":\"+18887776666\"},{\"key\":\"senderPhoneNumber\",\"value\":\"+18887776666\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"aafc8393-c608-4a8c-895d-69054986420f\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"5097f252-b5f7-45d0-9589-4eb5057e764d\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"type\",\"value\":\"INCOMING\"},{\"key\":\"status\",\"value\":\"<string>\"},{\"key\":\"readStatus\",\"value\":\"<boolean>\"},{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"},{\"key\":\"phoneNumberId\",\"value\":\"123e4567-e89b-12d3-a456-426614174000\"},{\"key\":\"senderPhoneNumber\",\"value\":\"+18887776666\"},{\"key\":\"senderPhoneNumber\",\"value\":\"+18887776666\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ede00f66-d364-460c-8ca9-7574a74cddc0\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"5097f252-b5f7-45d0-9589-4eb5057e764d\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"type\",\"value\":\"INCOMING\"},{\"key\":\"status\",\"value\":\"<string>\"},{\"key\":\"readStatus\",\"value\":\"<boolean>\"},{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"},{\"key\":\"phoneNumberId\",\"value\":\"123e4567-e89b-12d3-a456-426614174000\"},{\"key\":\"senderPhoneNumber\",\"value\":\"+18887776666\"},{\"key\":\"senderPhoneNumber\",\"value\":\"+18887776666\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"00e995bb-d9ba-4db3-b238-3f1634a9e54e\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"5097f252-b5f7-45d0-9589-4eb5057e764d\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"type\",\"value\":\"INCOMING\"},{\"key\":\"status\",\"value\":\"<string>\"},{\"key\":\"readStatus\",\"value\":\"<boolean>\"},{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"},{\"key\":\"phoneNumberId\",\"value\":\"123e4567-e89b-12d3-a456-426614174000\"},{\"key\":\"senderPhoneNumber\",\"value\":\"+18887776666\"},{\"key\":\"senderPhoneNumber\",\"value\":\"+18887776666\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"7f727848-cfb1-40d9-b3fb-5e1eddcd9548\",\"name\":\"Create a fax to send\\n\",\"request\":{\"name\":\"Create a fax to send\\n\",\"description\":{\"content\":\"Create a fax to be sent with up to 50 recipients. A fax resource is created for every recipients. The response returns the list of created fax ids and their associated recipient.\\nThe size of a fax is limited to 6MB. If necessary, the file size limitation can be alleviated by using the api.jive.com instead of api.goto.com.\\n### Authentication Scopes\\n`fax.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"multipart/form-data\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"key\":\"metadata\",\"value\":\"{\\\"virtualFaxMachineId\\\":\\\"<string>\\\",\\\"recipients\\\":[\\\"<string>\\\"],\\\"scheduleFaxAt\\\":\\\"<dateTime>\\\",\\\"preferredResolution\\\":\\\"<string>\\\"}\",\"type\":\"text\",\"description\":\"(Required) The metadata used to send a fax like the recipients of the fax and the virtual fax machine to use to send it.\"},{\"key\":\"file\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\",\"description\":\"(Required) Files to be sent in the fax. The following formats are supported. (.pdf, .rtf, .txt, .jpg, .png, .tiff, .bmp, .gif, .doc, .docx, .ppt, .pptx, .xls, .xlsx).\"}]}},\"response\":[{\"id\":\"40f2da74-acbe-4278-99de-39778e11bfe8\",\"name\":\"Successfully added to the queue.\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The metadata used to send a fax like the recipients of the fax and the virtual fax machine to use to send it.\",\"type\":\"text/plain\"},\"key\":\"metadata\",\"value\":\"{\\\"virtualFaxMachineId\\\":\\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\\"recipients\\\":[\\\"+18887776666\\\",\\\"+18887775555\\\"],\\\"scheduleFaxAt\\\":\\\"2019-12-31T23:59:59.999999Z\\\",\\\"preferredResolution\\\":\\\"FINE\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"(Required) Files to be sent in the fax. The following formats are supported. (.pdf, .rtf, .txt, .jpg, .png, .tiff, .bmp, .gif, .doc, .docx, .ppt, .pptx, .xls, .xlsx).\",\"type\":\"text/plain\"},\"key\":\"file\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Accepted\",\"code\":202,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"recipient\\\": \\\"+18887776666\\\",\\n   \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\"\\n  },\\n  {\\n   \\\"recipient\\\": \\\"+18887776666\\\",\\n   \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f2a3fc66-fed2-4038-a355-7d6a0db75a92\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The metadata used to send a fax like the recipients of the fax and the virtual fax machine to use to send it.\",\"type\":\"text/plain\"},\"key\":\"metadata\",\"value\":\"{\\\"virtualFaxMachineId\\\":\\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\\"recipients\\\":[\\\"+18887776666\\\",\\\"+18887775555\\\"],\\\"scheduleFaxAt\\\":\\\"2019-12-31T23:59:59.999999Z\\\",\\\"preferredResolution\\\":\\\"FINE\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"(Required) Files to be sent in the fax. The following formats are supported. (.pdf, .rtf, .txt, .jpg, .png, .tiff, .bmp, .gif, .doc, .docx, .ppt, .pptx, .xls, .xlsx).\",\"type\":\"text/plain\"},\"key\":\"file\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"209f26c3-a060-4051-83fe-46b155ec71fc\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The metadata used to send a fax like the recipients of the fax and the virtual fax machine to use to send it.\",\"type\":\"text/plain\"},\"key\":\"metadata\",\"value\":\"{\\\"virtualFaxMachineId\\\":\\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\\"recipients\\\":[\\\"+18887776666\\\",\\\"+18887775555\\\"],\\\"scheduleFaxAt\\\":\\\"2019-12-31T23:59:59.999999Z\\\",\\\"preferredResolution\\\":\\\"FINE\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"(Required) Files to be sent in the fax. The following formats are supported. (.pdf, .rtf, .txt, .jpg, .png, .tiff, .bmp, .gif, .doc, .docx, .ppt, .pptx, .xls, .xlsx).\",\"type\":\"text/plain\"},\"key\":\"file\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fc3c6ebe-c3a4-4cab-823c-11f8d98b0836\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The metadata used to send a fax like the recipients of the fax and the virtual fax machine to use to send it.\",\"type\":\"text/plain\"},\"key\":\"metadata\",\"value\":\"{\\\"virtualFaxMachineId\\\":\\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\\"recipients\\\":[\\\"+18887776666\\\",\\\"+18887775555\\\"],\\\"scheduleFaxAt\\\":\\\"2019-12-31T23:59:59.999999Z\\\",\\\"preferredResolution\\\":\\\"FINE\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"(Required) Files to be sent in the fax. The following formats are supported. (.pdf, .rtf, .txt, .jpg, .png, .tiff, .bmp, .gif, .doc, .docx, .ppt, .pptx, .xls, .xlsx).\",\"type\":\"text/plain\"},\"key\":\"file\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8c7f06a4-3867-44dc-b58b-3a27baeb9a81\",\"name\":\"The request is too large to be processed.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The metadata used to send a fax like the recipients of the fax and the virtual fax machine to use to send it.\",\"type\":\"text/plain\"},\"key\":\"metadata\",\"value\":\"{\\\"virtualFaxMachineId\\\":\\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\\"recipients\\\":[\\\"+18887776666\\\",\\\"+18887775555\\\"],\\\"scheduleFaxAt\\\":\\\"2019-12-31T23:59:59.999999Z\\\",\\\"preferredResolution\\\":\\\"FINE\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"(Required) Files to be sent in the fax. The following formats are supported. (.pdf, .rtf, .txt, .jpg, .png, .tiff, .bmp, .gif, .doc, .docx, .ppt, .pptx, .xls, .xlsx).\",\"type\":\"text/plain\"},\"key\":\"file\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Request Entity Too Large\",\"code\":413,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"20454bba-9c38-4e3a-b45c-b76fa8d15b08\",\"name\":\"The content supplied with the request is not supported for the requested resource type and operation. Content detection occurs before other authorization decisions and is based solely on the resource type and requested action. This response provides no indication of the existence of the specific resource targeted by the request. A `NOT_SUPPORTED` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The metadata used to send a fax like the recipients of the fax and the virtual fax machine to use to send it.\",\"type\":\"text/plain\"},\"key\":\"metadata\",\"value\":\"{\\\"virtualFaxMachineId\\\":\\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\\"recipients\\\":[\\\"+18887776666\\\",\\\"+18887775555\\\"],\\\"scheduleFaxAt\\\":\\\"2019-12-31T23:59:59.999999Z\\\",\\\"preferredResolution\\\":\\\"FINE\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"(Required) Files to be sent in the fax. The following formats are supported. (.pdf, .rtf, .txt, .jpg, .png, .tiff, .bmp, .gif, .doc, .docx, .ppt, .pptx, .xls, .xlsx).\",\"type\":\"text/plain\"},\"key\":\"file\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Unsupported Media Type\",\"code\":415,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"dd66bd45-2e74-43c1-9f0f-65de673665e9\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The metadata used to send a fax like the recipients of the fax and the virtual fax machine to use to send it.\",\"type\":\"text/plain\"},\"key\":\"metadata\",\"value\":\"{\\\"virtualFaxMachineId\\\":\\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\\"recipients\\\":[\\\"+18887776666\\\",\\\"+18887775555\\\"],\\\"scheduleFaxAt\\\":\\\"2019-12-31T23:59:59.999999Z\\\",\\\"preferredResolution\\\":\\\"FINE\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"(Required) Files to be sent in the fax. The following formats are supported. (.pdf, .rtf, .txt, .jpg, .png, .tiff, .bmp, .gif, .doc, .docx, .ppt, .pptx, .xls, .xlsx).\",\"type\":\"text/plain\"},\"key\":\"file\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"2daaf66e-7893-4480-b164-b0d74e239f30\",\"name\":\"Update Faxes\\n\",\"request\":{\"name\":\"Update Faxes\\n\",\"description\":{\"content\":\"Update all faxes in virtual fax machines the user has access to. The response returns the list of updated fax ids and the updated read status.\\n### Authentication Scopes\\n`fax.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"virtualFaxMachineId\",\"value\":\"<string>\",\"description\":\"(Required) The ID of a virtual fax machine. This parameter can be repeated multiple times in the query.\"},{\"disabled\":false,\"key\":\"virtualFaxMachineId\",\"value\":\"<string>\",\"description\":\"(Required) The ID of a virtual fax machine. This parameter can be repeated multiple times in the query.\"}],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"read\\\": \\\"<boolean>\\\"\\n}\"}},\"response\":[{\"id\":\"3c33f651-0a9e-43d8-a92f-053cf5a068f2\",\"name\":\"Successfully updated faxes in the virtual fax machines.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"},{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"read\\\": \\\"<boolean>\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"faxIds\\\": [\\n  \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\"\\n ],\\n \\\"read\\\": true\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e2a8922e-b2df-4c25-aaf2-84ed303ba504\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"},{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"read\\\": \\\"<boolean>\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ddea9c5d-c0b0-48d4-ad8f-950cabf76cfa\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"},{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"read\\\": \\\"<boolean>\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"01f816e9-b85e-4ad8-a84d-b41f613330e8\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"},{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"read\\\": \\\"<boolean>\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"780123f3-2437-49fa-b374-7fb5661b3dff\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"},{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"read\\\": \\\"<boolean>\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"10e592a2-4758-4501-bc1a-049a881cdac0\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\"],\"host\":[\"{{fax-v1-faxes-Url}}\"],\"query\":[{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"},{\"key\":\"virtualFaxMachineId\",\"value\":\"b5d96015-cb76-43c5-8770-3f21c6134586\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"read\\\": \\\"<boolean>\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"45e6de8d-c5a4-4ad7-85d5-ab282875523e\",\"name\":\"{fax Id}\",\"item\":[{\"id\":\"9cc6cd55-abd0-4c85-95c9-3cb021369781\",\"name\":\"Get a download URL\\n\",\"request\":{\"name\":\"Get a download URL\\n\",\"description\":{\"content\":\"Get a download URL to a Fax's PDF or its first page as PNG preview image. The URL has a default (and maximum) time to live of 600000 milliseconds (10 minutes).\\n### Authentication Scopes\\n`fax.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"ttl\",\"value\":\"600000\",\"description\":\"The time to live in milliseconds with a minimum of 1000 ms a maximum of 600000 ms (10 minutes).\"},{\"disabled\":false,\"key\":\"fileType\",\"value\":\"PDF\",\"description\":\"The type of document to request (pdf or png preview)\"},{\"disabled\":false,\"key\":\"fileName\",\"value\":\"<string>\",\"description\":\"The name of the file that will be downloaded when the pre-signed URL is used. If it is not defined: \\n  if the contendDisposition is not defined, \\n    it is calculated from the fax metadata \\n    <ExtensionID>_<CallerIDNumber>_<DialedNumber>_<Time>.[pdf|png]\\n  If contentDisposition is defined, the filename set empty\\nIf contentDisposition set <REMOVE> the fileName value is ignored\\n\"},{\"disabled\":false,\"key\":\"contentDisposition\",\"value\":\"ATTACHMENT\",\"description\":\"The disposition value to define how the link should be handled by the browser.\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"faxId\",\"description\":\"(Required) The faxId of the fax to get/modify\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"a72f5010-873e-4e1d-b37b-066ae70e905e\",\"name\":\"Successfully retrieved.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[{\"key\":\"ttl\",\"value\":\"600000\"},{\"key\":\"fileType\",\"value\":\"PDF\"},{\"key\":\"fileName\",\"value\":\"my-file.pdf\"},{\"key\":\"contentDisposition\",\"value\":\"INLINE\"}],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\",\\n \\\"callerIdName\\\": \\\"caller name\\\",\\n \\\"callerIdNumber\\\": \\\"+14385007000\\\",\\n \\\"receivedTime\\\": \\\"2019-12-31T23:59:59.999999Z\\\",\\n \\\"pageCount\\\": 3,\\n \\\"fileSize\\\": 4000,\\n \\\"virtualFaxMachineId\\\": \\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\n \\\"read\\\": true,\\n \\\"type\\\": \\\"INCOMING\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"67a2036c-3b00-4e40-abc0-981c526ffe07\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[{\"key\":\"ttl\",\"value\":\"600000\"},{\"key\":\"fileType\",\"value\":\"PDF\"},{\"key\":\"fileName\",\"value\":\"my-file.pdf\"},{\"key\":\"contentDisposition\",\"value\":\"INLINE\"}],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a59cd643-b96e-4490-a9ea-f93ae3b56a2f\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[{\"key\":\"ttl\",\"value\":\"600000\"},{\"key\":\"fileType\",\"value\":\"PDF\"},{\"key\":\"fileName\",\"value\":\"my-file.pdf\"},{\"key\":\"contentDisposition\",\"value\":\"INLINE\"}],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ead864d6-7239-47cb-8298-393af7e4c959\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[{\"key\":\"ttl\",\"value\":\"600000\"},{\"key\":\"fileType\",\"value\":\"PDF\"},{\"key\":\"fileName\",\"value\":\"my-file.pdf\"},{\"key\":\"contentDisposition\",\"value\":\"INLINE\"}],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cfd9c6e5-7feb-43ce-bfa8-dc709eb47d41\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[{\"key\":\"ttl\",\"value\":\"600000\"},{\"key\":\"fileType\",\"value\":\"PDF\"},{\"key\":\"fileName\",\"value\":\"my-file.pdf\"},{\"key\":\"contentDisposition\",\"value\":\"INLINE\"}],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4a4bd930-b102-4dfe-9117-765a665c8adf\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[{\"key\":\"ttl\",\"value\":\"600000\"},{\"key\":\"fileType\",\"value\":\"PDF\"},{\"key\":\"fileName\",\"value\":\"my-file.pdf\"},{\"key\":\"contentDisposition\",\"value\":\"INLINE\"}],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"90f329a6-aadc-4e39-9f77-ad19041b3fd6\",\"name\":\"Update the read/unread state of an incoming fax.\\n\",\"request\":{\"name\":\"Update the read/unread state of an incoming fax.\\n\",\"description\":{\"content\":\"This endpoint will return a 400 error if called on an outgoing fax.\\n### Authentication Scopes\\n`fax.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"faxId\",\"description\":\"(Required) The faxId of the fax to get/modify\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"read\\\": \\\"<boolean>\\\"\\n}\"}},\"response\":[{\"id\":\"58af5062-e3f7-4051-8a89-09aad5aa2d7d\",\"name\":\"Successfully retrieved.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"read\\\": \\\"<boolean>\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\",\\n \\\"read\\\": false\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1d21e7e3-cfad-4e2f-a654-9b4cefd24c4a\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"read\\\": \\\"<boolean>\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cb4db1dc-5518-4a4c-adba-f768553e1c4a\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"read\\\": \\\"<boolean>\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"42ba18ba-7779-4f19-bbbc-d45aecb3cee1\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"read\\\": \\\"<boolean>\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e297529e-dd25-4f12-8718-218d54578284\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"read\\\": \\\"<boolean>\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1ff33b2c-6ea4-4128-9b32-0884f3397359\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"read\\\": \\\"<boolean>\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"0dc05e02-e607-4ac6-9430-651580b3aab2\",\"name\":\"Delete a specific fax\\n\",\"request\":{\"name\":\"Delete a specific fax\\n\",\"description\":{\"content\":\"Delete a fax resource. A 409 response will be returned if the fax is currently in process and cannot be interrupted.\\n### Authentication Scopes\\n`fax.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"faxId\",\"description\":\"(Required) The faxId of the fax to get/modify\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"6d26bac9-956f-4959-a101-046406c76a42\",\"name\":\"Successfully deleted the fax.\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"cd14c336-d4b7-4ad4-9b0e-832996fdf7e5\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a316a231-2bfc-4397-a2dc-f6cd5b9b4195\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f9047ece-872e-42e5-ac56-4a076dcc75f1\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"509187d5-d7c9-4145-8b1c-46ddefb4e764\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"c6057314-d140-47ae-94c5-5ae8d700e265\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\"],\"host\":[\"{{fax-v1-faxes-faxId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"56c83fcc-be82-4624-a417-cc48ce3e453e\",\"name\":\"Cancel a fax\\n\",\"request\":{\"name\":\"Cancel a fax\\n\",\"description\":{\"content\":\"This is use to cancel the sending of a fax. This is a best effort action. Meaning that we can only cancel up to a certain point in the flow. A 409 - CONFLICT response will be returned if the fax is not in an cancellable state.\\n### Authentication Scopes\\n`fax.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\",\"cancel\"],\"host\":[\"{{fax-v1-faxes-faxId-cancel-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"faxId\",\"description\":\"(Required) The faxId of the fax to get/modify\"}]},\"method\":\"PATCH\",\"auth\":null},\"response\":[{\"id\":\"824a6a38-22cc-447f-bb7c-5135517df6d8\",\"name\":\"Cancel accepted.\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\",\"cancel\"],\"host\":[\"{{fax-v1-faxes-faxId-cancel-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{}},\"status\":\"Accepted\",\"code\":202,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\",\\n \\\"callerIdName\\\": \\\"caller name\\\",\\n \\\"callerIdNumber\\\": \\\"+14385007000\\\",\\n \\\"creationTime\\\": \\\"2019-12-31T23:59:59.999999Z\\\",\\n \\\"lastUpdatedTime\\\": \\\"2019-12-31T23:59:59.999999Z\\\",\\n \\\"pageCount\\\": 3,\\n \\\"virtualFaxMachineId\\\": \\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\n \\\"type\\\": \\\"OUTGOING\\\",\\n \\\"status\\\": \\\"SENT\\\",\\n \\\"errorCode\\\": \\\"TOO_MANY_PAGES\\\",\\n \\\"userKey\\\": \\\"1234567342344545\\\",\\n \\\"pagesSent\\\": 0\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e2de8fbf-6915-4b3e-a4ad-45dd8cc05a31\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\",\"cancel\"],\"host\":[\"{{fax-v1-faxes-faxId-cancel-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7738ae2f-2981-4fd0-bed2-430c25030c7b\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\",\"cancel\"],\"host\":[\"{{fax-v1-faxes-faxId-cancel-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"49c094fa-3ee6-45c1-8375-db166b9c0557\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\",\"cancel\"],\"host\":[\"{{fax-v1-faxes-faxId-cancel-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5b8f227b-ace2-4955-8919-b0d24e58f258\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\",\"cancel\"],\"host\":[\"{{fax-v1-faxes-faxId-cancel-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"24625d4a-37ca-43eb-b276-76436127fb0b\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"faxes\",\":faxId\",\"cancel\"],\"host\":[\"{{fax-v1-faxes-faxId-cancel-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"faxId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"787140ac-cd31-4bf5-a218-a694c26ffce9\",\"name\":\"subscriptions\",\"item\":[{\"id\":\"d8f6328c-42b1-4193-979e-492bdd65dc38\",\"name\":\"Create a subscription\\n\",\"request\":{\"name\":\"Create a subscription\\n\",\"description\":{\"content\":\"### Authentication Scopes\\n`fax.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n### Description\\nCreate a subscription for the authenticated user. A notification channel must have previously been created  using the [Notification Channel API](/GoToConnect#tag/Notification-Channel-Overview). A subscription will be created for every virtual fax machines the authenticated user has access too. If the user does not have permissions for any virtual fax machines, 403 will be returned. See [this](/GoToConnect#tag/Channels).\\n\\nThe subscription allows notifications to be sent to the notification channel with the provided notification channel ID. Only one subscription per virtual fax machine can exist at a time for a given user's channel ID. If the subscription already exists, the existing one will be returned in the response.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\"],\"host\":[\"{{fax-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"<string>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"virtualFaxMachineIds\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"response\":[{\"id\":\"f10dbcf6-afe9-4203-a3bc-a0d71344f99e\",\"name\":\"The successfully created subscriptions.\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\"],\"host\":[\"{{fax-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d4\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"virtualFaxMachineIds\\\": [\\n        \\\"ff7336fb-af95-4ac9-863f-aab112548943\\\"\\n    ]\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"ullamco amet non tempor ad\\\",\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n   \\\"virtualFaxMachineId\\\": \\\"ff7336fb-af95-4ac9-863f-aab112548943\\\",\\n   \\\"events\\\": [\\n    {\\n     \\\"source\\\": \\\"Lorem deserunt\\\",\\n     \\\"type\\\": \\\"FAX_FAILED\\\",\\n     \\\"usage\\\": \\\"ad\\\",\\n     \\\"timestamp\\\": \\\"ut nostrud\\\",\\n     \\\"content\\\": {\\n      \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\",\\n      \\\"callerIdName\\\": \\\"caller name\\\",\\n      \\\"callerIdNumber\\\": \\\"+14385007000\\\",\\n      \\\"receivedTime\\\": \\\"2019-12-31T23:59:59.999999Z\\\",\\n      \\\"pageCount\\\": 3,\\n      \\\"fileSize\\\": 4000,\\n      \\\"virtualFaxMachineId\\\": \\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\n      \\\"read\\\": true,\\n      \\\"type\\\": \\\"INCOMING\\\"\\n     }\\n    },\\n    {\\n     \\\"source\\\": \\\"veniam\\\",\\n     \\\"type\\\": \\\"FAX_DELETED\\\",\\n     \\\"usage\\\": \\\"incididunt\\\",\\n     \\\"timestamp\\\": \\\"non sed Excepteur mollit in\\\",\\n     \\\"content\\\": {\\n      \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\",\\n      \\\"callerIdName\\\": \\\"caller name\\\",\\n      \\\"callerIdNumber\\\": \\\"+14385007000\\\",\\n      \\\"receivedTime\\\": \\\"2019-12-31T23:59:59.999999Z\\\",\\n      \\\"pageCount\\\": 3,\\n      \\\"fileSize\\\": 4000,\\n      \\\"virtualFaxMachineId\\\": \\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\n      \\\"read\\\": true,\\n      \\\"type\\\": \\\"INCOMING\\\"\\n     }\\n    }\\n   ]\\n  },\\n  {\\n   \\\"id\\\": \\\"anim commodo nost\\\",\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n   \\\"virtualFaxMachineId\\\": \\\"ff7336fb-af95-4ac9-863f-aab112548943\\\",\\n   \\\"events\\\": [\\n    {\\n     \\\"source\\\": \\\"Excepteur mollit\\\",\\n     \\\"type\\\": \\\"FAX_SENT\\\",\\n     \\\"usage\\\": \\\"id est occaecat ut\\\",\\n     \\\"timestamp\\\": \\\"aute proident\\\",\\n     \\\"content\\\": {\\n      \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\",\\n      \\\"callerIdName\\\": \\\"caller name\\\",\\n      \\\"callerIdNumber\\\": \\\"+14385007000\\\",\\n      \\\"receivedTime\\\": \\\"2019-12-31T23:59:59.999999Z\\\",\\n      \\\"pageCount\\\": 3,\\n      \\\"fileSize\\\": 4000,\\n      \\\"virtualFaxMachineId\\\": \\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\n      \\\"read\\\": true,\\n      \\\"type\\\": \\\"INCOMING\\\"\\n     }\\n    },\\n    {\\n     \\\"source\\\": \\\"in\\\",\\n     \\\"type\\\": \\\"FAX_FAILED\\\",\\n     \\\"usage\\\": \\\"quis dolore\\\",\\n     \\\"timestamp\\\": \\\"do et in\\\",\\n     \\\"content\\\": {\\n      \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\",\\n      \\\"callerIdName\\\": \\\"caller name\\\",\\n      \\\"callerIdNumber\\\": \\\"+14385007000\\\",\\n      \\\"receivedTime\\\": \\\"2019-12-31T23:59:59.999999Z\\\",\\n      \\\"pageCount\\\": 3,\\n      \\\"fileSize\\\": 4000,\\n      \\\"virtualFaxMachineId\\\": \\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\n      \\\"read\\\": true,\\n      \\\"type\\\": \\\"INCOMING\\\"\\n     }\\n    }\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"74454957-e674-4e83-b966-6eb761b826b6\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\"],\"host\":[\"{{fax-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d4\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"virtualFaxMachineIds\\\": [\\n        \\\"ff7336fb-af95-4ac9-863f-aab112548943\\\"\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3e5129d0-ab05-47d6-accc-ef57c5e2a74d\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\"],\"host\":[\"{{fax-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d4\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"virtualFaxMachineIds\\\": [\\n        \\\"ff7336fb-af95-4ac9-863f-aab112548943\\\"\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7d968cc5-66de-41bb-b360-d21e78184e54\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\"],\"host\":[\"{{fax-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d4\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"virtualFaxMachineIds\\\": [\\n        \\\"ff7336fb-af95-4ac9-863f-aab112548943\\\"\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"41d51b5a-f59d-47f2-ba00-e99f3225ae32\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\"],\"host\":[\"{{fax-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d4\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"virtualFaxMachineIds\\\": [\\n        \\\"ff7336fb-af95-4ac9-863f-aab112548943\\\"\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cf278569-4957-462a-a7a5-366155aca54e\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\"],\"host\":[\"{{fax-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"606d12ff-9482-4ff0-8971-95133ffc47d4\\\",\\n    \\\"events\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"virtualFaxMachineIds\\\": [\\n        \\\"ff7336fb-af95-4ac9-863f-aab112548943\\\"\\n    ]\\n}\"}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]},{\"id\":\"50e61afd-04d5-415f-b4d7-ab661efccbf0\",\"name\":\"Get subscriptions\",\"request\":{\"name\":\"Get subscriptions\",\"description\":{\"content\":\"### Authentication Scopes\\n`fax.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n### Description\\nObtains the list of fax subscription details of the user. <br/>\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\"],\"host\":[\"{{fax-v1-subscriptions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The next page marker value represent the page to fetch.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"Maximum number of items returned in a page. Maximum page size is 100 items.\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"(Required) The account key of an organization (pbx).\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"8b87c2ee-94ab-4d12-bb90-9a2d8b9017e5\",\"name\":\"The subscription list\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\"],\"host\":[\"{{fax-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"5097f252-b5f7-45d0-9589-4eb5057e764d\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"pageSize\\\": 50,\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"cupidatat proident labore\\\",\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n   \\\"virtualFaxMachineId\\\": \\\"ff7336fb-af95-4ac9-863f-aab112548943\\\",\\n   \\\"events\\\": [\\n    {\\n     \\\"source\\\": \\\"ea et ipsum velit in\\\",\\n     \\\"type\\\": \\\"FAX_DELETED\\\",\\n     \\\"usage\\\": \\\"id\\\",\\n     \\\"timestamp\\\": \\\"aliquip eu ut\\\",\\n     \\\"content\\\": {\\n      \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\",\\n      \\\"callerIdName\\\": \\\"caller name\\\",\\n      \\\"callerIdNumber\\\": \\\"+14385007000\\\",\\n      \\\"receivedTime\\\": \\\"2019-12-31T23:59:59.999999Z\\\",\\n      \\\"pageCount\\\": 3,\\n      \\\"fileSize\\\": 4000,\\n      \\\"virtualFaxMachineId\\\": \\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\n      \\\"read\\\": true,\\n      \\\"type\\\": \\\"INCOMING\\\"\\n     }\\n    },\\n    {\\n     \\\"source\\\": \\\"ipsum incididunt\\\",\\n     \\\"type\\\": \\\"FAX_RECEIVED\\\",\\n     \\\"usage\\\": \\\"qui commodo\\\",\\n     \\\"timestamp\\\": \\\"esse est\\\",\\n     \\\"content\\\": {\\n      \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\",\\n      \\\"callerIdName\\\": \\\"caller name\\\",\\n      \\\"callerIdNumber\\\": \\\"+14385007000\\\",\\n      \\\"receivedTime\\\": \\\"2019-12-31T23:59:59.999999Z\\\",\\n      \\\"pageCount\\\": 3,\\n      \\\"fileSize\\\": 4000,\\n      \\\"virtualFaxMachineId\\\": \\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\n      \\\"read\\\": true,\\n      \\\"type\\\": \\\"INCOMING\\\"\\n     }\\n    }\\n   ]\\n  },\\n  {\\n   \\\"id\\\": \\\"id aute ut exercitation adipisicing\\\",\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n   \\\"virtualFaxMachineId\\\": \\\"ff7336fb-af95-4ac9-863f-aab112548943\\\",\\n   \\\"events\\\": [\\n    {\\n     \\\"source\\\": \\\"ut\\\",\\n     \\\"type\\\": \\\"FAX_FAILED\\\",\\n     \\\"usage\\\": \\\"mollit incididunt nisi magna\\\",\\n     \\\"timestamp\\\": \\\"dolor sed\\\",\\n     \\\"content\\\": {\\n      \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\",\\n      \\\"callerIdName\\\": \\\"caller name\\\",\\n      \\\"callerIdNumber\\\": \\\"+14385007000\\\",\\n      \\\"receivedTime\\\": \\\"2019-12-31T23:59:59.999999Z\\\",\\n      \\\"pageCount\\\": 3,\\n      \\\"fileSize\\\": 4000,\\n      \\\"virtualFaxMachineId\\\": \\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\n      \\\"read\\\": true,\\n      \\\"type\\\": \\\"INCOMING\\\"\\n     }\\n    },\\n    {\\n     \\\"source\\\": \\\"elit\\\",\\n     \\\"type\\\": \\\"FAX_SENT\\\",\\n     \\\"usage\\\": \\\"sint\\\",\\n     \\\"timestamp\\\": \\\"pariatur elit consectetur cupidatat\\\",\\n     \\\"content\\\": {\\n      \\\"faxId\\\": \\\"5097f252-b5f7-45d0-9589-4eb5057e764d\\\",\\n      \\\"callerIdName\\\": \\\"caller name\\\",\\n      \\\"callerIdNumber\\\": \\\"+14385007000\\\",\\n      \\\"receivedTime\\\": \\\"2019-12-31T23:59:59.999999Z\\\",\\n      \\\"pageCount\\\": 3,\\n      \\\"fileSize\\\": 4000,\\n      \\\"virtualFaxMachineId\\\": \\\"b5d96015-cb76-43c5-8770-3f21c615243\\\",\\n      \\\"read\\\": true,\\n      \\\"type\\\": \\\"INCOMING\\\"\\n     }\\n    }\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2bd0e343-875a-40fd-a4a4-bc2ef80180eb\",\"name\":\"The `pageMarker` or `pageSize` is invalid\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\"],\"host\":[\"{{fax-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"5097f252-b5f7-45d0-9589-4eb5057e764d\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"pageSize\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"412dfb55-686e-42ba-b1c2-4a29e4fad50e\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\"],\"host\":[\"{{fax-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"5097f252-b5f7-45d0-9589-4eb5057e764d\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f5fccdb7-6418-41cd-ab15-93dfcd0689f6\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\"],\"host\":[\"{{fax-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"5097f252-b5f7-45d0-9589-4eb5057e764d\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c88f6919-fcc1-4785-a574-9746a84966fd\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\"],\"host\":[\"{{fax-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"5097f252-b5f7-45d0-9589-4eb5057e764d\"}],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]},{\"id\":\"dc41c634-8506-439e-8a54-eb0d29608479\",\"name\":\"Delete a subscription\",\"request\":{\"name\":\"Delete a subscription\",\"description\":{\"content\":\"### Authentication Scopes\\n\\n`fax.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\\n### Description\\n\\nDelete a user's subscription with the given subscription ID.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{fax-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"subscriptionId\",\"description\":\"(Required) The subscription's unique identifier.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"535b0b7b-ae2f-4666-a3b9-e7842a284488\",\"name\":\"Succesfully removed the subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{fax-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"0162c0dc-22b2-429e-98ca-7d33cbf7bfad\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{fax-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7f0e2e1c-74bd-4b82-a787-8fca2189da00\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{fax-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c66f1c09-1734-4edf-8a5e-946563207dde\",\"name\":\"The provided `subscriptionId` doesn't exist or the subscription doesn't belong to the provided user defined by the authorization token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{fax-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8053e596-91a9-46e6-bc57-8493f9109f07\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{fax-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"eaba600e-a8a5-4d94-8550-1b1d235b0fda\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"fax\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{fax-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) GoTo Authorization bearer token with the right scopes\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"937f6057-840c-4ed2-bb76-f2b7317675d0\",\"name\":\"messaging\",\"item\":[{\"id\":\"9b8ea178-0d37-4856-b31c-8e9fe3f3e5d5\",\"name\":\"v1\",\"item\":[{\"id\":\"9385b158-cd7a-42f1-8a3e-c11c7ec3fcf9\",\"name\":\"Get all conversations summary\",\"request\":{\"name\":\"Get all conversations summary\",\"description\":{\"content\":\"Get total count of unread messages across all conversations for this phone number.\\n\\n\\n### Authentication Scopes\\n\\n`messaging.v1.read` must be used when a token is requested from the Authentication API.\\n\\n\\n### Example Interaction with curl\\n\\n```\\ncurl \\\"https://api.goto.com/messaging/v1/conversations-summary/{ownerPhoneNumber}\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations-summary\",\":ownerPhoneNumber\"],\"host\":[\"{{messaging-v1-conversations-summary-ownerPhoneNumber-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"The key of the user on behalf of which this request is being made.\\nTo be used by user with super admin privileges. Requests made for the user of the\\nbearer token don't require this parameter.\\n\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"ownerPhoneNumber\",\"description\":\"(Required) The user's phone number, which is an E164-formatted phone number, used for sending and receiving messages. The given user in the authentication token must be allowed to monitor this phone number.\\n\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"8413a28b-d37c-40f5-b5c5-db6f3d097282\",\"name\":\"Summary for all conversations.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations-summary\",\":ownerPhoneNumber\"],\"host\":[\"{{messaging-v1-conversations-summary-ownerPhoneNumber-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"ownerPhoneNumber\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"unreadMessagesCount\\\": 0\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ffd42e2e-6e99-4ded-b92a-0f12e808529c\",\"name\":\"A non E164-formatted phone number was provided. The `BAD_REQUEST` error code will be returned in such case.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations-summary\",\":ownerPhoneNumber\"],\"host\":[\"{{messaging-v1-conversations-summary-ownerPhoneNumber-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"ownerPhoneNumber\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"The request is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"feb0aa08-6ec1-4ca5-ae5f-8cc005816083\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations-summary\",\":ownerPhoneNumber\"],\"host\":[\"{{messaging-v1-conversations-summary-ownerPhoneNumber-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"ownerPhoneNumber\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"794197be-f09b-415b-aed8-5f7af5fa2655\",\"name\":\"Errors returned for authorization issues with error code like :\\n- `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations-summary\",\":ownerPhoneNumber\"],\"host\":[\"{{messaging-v1-conversations-summary-ownerPhoneNumber-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"ownerPhoneNumber\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ccd85827-7700-461e-82df-3e20f34d06a0\",\"name\":\"The provided `ownerPhoneNumber` does not exist\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations-summary\",\":ownerPhoneNumber\"],\"host\":[\"{{messaging-v1-conversations-summary-ownerPhoneNumber-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"ownerPhoneNumber\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6abb8eb3-5101-4da7-8351-28a0c3645c36\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations-summary\",\":ownerPhoneNumber\"],\"host\":[\"{{messaging-v1-conversations-summary-ownerPhoneNumber-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"ownerPhoneNumber\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"8cd47291-9997-46eb-a12d-1ea7d2ee308b\",\"name\":\"conversations\",\"item\":[{\"id\":\"87d33813-aeeb-4e01-9739-5df8573ddd8b\",\"name\":\"Get conversations\",\"request\":{\"name\":\"Get conversations\",\"description\":{\"content\":\"Obtains a paginated list of conversations in which this user's phone\\nnumber has sent or received messages, sorted by most recent conversations first.\\n\\nThe data contained in the response can be used to assess whether further\\nsynchronization of data needs to be performed for any conversations. As\\nan example, if the `lastMessageId` does not match the last known message\\nfor a conversation, then a `GET` `/messages` should be performed.\\n\\n\\n### Authentication Scopes\\n\\n`messaging.v1.read` must be used when a token is requested from the Authentication API.\\n\\n\\n### Example Interaction with curl\\n\\n```\\ncurl \\\"https://api.goto.com/messaging/v1/conversations?ownerPhoneNumber={ownerPhoneNumber}&contactPhoneNumber={contactPhoneNumber}\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations\"],\"host\":[\"{{messaging-v1-conversations-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\",\"description\":\"(Required) The user's phone number, which is an E164-formatted phone number, for sending and receiving messages. The given user in the authentication token must be allowed to monitor this phone number.\\n\"},{\"disabled\":false,\"key\":\"contactPhoneNumber\",\"value\":\"<string>\",\"description\":\"Each contact's phone number is an E164-formatted phone number. If provided, filters the results to only contain the conversation between the provided owner and the specified contacts.\\n\"},{\"disabled\":false,\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\",\"description\":\"Newest ISO-8601 formatted timestamp of the queried time range. For example, 2017-07-21T17:32:28Z. This field is set with current timestamp by default.\\n\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The returned `nextPageMarker` from a paginated collection is used here to fetch the starting item for the paginated result.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"unreadOnly\",\"value\":\"false\",\"description\":\"Filters the list of conversations to only include those that contain one or more unread messages\\n\"},{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"The key of the user on behalf of which this request is being made.\\nTo be used by user with super admin privileges. Requests made for the user of the\\nbearer token don't require this parameter.\\n\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"f7360e7a-8eab-4eab-8475-1c0f9f45dce2\",\"name\":\"List of conversation digests.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations\"],\"host\":[\"{{messaging-v1-conversations-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"unreadOnly\",\"value\":\"false\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"contactPhoneNumbers\\\": [\\n    \\\"+15145557777\\\",\\n    \\\"+15145556666\\\"\\n   ],\\n   \\\"lastMessage\\\": {\\n    \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"contactPhoneNumbers\\\": [\\n     \\\"+15145557777\\\"\\n    ],\\n    \\\"authorPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"id\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n    \\\"timestamp\\\": \\\"1995-07-08T01:29:32.108Z\\\",\\n    \\\"direction\\\": \\\"OUT\\\",\\n    \\\"deliveryStatuses\\\": [\\n     {\\n      \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n      \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n      \\\"timestamp\\\": \\\"cillum\\\",\\n      \\\"deliveryStatusCode\\\": 4000,\\n      \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n      \\\"retryable\\\": false\\n     },\\n     {\\n      \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n      \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n      \\\"timestamp\\\": \\\"deserunt et eiusmod enim Excepteur\\\",\\n      \\\"deliveryStatusCode\\\": 4000,\\n      \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n      \\\"retryable\\\": false\\n     }\\n    ],\\n    \\\"authorExternalUserKey\\\": \\\"972138946283750\\\",\\n    \\\"deletedTimestamp\\\": \\\"1974-04-05T12:12:39.160Z\\\",\\n    \\\"body\\\": \\\"Hi Bob!\\\",\\n    \\\"media\\\": [\\n     {\\n      \\\"id\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n      \\\"filename\\\": \\\"happy_face.jpg\\\",\\n      \\\"contentType\\\": \\\"image/jpg\\\",\\n      \\\"size\\\": 1345\\n     },\\n     {\\n      \\\"id\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n      \\\"filename\\\": \\\"happy_face.jpg\\\",\\n      \\\"contentType\\\": \\\"image/jpg\\\",\\n      \\\"size\\\": 1345\\n     }\\n    ]\\n   },\\n   \\\"lastMessageId\\\": \\\"a159e8fbea8e53848\\\",\\n   \\\"lastMessageTimestamp\\\": \\\"2017-07-21T17:32:28Z\\\",\\n   \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n   \\\"unreadMessagesCount\\\": 0,\\n   \\\"lastReadMessageId\\\": \\\"Gu03qRwFPwVr51tA\\\",\\n   \\\"lastReadMessageTimestamp\\\": \\\"2017-07-21T17:32:28Z\\\"\\n  },\\n  {\\n   \\\"contactPhoneNumbers\\\": [\\n    \\\"+15145557777\\\",\\n    \\\"+15145556666\\\"\\n   ],\\n   \\\"lastMessage\\\": {\\n    \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"contactPhoneNumbers\\\": [\\n     \\\"+15145557777\\\"\\n    ],\\n    \\\"authorPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"id\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n    \\\"timestamp\\\": \\\"2008-01-16T14:04:12.699Z\\\",\\n    \\\"direction\\\": \\\"OUT\\\",\\n    \\\"deliveryStatuses\\\": [\\n     {\\n      \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n      \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n      \\\"timestamp\\\": \\\"minim Excepteur amet\\\",\\n      \\\"deliveryStatusCode\\\": 4000,\\n      \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n      \\\"retryable\\\": false\\n     },\\n     {\\n      \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n      \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n      \\\"timestamp\\\": \\\"et in nisi laborum\\\",\\n      \\\"deliveryStatusCode\\\": 4000,\\n      \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n      \\\"retryable\\\": false\\n     }\\n    ],\\n    \\\"authorExternalUserKey\\\": \\\"972138946283750\\\",\\n    \\\"deletedTimestamp\\\": \\\"1999-12-01T13:20:24.853Z\\\",\\n    \\\"body\\\": \\\"Hi Bob!\\\",\\n    \\\"media\\\": [\\n     {\\n      \\\"id\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n      \\\"filename\\\": \\\"happy_face.jpg\\\",\\n      \\\"contentType\\\": \\\"image/jpg\\\",\\n      \\\"size\\\": 1345\\n     },\\n     {\\n      \\\"id\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n      \\\"filename\\\": \\\"happy_face.jpg\\\",\\n      \\\"contentType\\\": \\\"image/jpg\\\",\\n      \\\"size\\\": 1345\\n     }\\n    ]\\n   },\\n   \\\"lastMessageId\\\": \\\"a159e8fbea8e53848\\\",\\n   \\\"lastMessageTimestamp\\\": \\\"2017-07-21T17:32:28Z\\\",\\n   \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n   \\\"unreadMessagesCount\\\": 0,\\n   \\\"lastReadMessageId\\\": \\\"Gu03qRwFPwVr51tA\\\",\\n   \\\"lastReadMessageTimestamp\\\": \\\"2017-07-21T17:32:28Z\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cfbf0a37-1347-4f6d-8b73-9b7043495fa0\",\"name\":\"A non E164-formatted phone number was provided. The `BAD_REQUEST` error code will be returned in such case.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations\"],\"host\":[\"{{messaging-v1-conversations-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"unreadOnly\",\"value\":\"false\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"contactPhoneNumber\\\",\\n   \\\"constraint\\\": \\\"Invalid\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0c00dd9e-9df6-4c1d-883b-c67f396e6d08\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations\"],\"host\":[\"{{messaging-v1-conversations-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"unreadOnly\",\"value\":\"false\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0037cf90-35af-43ca-b1c1-85d897025682\",\"name\":\"Errors returned for authorization issues with error code like :\\n- `UNAUTHORIZED` - The `ownerPhoneNumber` doesn't belong to this user\\n- `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations\"],\"host\":[\"{{messaging-v1-conversations-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"unreadOnly\",\"value\":\"false\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAUTHORIZED\\\",\\n \\\"message\\\": \\\"Forbidden access to phone number +15551234567\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f11540f4-403b-4f3a-bdf5-357be8b44785\",\"name\":\"Too many requests have been sent for this user and ownerPhoneNumber combination. Requests for this user and parameters will continue returning `429` responses until the returned `Retry-After` number of seconds has elapsed.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations\"],\"host\":[\"{{messaging-v1-conversations-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"unreadOnly\",\"value\":\"false\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"disabled\":false,\"description\":\"Delay in seconds until the next request SHOULD be done.\",\"key\":\"Retry-After\",\"value\":\"-95733626\"},{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\",\\n \\\"message\\\": \\\"The client has sent too many requests in a given amount of time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a7368075-5b51-454b-b944-dd9f248fc76a\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations\"],\"host\":[\"{{messaging-v1-conversations-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"unreadOnly\",\"value\":\"false\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"73f45408-5062-4ffe-b02e-6d89e49040e7\",\"name\":\"Delete a specific conversation\",\"request\":{\"name\":\"Delete a specific conversation\",\"description\":{\"content\":\"Delete a specific conversation between provided `ownerPhoneNumber`\\nand all the given `contactPhoneNumbers`.\\n\\n### Authentication Scopes\\n\\n`messaging.v1.write` must be used when a token is requested from the Authentication API.\\n\\n### Example Interaction with curl\\n\\n```\\ncurl -X \\\"DELETE\\\" \\\"https://api.goto.com/messaging/v1/conversations?ownerPhoneNumber={ownerPhoneNumber}&contactPhoneNumber={contactPhoneNumber}\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations\"],\"host\":[\"{{messaging-v1-conversations-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\",\"description\":\"(Required) The user's phone number, which is an E164-formatted phone number, for sending and receiving messages. The given user in the authentication token must be allowed to monitor this phone number.\\n\"},{\"disabled\":false,\"key\":\"contactPhoneNumber\",\"value\":\"<string>\",\"description\":\"(Required) The contact's phone number which is an E164-formatted phone number. This is the other phone number that is sending messages to or receiving messages from the owner's phone number. If a list of `contactPhoneNumber`, the endpoint will find the conversation matching the full list.\\n\"},{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"The key of the user on behalf of which this request is being made.\\nTo be used by user with super admin privileges. Requests made for the user of the\\nbearer token don't require this parameter.\\n\"}],\"variable\":[]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"11dbc3bd-3d27-4a3f-9437-9eb5caac035b\",\"name\":\"The conversation was successfully deleted.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations\"],\"host\":[\"{{messaging-v1-conversations-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"992c80e6-0e68-44af-8b11-753afe74fd2a\",\"name\":\"A non E164-formatted phone number was provided. The `BAD_REQUEST` error code will be returned in such case.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations\"],\"host\":[\"{{messaging-v1-conversations-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"contactPhoneNumber\\\",\\n   \\\"constraint\\\": \\\"Invalid\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"202b472c-62dd-435c-bf65-cdb1ca6ddca1\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations\"],\"host\":[\"{{messaging-v1-conversations-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"60a115c8-de6f-4416-b790-7ab2388f35ef\",\"name\":\"Errors returned for authorization issues with error code like :\\n- `UNAUTHORIZED` - The `ownerPhoneNumber` doesn't belong to this user\\n- `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations\"],\"host\":[\"{{messaging-v1-conversations-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAUTHORIZED\\\",\\n \\\"message\\\": \\\"Forbidden access to phone number +15551234567\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b0842112-33a7-4856-a232-f744ded24bf9\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"conversations\"],\"host\":[\"{{messaging-v1-conversations-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"14227ef3-fe39-4bcd-a646-f4f637513219\",\"name\":\"Update a conversation\",\"request\":{\"name\":\"Update a conversation\",\"description\":{\"content\":\"Update a conversation.\\n\\n### Authentication Scopes\\n\\n`messaging.v1.write` must be used when a token is requested from the Authentication API.\\n\\n### Example Interaction with curl\\n\\n```\\ncurl -X \\\"POST\\\" \\\"https://api.goto.com/messaging/v1/update-conversation\\\" \\\\\\n  -H \\\"Content-Type: application/json\\\" \\\\\\n  -d '{\\\"ownerPhoneNumber\\\": \\\"{ownerPhoneNumber}\\\", \\\"contactPhoneNumbers\\\": [ \\\"{contactPhoneNumber}\\\" ], \\\"lastReadMessageId\\\": \\\"{id}\\\"}' \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"update-conversation\"],\"host\":[\"{{messaging-v1-update-conversation-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ownerPhoneNumber\\\": \\\"<string>\\\",\\n    \\\"contactPhoneNumbers\\\": [\\n        \\\"<string>\\\"\\n    ],\\n    \\\"lastReadMessageId\\\": \\\"<string>\\\",\\n    \\\"userKey\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"7635bca7-0264-4d25-abfa-a677e8f6d4d7\",\"name\":\"A conversation digest\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"update-conversation\"],\"host\":[\"{{messaging-v1-update-conversation-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"contactPhoneNumbers\\\": [\\n        \\\"+15145557777\\\",\\n        \\\"+15145556666\\\"\\n    ],\\n    \\\"lastReadMessageId\\\": \\\"a159e8fbea8e53848\\\",\\n    \\\"userKey\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"contactPhoneNumbers\\\": [\\n  \\\"+15145557777\\\",\\n  \\\"+15145556666\\\"\\n ],\\n \\\"lastMessage\\\": {\\n  \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n  \\\"contactPhoneNumbers\\\": [\\n   \\\"+15145557777\\\"\\n  ],\\n  \\\"authorPhoneNumber\\\": \\\"+15145552672\\\",\\n  \\\"id\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n  \\\"timestamp\\\": \\\"2012-10-05T09:06:11.778Z\\\",\\n  \\\"direction\\\": \\\"OUT\\\",\\n  \\\"deliveryStatuses\\\": [\\n   {\\n    \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n    \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n    \\\"timestamp\\\": \\\"consectetur\\\",\\n    \\\"deliveryStatusCode\\\": 4000,\\n    \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n    \\\"retryable\\\": false\\n   },\\n   {\\n    \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n    \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n    \\\"timestamp\\\": \\\"qui sit elit labore et\\\",\\n    \\\"deliveryStatusCode\\\": 4000,\\n    \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n    \\\"retryable\\\": false\\n   }\\n  ],\\n  \\\"authorExternalUserKey\\\": \\\"972138946283750\\\",\\n  \\\"deletedTimestamp\\\": \\\"2010-06-28T22:49:51.514Z\\\",\\n  \\\"body\\\": \\\"Hi Bob!\\\",\\n  \\\"media\\\": [\\n   {\\n    \\\"id\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n    \\\"filename\\\": \\\"happy_face.jpg\\\",\\n    \\\"contentType\\\": \\\"image/jpg\\\",\\n    \\\"size\\\": 1345\\n   },\\n   {\\n    \\\"id\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n    \\\"filename\\\": \\\"happy_face.jpg\\\",\\n    \\\"contentType\\\": \\\"image/jpg\\\",\\n    \\\"size\\\": 1345\\n   }\\n  ]\\n },\\n \\\"lastMessageId\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"lastMessageTimestamp\\\": \\\"2017-07-21T17:32:28Z\\\",\\n \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n \\\"unreadMessagesCount\\\": 0,\\n \\\"lastReadMessageId\\\": \\\"Gu03qRwFPwVr51tA\\\",\\n \\\"lastReadMessageTimestamp\\\": \\\"2017-07-21T17:32:28Z\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4d43e589-ce11-490a-9334-6c5cacc5a164\",\"name\":\"A non E164-formatted phone number was provided. The `BAD_REQUEST` error code will be returned in such case.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"update-conversation\"],\"host\":[\"{{messaging-v1-update-conversation-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"contactPhoneNumbers\\\": [\\n        \\\"+15145557777\\\",\\n        \\\"+15145556666\\\"\\n    ],\\n    \\\"lastReadMessageId\\\": \\\"a159e8fbea8e53848\\\",\\n    \\\"userKey\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"contactPhoneNumber\\\",\\n   \\\"constraint\\\": \\\"Invalid\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ce805f3a-3f36-4bc6-bef6-0b512ff79cb8\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"update-conversation\"],\"host\":[\"{{messaging-v1-update-conversation-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"contactPhoneNumbers\\\": [\\n        \\\"+15145557777\\\",\\n        \\\"+15145556666\\\"\\n    ],\\n    \\\"lastReadMessageId\\\": \\\"a159e8fbea8e53848\\\",\\n    \\\"userKey\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2defe494-a5ff-4be5-bd3f-76b6d747317d\",\"name\":\"Errors returned for authorization issues with error code like :\\n- `UNAUTHORIZED` - The `ownerPhoneNumber` doesn't belong to this user\\n- `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"update-conversation\"],\"host\":[\"{{messaging-v1-update-conversation-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"contactPhoneNumbers\\\": [\\n        \\\"+15145557777\\\",\\n        \\\"+15145556666\\\"\\n    ],\\n    \\\"lastReadMessageId\\\": \\\"a159e8fbea8e53848\\\",\\n    \\\"userKey\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAUTHORIZED\\\",\\n \\\"message\\\": \\\"Forbidden access to phone number +15551234567\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7b62ac7f-9d6b-401c-88bb-040bc594b767\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"update-conversation\"],\"host\":[\"{{messaging-v1-update-conversation-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"contactPhoneNumbers\\\": [\\n        \\\"+15145557777\\\",\\n        \\\"+15145556666\\\"\\n    ],\\n    \\\"lastReadMessageId\\\": \\\"a159e8fbea8e53848\\\",\\n    \\\"userKey\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"0cff10ec-ede0-4804-bf5a-bc806d55fea5\",\"name\":\"messages\",\"item\":[{\"id\":\"4e49b299-dfcd-49d4-b474-98167f0cc71e\",\"name\":\"Get messages\",\"request\":{\"name\":\"Get messages\",\"description\":{\"content\":\"Obtains a paginated list of messages in a conversation between the\\nuser's phone number and the specified contact's phone numbers, sorted\\nby most recent messages first, within a given optional time range.<br/>\\n\\n### Authentication Scopes\\n\\n`messaging.v1.read` must be used when a token is requested from the Authentication API.\\n\\n### Example Interaction with curl\\n\\n```\\ncurl \\\"https://api.goto.com/messaging/v1/messages?ownerPhoneNumber={ownerPhoneNumber}&contactPhoneNumber={contactPhoneNumber}\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\"],\"host\":[\"{{messaging-v1-messages-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\",\"description\":\"(Required) The user's phone number, which is an E164-formatted phone number, for sending and receiving messages. The given user in the authentication token must be allowed to monitor this phone number.\\n\"},{\"disabled\":false,\"key\":\"contactPhoneNumber\",\"value\":\"<string>\",\"description\":\"(Required) The contact's phone number which is an E164-formatted phone number. This is the other phone number that is sending messages to or receiving messages from the owner's phone number. If a list of `contactPhoneNumber`, the endpoint will find the conversation matching the full list.\\n\"},{\"disabled\":false,\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\",\"description\":\"Newest ISO-8601 formatted timestamp of the queried time range. For example, 2017-07-21T17:32:28Z. This field is set with current timestamp by default.\\n\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The returned `nextPageMarker` from a paginated collection is used here to fetch the starting item for the paginated result.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"The key of the user on behalf of which this request is being made.\\nTo be used by user with super admin privileges. Requests made for the user of the\\nbearer token don't require this parameter.\\n\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"5f4444fe-12f9-4b6f-b740-324e91a4b023\",\"name\":\"List of messages\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\"],\"host\":[\"{{messaging-v1-messages-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n   \\\"contactPhoneNumbers\\\": [\\n    \\\"+15145557777\\\"\\n   ],\\n   \\\"authorPhoneNumber\\\": \\\"+15145552672\\\",\\n   \\\"id\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n   \\\"timestamp\\\": \\\"1956-10-29T12:48:10.344Z\\\",\\n   \\\"direction\\\": \\\"IN\\\",\\n   \\\"deliveryStatuses\\\": [\\n    {\\n     \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n     \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n     \\\"timestamp\\\": \\\"occaecat anim\\\",\\n     \\\"deliveryStatusCode\\\": 4000,\\n     \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n     \\\"retryable\\\": false\\n    },\\n    {\\n     \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n     \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n     \\\"timestamp\\\": \\\"Duis do irure veniam\\\",\\n     \\\"deliveryStatusCode\\\": 4000,\\n     \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n     \\\"retryable\\\": false\\n    }\\n   ],\\n   \\\"authorExternalUserKey\\\": \\\"972138946283750\\\",\\n   \\\"deletedTimestamp\\\": \\\"1962-11-21T13:47:35.980Z\\\",\\n   \\\"body\\\": \\\"Hi Bob!\\\",\\n   \\\"media\\\": [\\n    {\\n     \\\"id\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n     \\\"filename\\\": \\\"happy_face.jpg\\\",\\n     \\\"contentType\\\": \\\"image/jpg\\\",\\n     \\\"size\\\": 1345\\n    },\\n    {\\n     \\\"id\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n     \\\"filename\\\": \\\"happy_face.jpg\\\",\\n     \\\"contentType\\\": \\\"image/jpg\\\",\\n     \\\"size\\\": 1345\\n    }\\n   ]\\n  },\\n  {\\n   \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n   \\\"contactPhoneNumbers\\\": [\\n    \\\"+15145557777\\\"\\n   ],\\n   \\\"authorPhoneNumber\\\": \\\"+15145552672\\\",\\n   \\\"id\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n   \\\"timestamp\\\": \\\"2014-10-17T09:00:17.829Z\\\",\\n   \\\"direction\\\": \\\"OUT\\\",\\n   \\\"deliveryStatuses\\\": [\\n    {\\n     \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n     \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n     \\\"timestamp\\\": \\\"n\\\",\\n     \\\"deliveryStatusCode\\\": 4000,\\n     \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n     \\\"retryable\\\": false\\n    },\\n    {\\n     \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n     \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n     \\\"timestamp\\\": \\\"ullamco officia\\\",\\n     \\\"deliveryStatusCode\\\": 4000,\\n     \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n     \\\"retryable\\\": false\\n    }\\n   ],\\n   \\\"authorExternalUserKey\\\": \\\"972138946283750\\\",\\n   \\\"deletedTimestamp\\\": \\\"1949-08-08T12:34:50.597Z\\\",\\n   \\\"body\\\": \\\"Hi Bob!\\\",\\n   \\\"media\\\": [\\n    {\\n     \\\"id\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n     \\\"filename\\\": \\\"happy_face.jpg\\\",\\n     \\\"contentType\\\": \\\"image/jpg\\\",\\n     \\\"size\\\": 1345\\n    },\\n    {\\n     \\\"id\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n     \\\"filename\\\": \\\"happy_face.jpg\\\",\\n     \\\"contentType\\\": \\\"image/jpg\\\",\\n     \\\"size\\\": 1345\\n    }\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4b319faf-0574-4a7a-91d5-9d5a7c462177\",\"name\":\"A non E164-formatted phone number was provided, the owner phone number is missing or the contact phone number is missing.\\nThe `BAD_REQUEST` error code will be returned in such case.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\"],\"host\":[\"{{messaging-v1-messages-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"The request is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b61189c3-66d9-400f-8e95-5da907dd2afd\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\"],\"host\":[\"{{messaging-v1-messages-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0b43dac5-52dd-48fd-b0a6-4886424b8b01\",\"name\":\"Errors returned for authorization issues with error code like :\\n- `UNAUTHORIZED` - The `ownerPhoneNumber` doesn't belong to this user\\n- `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\"],\"host\":[\"{{messaging-v1-messages-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAUTHORIZED\\\",\\n \\\"message\\\": \\\"Forbidden access to phone number +15551234567\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a435d2a4-b44f-418d-bfe5-98c81e710d5f\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\"],\"host\":[\"{{messaging-v1-messages-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"895e18c3-9a29-4b67-acf6-eed0d859859e\",\"name\":\"Send a message\",\"request\":{\"name\":\"Send a message\",\"description\":{\"content\":\"Sends a new message to up to 10 contacts from a given phone number.\\n\\nWhen sending a message, get opt-outs request is used to verify if any of the contact phone numbers is opted out.\\nSending-message request will be rejected if any of the contact phone number is opted out. The following\\nerror code: PHONE_NUMBER_OPTED_OUT will be returned in this case. Message will be successfully sent only if\\nthere is no opted out contact phone number in the list.\\n\\nThere is a limit on outbound SMS per month per organization. The following error code: TOO_MANY_REQUESTS\\nwill be returned in this case. Reach out to support if this limit must be increased.\\n\\n### Authentication Scopes\\n\\n`messaging.v1.send` must be used when a token is requested from the Authentication API.\\n\\n### Example Interaction with curl\\n\\n```\\ncurl -X \\\"POST\\\" \\\"https://api.goto.com/messaging/v1/messages\\\" \\\\\\n  -H \\\"Content-Type: application/json\\\" \\\\\\n  -d '{\\\"ownerPhoneNumber\\\": \\\"{ownerPhoneNumber}\\\", \\\"contactPhoneNumbers\\\": [ \\\"{contactPhoneNumber}\\\" ], \\\"body\\\": \\\"{message}\\\"}' \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\\nFor sending a new message with attached media files a `multipart/form-data` request is used.\\nNote: it is possible to send a message with no media files with a `multipart/form-data`\\nrequest as long as it has message body to it.\\n\\nExample:\\n\\n```\\ncurl -J -X POST 'https://api.goto.com/messaging/v1/messages' \\\\\\n  -H \\\"Content-Type: multipart/form-data\\\" \\\\\\n  -H \\\"Accept: application/json\\\" \\\\\\n  -H \\\"Authorization: Bearer {token}\\\" \\\\\\n  -F \\\"ownerPhoneNumber={ownerPhoneNumber};type=text/plain\\\" \\\\\\n  -F \\\"contactPhoneNumbers={contactPhoneNumber};type=text/plain\\\" \\\\\\n  -F \\\"body=\\\\\\\"{message}\\\\\\\";type=text/plain\\\" \\\\\\n  -F \\\"media=@file1.jpg;type=image/jpeg\\\" \\\\\\n  -F \\\"media=@file2.jpg;type=image/jpeg\\\"\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\"],\"host\":[\"{{messaging-v1-messages-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"multipart/form-data\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\",\"type\":\"text\",\"description\":\"(Required) This is the user's E164-formatted phone number. The given user in the authentication token must be allowed to monitor this phone number. This number will be used as the `authorPhoneNumber` when retrieving the message.\\n\"},{\"key\":\"contactPhoneNumbers\",\"value\":\"[\\\"<string>\\\"]\",\"type\":\"text\",\"description\":\"(Required) Each contact's phone number is an E164-formatted phone number.\\n\"},{\"key\":\"body\",\"value\":\"<string>\",\"type\":\"text\",\"description\":\"The message body (optional if the message has at least one media file attached).\"},{\"key\":\"userKey\",\"value\":\"<string>\",\"type\":\"text\",\"description\":\"The key of the user on behalf of which this request is being made. For use by user with SuperAdmin privileges. Requests made for the user of the bearer token don't require this parameter.\\n\"},{\"key\":\"media\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\",\"description\":\"The media you want to send (optional if the body is not empty). Any typical mime type listed\\n[here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) will be supported as the `type` parameter.\\n\"}]}},\"response\":[{\"id\":\"58dc8bc2-3e0a-43d2-beec-6775c71f9f50\",\"name\":\"The sent message\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\"],\"host\":[\"{{messaging-v1-messages-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) This is the user's E164-formatted phone number. The given user in the authentication token must be allowed to monitor this phone number. This number will be used as the `authorPhoneNumber` when retrieving the message.\\n\",\"type\":\"text/plain\"},\"key\":\"ownerPhoneNumber\",\"value\":\"+15145552672\",\"type\":\"text\"},{\"description\":{\"content\":\"(Required) Each contact's phone number is an E164-formatted phone number.\\n\",\"type\":\"text/plain\"},\"key\":\"contactPhoneNumbers\",\"value\":\"[\\\"+15145557777\\\"]\",\"type\":\"text\"},{\"description\":{\"content\":\"The message body (optional if the message has at least one media file attached).\",\"type\":\"text/plain\"},\"key\":\"body\",\"value\":\"Hi Bob!\",\"type\":\"text\"},{\"description\":{\"content\":\"The key of the user on behalf of which this request is being made. For use by user with SuperAdmin privileges. Requests made for the user of the bearer token don't require this parameter.\\n\",\"type\":\"text/plain\"},\"key\":\"userKey\",\"value\":\"<string>\",\"type\":\"text\"},{\"description\":{\"content\":\"The media you want to send (optional if the body is not empty). Any typical mime type listed\\n[here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) will be supported as the `type` parameter.\\n\",\"type\":\"text/plain\"},\"key\":\"media\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n \\\"contactPhoneNumbers\\\": [\\n  \\\"+15145557777\\\"\\n ],\\n \\\"authorPhoneNumber\\\": \\\"+15145552672\\\",\\n \\\"id\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n \\\"timestamp\\\": \\\"2017-07-21T17:32:28.000Z\\\",\\n \\\"direction\\\": \\\"OUT\\\",\\n \\\"body\\\": \\\"Hi Bob!\\\",\\n \\\"deliveryStatuses\\\": [\\n  {\\n   \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n   \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n   \\\"timestamp\\\": \\\"2017-07-21T17:32:28Z\\\",\\n   \\\"deliveryStatusCode\\\": 4000,\\n   \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n   \\\"retryable\\\": false\\n  }\\n ],\\n \\\"authorExternalUserKey\\\": \\\"972138946283750\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3b330588-3195-4ad6-b0ac-449913ed4169\",\"name\":\"A non E164-formatted phone number was provided, the owner phone number is missing or the contact phone numbers list is empty.\\nThe `BAD_REQUEST` error code will be returned in such case.\\n\\nA contact number is opted out.\\nThe `BAD_REQUEST` error code will be returned in this case.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\"],\"host\":[\"{{messaging-v1-messages-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) This is the user's E164-formatted phone number. The given user in the authentication token must be allowed to monitor this phone number. This number will be used as the `authorPhoneNumber` when retrieving the message.\\n\",\"type\":\"text/plain\"},\"key\":\"ownerPhoneNumber\",\"value\":\"+15145552672\",\"type\":\"text\"},{\"description\":{\"content\":\"(Required) Each contact's phone number is an E164-formatted phone number.\\n\",\"type\":\"text/plain\"},\"key\":\"contactPhoneNumbers\",\"value\":\"[\\\"+15145557777\\\"]\",\"type\":\"text\"},{\"description\":{\"content\":\"The message body (optional if the message has at least one media file attached).\",\"type\":\"text/plain\"},\"key\":\"body\",\"value\":\"Hi Bob!\",\"type\":\"text\"},{\"description\":{\"content\":\"The key of the user on behalf of which this request is being made. For use by user with SuperAdmin privileges. Requests made for the user of the bearer token don't require this parameter.\\n\",\"type\":\"text/plain\"},\"key\":\"userKey\",\"value\":\"<string>\",\"type\":\"text\"},{\"description\":{\"content\":\"The media you want to send (optional if the body is not empty). Any typical mime type listed\\n[here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) will be supported as the `type` parameter.\\n\",\"type\":\"text/plain\"},\"key\":\"media\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"The request is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d18389f4-e7c1-459f-8b03-cc0520e67bb8\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\"],\"host\":[\"{{messaging-v1-messages-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) This is the user's E164-formatted phone number. The given user in the authentication token must be allowed to monitor this phone number. This number will be used as the `authorPhoneNumber` when retrieving the message.\\n\",\"type\":\"text/plain\"},\"key\":\"ownerPhoneNumber\",\"value\":\"+15145552672\",\"type\":\"text\"},{\"description\":{\"content\":\"(Required) Each contact's phone number is an E164-formatted phone number.\\n\",\"type\":\"text/plain\"},\"key\":\"contactPhoneNumbers\",\"value\":\"[\\\"+15145557777\\\"]\",\"type\":\"text\"},{\"description\":{\"content\":\"The message body (optional if the message has at least one media file attached).\",\"type\":\"text/plain\"},\"key\":\"body\",\"value\":\"Hi Bob!\",\"type\":\"text\"},{\"description\":{\"content\":\"The key of the user on behalf of which this request is being made. For use by user with SuperAdmin privileges. Requests made for the user of the bearer token don't require this parameter.\\n\",\"type\":\"text/plain\"},\"key\":\"userKey\",\"value\":\"<string>\",\"type\":\"text\"},{\"description\":{\"content\":\"The media you want to send (optional if the body is not empty). Any typical mime type listed\\n[here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) will be supported as the `type` parameter.\\n\",\"type\":\"text/plain\"},\"key\":\"media\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a1353c63-04a8-4329-9a83-5645ed38afa1\",\"name\":\"Errors returned for authorization issues with error code like :\\n- `UNAUTHORIZED` - The `ownerPhoneNumber` doesn't belong to this user or is not linked to a fully registered 10DLC campaign for traffic towards US recipients.\\n- `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\"],\"host\":[\"{{messaging-v1-messages-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) This is the user's E164-formatted phone number. The given user in the authentication token must be allowed to monitor this phone number. This number will be used as the `authorPhoneNumber` when retrieving the message.\\n\",\"type\":\"text/plain\"},\"key\":\"ownerPhoneNumber\",\"value\":\"+15145552672\",\"type\":\"text\"},{\"description\":{\"content\":\"(Required) Each contact's phone number is an E164-formatted phone number.\\n\",\"type\":\"text/plain\"},\"key\":\"contactPhoneNumbers\",\"value\":\"[\\\"+15145557777\\\"]\",\"type\":\"text\"},{\"description\":{\"content\":\"The message body (optional if the message has at least one media file attached).\",\"type\":\"text/plain\"},\"key\":\"body\",\"value\":\"Hi Bob!\",\"type\":\"text\"},{\"description\":{\"content\":\"The key of the user on behalf of which this request is being made. For use by user with SuperAdmin privileges. Requests made for the user of the bearer token don't require this parameter.\\n\",\"type\":\"text/plain\"},\"key\":\"userKey\",\"value\":\"<string>\",\"type\":\"text\"},{\"description\":{\"content\":\"The media you want to send (optional if the body is not empty). Any typical mime type listed\\n[here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) will be supported as the `type` parameter.\\n\",\"type\":\"text/plain\"},\"key\":\"media\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAUTHORIZED\\\",\\n \\\"message\\\": \\\"Forbidden access to phone number +15551234567\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2d442e77-fe4e-49b8-9152-393c6790a5ea\",\"name\":\"The message payload is too large. 1024KB is the maximum size for each file. While 2MB is the maximum size for the sum of all the files. The maximum size of the message body is 1024 characters.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\"],\"host\":[\"{{messaging-v1-messages-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) This is the user's E164-formatted phone number. The given user in the authentication token must be allowed to monitor this phone number. This number will be used as the `authorPhoneNumber` when retrieving the message.\\n\",\"type\":\"text/plain\"},\"key\":\"ownerPhoneNumber\",\"value\":\"+15145552672\",\"type\":\"text\"},{\"description\":{\"content\":\"(Required) Each contact's phone number is an E164-formatted phone number.\\n\",\"type\":\"text/plain\"},\"key\":\"contactPhoneNumbers\",\"value\":\"[\\\"+15145557777\\\"]\",\"type\":\"text\"},{\"description\":{\"content\":\"The message body (optional if the message has at least one media file attached).\",\"type\":\"text/plain\"},\"key\":\"body\",\"value\":\"Hi Bob!\",\"type\":\"text\"},{\"description\":{\"content\":\"The key of the user on behalf of which this request is being made. For use by user with SuperAdmin privileges. Requests made for the user of the bearer token don't require this parameter.\\n\",\"type\":\"text/plain\"},\"key\":\"userKey\",\"value\":\"<string>\",\"type\":\"text\"},{\"description\":{\"content\":\"The media you want to send (optional if the body is not empty). Any typical mime type listed\\n[here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) will be supported as the `type` parameter.\\n\",\"type\":\"text/plain\"},\"key\":\"media\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Request Entity Too Large\",\"code\":413,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"qg2TJHt5EoNqrMQUPpR9aTYZFNJnZK5g\\\",\\n \\\"errorCode\\\": \\\"PAYLOAD_TOO_LARGE\\\",\\n \\\"message\\\": \\\"Total media content too large, total size of all media files must be under 3.75MB\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4922e592-4c3c-4754-9e66-d1c4919865c4\",\"name\":\"The client has sent too many requests in a given amount of time. The API returns a number of `errorCode` values in the response that provide additional details. Requests for this account will continue returning `429` response until the returned `Retry-After` number of seconds has elapsed.\\nThere is a limit on outbound SMS per month per organization. The following error code: TOO_MANY_REQUESTS will be returned in this case. Reach out to support if this limit must be increased.\\n* `TOO_MANY_REQUESTS` - The client has sent too many requests in a given amount of time.\\n* `QUOTA_REACHED` - For accounts with monthly message quotas, this indicates the maximum number of\\n  messages that can be sent for the month has been reached. The limit resets on the following First\\n  of the Month (GMT +00:00).\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\"],\"host\":[\"{{messaging-v1-messages-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) This is the user's E164-formatted phone number. The given user in the authentication token must be allowed to monitor this phone number. This number will be used as the `authorPhoneNumber` when retrieving the message.\\n\",\"type\":\"text/plain\"},\"key\":\"ownerPhoneNumber\",\"value\":\"+15145552672\",\"type\":\"text\"},{\"description\":{\"content\":\"(Required) Each contact's phone number is an E164-formatted phone number.\\n\",\"type\":\"text/plain\"},\"key\":\"contactPhoneNumbers\",\"value\":\"[\\\"+15145557777\\\"]\",\"type\":\"text\"},{\"description\":{\"content\":\"The message body (optional if the message has at least one media file attached).\",\"type\":\"text/plain\"},\"key\":\"body\",\"value\":\"Hi Bob!\",\"type\":\"text\"},{\"description\":{\"content\":\"The key of the user on behalf of which this request is being made. For use by user with SuperAdmin privileges. Requests made for the user of the bearer token don't require this parameter.\\n\",\"type\":\"text/plain\"},\"key\":\"userKey\",\"value\":\"<string>\",\"type\":\"text\"},{\"description\":{\"content\":\"The media you want to send (optional if the body is not empty). Any typical mime type listed\\n[here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) will be supported as the `type` parameter.\\n\",\"type\":\"text/plain\"},\"key\":\"media\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"disabled\":false,\"description\":\"Delay in seconds until the next request SHOULD be done.\",\"key\":\"Retry-After\",\"value\":\"-95733626\"},{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\",\\n \\\"message\\\": \\\"The client has sent too many requests in a given amount of time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c528b0db-2723-498c-82ee-1db0a3a4eab1\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\"],\"host\":[\"{{messaging-v1-messages-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) This is the user's E164-formatted phone number. The given user in the authentication token must be allowed to monitor this phone number. This number will be used as the `authorPhoneNumber` when retrieving the message.\\n\",\"type\":\"text/plain\"},\"key\":\"ownerPhoneNumber\",\"value\":\"+15145552672\",\"type\":\"text\"},{\"description\":{\"content\":\"(Required) Each contact's phone number is an E164-formatted phone number.\\n\",\"type\":\"text/plain\"},\"key\":\"contactPhoneNumbers\",\"value\":\"[\\\"+15145557777\\\"]\",\"type\":\"text\"},{\"description\":{\"content\":\"The message body (optional if the message has at least one media file attached).\",\"type\":\"text/plain\"},\"key\":\"body\",\"value\":\"Hi Bob!\",\"type\":\"text\"},{\"description\":{\"content\":\"The key of the user on behalf of which this request is being made. For use by user with SuperAdmin privileges. Requests made for the user of the bearer token don't require this parameter.\\n\",\"type\":\"text/plain\"},\"key\":\"userKey\",\"value\":\"<string>\",\"type\":\"text\"},{\"description\":{\"content\":\"The media you want to send (optional if the body is not empty). Any typical mime type listed\\n[here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) will be supported as the `type` parameter.\\n\",\"type\":\"text/plain\"},\"key\":\"media\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"ebf1b66b-0ecf-4ce6-af95-30d852cce59c\",\"name\":\"{message Id}\",\"item\":[{\"id\":\"0dfa1bac-ecea-482d-a265-bfc32ae58132\",\"name\":\"Get a specific message\",\"request\":{\"name\":\"Get a specific message\",\"description\":{\"content\":\"Obtains a specific message. If the message is deleted, there will be\\nno body and additional information about when it was deleted.\\n\\n### Authentication Scopes\\n\\n`messaging.v1.read` must be used when a token is requested from the Authentication API.\\n\\n### Example Interaction with curl\\n\\n```\\ncurl \\\"https://api.goto.com/messaging/v1/messages/{messageId}\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\",\":messageId\"],\"host\":[\"{{messaging-v1-messages-messageId-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"The key of the user on behalf of which this request is being made.\\nTo be used by user with super admin privileges. Requests made for the user of the\\nbearer token don't require this parameter.\\n\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<MessageId>\",\"key\":\"messageId\",\"description\":\"(Required) The message's unique identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"03ac9065-a698-4042-9b2f-d2c1816c2ef3\",\"name\":\"The message\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\",\":messageId\"],\"host\":[\"{{messaging-v1-messages-messageId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"messageId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n \\\"contactPhoneNumbers\\\": [\\n  \\\"+15145557777\\\"\\n ],\\n \\\"authorPhoneNumber\\\": \\\"+15145552672\\\",\\n \\\"id\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n \\\"timestamp\\\": \\\"1969-05-02T18:40:26.120Z\\\",\\n \\\"direction\\\": \\\"OUT\\\",\\n \\\"deliveryStatuses\\\": [\\n  {\\n   \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n   \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n   \\\"timestamp\\\": \\\"consectetur est\\\",\\n   \\\"deliveryStatusCode\\\": 4000,\\n   \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n   \\\"retryable\\\": false\\n  },\\n  {\\n   \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n   \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n   \\\"timestamp\\\": \\\"occaeca\\\",\\n   \\\"deliveryStatusCode\\\": 4000,\\n   \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n   \\\"retryable\\\": false\\n  }\\n ],\\n \\\"authorExternalUserKey\\\": \\\"972138946283750\\\",\\n \\\"deletedTimestamp\\\": \\\"1947-05-20T22:49:28.884Z\\\",\\n \\\"body\\\": \\\"Hi Bob!\\\",\\n \\\"media\\\": [\\n  {\\n   \\\"id\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n   \\\"filename\\\": \\\"happy_face.jpg\\\",\\n   \\\"contentType\\\": \\\"image/jpg\\\",\\n   \\\"size\\\": 1345\\n  },\\n  {\\n   \\\"id\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n   \\\"filename\\\": \\\"happy_face.jpg\\\",\\n   \\\"contentType\\\": \\\"image/jpg\\\",\\n   \\\"size\\\": 1345\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0f38215f-c2f7-4137-b57a-af2330275509\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\",\":messageId\"],\"host\":[\"{{messaging-v1-messages-messageId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"messageId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fa9b8ee2-1199-4daf-bbd3-327ad40403e1\",\"name\":\"Errors returned for authorization issues with error code like :\\n- `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\",\":messageId\"],\"host\":[\"{{messaging-v1-messages-messageId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"messageId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f47c7971-4a7e-41a4-8421-db630907f513\",\"name\":\"The provided `messageId` doesn't exist. The `NOT_FOUND` error code will be returned in such case.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\",\":messageId\"],\"host\":[\"{{messaging-v1-messages-messageId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"messageId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Message with ID 257f6944-aad6-4372-802a-57faa4780b2c does not exist\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ce931f57-9b42-49dc-b26e-6a3f2271f35b\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\",\":messageId\"],\"host\":[\"{{messaging-v1-messages-messageId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"messageId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"79d1a881-0301-49c6-bc99-a9c199a0c000\",\"name\":\"Delete a specific message\",\"request\":{\"name\":\"Delete a specific message\",\"description\":{\"content\":\"Marks a message as deleted by removing the message body and\\nadding information about when it was deleted.\\n\\nNote: subsequent `GET` will return the deleted message, not a `404` response.\\n\\n### Authentication Scopes\\n\\n`messaging.v1.write` must be used when a token is requested from the Authentication API.\\n\\n### Example Interaction with curl\\n\\n```\\ncurl -X \\\"DELETE\\\" \\\"https://api.goto.com/messaging/v1/messages/{messageId}\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\",\":messageId\"],\"host\":[\"{{messaging-v1-messages-messageId-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"The key of the user on behalf of which this request is being made.\\nTo be used by user with super admin privileges. Requests made for the user of the\\nbearer token don't require this parameter.\\n\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<MessageId>\",\"key\":\"messageId\",\"description\":\"(Required) The message's unique identifier.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"706b47a5-e81f-4080-8242-13491442753d\",\"name\":\"The deleted message information.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\",\":messageId\"],\"host\":[\"{{messaging-v1-messages-messageId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"messageId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n \\\"contactPhoneNumbers\\\": [\\n  \\\"+15145557777\\\"\\n ],\\n \\\"authorPhoneNumber\\\": \\\"+15145552672\\\",\\n \\\"id\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n \\\"timestamp\\\": \\\"1988-09-28T00:32:33.919Z\\\",\\n \\\"direction\\\": \\\"OUT\\\",\\n \\\"deliveryStatuses\\\": [\\n  {\\n   \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n   \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n   \\\"timestamp\\\": \\\"velit eu aliqua culpa\\\",\\n   \\\"deliveryStatusCode\\\": 4000,\\n   \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n   \\\"retryable\\\": false\\n  },\\n  {\\n   \\\"messageId\\\": \\\"iaZAG2KDVTvqBe6hCOqDu\\\",\\n   \\\"contactPhoneNumber\\\": \\\"+15145556666\\\",\\n   \\\"timestamp\\\": \\\"velit\\\",\\n   \\\"deliveryStatusCode\\\": 4000,\\n   \\\"deliveryStatusDescription\\\": \\\"INVALID_DESTINATION\\\",\\n   \\\"retryable\\\": false\\n  }\\n ],\\n \\\"authorExternalUserKey\\\": \\\"972138946283750\\\",\\n \\\"deletedTimestamp\\\": \\\"2001-03-22T13:48:25.136Z\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1b758dac-9ed1-4311-8f1e-b24bd26a2589\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\",\":messageId\"],\"host\":[\"{{messaging-v1-messages-messageId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"messageId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6752eeee-1c10-4f2d-b88e-923ca1ab1a1b\",\"name\":\"Errors returned for authorization issues with error code like :\\n- `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\",\":messageId\"],\"host\":[\"{{messaging-v1-messages-messageId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"messageId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8f4bcabb-42d6-479e-a83c-5224afd0c8e2\",\"name\":\"The provided `messageId` doesn't exist. The `NOT_FOUND` error code will be returned in such case.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\",\":messageId\"],\"host\":[\"{{messaging-v1-messages-messageId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"messageId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Message with ID 257f6944-aad6-4372-802a-57faa4780b2c does not exist\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f132818d-6a11-4497-b7fb-05723ed52cc0\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"messages\",\":messageId\"],\"host\":[\"{{messaging-v1-messages-messageId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"messageId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"8d51f580-eefe-455c-b42c-e2a6d99611f8\",\"name\":\"Get a specific media\",\"request\":{\"name\":\"Get a specific media\",\"description\":{\"content\":\"Obtains a specific media.\\n\\n### Authentication Scopes\\n\\n`messaging.v1.read` must be used when a token is requested from the Authentication API.\\n\\n### Example Interaction with curl\\n\\n```\\ncurl \\\"https://api.goto.com/messaging/v1/media/{mediaId}\\\" \\\\\\n  -H 'Authorization: Bearer {token}' --output {filename}\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"media\",\":mediaId\"],\"host\":[\"{{messaging-v1-media-mediaId-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"The key of the user on behalf of which this request is being made.\\nTo be used by user with super admin privileges. Requests made for the user of the\\nbearer token don't require this parameter.\\n\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"mediaId\",\"description\":\"(Required) The media's unique identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"af48df63-a14c-4b8a-beef-47247920475c\",\"name\":\"The media specified by the ID. Content type depends on the type of media.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"media\",\":mediaId\"],\"host\":[\"{{messaging-v1-media-mediaId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"mediaId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"nulla n\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"6d92d8d4-e3ef-4e69-bfc1-b355d16806a7\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"media\",\":mediaId\"],\"host\":[\"{{messaging-v1-media-mediaId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"mediaId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"dcbfce1b-7486-498f-9a5f-d2a0a3e12b8e\",\"name\":\"Errors returned for authorization issues with error code like :\\n- `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"media\",\":mediaId\"],\"host\":[\"{{messaging-v1-media-mediaId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"mediaId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"765272f1-51c1-43a8-9332-aecc5f6b43f3\",\"name\":\"The provided `mediaId` doesn't exist or the given token can't download it.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"media\",\":mediaId\"],\"host\":[\"{{messaging-v1-media-mediaId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"mediaId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Media with ID 257f6944-aad6-4372-802a-57faa4780b2c does not exist\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b926ef30-6424-45c2-992e-b9da643007d1\",\"name\":\"Too many requests have been sent for this user and ownerPhoneNumber combination. Requests for this user and parameters will continue returning `429` responses until the returned `Retry-After` number of seconds has elapsed.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"media\",\":mediaId\"],\"host\":[\"{{messaging-v1-media-mediaId-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"mediaId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"disabled\":false,\"description\":\"Delay in seconds until the next request SHOULD be done.\",\"key\":\"Retry-After\",\"value\":\"-95733626\"},{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\",\\n \\\"message\\\": \\\"The client has sent too many requests in a given amount of time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"9b2a579b-0151-4ba6-b0af-bf5bf84ec5bf\",\"name\":\"Get media metadata\",\"request\":{\"name\":\"Get media metadata\",\"description\":{\"content\":\"Obtains a paginated list of media metadata in a conversation between the\\nuser's phone number and the specified contact's phone number, sorted\\nby most recent media first. A time range can be specified to limit the result set.\\n\\n### Example Interaction with curl\\n\\n```\\ncurl \\\"https://api.goto.com/messaging/v1/media-metadata?ownerPhoneNumber={ownerPhoneNumber}&contactPhoneNumber={contactPhoneNumber}\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"media-metadata\"],\"host\":[\"{{messaging-v1-media-metadata-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\",\"description\":\"(Required) The user's phone number, which is an E164-formatted phone number, for sending and receiving messages. The given user in the authentication token must be allowed to monitor this phone number.\\n\"},{\"disabled\":false,\"key\":\"contactPhoneNumber\",\"value\":\"<string>\",\"description\":\"(Required) The contact's phone number which is an E164-formatted phone number. This is the other phone number that is sending messages to or receiving messages from the owner's phone number. If a list of `contactPhoneNumber`, the endpoint will find the conversation matching the full list.\\n\"},{\"disabled\":false,\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\",\"description\":\"Newest ISO-8601 formatted timestamp of the queried time range. For example, 2017-07-21T17:32:28Z. This field is set with current timestamp by default.\\n\"},{\"disabled\":false,\"key\":\"contentType\",\"value\":\"*/*\",\"description\":\"Restrict the media type(s) included in the result set. Use of the wildcard character\\nare permitted. For example, `image/*` or `*/*`. Media types must be RFC 2046 compliant.\\n\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The returned `nextPageMarker` from a paginated collection is used here to fetch the starting item for the paginated result.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"The key of the user on behalf of which this request is being made.\\nTo be used by user with super admin privileges. Requests made for the user of the\\nbearer token don't require this parameter.\\n\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"b532f9e8-c086-4d76-8dc4-d0c24454df31\",\"name\":\"List of paginated Media Metadata\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"media-metadata\"],\"host\":[\"{{messaging-v1-media-metadata-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"contentType\",\"value\":\"*/*\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n   \\\"filename\\\": \\\"happy_face.jpg\\\",\\n   \\\"contentType\\\": \\\"image/jpg\\\",\\n   \\\"size\\\": 1345,\\n   \\\"messageId\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n   \\\"messageTime\\\": \\\"1972-04-27T07:09:25.602Z\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n   \\\"filename\\\": \\\"happy_face.jpg\\\",\\n   \\\"contentType\\\": \\\"image/jpg\\\",\\n   \\\"size\\\": 1345,\\n   \\\"messageId\\\": \\\"e312d3c3-187a-4db4-9859-e29449229ab4\\\",\\n   \\\"messageTime\\\": \\\"1995-01-10T12:34:40.967Z\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4cbb3804-dfeb-4553-b96a-8a66f648bc1a\",\"name\":\"The `BAD_REQUEST` error code will be returned in the following cases:\\n  - A non E164-formatted phone number was provided\\n  - the owner phone number is missing\\n  - the contact phone numbers list is empty\\n  - an invalid timestamp was provided\\n  - the `pageMarker` format is invalid\\n  - the `pageSize` format is invalid\\n  - the `contentType` value is invalid.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"media-metadata\"],\"host\":[\"{{messaging-v1-media-metadata-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"contentType\",\"value\":\"*/*\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"The request is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2552d841-992f-4428-8a1a-d06f3c051318\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"media-metadata\"],\"host\":[\"{{messaging-v1-media-metadata-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"contentType\",\"value\":\"*/*\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"eee78376-e891-4214-8941-f9543750696d\",\"name\":\"Errors returned for authorization issues with error code like :\\n- `UNAUTHORIZED` - The `ownerPhoneNumber` doesn't belong to this user\\n- `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"media-metadata\"],\"host\":[\"{{messaging-v1-media-metadata-Url}}\"],\"query\":[{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"contactPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"newestTimestamp\",\"value\":\"<dateTime>\"},{\"key\":\"contentType\",\"value\":\"*/*\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAUTHORIZED\\\",\\n \\\"message\\\": \\\"Forbidden access to phone number +15551234567\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"0e7ddc81-a3bc-4a19-a281-114f29260267\",\"name\":\"subscriptions\",\"item\":[{\"id\":\"5a1dcfdc-92f0-456a-87be-3d6c1431987d\",\"name\":\"Create a subscription for a given phone number.\\n\",\"request\":{\"name\":\"Create a subscription for a given phone number.\\n\",\"description\":{\"content\":\"Create a subscription for the user defined in the authorization\\ntoken. The subscription activates notifications towards the provided\\nnotification channel ID. The OAuth client ID used to get\\nthe access token that will be provided for the creation must be the same one used to create the channel.\\n\\n### Authentication Scopes\\n\\n`messaging.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\\n### Example Interaction with curl\\n\\n```\\ncurl -X \\\"POST\\\" \\\"https://api.goto.com/messaging/v1/subscriptions\\\" \\\\\\n  -H \\\"Content-Type: application/json\\\" \\\\\\n  -d '{\\\"ownerPhoneNumber\\\": \\\"{ownerPhoneNumber}\\\", \\\"eventTypes\\\": [{types}], \\\"channelId\\\": \\\"id\\\"}' \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\"],\"host\":[\"{{messaging-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ownerPhoneNumber\\\": \\\"<string>\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"54c00df0-494c-443b-b4cb-a94740c19aaa\",\"name\":\"The successfully created subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\"],\"host\":[\"{{messaging-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"ea cupidatat aute ipsum\\\",\\n \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n \\\"eventTypes\\\": [\\n  \\\"READ_UPDATE_CONVERSATION\\\",\\n  \\\"INCOMING_MESSAGE_SNIPPET\\\"\\n ],\\n \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"08a81f6f-a2b9-485c-ab1b-aaf7a9d286e6\",\"name\":\"A field was missing. The `BAD_REQUEST` error code will be returned in such case.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\"],\"host\":[\"{{messaging-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"channelId\\\",\\n   \\\"constraint\\\": \\\"Required\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b7f89bef-3b94-4a6c-a408-2af4469d87d1\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\"],\"host\":[\"{{messaging-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0e438ddc-f902-4b43-90d7-52a079823063\",\"name\":\"Errors returned for authorization issues with error code like :\\n- `UNAUTHORIZED` - The `ownerPhoneNumber` doesn't belong to this user\\n- `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\"],\"host\":[\"{{messaging-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAUTHORIZED\\\",\\n \\\"message\\\": \\\"Forbidden access to phone number +15551234567\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2c4e53de-eb23-41d2-8319-780c52be60a3\",\"name\":\"If a subscription already exists for this given phone number and user, defined by the authorization token, a `HTTP 409 Conflict` will be returned.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\"],\"host\":[\"{{messaging-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"MrLkIdckZ7LGZqJcqgQybRpBVqMaLuUQ\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"ownerPhoneNumber\\\",\\n   \\\"constraint\\\": \\\"Subscription already exists\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"CONFLICT\\\",\\n \\\"message\\\": \\\"The subscription already exists for the channelId [Webhook.039e84dd-b339-4ac2-a6f6-bfacfd4ef78c]\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3c9dcb37-d6e6-40f5-8282-00e436706fa8\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\"],\"host\":[\"{{messaging-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"fb90bfd4-7328-4ee7-a941-72fc9b17cc0f\",\"name\":\"Get subscriptions\",\"request\":{\"name\":\"Get subscriptions\",\"description\":{\"content\":\"Obtains the subscription details of the desired user where the user is\\ndefined by the authorization token. The OAuth client ID used to get\\nthe access token that will be provided for this request must be the same that the\\none used to get the channel. Filter can have channelId or ownerPhoneNumber or both.\\nIf filter contains both channelId and ownerPhoneNumber, then the result should match\\nboth channelId and ownerPhoneNumber.\\n\\n### Authentication Scopes\\n\\n`messaging.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\\n### Example Interaction with curl\\n\\n```\\ncurl \\\"https://api.goto.com/messaging/v1/subscriptions\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\"],\"host\":[\"{{messaging-v1-subscriptions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The returned `nextPageMarker` from a paginated collection is used here to fetch the starting item for the paginated result.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\",\"description\":\"The owner's phone number which is an E164-formatted phone number. If provided, filters the results to only subscriptions of the provided owner's phone number.\\n\"},{\"disabled\":false,\"key\":\"channelId\",\"value\":\"<string>\",\"description\":\"If the channelId is provided, filters the results to only the specific channel id.\\n\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"9afdab6f-92ff-4f64-ac2f-a38d386e8d58\",\"name\":\"The subscription list\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\"],\"host\":[\"{{messaging-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"in\\\",\\n   \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n   \\\"eventTypes\\\": [\\n    \\\"INCOMING_MESSAGE_SNIPPET\\\",\\n    \\\"QUOTA_EXCEEDED\\\"\\n   ],\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"Duis pariatur enim quis\\\",\\n   \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n   \\\"eventTypes\\\": [\\n    \\\"DELIVERY_STATUS\\\",\\n    \\\"DELETED_CONVERSATION\\\"\\n   ],\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1f48e56f-f63b-437d-b95f-e4991d61dae7\",\"name\":\"The `pageMarker` or `pageSize` is invalid. The `BAD_REQUEST` error code will be returned in such case.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\"],\"host\":[\"{{messaging-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"pageSize\\\",\\n   \\\"constraint\\\": \\\"Invalid (expected: between 1 and 100)\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ebaa2b82-56cc-47c0-938a-42511ef361a2\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\"],\"host\":[\"{{messaging-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0e98b192-bf1e-4931-98e6-499ef89ab595\",\"name\":\"Errors returned for authorization issues with error code like :\\n- `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\"],\"host\":[\"{{messaging-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b4f54508-ac2b-4e91-b52d-f0d3a2d6cd33\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\"],\"host\":[\"{{messaging-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"ownerPhoneNumber\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"0a059f19-a2fc-46f9-910d-a9ea11047b93\",\"name\":\"{subscription Id}\",\"item\":[{\"id\":\"57963d0a-f362-41b9-9d01-a399e0b37996\",\"name\":\"Update a subscription.\\n\",\"request\":{\"name\":\"Update a subscription.\\n\",\"description\":{\"content\":\"Update a subscription for a desired user's phone number where the user\\nis defined in the authorization token. The OAuth client ID used to get\\nthe access token that will be provided for the update must be the same that the one used to create the channel.\\n\\n### Authentication Scopes\\n\\n`messaging.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\\n### Example Interaction with curl\\n\\n```\\ncurl -X \\\"PATCH\\\" \\\"https://api.goto.com/messaging/v1/subscriptions/{subscriptionId}\\\" \\\\\\n  -H \\\"Content-Type: application/json\\\" \\\\\\n  -d '{\\\"eventTypes\\\": [{types}]}' \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<uuid>\",\"key\":\"subscriptionId\",\"description\":\"(Required) The subscription's unique identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"response\":[{\"id\":\"fdbaa924-63fa-4f9d-a93d-aac861951c5e\",\"name\":\"The subscription is successfully updated.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"ea cupidatat aute ipsum\\\",\\n \\\"ownerPhoneNumber\\\": \\\"+15145552672\\\",\\n \\\"eventTypes\\\": [\\n  \\\"READ_UPDATE_CONVERSATION\\\",\\n  \\\"INCOMING_MESSAGE_SNIPPET\\\"\\n ],\\n \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"600e6ea4-df05-4427-9175-54e7bcf626ef\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5112e13e-6892-4c35-b591-aa6864fd20c9\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"89dbebbe-0288-4680-a6a5-8b0c0e6e9b0a\",\"name\":\"Errors returned for authorization issues with error code like :\\n- `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1df42425-5cf4-4c36-8570-170f1a3d6a62\",\"name\":\"The provided subscriptionId doesn't exist or the subscription doesn't belong to the user defined by the authorization token.\\nThe `NOT_FOUND` error code will be returned in such case.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"SubscriptionId [257f6944-aad6-4372-802a-57faa4780b2c] not found\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d3b0ddf9-0252-4f85-8750-b707c211b07d\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"4fd407f9-8302-41b0-baa1-aa8febb38a7c\",\"name\":\"Delete a subscription\",\"request\":{\"name\":\"Delete a subscription\",\"description\":{\"content\":\"Delete a subscription for a desired user's phone number where the user\\nis defined in the authorization token. The OAuth client ID used to get\\nthe access token that will be provided for the deletion must be the same that the one used to create the channel.\\n\\n### Authentication Scopes\\n\\n`messaging.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\\n### Example Interaction with curl\\n\\n```\\ncurl -X \\\"DELETE\\\" \\\"https://api.goto.com/messaging/v1/subscriptions/{subscriptionId}\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<uuid>\",\"key\":\"subscriptionId\",\"description\":\"(Required) The subscription's unique identifier.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"99034689-dc23-41e4-bca4-0d0c97b7dda2\",\"name\":\"Successfully removed the subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"1b32e0e3-f7fa-44f0-a974-c03b256e52a9\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"55c145c7-7f11-4946-a9ec-bb56263b07c3\",\"name\":\"Errors returned for authorization issues with error code like :\\n- `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6e63f0b6-1f78-4f56-93e9-6a4407b8eb41\",\"name\":\"The provided subscriptionId doesn't exist or the subscription doesn't belong to the user defined by the authorization token.\\nThe `NOT_FOUND` error code will be returned in such case.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"SubscriptionId [257f6944-aad6-4372-802a-57faa4780b2c] not found\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2f9885d2-9118-45d0-88d5-b800dd7bd76b\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"9e22c4d7-ea89-4e42-b0da-b1139dd7f796\",\"name\":\"organization-subscriptions\",\"item\":[{\"id\":\"ff986b6e-7772-447d-a00b-7ef6033e7aea\",\"name\":\"Create a subscription on all phone numbers linked to an organization.\",\"request\":{\"name\":\"Create a subscription on all phone numbers linked to an organization.\",\"description\":{\"content\":\"This endpoint is intended for intergrators and can only be called by a Super-Admin user.\\n\\nCreate a subscription for the user defined in the authorization token. The subscription\\nactivates notifications towards the provided notification channel ID. The request may contain\\none or more event types to subscribe to.\\n\\nThe resulting subscription applies to all phone numbers linked to the organization. For example,\\nif a new phone number is provisioned and starts sending/receiving text messages, and the\\nsubscription includes INBOUND_MESSAGE or OUTBOUND_MESSAGE event types, it will immediately begin\\nreceiving notifications for this phone number.\\n\\nImportant note: the resulting subscription is bound to the user used to create it. If the user\\nis deactivated, loses their Super-Admin privileges, or is removed from the organization,\\nnotifications will no longer be sent to the associated channel.\\n\\nEither the `organizationId` or the `accountKey` must be provided for this request.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{messaging-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"<string>\\\",\\n    \\\"organizationId\\\": \\\"<uuid>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"f47a3510-7dbf-415e-84ea-08edcee8caf1\",\"name\":\"The successfully created subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{messaging-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"organizationId\\\": \\\"<uuid>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"proident eiusmod Duis Lorem\\\",\\n \\\"organizationId\\\": \\\"urn:uuid:b59e64e8-6a44-fb82-77ed-63782aa93483\\\",\\n \\\"eventTypes\\\": [\\n  \\\"INCOMING_MESSAGE\\\",\\n  \\\"QUOTA_EXCEEDED\\\"\\n ],\\n \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"54e9cc6a-210c-403f-a645-88c6d3868984\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{messaging-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"organizationId\\\": \\\"<uuid>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2ceec8a1-ad5b-4344-87af-8946da8a6156\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{messaging-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"organizationId\\\": \\\"<uuid>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"899fd08f-3811-4567-86ce-1af82d58e588\",\"name\":\"The `organizationId`, `accountKey` or `channelId` isn't associated to this user\\nand/or doesn't exist.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{messaging-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"organizationId\\\": \\\"<uuid>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d2173066-f588-4bbe-ae80-042a286c8767\",\"name\":\"If a subscription already exists for this given organization and user defined by the authorization token, an `HTTP Code 409 Conflict` will be returned.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{messaging-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"organizationId\\\": \\\"<uuid>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\\\",\\n \\\"errorCode\\\": \\\"CONFLICT\\\",\\n \\\"message\\\": \\\"Subscription already exists\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b1f65770-999b-4788-a1d2-2a47741e8d36\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{messaging-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"organizationId\\\": \\\"<uuid>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fac91ee4-a781-4a5a-b9a0-e921809d535f\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{messaging-v1-organization-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"organizationId\\\": \\\"<uuid>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]},{\"id\":\"438f743c-9175-44e4-8a87-5b679b331a66\",\"name\":\"Get organization subscriptions\",\"request\":{\"name\":\"Get organization subscriptions\",\"description\":{\"content\":\"Obtain the list of subscriptions associated to the requesting user, as defined by the authorization\\ntoken.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{messaging-v1-organization-subscriptions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The returned `nextPageMarker` from a paginated collection is used here to fetch the starting item for the paginated result.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"organizationId\",\"value\":\"<uuid>\",\"description\":\"If the organizationId is provided, filters the results to only the specific organization.\\n\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"If the accountKey is provided, filters the results to only the specific account.\\n\"},{\"disabled\":false,\"key\":\"channelId\",\"value\":\"<string>\",\"description\":\"If the channelId is provided, filters the results to only the specific channel id.\\n\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"fa6f9d54-1689-4039-ab1f-c54f56e5c3fa\",\"name\":\"The organization subscription list\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{messaging-v1-organization-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<uuid>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"dolore cupidatat\\\",\\n   \\\"organizationId\\\": \\\"53ae724d-dc14-3844-d2b5-a1d445639636\\\",\\n   \\\"eventTypes\\\": [\\n    \\\"OUTGOING_MESSAGE\\\",\\n    \\\"DELETED_CONVERSATION\\\"\\n   ],\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"in elit\\\",\\n   \\\"organizationId\\\": \\\"urn:uuid:e9097ae3-6593-f120-66af-196bc4ccb59a\\\",\\n   \\\"eventTypes\\\": [\\n    \\\"QUOTA_REACHED\\\",\\n    \\\"QUOTA_EXCEEDED\\\"\\n   ],\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ec8623be-0bef-47d3-9cab-f2e7b5858d3a\",\"name\":\"The `pageMarker` or `pageSize` is invalid\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{messaging-v1-organization-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<uuid>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"pageSize\\\",\\n   \\\"constraint\\\": \\\"Invalid (expected: between 1 and 100)\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"acea1887-cfbd-41cd-ad0e-cd3ccb22c85d\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{messaging-v1-organization-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<uuid>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6244a384-08d9-450f-8af2-f3c51b76c0d9\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\"],\"host\":[\"{{messaging-v1-organization-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<uuid>\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]},{\"id\":\"277a70ad-7018-4181-9c6b-e4449e0ee1a2\",\"name\":\"{subscription Id}\",\"item\":[{\"id\":\"e6317604-e202-4f49-9e27-46b3b3a9f98e\",\"name\":\"Update an organization subscription.\",\"request\":{\"name\":\"Update an organization subscription.\",\"description\":{\"content\":\"Update an organization subscription. The request must be made by the Super-Admin user who created the\\nsubscription. Their account must be active and their Super-Admin privileges still granted.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<uuid>\",\"key\":\"subscriptionId\",\"description\":\"(Required) The subscription's unique identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"response\":[{\"id\":\"09086a81-3d80-43d4-ac94-300fd62273e2\",\"name\":\"The subscription is successfully updated.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"proident eiusmod Duis Lorem\\\",\\n \\\"organizationId\\\": \\\"urn:uuid:b59e64e8-6a44-fb82-77ed-63782aa93483\\\",\\n \\\"eventTypes\\\": [\\n  \\\"INCOMING_MESSAGE\\\",\\n  \\\"QUOTA_EXCEEDED\\\"\\n ],\\n \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"48ddc852-a746-469e-8ca4-9797800f78a3\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"35837297-0cea-408c-9632-45eea1e495e9\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"74c9e086-c557-43b9-bc72-fd84aa77a744\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3f4cec47-4ab5-41eb-aaec-1ebb45be8437\",\"name\":\"The provided subscriptionId doesn't exist or the subscription doesn't belong to the provided user, defined by the authorization token.\\nThe `NOT_FOUND` error code will be returned in such case.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"SubscriptionId [257f6944-aad6-4372-802a-57faa4780b2c] not found\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8fda9499-0e07-4eda-97d7-2bcc0cb59409\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"ebc1533c-18f1-4a73-89b4-66e644c61d74\",\"name\":\"Delete an organization subscription\",\"request\":{\"name\":\"Delete an organization subscription\",\"description\":{\"content\":\"Delete an organization subscription. The request must be made by the user who created the\\nsubscription. Their account must be active and their Super-Admin privileges still granted.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<uuid>\",\"key\":\"subscriptionId\",\"description\":\"(Required) The subscription's unique identifier.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"0f2e8b0f-394d-4634-b942-e974fd759380\",\"name\":\"Successfully removed the subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"3ba5dd66-923f-477a-a7f5-871e3b61f90b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"798bafd1-b72a-418d-ab16-5b4fa9ec5343\",\"name\":\"The provided `subscriptionId` doesn't exist or the subscription\\ndoesn't belong to the provided user, defined by the authorization token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"SubscriptionId [257f6944-aad6-4372-802a-57faa4780b2c] not found\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"362404d5-e576-4acb-86ca-fce17231d5bc\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"organization-subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-organization-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"9bc0a8d9-4f3b-42b7-870f-94c2aa19271d\",\"name\":\"opt-outs\",\"item\":[{\"id\":\"ef8cd923-7fd5-48ac-81aa-2200720bb09e\",\"name\":\"Add an opt-out\",\"request\":{\"name\":\"Add an opt-out\",\"description\":{\"content\":\"Add an opt-out for an account. \\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"(Required) Identifier of an account.\"}],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"phoneNumber\\\": \\\"<string>\\\",\\n    \\\"features\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"response\":[{\"id\":\"8e0217ba-c6d2-476d-8e29-3eec2ab674fe\",\"name\":\"created successfully\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"phoneNumber\\\": \\\"+15145551234\\\",\\n    \\\"features\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"phoneNumber\\\": \\\"+15145551234\\\",\\n \\\"features\\\": [\\n  \\\"ALL_MESSAGING\\\",\\n  \\\"ALL_MESSAGING\\\"\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8f5a9689-2f5b-4944-abb9-6e8372815a55\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"phoneNumber\\\": \\\"+15145551234\\\",\\n    \\\"features\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"55268610-6027-48e7-9079-7fdcad0c2f0d\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"phoneNumber\\\": \\\"+15145551234\\\",\\n    \\\"features\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a7b22551-4bcd-4163-89f3-43b363424bb2\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"phoneNumber\\\": \\\"+15145551234\\\",\\n    \\\"features\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b9b22cae-8538-41d1-8790-2e8574b6bb19\",\"name\":\"The request could not be completed because this phone number has already been opted out.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"phoneNumber\\\": \\\"+15145551234\\\",\\n    \\\"features\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]},{\"id\":\"1370d3d5-fc55-4c3f-9eb1-2f636b732a51\",\"name\":\"List opt-outs\",\"request\":{\"name\":\"List opt-outs\",\"description\":{\"content\":\"Get a paginated list of opt-outs for an account, sorted by most recently updated. Returns \\nan empty list if there are no opted-out phone numbers for the filters used.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"phoneNumber\",\"value\":\"<string>\",\"description\":\"The phone numbers, which is an E164-formatted phone number. \\nIf multiple numbers are provided, the opt-outs for each of these numbers will be returned\\n\"},{\"disabled\":false,\"key\":\"phoneNumber\",\"value\":\"<string>\",\"description\":\"The phone numbers, which is an E164-formatted phone number. \\nIf multiple numbers are provided, the opt-outs for each of these numbers will be returned\\n\"},{\"disabled\":false,\"key\":\"feature\",\"value\":\"<string>\",\"description\":\"The features for which the number is opted-out. If provided, only\\nthe opt-outs containing these features will be returned.\\n\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The returned `nextPageMarker` from a paginated collection is used here to fetch the starting item for the paginated result.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"(Required) Identifier of an account.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"c872f449-b80b-4783-8ef2-a8e8ebcca17a\",\"name\":\"successful operation\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"key\":\"phoneNumber\",\"value\":\"+15145551234\"},{\"key\":\"phoneNumber\",\"value\":\"+15145551234\"},{\"key\":\"feature\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"phoneNumber\\\": \\\"+15145551234\\\",\\n   \\\"features\\\": [\\n    \\\"ALL_MESSAGING\\\",\\n    \\\"ALL_MESSAGING\\\"\\n   ]\\n  },\\n  {\\n   \\\"phoneNumber\\\": \\\"+15145551234\\\",\\n   \\\"features\\\": [\\n    \\\"ALL_MESSAGING\\\",\\n    \\\"ALL_MESSAGING\\\"\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a0621e38-fe3d-47d0-85da-b486eb0b58f5\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"key\":\"phoneNumber\",\"value\":\"+15145551234\"},{\"key\":\"phoneNumber\",\"value\":\"+15145551234\"},{\"key\":\"feature\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e939e80b-0a22-45ff-96af-ba09448e93c2\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"key\":\"phoneNumber\",\"value\":\"+15145551234\"},{\"key\":\"phoneNumber\",\"value\":\"+15145551234\"},{\"key\":\"feature\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"199a04bb-b088-4baa-b3ea-6a2d3ed7b2b2\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"key\":\"phoneNumber\",\"value\":\"+15145551234\"},{\"key\":\"phoneNumber\",\"value\":\"+15145551234\"},{\"key\":\"feature\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"4ee8a323-0dad-4918-8df5-a99c3f0050f9\",\"name\":\"Delete opt-outs\",\"request\":{\"name\":\"Delete opt-outs\",\"description\":{\"content\":\"Delete all opt-out for the specified phone number.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"phoneNumber\",\"value\":\"<string>\",\"description\":\"(Required) A phone number, which is E164-formatted.\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"(Required) Identifier of an account.\"}],\"variable\":[]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"fb2b069d-e045-4d63-b979-feef10f66284\",\"name\":\"No content\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"key\":\"phoneNumber\",\"value\":\"+15145551234\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"2c77b47d-88fc-428e-b14f-8ea04d592aea\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"key\":\"phoneNumber\",\"value\":\"+15145551234\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"320fd9bc-0008-4e2d-9a44-dc8114fee7cb\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"key\":\"phoneNumber\",\"value\":\"+15145551234\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"be23bbb9-8155-4e80-96ee-c9e7fa6a5fa9\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\"],\"host\":[\"{{messaging-v1-opt-outs-Url}}\"],\"query\":[{\"key\":\"phoneNumber\",\"value\":\"+15145551234\"},{\"key\":\"accountKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"59a7cc5d-6a33-4814-8f16-4094ab6176ec\",\"name\":\"subscriptions\",\"item\":[{\"id\":\"8dc26a2b-f2ee-48af-9d2c-999f51da4a41\",\"name\":\"Create an Opt-Out subscription for a given account.\\n\",\"request\":{\"name\":\"Create an Opt-Out subscription for a given account.\\n\",\"description\":{\"content\":\"Create a subscription for the account provided.\\nThe subscription activates opt-out notifications towards the provided notification channel ID.\\n\\nExample:\\n\\n```\\ncurl -X \\\"POST\\\" \\\"https://api.goto.com/messaging/v1/opt-outs/subscriptions\\\" \\\\\\n  -H \\\"Content-Type: application/json\\\" \\\\\\n  -d '{\\\"accountKey\\\": \\\"{accountKey}\\\", \\\"channelId\\\": \\\"{channelId}\\\"}' \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"<string>\\\",\\n    \\\"channelId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"802e732f-4656-452f-bb3d-5edf839bfc84\",\"name\":\"The successfully created subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"724318505795231\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"accountKey\\\": \\\"724318505795231\\\",\\n \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"68ebce77-1dcf-4a95-b312-abc35f26edba\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"724318505795231\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6ac3b740-4b85-4339-95bb-ee8e4ec045cc\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"724318505795231\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"77ca64d5-07df-42ec-a712-8339fe596494\",\"name\":\"The `channelId` doesn't belong to this user and/or doesn't exist,\\nthe user does not belong to the accountKey provided or the \\nuser does not have the required scope.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"724318505795231\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0210deec-3ae6-4602-9d0d-e09d3437f78b\",\"name\":\"If a subscription already exists for this account and user, an `HTTP 409 Conflict` will be returned.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"724318505795231\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"84da8ca4-a66f-4202-876e-d1b9d0697627\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n* `AUTHN_UNKOWN` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"724318505795231\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f928a0cf-e334-4507-9794-8e8f1fe4b48f\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"724318505795231\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n}\"}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"f008cedc-e8d9-4694-94f4-073a60b4b227\",\"name\":\"Get Opt-Out subscriptions\",\"request\":{\"name\":\"Get Opt-Out subscriptions\",\"description\":{\"content\":\"Obtain the list of subscriptions associated to the requesting user, as defined by the authorization\\ntoken.\\n\\nExample:\\n\\n```\\ncurl \\\"https://api.goto.com/messaging/v1/opt-outs/subscriptions?accountKey={accountKey}\\\" \\\\\\n-H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The returned `nextPageMarker` from a paginated collection is used here to fetch the starting item for the paginated result.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"(Required) Identifier of an account.\"},{\"disabled\":false,\"key\":\"channelId\",\"value\":\"<string>\",\"description\":\"If the channelId is provided, filters the results to only the specific channel id.\\n\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"824d6180-04a6-482d-9fb5-1074b3dee86b\",\"name\":\"The Opt-Out subscription list\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"accountKey\\\": \\\"724318505795231\\\",\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n  },\\n  {\\n   \\\"accountKey\\\": \\\"724318505795231\\\",\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"05d9e238-c77d-46ad-9a18-5e4b513444fe\",\"name\":\"The `accountKey`, `pageMarker` or `pageSize` is invalid\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"pageSize\\\",\\n   \\\"constraint\\\": \\\"Invalid (expected: between 1 and 100)\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Provided parameter(s) must be valid\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3bcb8b3d-1353-4b56-85d2-ac6b0f8ee886\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0cd646cb-e9ce-4ce2-bc10-b663e1fc6799\",\"name\":\"The `channelId` doesn't belong to this user and/or doesn't exist,\\nthe user does not belong to the accountKey provided or the \\nuser does not have the required scope.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"61cfd450-aa03-4151-af0c-10092013e7d9\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"45c1bf7c-74ca-46a0-ba98-ec1cacfa0ddf\",\"name\":\"Delete an Opt-Out subscription\",\"request\":{\"name\":\"Delete an Opt-Out subscription\",\"description\":{\"content\":\"Delete a subscription for a user where the user is defined in the authorization token.\\n\\nExample:\\n\\n```\\ncurl -X \\\"DELETE\\\" \\\"https://api.goto.com/messaging/v1/opt-outs/subscriptions/{subscriptionId}\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<uuid>\",\"key\":\"subscriptionId\",\"description\":\"(Required) The subscription's unique identifier.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"5fc4c681-ce33-4e62-afb7-4662ca9d7bc9\",\"name\":\"Successfully removed the subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"ab2508e8-7cb1-4099-8f44-99a36c70c5fc\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6229ddee-bbb7-410e-a6a7-a1bdcb78de10\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"91d4c8d4-1431-471e-a551-8d89931b8993\",\"name\":\"The provided `subscriptionId` doesn't exist or the subscription\\ndoesn't belong to the provided user defined by the authorization token.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f0eef619-6273-4fe6-92f4-44454afae26c\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v1\",\"opt-outs\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v1-opt-outs-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"79cda974-c95c-407b-b45c-2bc194983088\",\"name\":\"v2\",\"item\":[{\"id\":\"922237df-4107-4c1e-bcb4-ed40cf3c3ced\",\"name\":\"accounts/{account Key}\",\"item\":[{\"id\":\"b2278d52-4007-49e6-b3db-b7feb3ebc1b3\",\"name\":\"Send a message\",\"request\":{\"name\":\"Send a message\",\"description\":{\"content\":\"Sends a message from a GoTo touchpoint to one or more contact touchpoints on the specified channel.\\nThe request must include message `components`. File `attachments` are optional.\\n\\n### Request Format\\n\\nThe request uses `multipart/form-data` encoding with:\\n- A `request` part containing the JSON message payload (`SimpleSendMessageRequest` or\\n  `TemplateSendMessageRequest`)\\n- Zero or more `attachments` parts containing binary file data\\n\\n### Message Types\\n\\nTwo message types are currently supported, distinguished by the `type` field.\\nNew types may be added in the future to support richer functionalities for the channels.\\n\\n- **`simple`** — A text and/or media message. Use this for standard conversational\\n  messages containing text, images, video, audio, or documents.\\n- **`template`** — A pre-approved template message (WhatsApp only). Use this to\\n  initiate outbound-first conversations or to send messages outside the 24-hour service window.\\n\\n### Simple Message Example\\n\\n```bash\\ncurl -X POST 'https://api.goto.com/messaging/v2/accounts/{accountKey}/messages' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: multipart/form-data' \\\\\\n  -F 'request={\\n    \\\"channel\\\": \\\"SMS\\\",\\n    \\\"from\\\": \\\"+15145551111\\\",\\n    \\\"to\\\": [\\\"+15145552222\\\"],\\n    \\\"type\\\": \\\"simple\\\",\\n    \\\"components\\\": [{\\n      \\\"type\\\": \\\"body\\\",\\n      \\\"components\\\": [{\\n        \\\"type\\\": \\\"text\\\",\\n        \\\"attributes\\\": { \\\"text\\\": \\\"Hello from GoTo!\\\" }\\n      }]\\n    }]\\n  };type=application/json'\\n```\\n\\n### Simple Message with Attachment Example\\n\\n```bash\\ncurl -X POST 'https://api.goto.com/messaging/v2/accounts/{accountKey}/messages' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: multipart/form-data' \\\\\\n  -F 'request={\\n    \\\"channel\\\": \\\"WHATSAPP\\\",\\n    \\\"from\\\": \\\"137169456416846\\\",\\n    \\\"to\\\": [\\\"+15145552222\\\"],\\n    \\\"type\\\": \\\"simple\\\",\\n    \\\"components\\\": [{\\n      \\\"type\\\": \\\"body\\\",\\n      \\\"components\\\": [{\\n        \\\"type\\\": \\\"image\\\",\\n        \\\"attributes\\\": {\\n          \\\"attachmentName\\\": \\\"photo.jpg\\\",\\n          \\\"caption\\\": \\\"Check out this image!\\\"\\n        }\\n      }]\\n    }]\\n  };type=application/json' \\\\\\n  -F 'attachments=@photo.jpg;type=image/jpeg'\\n```\\n\\n### Template Message Example (WhatsApp)\\n\\n```bash\\ncurl -X POST 'https://api.goto.com/messaging/v2/accounts/{accountKey}/messages' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: multipart/form-data' \\\\\\n  -F 'request={\\n    \\\"channel\\\": \\\"WHATSAPP\\\",\\n    \\\"from\\\": \\\"137169456416846\\\",\\n    \\\"to\\\": [\\\"+15145552222\\\"],\\n    \\\"type\\\": \\\"template\\\",\\n    \\\"attributes\\\": {\\n      \\\"name\\\": \\\"order_confirmation\\\",\\n      \\\"languageCode\\\": \\\"en-US\\\"\\n    },\\n    \\\"components\\\": [{\\n      \\\"type\\\": \\\"body\\\",\\n      \\\"parameters\\\": [\\n        { \\\"name\\\": \\\"customer_name\\\", \\\"value\\\": \\\"John\\\" },\\n        { \\\"name\\\": \\\"order_id\\\", \\\"value\\\": \\\"ORD-12345\\\" }\\n      ]\\n    }]\\n  };type=application/json'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"messages\"],\"host\":[\"{{messaging-v2-accounts-accountKey-messages-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"accountKey\",\"description\":\"(Required) The unique account identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"multipart/form-data\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"key\":\"request\",\"value\":\"{\\\"channel\\\":\\\"<string>\\\",\\\"from\\\":\\\"<string>\\\",\\\"to\\\":[\\\"<string>\\\"],\\\"type\\\":\\\"<string>\\\",\\\"components\\\":[{\\\"type\\\":\\\"<string>\\\",\\\"components\\\":[{\\\"type\\\":\\\"<string>\\\",\\\"attributes\\\":{\\\"text\\\":{\\\"value\\\":\\\"<Error: Too many levels of nesting to fake this schema>\\\"}}}]}],\\\"externalReference\\\":\\\"<string>\\\"}\",\"type\":\"text\",\"description\":\"(Required) The JSON message payload, sent as a form part with content type `application/json`.\\nThis object must conform to either `SimpleSendMessageRequest` (for text/media messages)\\nor `TemplateSendMessageRequest` (for WhatsApp template messages), determined by the\\n`type` field. Required fields: `channel`, `from`, `to`, `type`, and `components`\\n(for simple) or `attributes` (for template). When attaching files, reference them\\nin a media sub-component's `attachmentName` field using the filename of the\\ncorresponding `attachments` part.\\n\"},{\"key\":\"attachments\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\",\"description\":\"Optional binary file attachments to include with the message. Multiple files\\ncan be attached by repeating this field. Each attachment must be referenced by\\na media sub-component in the request via its filename.\\n\"}]}},\"response\":[{\"id\":\"d2ee9311-a484-4535-b6cd-2f1987779666\",\"name\":\"Message sent successfully. Returns the created message with server-generated\\nfields including the message ID, conversation ID, and timestamp. Final delivery\\nstatus will be provided via notification.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"messages\"],\"host\":[\"{{messaging-v2-accounts-accountKey-messages-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The JSON message payload, sent as a form part with content type `application/json`.\\nThis object must conform to either `SimpleSendMessageRequest` (for text/media messages)\\nor `TemplateSendMessageRequest` (for WhatsApp template messages), determined by the\\n`type` field. Required fields: `channel`, `from`, `to`, `type`, and `components`\\n(for simple) or `attributes` (for template). When attaching files, reference them\\nin a media sub-component's `attachmentName` field using the filename of the\\ncorresponding `attachments` part.\\n\",\"type\":\"text/plain\"},\"key\":\"request\",\"value\":\"{\\\"channel\\\":\\\"<string>\\\",\\\"from\\\":\\\"+15145551111\\\",\\\"to\\\":[\\\"+15145552222\\\"],\\\"type\\\":\\\"<string>\\\",\\\"components\\\":[{\\\"type\\\":\\\"body\\\",\\\"components\\\":[{\\\"type\\\":\\\"text\\\",\\\"attributes\\\":{\\\"text\\\":{\\\"value\\\":\\\"<Error: Too many levels of nesting to fake this schema>\\\"}}}]}],\\\"externalReference\\\":\\\"my-tracking-id-12345\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"Optional binary file attachments to include with the message. Multiple files\\ncan be attached by repeating this field. Each attachment must be referenced by\\na media sub-component in the request via its filename.\\n\",\"type\":\"text/plain\"},\"key\":\"attachments\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"123e4567-e89b-12d3-a456-426614174000\\\",\\n \\\"conversationId\\\": \\\"c9b1f8d2-3e4f-11ec-bf63-0242ac130002\\\",\\n \\\"accountKey\\\": \\\"9502350087451835131\\\",\\n \\\"timestamp\\\": \\\"2025-01-15T14:30:00Z\\\",\\n \\\"channel\\\": \\\"SMS\\\",\\n \\\"body\\\": \\\"Hello from GoTo!\\\",\\n \\\"direction\\\": \\\"OUTBOUND\\\",\\n \\\"owner\\\": \\\"+15145551111\\\",\\n \\\"from\\\": \\\"+15145551111\\\",\\n \\\"to\\\": [\\n  \\\"+15145552222\\\"\\n ],\\n \\\"attachments\\\": []\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6231faf4-b0c2-475a-af70-64e1140ac37e\",\"name\":\"The request is invalid. Common causes include:\\n* An invalid touchpoint format was provided (see Supported Channels table for valid formats)\\n* Required fields are missing or malformed\\n* The JSON body is not valid or cannot be parsed (`MALFORMED_REQUEST`)\\n* Template not found (for template messages)\\n* Content rules violated (e.g., text and media combined on WHATSAPP)\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"messages\"],\"host\":[\"{{messaging-v2-accounts-accountKey-messages-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The JSON message payload, sent as a form part with content type `application/json`.\\nThis object must conform to either `SimpleSendMessageRequest` (for text/media messages)\\nor `TemplateSendMessageRequest` (for WhatsApp template messages), determined by the\\n`type` field. Required fields: `channel`, `from`, `to`, `type`, and `components`\\n(for simple) or `attributes` (for template). When attaching files, reference them\\nin a media sub-component's `attachmentName` field using the filename of the\\ncorresponding `attachments` part.\\n\",\"type\":\"text/plain\"},\"key\":\"request\",\"value\":\"{\\\"channel\\\":\\\"<string>\\\",\\\"from\\\":\\\"+15145551111\\\",\\\"to\\\":[\\\"+15145552222\\\"],\\\"type\\\":\\\"<string>\\\",\\\"components\\\":[{\\\"type\\\":\\\"body\\\",\\\"components\\\":[{\\\"type\\\":\\\"text\\\",\\\"attributes\\\":{\\\"text\\\":{\\\"value\\\":\\\"<Error: Too many levels of nesting to fake this schema>\\\"}}}]}],\\\"externalReference\\\":\\\"my-tracking-id-12345\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"Optional binary file attachments to include with the message. Multiple files\\ncan be attached by repeating this field. Each attachment must be referenced by\\na media sub-component in the request via its filename.\\n\",\"type\":\"text/plain\"},\"key\":\"attachments\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"abc123def456\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Invalid message request\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9615632c-e1da-4b89-82e5-7d4a1ff4ff3d\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"messages\"],\"host\":[\"{{messaging-v2-accounts-accountKey-messages-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The JSON message payload, sent as a form part with content type `application/json`.\\nThis object must conform to either `SimpleSendMessageRequest` (for text/media messages)\\nor `TemplateSendMessageRequest` (for WhatsApp template messages), determined by the\\n`type` field. Required fields: `channel`, `from`, `to`, `type`, and `components`\\n(for simple) or `attributes` (for template). When attaching files, reference them\\nin a media sub-component's `attachmentName` field using the filename of the\\ncorresponding `attachments` part.\\n\",\"type\":\"text/plain\"},\"key\":\"request\",\"value\":\"{\\\"channel\\\":\\\"<string>\\\",\\\"from\\\":\\\"+15145551111\\\",\\\"to\\\":[\\\"+15145552222\\\"],\\\"type\\\":\\\"<string>\\\",\\\"components\\\":[{\\\"type\\\":\\\"body\\\",\\\"components\\\":[{\\\"type\\\":\\\"text\\\",\\\"attributes\\\":{\\\"text\\\":{\\\"value\\\":\\\"<Error: Too many levels of nesting to fake this schema>\\\"}}}]}],\\\"externalReference\\\":\\\"my-tracking-id-12345\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"Optional binary file attachments to include with the message. Multiple files\\ncan be attached by repeating this field. Each attachment must be referenced by\\na media sub-component in the request via its filename.\\n\",\"type\":\"text/plain\"},\"key\":\"attachments\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"db6ce28b-9b23-4c07-ba2a-35814b3e7705\",\"name\":\"The user is forbidden to send the message. This can occur when:\\n* The authenticated user is not authorized to send messages on the touchpoint (`from`)\\n* The sender touchpoint does not exist\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"messages\"],\"host\":[\"{{messaging-v2-accounts-accountKey-messages-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The JSON message payload, sent as a form part with content type `application/json`.\\nThis object must conform to either `SimpleSendMessageRequest` (for text/media messages)\\nor `TemplateSendMessageRequest` (for WhatsApp template messages), determined by the\\n`type` field. Required fields: `channel`, `from`, `to`, `type`, and `components`\\n(for simple) or `attributes` (for template). When attaching files, reference them\\nin a media sub-component's `attachmentName` field using the filename of the\\ncorresponding `attachments` part.\\n\",\"type\":\"text/plain\"},\"key\":\"request\",\"value\":\"{\\\"channel\\\":\\\"<string>\\\",\\\"from\\\":\\\"+15145551111\\\",\\\"to\\\":[\\\"+15145552222\\\"],\\\"type\\\":\\\"<string>\\\",\\\"components\\\":[{\\\"type\\\":\\\"body\\\",\\\"components\\\":[{\\\"type\\\":\\\"text\\\",\\\"attributes\\\":{\\\"text\\\":{\\\"value\\\":\\\"<Error: Too many levels of nesting to fake this schema>\\\"}}}]}],\\\"externalReference\\\":\\\"my-tracking-id-12345\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"Optional binary file attachments to include with the message. Multiple files\\ncan be attached by repeating this field. Each attachment must be referenced by\\na media sub-component in the request via its filename.\\n\",\"type\":\"text/plain\"},\"key\":\"attachments\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"abc123def456\\\",\\n \\\"errorCode\\\": \\\"FORBIDDEN\\\",\\n \\\"message\\\": \\\"Access denied\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"36cabad3-9f1e-4349-853d-1e1b877db21d\",\"name\":\"The specified account key does not exist.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"messages\"],\"host\":[\"{{messaging-v2-accounts-accountKey-messages-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The JSON message payload, sent as a form part with content type `application/json`.\\nThis object must conform to either `SimpleSendMessageRequest` (for text/media messages)\\nor `TemplateSendMessageRequest` (for WhatsApp template messages), determined by the\\n`type` field. Required fields: `channel`, `from`, `to`, `type`, and `components`\\n(for simple) or `attributes` (for template). When attaching files, reference them\\nin a media sub-component's `attachmentName` field using the filename of the\\ncorresponding `attachments` part.\\n\",\"type\":\"text/plain\"},\"key\":\"request\",\"value\":\"{\\\"channel\\\":\\\"<string>\\\",\\\"from\\\":\\\"+15145551111\\\",\\\"to\\\":[\\\"+15145552222\\\"],\\\"type\\\":\\\"<string>\\\",\\\"components\\\":[{\\\"type\\\":\\\"body\\\",\\\"components\\\":[{\\\"type\\\":\\\"text\\\",\\\"attributes\\\":{\\\"text\\\":{\\\"value\\\":\\\"<Error: Too many levels of nesting to fake this schema>\\\"}}}]}],\\\"externalReference\\\":\\\"my-tracking-id-12345\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"Optional binary file attachments to include with the message. Multiple files\\ncan be attached by repeating this field. Each attachment must be referenced by\\na media sub-component in the request via its filename.\\n\",\"type\":\"text/plain\"},\"key\":\"attachments\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"abc123def456\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Account not found\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ea74adc3-e85e-4dd3-b2ac-3a0588e82bbb\",\"name\":\"The message payload (including attachments) exceeds the maximum allowed size.\\nSee the Payload Size Limits section in the API description for channel-specific limits.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"messages\"],\"host\":[\"{{messaging-v2-accounts-accountKey-messages-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The JSON message payload, sent as a form part with content type `application/json`.\\nThis object must conform to either `SimpleSendMessageRequest` (for text/media messages)\\nor `TemplateSendMessageRequest` (for WhatsApp template messages), determined by the\\n`type` field. Required fields: `channel`, `from`, `to`, `type`, and `components`\\n(for simple) or `attributes` (for template). When attaching files, reference them\\nin a media sub-component's `attachmentName` field using the filename of the\\ncorresponding `attachments` part.\\n\",\"type\":\"text/plain\"},\"key\":\"request\",\"value\":\"{\\\"channel\\\":\\\"<string>\\\",\\\"from\\\":\\\"+15145551111\\\",\\\"to\\\":[\\\"+15145552222\\\"],\\\"type\\\":\\\"<string>\\\",\\\"components\\\":[{\\\"type\\\":\\\"body\\\",\\\"components\\\":[{\\\"type\\\":\\\"text\\\",\\\"attributes\\\":{\\\"text\\\":{\\\"value\\\":\\\"<Error: Too many levels of nesting to fake this schema>\\\"}}}]}],\\\"externalReference\\\":\\\"my-tracking-id-12345\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"Optional binary file attachments to include with the message. Multiple files\\ncan be attached by repeating this field. Each attachment must be referenced by\\na media sub-component in the request via its filename.\\n\",\"type\":\"text/plain\"},\"key\":\"attachments\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Request Entity Too Large\",\"code\":413,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"abc123def456\\\",\\n \\\"errorCode\\\": \\\"PAYLOAD_TOO_LARGE\\\",\\n \\\"message\\\": \\\"Message too large\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8f1d8b48-1695-4db2-abef-0cf47b1cd81b\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"messages\"],\"host\":[\"{{messaging-v2-accounts-accountKey-messages-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The JSON message payload, sent as a form part with content type `application/json`.\\nThis object must conform to either `SimpleSendMessageRequest` (for text/media messages)\\nor `TemplateSendMessageRequest` (for WhatsApp template messages), determined by the\\n`type` field. Required fields: `channel`, `from`, `to`, `type`, and `components`\\n(for simple) or `attributes` (for template). When attaching files, reference them\\nin a media sub-component's `attachmentName` field using the filename of the\\ncorresponding `attachments` part.\\n\",\"type\":\"text/plain\"},\"key\":\"request\",\"value\":\"{\\\"channel\\\":\\\"<string>\\\",\\\"from\\\":\\\"+15145551111\\\",\\\"to\\\":[\\\"+15145552222\\\"],\\\"type\\\":\\\"<string>\\\",\\\"components\\\":[{\\\"type\\\":\\\"body\\\",\\\"components\\\":[{\\\"type\\\":\\\"text\\\",\\\"attributes\\\":{\\\"text\\\":{\\\"value\\\":\\\"<Error: Too many levels of nesting to fake this schema>\\\"}}}]}],\\\"externalReference\\\":\\\"my-tracking-id-12345\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"Optional binary file attachments to include with the message. Multiple files\\ncan be attached by repeating this field. Each attachment must be referenced by\\na media sub-component in the request via its filename.\\n\",\"type\":\"text/plain\"},\"key\":\"attachments\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0af5d47e-6af3-4a1f-b98d-244332438ed1\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"messages\"],\"host\":[\"{{messaging-v2-accounts-accountKey-messages-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"POST\",\"body\":{\"mode\":\"formdata\",\"formdata\":[{\"description\":{\"content\":\"(Required) The JSON message payload, sent as a form part with content type `application/json`.\\nThis object must conform to either `SimpleSendMessageRequest` (for text/media messages)\\nor `TemplateSendMessageRequest` (for WhatsApp template messages), determined by the\\n`type` field. Required fields: `channel`, `from`, `to`, `type`, and `components`\\n(for simple) or `attributes` (for template). When attaching files, reference them\\nin a media sub-component's `attachmentName` field using the filename of the\\ncorresponding `attachments` part.\\n\",\"type\":\"text/plain\"},\"key\":\"request\",\"value\":\"{\\\"channel\\\":\\\"<string>\\\",\\\"from\\\":\\\"+15145551111\\\",\\\"to\\\":[\\\"+15145552222\\\"],\\\"type\\\":\\\"<string>\\\",\\\"components\\\":[{\\\"type\\\":\\\"body\\\",\\\"components\\\":[{\\\"type\\\":\\\"text\\\",\\\"attributes\\\":{\\\"text\\\":{\\\"value\\\":\\\"<Error: Too many levels of nesting to fake this schema>\\\"}}}]}],\\\"externalReference\\\":\\\"my-tracking-id-12345\\\"}\",\"type\":\"text\"},{\"description\":{\"content\":\"Optional binary file attachments to include with the message. Multiple files\\ncan be attached by repeating this field. Each attachment must be referenced by\\na media sub-component in the request via its filename.\\n\",\"type\":\"text/plain\"},\"key\":\"attachments\",\"value\":\"[\\\"<binary>\\\",\\\"<binary>\\\"]\",\"type\":\"text\"}]}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"ac39b82b-9e90-47a9-80c7-1638250aff49\",\"name\":\"Get an attachment download URL\",\"request\":{\"name\":\"Get an attachment download URL\",\"description\":{\"content\":\"Resolves the download location for a message attachment. Returns a `302 Found`\\nredirect to a pre-signed URL where the attachment content can be retrieved.\\n\\nThe pre-signed URL expires after 60 seconds. Clients should follow the redirect\\nimmediately and not store the URL for later use.\\n\\nThe caller must be authorized to access the inbox or touchpoint that owns the\\nmessage containing the attachment.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"attachments\",\":attachmentId\"],\"host\":[\"{{messaging-v2-accounts-accountKey-attachments-attachmentId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"accountKey\",\"description\":\"(Required) The unique account identifier.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<uuid>\",\"key\":\"attachmentId\",\"description\":\"(Required) The unique identifier of the attachment (UUID format).\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"902af4d7-8adc-4c68-9c40-14b60a4354a2\",\"name\":\"Redirect to the attachment download URL. The `Location` header contains\\na pre-signed URL where the attachment content can be downloaded.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"attachments\",\":attachmentId\"],\"host\":[\"{{messaging-v2-accounts-accountKey-attachments-attachmentId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"},{\"type\":\"any\",\"key\":\"attachmentId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Found\",\"code\":302,\"header\":[{\"disabled\":false,\"description\":\"The pre-signed URL to download the attachment content.\",\"key\":\"Location\",\"value\":\"https://media.goto.com/attachments/a861306b-cf44-417e-a4b5-0fc7875f4180/photo.jpg?token=abc123\"},{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"c5d4d99a-6468-4ef9-bd1a-497f8ca11394\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"attachments\",\":attachmentId\"],\"host\":[\"{{messaging-v2-accounts-accountKey-attachments-attachmentId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"},{\"type\":\"any\",\"key\":\"attachmentId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e309b5ef-6e10-4b4a-8027-8ee0cb6ebdc1\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"attachments\",\":attachmentId\"],\"host\":[\"{{messaging-v2-accounts-accountKey-attachments-attachmentId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"},{\"type\":\"any\",\"key\":\"attachmentId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8dca2d8c-27c1-4087-9c58-c04c80ee1e6f\",\"name\":\"The attachment was not found. This can occur when:\\n* The `attachmentId` is not a valid UUID format\\n* The `attachmentId` does not exist\\n* The attachment's underlying media has been deleted or has expired\\n* The caller is not authorized to access the owning inbox or touchpoint\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"attachments\",\":attachmentId\"],\"host\":[\"{{messaging-v2-accounts-accountKey-attachments-attachmentId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"},{\"type\":\"any\",\"key\":\"attachmentId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"abc123def456\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Resource not found\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5473d66e-6aee-4a4c-9273-3b71ad7e638d\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"attachments\",\":attachmentId\"],\"host\":[\"{{messaging-v2-accounts-accountKey-attachments-attachmentId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"},{\"type\":\"any\",\"key\":\"attachmentId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7dccbf0f-6697-410f-9b75-a0bf72d78637\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"attachments\",\":attachmentId\"],\"host\":[\"{{messaging-v2-accounts-accountKey-attachments-attachmentId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"},{\"type\":\"any\",\"key\":\"attachmentId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"c6448cad-1758-481e-bcd9-ab49872eed39\",\"name\":\"List message templates\",\"request\":{\"name\":\"List message templates\",\"description\":{\"content\":\"Returns a paginated list of message templates available for the account.\\n\\nCurrently, only WhatsApp templates are supported. Specifying a non-WhatsApp\\nchannel returns an empty list.\\n\\nTemplates are fetched from the channel provider (e.g., Meta for WhatsApp) and\\ninclude their approval status, category, and structural components with parameter\\nplaceholders. Use this endpoint to discover which templates are available before\\nsending a template message via the Send Message endpoint.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"message-templates\"],\"host\":[\"{{messaging-v2-accounts-accountKey-message-templates-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"ownerTouchpoint\",\"value\":\"<string>\",\"description\":\"Filter templates by a specific touchpoint (e.g., a WhatsApp phone number ID).\\n\"},{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"Opaque cursor for pagination. Use the `nextPageMarker` value from a previous\\nresponse to fetch the next page of results.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"Maximum number of templates to return per page.\\n\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"accountKey\",\"description\":\"(Required) The unique account identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"a335c988-945a-48a0-b64d-941fdcab8443\",\"name\":\"A paginated list of message templates.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"message-templates\"],\"host\":[\"{{messaging-v2-accounts-accountKey-message-templates-Url}}\"],\"query\":[{\"key\":\"ownerTouchpoint\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"name\\\": \\\"order_confirmation\\\",\\n   \\\"languageCode\\\": \\\"en-US\\\",\\n   \\\"channel\\\": \\\"EMAIL\\\",\\n   \\\"status\\\": \\\"APPROVED\\\",\\n   \\\"category\\\": \\\"UTILITY\\\",\\n   \\\"components\\\": [\\n    {\\n     \\\"type\\\": \\\"body\\\",\\n     \\\"components\\\": [\\n      {\\n       \\\"type\\\": \\\"button\\\",\\n       \\\"attributes\\\": [\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        },\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        }\\n       ],\\n       \\\"parameters\\\": [\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        },\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        }\\n       ]\\n      },\\n      {\\n       \\\"type\\\": \\\"button\\\",\\n       \\\"attributes\\\": [\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        },\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        }\\n       ],\\n       \\\"parameters\\\": [\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        },\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        }\\n       ]\\n      }\\n     ],\\n     \\\"attributes\\\": [\\n      {\\n       \\\"name\\\": \\\"format\\\",\\n       \\\"text\\\": \\\"IMAGE\\\"\\n      },\\n      {\\n       \\\"name\\\": \\\"format\\\",\\n       \\\"text\\\": \\\"IMAGE\\\"\\n      }\\n     ],\\n     \\\"parameters\\\": [\\n      {\\n       \\\"type\\\": \\\"string\\\",\\n       \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n       \\\"example\\\": \\\"John Doe\\\"\\n      },\\n      {\\n       \\\"type\\\": \\\"string\\\",\\n       \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n       \\\"example\\\": \\\"John Doe\\\"\\n      }\\n     ]\\n    },\\n    {\\n     \\\"type\\\": \\\"body\\\",\\n     \\\"components\\\": [\\n      {\\n       \\\"type\\\": \\\"button\\\",\\n       \\\"attributes\\\": [\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        },\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        }\\n       ],\\n       \\\"parameters\\\": [\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        },\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        }\\n       ]\\n      },\\n      {\\n       \\\"type\\\": \\\"button\\\",\\n       \\\"attributes\\\": [\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        },\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        }\\n       ],\\n       \\\"parameters\\\": [\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        },\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        }\\n       ]\\n      }\\n     ],\\n     \\\"attributes\\\": [\\n      {\\n       \\\"name\\\": \\\"format\\\",\\n       \\\"text\\\": \\\"IMAGE\\\"\\n      },\\n      {\\n       \\\"name\\\": \\\"format\\\",\\n       \\\"text\\\": \\\"IMAGE\\\"\\n      }\\n     ],\\n     \\\"parameters\\\": [\\n      {\\n       \\\"type\\\": \\\"string\\\",\\n       \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n       \\\"example\\\": \\\"John Doe\\\"\\n      },\\n      {\\n       \\\"type\\\": \\\"string\\\",\\n       \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n       \\\"example\\\": \\\"John Doe\\\"\\n      }\\n     ]\\n    }\\n   ]\\n  },\\n  {\\n   \\\"name\\\": \\\"order_confirmation\\\",\\n   \\\"languageCode\\\": \\\"en-US\\\",\\n   \\\"channel\\\": \\\"SMS\\\",\\n   \\\"status\\\": \\\"APPROVED\\\",\\n   \\\"category\\\": \\\"UTILITY\\\",\\n   \\\"components\\\": [\\n    {\\n     \\\"type\\\": \\\"body\\\",\\n     \\\"components\\\": [\\n      {\\n       \\\"type\\\": \\\"button\\\",\\n       \\\"attributes\\\": [\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        },\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        }\\n       ],\\n       \\\"parameters\\\": [\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        },\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        }\\n       ]\\n      },\\n      {\\n       \\\"type\\\": \\\"button\\\",\\n       \\\"attributes\\\": [\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        },\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        }\\n       ],\\n       \\\"parameters\\\": [\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        },\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        }\\n       ]\\n      }\\n     ],\\n     \\\"attributes\\\": [\\n      {\\n       \\\"name\\\": \\\"format\\\",\\n       \\\"text\\\": \\\"IMAGE\\\"\\n      },\\n      {\\n       \\\"name\\\": \\\"format\\\",\\n       \\\"text\\\": \\\"IMAGE\\\"\\n      }\\n     ],\\n     \\\"parameters\\\": [\\n      {\\n       \\\"type\\\": \\\"string\\\",\\n       \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n       \\\"example\\\": \\\"John Doe\\\"\\n      },\\n      {\\n       \\\"type\\\": \\\"string\\\",\\n       \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n       \\\"example\\\": \\\"John Doe\\\"\\n      }\\n     ]\\n    },\\n    {\\n     \\\"type\\\": \\\"body\\\",\\n     \\\"components\\\": [\\n      {\\n       \\\"type\\\": \\\"button\\\",\\n       \\\"attributes\\\": [\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        },\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        }\\n       ],\\n       \\\"parameters\\\": [\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        },\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        }\\n       ]\\n      },\\n      {\\n       \\\"type\\\": \\\"button\\\",\\n       \\\"attributes\\\": [\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        },\\n        {\\n         \\\"name\\\": \\\"format\\\",\\n         \\\"text\\\": \\\"IMAGE\\\"\\n        }\\n       ],\\n       \\\"parameters\\\": [\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        },\\n        {\\n         \\\"type\\\": \\\"string\\\",\\n         \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n         \\\"example\\\": \\\"John Doe\\\"\\n        }\\n       ]\\n      }\\n     ],\\n     \\\"attributes\\\": [\\n      {\\n       \\\"name\\\": \\\"format\\\",\\n       \\\"text\\\": \\\"IMAGE\\\"\\n      },\\n      {\\n       \\\"name\\\": \\\"format\\\",\\n       \\\"text\\\": \\\"IMAGE\\\"\\n      }\\n     ],\\n     \\\"parameters\\\": [\\n      {\\n       \\\"type\\\": \\\"string\\\",\\n       \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n       \\\"example\\\": \\\"John Doe\\\"\\n      },\\n      {\\n       \\\"type\\\": \\\"string\\\",\\n       \\\"description\\\": \\\"Example value for this parameter placeholder.\\\",\\n       \\\"example\\\": \\\"John Doe\\\"\\n      }\\n     ]\\n    }\\n   ]\\n  }\\n ],\\n \\\"nextPageMarker\\\": \\\"eyJ3YWJhSWRzIjpbXSwiY3VycmVudEluZGV4IjowfQ==\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"275b455b-83ef-4ec3-bd8f-182cf043fe26\",\"name\":\"The request is invalid. For example, the `pageMarker` is malformed or expired.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"message-templates\"],\"host\":[\"{{messaging-v2-accounts-accountKey-message-templates-Url}}\"],\"query\":[{\"key\":\"ownerTouchpoint\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c3c703ba-dce9-4fed-95c7-8f8c9b2c1289\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"message-templates\"],\"host\":[\"{{messaging-v2-accounts-accountKey-message-templates-Url}}\"],\"query\":[{\"key\":\"ownerTouchpoint\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"04a0cda3-1bfe-4789-8679-b1eae6d68f70\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"message-templates\"],\"host\":[\"{{messaging-v2-accounts-accountKey-message-templates-Url}}\"],\"query\":[{\"key\":\"ownerTouchpoint\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d43771b0-537b-40cb-99ea-130968e25ffb\",\"name\":\"The requested resource was not found. This can occur when:\\n* The `accountKey` does not resolve to a known organization\\n* The caller is not a member of the account\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"message-templates\"],\"host\":[\"{{messaging-v2-accounts-accountKey-message-templates-Url}}\"],\"query\":[{\"key\":\"ownerTouchpoint\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"abc123def456\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Resource not found\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"840cfefd-9967-4352-95bf-5990134268b2\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"message-templates\"],\"host\":[\"{{messaging-v2-accounts-accountKey-message-templates-Url}}\"],\"query\":[{\"key\":\"ownerTouchpoint\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"422e889f-105d-4d7b-b323-bf2c0329aa47\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"accounts\",\":accountKey\",\"message-templates\"],\"host\":[\"{{messaging-v2-accounts-accountKey-message-templates-Url}}\"],\"query\":[{\"key\":\"ownerTouchpoint\",\"value\":\"<string>\"},{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[{\"type\":\"any\",\"key\":\"accountKey\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"d871da3c-4063-46df-9406-95ed6eb269c4\",\"name\":\"subscriptions\",\"item\":[{\"id\":\"198b6cdf-7e58-4a47-b506-7f8f35d37fd7\",\"name\":\"Create a subscription\",\"request\":{\"name\":\"Create a subscription\",\"description\":{\"content\":\"Create a subscription for a given owner entity to receive messaging event notifications.\\n\\n**Authorization:** This endpoint can only be called by a Super-Admin user.\\n\\nThe resulting subscription is bound to the user used to create it. If the user is\\ndeactivated, loses their Super-Admin privileges, or is removed from the organization,\\nnotifications will no longer be sent to the associated channel.\\n\\n### Example\\n\\n```bash\\ncurl -X POST 'https://api.goto.com/messaging/v2/subscriptions' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{\\n    \\\"accountKey\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntity\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntityType\\\": \\\"ORGANIZATION\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"eventTypes\\\": [\\\"INBOUND_MESSAGE\\\", \\\"OUTBOUND_MESSAGE\\\", \\\"DELIVERY_STATUS\\\"]\\n  }'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"<string>\\\",\\n    \\\"ownerEntity\\\": \\\"<string>\\\",\\n    \\\"ownerEntityType\\\": \\\"<string>\\\",\\n    \\\"channelId\\\": \\\"<string>\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"response\":[{\"id\":\"cc26402a-0dec-4069-9be2-26f5ed23b80b\",\"name\":\"Subscription created.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntity\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntityType\\\": \\\"<string>\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"MTIzNDp4eXo=\\\",\\n \\\"ownerEntity\\\": \\\"9502350087451835131\\\",\\n \\\"ownerEntityType\\\": \\\"ORGANIZATION\\\",\\n \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n \\\"eventTypes\\\": [\\n  \\\"OUTBOUND_REACTION\\\"\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ae044033-0235-4298-b73d-8e2c25552ec6\",\"name\":\"The request is invalid. Common causes include:\\n* The JSON body is not valid or cannot be parsed (`MALFORMED_REQUEST`)\\n* Missing required fields (`ownerEntity`, `ownerEntityType`, `channelId`, `eventTypes`)\\n* Invalid or unsupported `eventTypes` values\\n* Invalid `channelId` format or non-existent channel (errorCode: `CHANNEL_NOT_FOUND`)\\n* Invalid `ownerEntityType` value\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntity\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntityType\\\": \\\"<string>\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"eventTypes\\\",\\n   \\\"constraint\\\": \\\"MIN_SIZE\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"21fb02d7-8ea2-4854-9f74-33714017e63b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntity\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntityType\\\": \\\"<string>\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1fd8be8b-7735-41cf-86fa-5f5c51e7e246\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntity\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntityType\\\": \\\"<string>\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ec7bad2d-cd6b-48f5-b506-1aac14bce130\",\"name\":\"A subscription already exists for this owner entity and user. The response\\nincludes metadata with the ID of the conflicting subscription.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntity\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntityType\\\": \\\"<string>\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\\\",\\n \\\"errorCode\\\": \\\"CONFLICT\\\",\\n \\\"message\\\": \\\"The requested subscription conflicts with an existing one\\\",\\n \\\"metadata\\\": {\\n  \\\"conflictingSubscriptionId\\\": \\\"MTIzNDp4eXo=\\\"\\n }\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2c45ec47-c0ec-446c-8c72-c45392fab55d\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntity\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntityType\\\": \\\"<string>\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ca8e818c-3ea2-4f4d-aa0c-e3081155a29d\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"accountKey\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntity\\\": \\\"9502350087451835131\\\",\\n    \\\"ownerEntityType\\\": \\\"<string>\\\",\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\"\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"81a40da9-b685-49ad-9ea7-8044fe7894f1\",\"name\":\"Search subscriptions\",\"request\":{\"name\":\"Search subscriptions\",\"description\":{\"content\":\"Returns subscriptions for the authenticated user, optionally filtered by owner entity\\nand additional filters. Only subscriptions created by the calling user are returned.\\n\\n### Example\\n\\n```bash\\ncurl 'https://api.goto.com/messaging/v2/subscriptions?accountKey=9502350087451835131&ownerEntity=9502350087451835131&ownerEntityType=ORGANIZATION' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The opaque identifier representing a valid marker for the desired page. Default to first page when not provided.\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"accountKey\",\"value\":\"<string>\",\"description\":\"(Required) Account key to filter subscriptions by.\"},{\"disabled\":false,\"key\":\"ownerEntity\",\"value\":\"<string>\",\"description\":\"The owner entity identifier to filter subscriptions by. The value depends on\\n`ownerEntityType` (e.g., an account key for `ORGANIZATION`).\\n\"},{\"disabled\":false,\"key\":\"ownerEntityType\",\"value\":\"<string>\",\"description\":\"The type of entity identified by `ownerEntity`. Required when `ownerEntity` is provided.\"},{\"disabled\":false,\"key\":\"channelId\",\"value\":\"<string>\",\"description\":\"Optional channel identifier filter.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"6cea48d5-e552-4780-8dd4-7dc34a5e6f86\",\"name\":\"Subscription list.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"9502350087451835131\"},{\"key\":\"ownerEntity\",\"value\":\"9502350087451835131\"},{\"key\":\"ownerEntityType\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"MTIzNDp4eXo=\\\",\\n   \\\"ownerEntity\\\": \\\"9502350087451835131\\\",\\n   \\\"ownerEntityType\\\": \\\"ORGANIZATION\\\",\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n   \\\"eventTypes\\\": [\\n    \\\"INBOUND_REACTION\\\"\\n   ]\\n  },\\n  {\\n   \\\"id\\\": \\\"MTIzNDp4eXo=\\\",\\n   \\\"ownerEntity\\\": \\\"9502350087451835131\\\",\\n   \\\"ownerEntityType\\\": \\\"TOUCHPOINT\\\",\\n   \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n   \\\"eventTypes\\\": [\\n    \\\"DELIVERY_STATUS\\\"\\n   ]\\n  }\\n ],\\n \\\"pageSize\\\": 66105357,\\n \\\"nextPageMarker\\\": \\\"mollit\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"55ad2e37-e071-46e1-8a26-37b73e17e7a2\",\"name\":\"The request is invalid. Common causes include:\\n* Invalid or unrecognized `ownerEntityType` value\\n* Invalid `pageMarker` or `pageSize` value\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"9502350087451835131\"},{\"key\":\"ownerEntity\",\"value\":\"9502350087451835131\"},{\"key\":\"ownerEntityType\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"50ae09ea-9cb2-4678-93c8-ec102eb432bb\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"9502350087451835131\"},{\"key\":\"ownerEntity\",\"value\":\"9502350087451835131\"},{\"key\":\"ownerEntityType\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f49a9b72-5801-4009-85b8-d55dcc722b99\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"9502350087451835131\"},{\"key\":\"ownerEntity\",\"value\":\"9502350087451835131\"},{\"key\":\"ownerEntityType\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e9e60663-7ea2-4088-8e93-f953ed141f16\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"9502350087451835131\"},{\"key\":\"ownerEntity\",\"value\":\"9502350087451835131\"},{\"key\":\"ownerEntityType\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"66a4c996-6ea4-4bcc-aaae-fca7a97807c2\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\"],\"host\":[\"{{messaging-v2-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"accountKey\",\"value\":\"9502350087451835131\"},{\"key\":\"ownerEntity\",\"value\":\"9502350087451835131\"},{\"key\":\"ownerEntityType\",\"value\":\"<string>\"},{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"a23f7de1-f8e7-4701-82f8-cece6b523e44\",\"name\":\"Delete a subscription\",\"request\":{\"name\":\"Delete a subscription\",\"description\":{\"content\":\"Deletes an existing subscription. Once deleted, notifications\\nwill no longer be delivered to the associated channel.\\n\\nThe `subscriptionId` is returned in the `POST /subscriptions` response\\nand in each item of the `GET /subscriptions` list.\\n\\n### Example\\n\\n```bash\\ncurl -X DELETE 'https://api.goto.com/messaging/v2/subscriptions/MTIzNDp4eXo=' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v2-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"subscriptionId\",\"description\":\"(Required) Unique identifier of the subscription. This is a Base64url-encoded string (RFC 4648 §5) — characters are restricted to `A-Z`, `a-z`, `0-9`, `-`, `_`, and `=`.\\n\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"f99a38f1-44a5-4cac-8917-412921b2a37f\",\"name\":\"Subscription deleted.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v2-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"dc410126-147d-43bc-968a-1ad542061356\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v2-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3e1d092e-9d67-4898-9283-ad839f33bee5\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v2-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"98452b79-0edf-4ccc-9ce8-a960025d5e06\",\"name\":\"The provided `subscriptionId` does not exist or does not belong to the\\nauthenticated user.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v2-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"SubscriptionId [MTIzNDp4eXo=] not found\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"57846ec3-f82a-453c-b172-722306089527\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v2-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e970dab2-abed-44ec-84f5-614c4b0e16be\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"messaging\",\"v2\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{messaging-v2-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"44065aa5-d1da-4010-9eec-e4bebb487a43\",\"name\":\"presence/v1\",\"item\":[{\"id\":\"471a758d-5784-419d-8d52-47136aa42b95\",\"name\":\"subscriptions\",\"item\":[{\"id\":\"c54ce8c2-857e-49cd-98a5-74249bbd7ea7\",\"name\":\"Create a subscription to get notified of presence changes for the specified user(s).\",\"request\":{\"name\":\"Create a subscription to get notified of presence changes for the specified user(s).\",\"description\":{\"content\":\"Create one or many presence subscription(s) for the specified user(s).\\n\\nThis operation activates push notifications towards the provided Notification Service's channel.\\n\\nThe presence updates pushed through the Notification service follow the `PresenceNotification` model below.\\n\\nThis operation creates a subscription and returns a `subscriptionId` in the response body for each specified `userKey`/`channelId` pair. The request will fail if one of the specified `userKey`/`channelId` pair is already created.\\n\\nThe service will report an `UNAVAILABLE` appearance for the presence of an `userKey` which does not exist.\\n\\nThe authorization token identifies the calling user and is used to verify if he/she is authorized to request presence from the specified `userKey`s. Users may only request presence for `userKey`s belonging in an organization they belong to. This authorization process will not only take place at the initial subscription but also continously while the subscription(s) are active. When subscriptions fail on the authorization criteria, the service will report an `UNAVAILABLE` appearance as the presence of the corresponding `userKey`s.\\n\\nFor each subscription, it is guaranteed that at least one `PresenceNotification` will be sent shortly through the specified channel after this endpoint is called.\\n\\nThe service may send presence events at any time on the notification channel which do not necessarily contain actual presence change, i.e. duplicate presence events.\\n\\nUp to 500 concurrent subscriptions can be created per `channelId`, in a single or multiple smaller requests.\\n\\n### Example\\n```\\ncurl 'https://api.goto.com/presence/v1/subscriptions' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d ' \\\\\\n{ \\\\\\n  \\\"channelId\\\": \\\"2856d8d4-173d-4852-81d4-c0651af1dcb0\\\", \\\\\\n  \\\"userKeys\\\": [\\\"123456123456\\\", \\\"456789456789\\\"] \\\\\\n}'\\n```\\nResponse:\\n```json\\n{\\n  \\\"items\\\": [\\n    {\\n      \\\"channelId\\\": \\\"2856d8d4-173d-4852-81d4-c0651af1dcb0\\\",\\n      \\\"userKey\\\": \\\"123456123456\\\",\\n      \\\"subscriptionId\\\": \\\"Mjg1NmQ4ZDQtMTczZC00ODUyLTgxZDQtYzA2NTFhZjFkY2IwLTEyMzQ1NjEyMzQ1Ng==\\\"\\n    },\\n    {\\n      \\\"channelId\\\": \\\"2856d8d4-173d-4852-81d4-c0651af1dcb0\\\",\\n      \\\"userKey\\\": \\\"456789456789\\\",\\n      \\\"subscriptionId\\\": \\\"Mjg1NmQ4ZDQtMTczZC00ODUyLTgxZDQtYzA2NTFhZjFkY2IwLTQ1Njc4OTQ1Njc4OQ==\\\"\\n    }\\n  ]\\n}\\n```\\nEvents in the notification channel:\\n```json\\n{\\n  \\\"source\\\": \\\"presence\\\",\\n  \\\"type\\\": \\\"presence\\\",\\n  \\\"timestamp\\\": \\\"2019-07-25T17:32:28.444Z\\\",\\n  \\\"content\\\": {\\n    \\\"userKey\\\": \\\"123456123456\\\",\\n    \\\"timestamp\\\": \\\"2019-07-25T17:31:06.555Z\\\",\\n    \\\"appearance\\\": \\\"ONLINE\\\",\\n    \\\"userAgents\\\": [\\n      {\\n        \\\"name\\\": \\\"GoToConnect\\\",\\n        \\\"family\\\": \\\"WEB\\\"\\n      }\\n    ],\\n    \\\"userAppearance\\\": \\\"NONE\\\",\\n    \\\"userDoNotDisturb\\\": \\\"NONE\\\",\\n    \\\"userStatus\\\": \\\"NONE\\\",\\n    \\\"userNote\\\": \\\"Working from home\\\"\\n  }\\n}\\n{\\n  \\\"source\\\": \\\"presence\\\",\\n  \\\"type\\\": \\\"presence\\\",\\n  \\\"timestamp\\\": \\\"2019-07-25T17:32:28.444Z\\\",\\n  \\\"content\\\": {\\n    \\\"userKey\\\": \\\"456789456789\\\",\\n    \\\"timestamp\\\": \\\"2019-07-25T17:32:28.441Z\\\",\\n    \\\"appearance\\\": \\\"UNAVAILABLE\\\"\\n  }\\n}\\n{\\n  \\\"source\\\": \\\"presence\\\",\\n  \\\"type\\\": \\\"presence\\\",\\n  \\\"timestamp\\\": \\\"2019-07-25T17:35:28.444Z\\\",\\n  \\\"content\\\": {\\n    \\\"userKey\\\": \\\"456789456789\\\",\\n    \\\"timestamp\\\": \\\"2019-07-25T17:35:28.441Z\\\",\\n    \\\"appearance\\\": \\\"BUSY\\\",\\n    \\\"userAgents\\\": [\\n      {\\n        \\\"name\\\": \\\"GoToConnect\\\",\\n        \\\"family\\\": \\\"WEB\\\"\\n      }\\n    ],\\n    \\\"status\\\": \\\"IN_A_CALENDAR_EVENT\\\",\\n    \\\"statusDetails\\\": {\\n      \\\"scheduledEndTime\\\": \\\"2019-07-25T18:00.000Z\\\",\\n      \\\"provider\\\": \\\"OUTLOOK\\\"\\n    },\\n    \\\"userAppearance\\\": \\\"NONE\\\",\\n    \\\"userDoNotDisturb\\\": \\\"NONE\\\",\\n    \\\"userStatus\\\": \\\"NONE\\\",\\n    \\\"userNote\\\": \\\"Working from home\\\"\\n  }\\n} ```\\n\\n### Authentication Scopes\\n- `presence.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\"],\"host\":[\"{{presence-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKeys\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"3ab6b213-f594-420f-a6ba-934b93d0a6c2\",\"name\":\"The subscription request has succeeded and the subscriptions are returned\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\"],\"host\":[\"{{presence-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKeys\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"channelId\\\": \\\"cupidatat consequat\\\",\\n   \\\"userKey\\\": \\\"labore Ut sunt incididunt irure\\\",\\n   \\\"subscriptionId\\\": \\\"cillum veniam qui\\\"\\n  },\\n  {\\n   \\\"channelId\\\": \\\"et reprehenderit culpa veniam\\\",\\n   \\\"userKey\\\": \\\"pariatur sed Lorem officia\\\",\\n   \\\"subscriptionId\\\": \\\"incididunt\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1f02f39c-007e-4c70-aafc-19bd7ac49f82\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.  The response may contain one ore more\\nvalues in `constraintViolations` to provide additional details useful in debugging.\\n\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n* TOO_MANY_SUBSCRIPTIONS - This request would add subscriptions to a total which exceeds the maximum of 500 subscriptions per channel.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\"],\"host\":[\"{{presence-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKeys\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"167af91d-11bb-4918-bd39-9cdd63a326b7\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\"],\"host\":[\"{{presence-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKeys\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"caa3d8a3-a876-4a99-b0d0-0f4274cf6b54\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\"],\"host\":[\"{{presence-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKeys\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1037421d-ea5e-4828-8311-0c952435d4e4\",\"name\":\"This request would add subscription(s) which already exist.\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\"],\"host\":[\"{{presence-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKeys\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c1c0df08-0178-4294-a4cb-5993ad6d3c8c\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\"],\"host\":[\"{{presence-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userKeys\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"c7fc6a91-8212-40a5-bfd5-c6928564a784\",\"name\":\"Delete subscriptions\",\"request\":{\"name\":\"Delete subscriptions\",\"description\":{\"content\":\"Delete all subscriptions corresponding to a `channelId`.\\n\\n### Example\\n```\\ncurl -XDELETE 'https://api.goto.com/presence/v1/subscriptions?channelId=2856d8d4-173d-4852-81d4-c0651af1dcb0' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n\\n### Authentication Scopes\\n- `presence.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\"],\"host\":[\"{{presence-v1-subscriptions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"channelId\",\"value\":\"<string>\",\"description\":\"(Required) Channel ID corresponding to all subscriptions to delete\\n\"}],\"variable\":[]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"03795b02-3d21-478f-9195-1428a9f44965\",\"name\":\"The deletion request has succeeded\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\"],\"host\":[\"{{presence-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"b13bd097-4703-4823-baa1-26477dd9e67a\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.  The response may contain one ore more\\nvalues in `constraintViolations` to provide additional details useful in debugging.\\n\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n* UNKNOWN_CHANNEL_ID - No subscriptions corresponding to the `channelId` were found for the current user\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\"],\"host\":[\"{{presence-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"1881826a-b238-49d8-aa00-c9b846b5652a\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\"],\"host\":[\"{{presence-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7a28e9d1-5021-4ec0-a771-8bc6da67649b\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\"],\"host\":[\"{{presence-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2ee39c26-fd66-4d25-9fb0-f120cc4d59d8\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\"],\"host\":[\"{{presence-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"channelId\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"150a5328-f320-4dc9-8f81-b3c3f5f1b06a\",\"name\":\"Delete subscription\",\"request\":{\"name\":\"Delete subscription\",\"description\":{\"content\":\"Delete `subscriptionId`s from the service to stop receiving notifications.\\n\\n### Example\\n```\\ncurl -XDELETE 'https://api.goto.com/presence/v1/subscriptions/123456123456' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n\\n### Authentication Scopes\\n- `presence.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{presence-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"subscriptionId\",\"description\":\"(Required) Subscription ID to delete\\n\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"0b961ae5-b24d-441a-85a8-7157e7aa7ea3\",\"name\":\"The deletion request has succeeded\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{presence-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"7e3fe121-56e2-49de-a11e-39b6401e88f6\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n* TIMESTAMP_ALREADY_EXPIRED - The request contains a timestamp that is in the past.\\n* MISSING_STATUS - The request contains a timestamp without a status.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{presence-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"ca9424ef-5d1e-4e18-8023-62e731085367\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{presence-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"237740ba-7c0b-46e5-bad8-e70346fb6aa5\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{presence-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c7382717-b412-4f41-8649-1aac80bf2552\",\"name\":\"The specified `subscriptionId` does not exist for the current user\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{presence-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"652c4554-faea-40e2-aba0-078f0ef30905\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{presence-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"c1990b83-d539-44b7-ac15-a84a5505e149\",\"name\":\"Get the presence of the specified user(s)\",\"request\":{\"name\":\"Get the presence of the specified user(s)\",\"description\":{\"content\":\"Obtains the presence of the specified user(s).\\n\\nFor any long-running client the /subscriptions endpoint should be preferred.\\n\\nThe service responds with a presence item for each `userKey` specified in the request.\\n\\nThe service will return an `UNAVAILABLE` appearance for presence of `userKey`s which do not exist.\\n\\nThe authorization token identifies the calling user and is used to verify if he/she is authorized to request presence from the specified `userKey`s. Users may only request presence for `userKey`s belonging in an organization they belong to. When subscriptions fail on the authorization criteria, the service will return an `UNAVAILABLE` appearance as the presence of the corresponding `userKey`s.\\n\\nThere is a limit of 100 `userKey`s per request.\\nFor technical reasons the server may temporarily fail to process the request and would then respond with a 503 status. The client may retry the request as soon as they want.\\n\\n### Example 1\\nRequest for `userKey`s 123456123456, 456789456789 and 12345:\\n```\\ncurl 'https://api.goto.com/presence/v1/presence?userKey=123456123456&userKey=456789456789&userKey=12345' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json'\\n```\\nResponse:\\n```json\\n{\\n  \\\"items\\\": [\\n    {\\n      \\\"userKey\\\": \\\"123456123456\\\",\\n      \\\"timestamp\\\": \\\"2019-07-25T17:31:06.555Z\\\",\\n      \\\"appearance\\\": \\\"ONLINE\\\",\\n      \\\"userAgents\\\": [\\n        {\\n          \\\"name\\\": \\\"GoToConnect\\\",\\n          \\\"family\\\": \\\"DESKTOP\\\"\\n        }\\n      ],\\n      \\\"userNote\\\": \\\"Working from home\\\"\\n    },\\n    {\\n      \\\"userKey\\\": \\\"456789456789\\\",\\n      \\\"timestamp\\\": \\\"2019-07-25T17:33:56.646Z\\\",\\n      \\\"appearance\\\": \\\"UNAVAILABLE\\\"\\n    },\\n    {\\n      \\\"userKey\\\": \\\"12345\\\",\\n      \\\"timestamp\\\": \\\"2019-07-25T17:33:56.646Z\\\",\\n      \\\"appearance\\\": \\\"UNAVAILABLE\\\"\\n    }\\n  ]\\n}\\n``` ### Example 2\\nRequest for the requester's own `userKey` (here, 123456123456). Here, the user is in DO_NOT_DISTURB because they set it via `/user-presence`. If userDoNotDisturbExpiration is set, it will present in the response.\\n```\\ncurl 'https://api.goto.com/presence/v1/presence?userKey=123456123456' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json'\\n```\\nResponse:\\n\\n```json\\n{\\n  \\\"items\\\": [\\n    {\\n      \\\"userKey\\\": \\\"6577912271309795852\\\",\\n      \\\"timestamp\\\": \\\"2024-11-20T21:07:00.419944Z\\\",\\n      \\\"appearance\\\": \\\"DO_NOT_DISTURB\\\",\\n      \\\"userAgents\\\": [\\n        {\\n          \\\"name\\\": \\\"Unknown\\\",\\n          \\\"family\\\": \\\"MOBILE_PUSH\\\"\\n        },\\n        {\\n          \\\"name\\\": \\\"GoTo\\\",\\n          \\\"family\\\": \\\"WEB\\\"\\n        },\\n        {\\n          \\\"name\\\": \\\"GoTo\\\",\\n          \\\"family\\\": \\\"MOBILE_PUSH\\\"\\n        }\\n      ],\\n      \\\"userAppearance\\\": \\\"NONE\\\",\\n      \\\"userDoNotDisturb\\\": \\\"DO_NOT_DISTURB\\\",\\n      \\\"userDoNotDisturbExpiration\\\": \\\"2024-11-20T21:10:00.419944Z\\\",\\n      \\\"doNotDisturbDetails\\\": {\\n        \\\"dndSources\\\": [\\n          {\\n            \\\"source\\\": \\\"USER_SET\\\",\\n            \\\"status\\\": \\\"ON\\\",\\n          },\\n          {\\n            \\\"source\\\": \\\"ONE_TIME_PERIOD\\\",\\n            \\\"status\\\": \\\"NONE\\\",\\n          },\\n          {\\n            \\\"source\\\": \\\"WORK_PERIOD\\\",\\n            \\\"status\\\": \\\"OFF\\\",\\n          }\\n        ],\\n      },\\n      \\\"userStatus\\\": \\\"NONE\\\",\\n      \\\"userNote\\\": \\\"This is a note example.\\\"\\n    }\\n  ]\\n}\\n\\n```\\n### Authentication Scopes\\n- `presence.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"presence\",\"v1\",\"presence\"],\"host\":[\"{{presence-v1-presence-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"(Required) The user key of the user for which user-presence is to be obtained\\n\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"5eba1717-8285-4edb-aace-db15f19b1ec7\",\"name\":\"The presence request has completed and results are to be found in the response body\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"presence\"],\"host\":[\"{{presence-v1-presence-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"userKey\\\": \\\"Lorem nisi\\\",\\n   \\\"timestamp\\\": \\\"1950-11-13T13:21:32.400Z\\\",\\n   \\\"appearance\\\": \\\"UNAVAILABLE\\\",\\n   \\\"userAgents\\\": [\\n    {\\n     \\\"name\\\": \\\"enim\\\",\\n     \\\"family\\\": \\\"MOBILE_PUSH\\\"\\n    },\\n    {\\n     \\\"name\\\": \\\"ut nulla consectetur\\\",\\n     \\\"family\\\": \\\"DESKTOP\\\"\\n    }\\n   ],\\n   \\\"status\\\": \\\"IN_A_CALENDAR_EVENT\\\",\\n   \\\"statusDetails\\\": {\\n    \\\"scheduledEndTime\\\": \\\"1980-03-14T12:06:07.886Z\\\",\\n    \\\"provider\\\": \\\"OUTLOOK\\\"\\n   },\\n   \\\"userAppearance\\\": \\\"BUSY\\\",\\n   \\\"userDoNotDisturb\\\": \\\"DO_NOT_DISTURB\\\",\\n   \\\"userDoNotDisturbExpiration\\\": \\\"1969-01-31T01:33:27.756Z\\\",\\n   \\\"doNotDisturbDetails\\\": {\\n    \\\"dndSources\\\": [\\n     {\\n      \\\"source\\\": \\\"ONE_TIME_PERIOD\\\",\\n      \\\"status\\\": \\\"ON\\\"\\n     },\\n     {\\n      \\\"source\\\": \\\"ONE_TIME_PERIOD\\\",\\n      \\\"status\\\": \\\"NONE\\\"\\n     }\\n    ]\\n   },\\n   \\\"userStatus\\\": \\\"NONE\\\",\\n   \\\"userNote\\\": \\\"su\\\"\\n  },\\n  {\\n   \\\"userKey\\\": \\\"labore ut\\\",\\n   \\\"timestamp\\\": \\\"2009-03-16T15:13:35.242Z\\\",\\n   \\\"appearance\\\": \\\"BUSY\\\",\\n   \\\"userAgents\\\": [\\n    {\\n     \\\"name\\\": \\\"consectetur sunt\\\",\\n     \\\"family\\\": \\\"DESKTOP\\\"\\n    },\\n    {\\n     \\\"name\\\": \\\"labore exercitation ut Excepteur\\\",\\n     \\\"family\\\": \\\"MOBILE_PUSH\\\"\\n    }\\n   ],\\n   \\\"status\\\": \\\"IN_A_MEETING\\\",\\n   \\\"statusDetails\\\": {\\n    \\\"scheduledEndTime\\\": \\\"2004-12-09T01:29:09.036Z\\\",\\n    \\\"provider\\\": \\\"OUTLOOK\\\"\\n   },\\n   \\\"userAppearance\\\": \\\"BUSY\\\",\\n   \\\"userDoNotDisturb\\\": \\\"NONE\\\",\\n   \\\"userDoNotDisturbExpiration\\\": \\\"2004-11-20T05:17:22.170Z\\\",\\n   \\\"doNotDisturbDetails\\\": {\\n    \\\"dndSources\\\": [\\n     {\\n      \\\"source\\\": \\\"ONE_TIME_PERIOD\\\",\\n      \\\"status\\\": \\\"OFF\\\"\\n     },\\n     {\\n      \\\"source\\\": \\\"WORK_PERIOD\\\",\\n      \\\"status\\\": \\\"ON\\\"\\n     }\\n    ]\\n   },\\n   \\\"userStatus\\\": \\\"IN_A_MEETING\\\",\\n   \\\"userNote\\\": \\\"Lorem\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1c9eb6c4-3631-4133-bbae-968b80e00d54\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n* TIMESTAMP_ALREADY_EXPIRED - The request contains a timestamp that is in the past.\\n* MISSING_STATUS - The request contains a timestamp without a status.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"presence\"],\"host\":[\"{{presence-v1-presence-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"d03ef396-ae1b-43c5-8e79-4330eee5382b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"presence\"],\"host\":[\"{{presence-v1-presence-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a9fa9b44-e906-4fa3-815a-292b7a5864eb\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"presence\"],\"host\":[\"{{presence-v1-presence-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"295ca252-ab9c-48da-a46c-04f7850eea02\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"presence\"],\"host\":[\"{{presence-v1-presence-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d247c813-a9f1-4103-960c-3a55402e35bc\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"presence\"],\"host\":[\"{{presence-v1-presence-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"130f4d2a-4883-41e5-8af3-93c652eaec32\",\"name\":\"user-presence\",\"item\":[{\"id\":\"561555a6-943e-447d-ac06-a9a702740cf8\",\"name\":\"Get user presence fields for the current user\",\"request\":{\"name\":\"Get user presence fields for the current user\",\"description\":{\"content\":\"### Example\\n```\\ncurl 'https://api.goto.com/presence/v1/user-presence' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json'\\n```\\nResponse:\\n```json\\n{\\n  \\\"userAppearance\\\": \\\"NONE\\\",\\n  \\\"userDoNotDisturb\\\": \\\"DO_NOT_DISTURB\\\",\\n  \\\"userDoNotDisturbExpiration\\\": \\\"2029-04-30T01:17:23Z\\\",\\n  \\\"userStatus\\\": \\\"NONE\\\",\\n  \\\"userNote\\\": \\\"Live, laugh, love\\\"\\n}\\n```\\n\\n### Authentication Scopes\\n- `presence.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"presence\",\"v1\",\"user-presence\"],\"host\":[\"{{presence-v1-user-presence-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"ee03ca81-ddd0-4009-b5dd-f4b6f2a51898\",\"name\":\"The request has completed and results are to be found in the response body\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"user-presence\"],\"host\":[\"{{presence-v1-user-presence-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"userAppearance\\\": \\\"OFFLINE\\\",\\n \\\"userDoNotDisturb\\\": \\\"NONE\\\",\\n \\\"userDoNotDisturbExpiration\\\": \\\"1957-06-11T16:26:30.053Z\\\",\\n \\\"userStatus\\\": \\\"IN_A_MEETING\\\",\\n \\\"userNote\\\": \\\"eu ea dolore commodo\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e142a9d1-2832-4455-9887-49a78a05da2b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"user-presence\"],\"host\":[\"{{presence-v1-user-presence-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d9f750aa-1d21-47f7-b664-344a7e6732da\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"user-presence\"],\"host\":[\"{{presence-v1-user-presence-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fe826eb1-5084-4d7d-980e-c9a2b8ce02f0\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"user-presence\"],\"host\":[\"{{presence-v1-user-presence-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"e3b5d490-aaf3-4457-acc5-5c8552ffd85b\",\"name\":\"Set presence fields for a user\",\"request\":{\"name\":\"Set presence fields for a user\",\"description\":{\"content\":\"Set presence fields for a user which will be aggregated into its final presence status to be broadcasted to subscribed users.\\n\\nThis endpoint uses the [JSON Merge Patch](https://tools.ietf.org/html/rfc7386) style of patching. Fields cannot be removed by using a `null` value and they can be reset as explained below.\\n\\nSince the service behind this API doesn't know when the client posting to this endpoint becomes offline, the lifetime of the user presence must be handled through this endpoint. Specifically, when the service has previously received a `userStatus` of `IN_A_MEETING` and the status wasn't posted again for 60 seconds, it is assumed that the client has gone offline and that it is no longer in the meeting (and thus this status is reset). To keep your `IN_A_MEETING` status active, it must be sent continuously before it expires. A refresh period of about 50 seconds is recommended to protect yourself from unexpected latencies.\\n\\nAbsent fields do not reset values. As such, if `userAppearance`, `userDoNotDisturb`, `userDoNotDisturbExpiration`, `userStatus` or `userNote` are omitted, they are considered as if they were set to their respective previous values. In order to reset an appearance or meeting status, the fields must be explicitly set to `NONE`. To reset the `userNote` field, it must be set to `\\\"\\\"` (empty string). To reset the `userDoNotDisturbExpiration` field, reset the `userDoNotDisturb` field.\\n\\nThe presence service persists the `userAppearance`, `userDoNotDisturb`, `userStatus` and `userNote` fields and aggregates them into presence notification/responses even though the client which set them is offline.\\n\\nIn addition to the `/user-presence` endpoint, clients may also read their own user presence fields through the `/presence` endpoint or by subscribing to their own `userKey`. Only in these particular cases will the `userAppearance`, `userDoNotDisturb` and `userStatus` fields be available in the `Presence` object.\\nWhen setting the `userDoNotDisturbExpiration` field with a valid ISO 8601 timestamp, the `userDoNotDisturb` field must also be set to `DO_NOT_DISTURB`. The `userDoNotDisturb` field will then keep that state until the timestamp is reached, at which point the `userDoNotDisturb` will expire and be reset to `NONE`. An expired `userDoNotDisturbExpiration` timestamp will be omitted from the response. A `userDoNotDisturbExpiration` timestamp in the past will be rejected.\\nThe modified user's presence defaults to the owner of the authentication token and can otherwise be specified with the `userKey` parameter. Modifying another user's presence requires super admin permissions and modifications are limited to DoNotDisturb\\n### Example #1\\n```\\ncurl -XPATCH 'https://api.goto.com/presence/v1/user-presence' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{ \\\"userStatus\\\": \\\"IN_A_MEETING\\\" }'\\n```\\nResponse:\\n```json\\n{\\n  \\\"userAppearance\\\": \\\"NONE\\\",\\n  \\\"userDoNotDisturb\\\": \\\"NONE\\\",\\n  \\\"userStatus\\\": \\\"IN_A_MEETING\\\",\\n  \\\"userNote\\\": \\\"Live, laugh, love\\\"\\n}\\n```\\n\\n### Example #2\\n```\\ncurl -XPATCH 'https://api.goto.com/presence/v1/user-presence' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{ \\\\\\n    \\\"userStatus\\\": \\\"NONE\\\", \\\\\\n    \\\"userNote\\\": \\\"\\\" \\\\\\n  }'\\n```\\nResponse:\\n```json\\n{\\n  \\\"userAppearance\\\": \\\"NONE\\\",\\n  \\\"userDoNotDisturb\\\": \\\"NONE\\\",\\n  \\\"userStatus\\\": \\\"NONE\\\",\\n  \\\"userNote\\\": \\\"\\\"\\n}\\n```\\n### Example #3\\n```\\ncurl -XPATCH 'https://api.goto.com/presence/v1/user-presence' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{ \\\\\\n    \\\"userDoNotDisturb\\\": \\\"DO_NOT_DISTURB\\\", \\\\\\n    \\\"userDoNotDisturbExpiration\\\": \\\"2029-11-30T01:17:23Z\\\" \\\\\\n  }'\\n```\\nResponse:\\n```json\\n{\\n  \\\"userAppearance\\\": \\\"NONE\\\",\\n  \\\"userDoNotDisturb\\\": \\\"DO_NOT_DISTURB\\\",\\n  \\\"userDoNotDisturbExpiration\\\": \\\"2029-11-30T01:17:23Z\\\",\\n  \\\"userStatus\\\": \\\"NONE\\\",\\n  \\\"userNote\\\": \\\"\\\"\\n}\\n```\\n### Example #4 (modifying another user's user presence)\\n```\\ncurl -XPATCH 'https://api.goto.com/presence/v1/user-presence?userKey={COLLEAGUE_USER_KEY}' \\\\\\n  -H 'Authorization: Bearer {SUPER_ADMIN_ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{ \\\\\\n    \\\"userDoNotDisturb\\\": \\\"DO_NOT_DISTURB\\\", \\\\\\n    \\\"userDoNotDisturbExpiration\\\": \\\"2029-11-30T01:17:23Z\\\" \\\\\\n  }'\\n```\\nResponse:\\n```json\\n{\\n  \\\"userDoNotDisturb\\\": \\\"DO_NOT_DISTURB\\\",\\n  \\\"userDoNotDisturbExpiration\\\": \\\"2029-11-30T01:17:23Z\\\",\\n}\\n```\\n### Authentication Scopes\\n- `presence.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"presence\",\"v1\",\"user-presence\"],\"host\":[\"{{presence-v1-user-presence-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"userKey\",\"value\":\"<string>\",\"description\":\"The user key of the user for which user-presence is to be modified. Defaults to the oauth token's user if omitted. Modifying another user's user presence requires super admin permissions.\\n\"}],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userAppearance\\\": \\\"<string>\\\",\\n    \\\"userDoNotDisturb\\\": \\\"<string>\\\",\\n    \\\"userDoNotDisturbExpiration\\\": \\\"<dateTime>\\\",\\n    \\\"userStatus\\\": \\\"<string>\\\",\\n    \\\"userNote\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"9610802e-30fe-4322-9955-f0be01659c3e\",\"name\":\"The user presence fields were updated successfully. The API returns the complete updated presence.\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"user-presence\"],\"host\":[\"{{presence-v1-user-presence-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userAppearance\\\": \\\"<string>\\\",\\n    \\\"userDoNotDisturb\\\": \\\"<string>\\\",\\n    \\\"userDoNotDisturbExpiration\\\": \\\"<dateTime>\\\",\\n    \\\"userStatus\\\": \\\"<string>\\\",\\n    \\\"userNote\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"userAppearance\\\": \\\"OFFLINE\\\",\\n \\\"userDoNotDisturb\\\": \\\"NONE\\\",\\n \\\"userDoNotDisturbExpiration\\\": \\\"1957-06-11T16:26:30.053Z\\\",\\n \\\"userStatus\\\": \\\"IN_A_MEETING\\\",\\n \\\"userNote\\\": \\\"eu ea dolore commodo\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c20e24e7-eea2-4cf8-8131-28bf13a81f66\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n* TIMESTAMP_ALREADY_EXPIRED - The request contains a timestamp that is in the past.\\n* MISSING_STATUS - The request contains a timestamp without a status.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"user-presence\"],\"host\":[\"{{presence-v1-user-presence-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userAppearance\\\": \\\"<string>\\\",\\n    \\\"userDoNotDisturb\\\": \\\"<string>\\\",\\n    \\\"userDoNotDisturbExpiration\\\": \\\"<dateTime>\\\",\\n    \\\"userStatus\\\": \\\"<string>\\\",\\n    \\\"userNote\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"b678fd1f-6a49-4397-a252-3bcbcc5fea03\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"user-presence\"],\"host\":[\"{{presence-v1-user-presence-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userAppearance\\\": \\\"<string>\\\",\\n    \\\"userDoNotDisturb\\\": \\\"<string>\\\",\\n    \\\"userDoNotDisturbExpiration\\\": \\\"<dateTime>\\\",\\n    \\\"userStatus\\\": \\\"<string>\\\",\\n    \\\"userNote\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"48ae4bda-90ce-4e87-b07a-3cf11d6fda7d\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"user-presence\"],\"host\":[\"{{presence-v1-user-presence-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userAppearance\\\": \\\"<string>\\\",\\n    \\\"userDoNotDisturb\\\": \\\"<string>\\\",\\n    \\\"userDoNotDisturbExpiration\\\": \\\"<dateTime>\\\",\\n    \\\"userStatus\\\": \\\"<string>\\\",\\n    \\\"userNote\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"05f87c76-57d3-4188-a72d-f6b5c5430064\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"presence\",\"v1\",\"user-presence\"],\"host\":[\"{{presence-v1-user-presence-Url}}\"],\"query\":[{\"key\":\"userKey\",\"value\":\"<string>\"}],\"variable\":[]},\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"userAppearance\\\": \\\"<string>\\\",\\n    \\\"userDoNotDisturb\\\": \\\"<string>\\\",\\n    \\\"userDoNotDisturbExpiration\\\": \\\"<dateTime>\\\",\\n    \\\"userStatus\\\": \\\"<string>\\\",\\n    \\\"userNote\\\": \\\"<string>\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"b652e005-24ae-4664-a012-82b27019b2af\",\"name\":\"notification-channel/v1/channels\",\"item\":[{\"id\":\"444079db-550e-4503-bed5-9453b633ed92\",\"name\":\"Fetch all notification channels\",\"request\":{\"name\":\"Fetch all notification channels\",\"description\":{\"content\":\"\\n### Example Interaction with curl\\n```\\ncurl -XGET 'https://api.goto.com/notification-channel/v1/channels'          \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'         \\n\\n``` \\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\"],\"host\":[\"{{notification-channel-v1-channels-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"none (first items will be fetched)\",\"description\":\"The opaque identifier representing a valid marker for the desired page. The value of `nextPageMarker` from a response SHOULD be used to get the next batch of results.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"100\",\"description\":\"Maximum number of items returned in a page.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"689cd162-c308-4e0b-b55b-7a12a66fe7f1\",\"name\":\"Paginated list of notification channels of the authenticated user in descending creation time order.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\"],\"host\":[\"{{notification-channel-v1-channels-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"none (first items will be fetched)\"},{\"key\":\"pageSize\",\"value\":\"100\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"pageSize\\\": 50,\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"channelId\\\": \\\"Webhook.1e143eab-6ae6-46ed-80db-512ee2a9cbb4\\\",\\n   \\\"channelNickname\\\": \\\"integrations\\\",\\n   \\\"channelData\\\": {\\n    \\\"channelType\\\": \\\"WebSockets\\\",\\n    \\\"channelURL\\\": \\\"wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\\\\n\\\",\\n    \\\"isConnected\\\": false\\n   },\\n   \\\"webhookChannelData\\\": {\\n    \\\"webhook\\\": {\\n     \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n    },\\n    \\\"channelType\\\": \\\"Webhook\\\"\\n   },\\n   \\\"channelLifetime\\\": 10800\\n  },\\n  {\\n   \\\"channelId\\\": \\\"Webhook.1e143eab-6ae6-46ed-80db-512ee2a9cbb4\\\",\\n   \\\"channelNickname\\\": \\\"integrations\\\",\\n   \\\"channelData\\\": {\\n    \\\"channelType\\\": \\\"WebSockets\\\",\\n    \\\"channelURL\\\": \\\"wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\\\\n\\\",\\n    \\\"isConnected\\\": false\\n   },\\n   \\\"webhookChannelData\\\": {\\n    \\\"webhook\\\": {\\n     \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n    },\\n    \\\"channelType\\\": \\\"Webhook\\\"\\n   },\\n   \\\"channelLifetime\\\": 10800\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f76589bd-31a4-427f-a48b-6121b2041fe1\",\"name\":\"The client has made an error in formatting the request. Details can be found in the response body.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\"],\"host\":[\"{{notification-channel-v1-channels-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"none (first items will be fetched)\"},{\"key\":\"pageSize\",\"value\":\"100\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"VkiqK285CEML093OtqRycw7B2MpsXkpT\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"The request is not valid\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"pageSize\\\",\\n   \\\"constraint\\\": \\\"must be between 1 and 100\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bf0c43d8-2c6e-4041-8a32-53b41d8233d5\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\"],\"host\":[\"{{notification-channel-v1-channels-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"none (first items will be fetched)\"},{\"key\":\"pageSize\",\"value\":\"100\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"VkiqK285CEML093OtqRycw7B2MpsXkpT\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"549330b9-0b54-409f-8ae9-e4453786c6cb\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\"],\"host\":[\"{{notification-channel-v1-channels-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"none (first items will be fetched)\"},{\"key\":\"pageSize\",\"value\":\"100\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAUTHORIZED\\\",\\n \\\"message\\\": \\\"The user is unauthorized to perform the action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4b319ca8-23c9-4b0a-b516-24f61508e86a\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\"],\"host\":[\"{{notification-channel-v1-channels-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"none (first items will be fetched)\"},{\"key\":\"pageSize\",\"value\":\"100\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5634fc40-f0ed-4d98-bcd3-3e8611ef59c5\",\"name\":\"An error occurred on the server or downstream while processing the request. Details can be found in the response body.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\"],\"host\":[\"{{notification-channel-v1-channels-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"none (first items will be fetched)\"},{\"key\":\"pageSize\",\"value\":\"100\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error ocurred\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"620aa594-11f6-4c34-9f3d-7ecdfd1b62da\",\"name\":\"integrations\",\"item\":[{\"id\":\"933e4b80-f481-4d5a-a031-1ee3807b9cc1\",\"name\":\"Create a notification channel\",\"request\":{\"name\":\"Create a notification channel\",\"description\":{\"content\":\"Creates a new notification channel for the authenticated user (e.g. the user in the given access token). If the channel type is not specified, a WebSocket channel will be created.\\nThe maximum number of open WebSocket allowed for a given user is 50. Once this threshold is exceeded, creating a new WebSocket channel will fail with a 409 response. It is critical for applications to teardown un-needed WebSocket channels. A maximum of 1 Webhook channel can be created per Webhook  URL for the tuple Webhook URL, userKey and oauthClientId, if a second one is created it will  update the existing one with the new information.\\n### Example Interaction with curl\\n```\\ncurl -XPOST 'https://api.goto.com/notification-channel/v1/channels/integrations'          \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'                \\\\\\n  -H 'Content-Type: application/json'                      \\\\\\n  -d '{\\\"channelType\\\": \\\"Webhook\\\", \\\"webhookChannelData\\\": {\\\"webhook\\\": {\\\"url\\\": \\\"https://my.company.com/webhook\\\"}}}'\\n\\n``` \\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\"],\"host\":[\"{{notification-channel-v1-channels-integrations-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"<string>\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"<string>\\\"\\n        },\\n        \\\"signature\\\": {\\n            \\\"sharedSecret\\\": \\\"<string>\\\"\\n        }\\n    },\\n    \\\"channelData\\\": {\\n        \\\"channelType\\\": \\\"<string>\\\",\\n        \\\"isConnected\\\": false,\\n        \\\"channelURL\\\": \\\"<anyURI>\\\"\\n    },\\n    \\\"channelLifetime\\\": \\\"<integer>\\\"\\n}\"}},\"response\":[{\"id\":\"620256a9-acaf-4297-9d62-fea26e269e42\",\"name\":\"Successfully created the notification channel.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\"],\"host\":[\"{{notification-channel-v1-channels-integrations-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"Webhook\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n        }\\n    },\\n    \\\"channelLifetime\\\": 10800\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"channelId\\\": \\\"Webhook.1e143eab-6ae6-46ed-80db-512ee2a9cbb4\\\",\\n \\\"channelNickname\\\": \\\"integrations\\\",\\n \\\"channelData\\\": {\\n  \\\"channelType\\\": \\\"WebSockets\\\",\\n  \\\"channelURL\\\": \\\"wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\\\\n\\\",\\n  \\\"isConnected\\\": false\\n },\\n \\\"webhookChannelData\\\": {\\n  \\\"webhook\\\": {\\n   \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n  },\\n  \\\"channelType\\\": \\\"Webhook\\\"\\n },\\n \\\"channelLifetime\\\": 10800\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b8e76aeb-af44-4fc0-a928-a4ac5c30c536\",\"name\":\"The client has made an error in formatting the request. Details can be found in the response body.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\"],\"host\":[\"{{notification-channel-v1-channels-integrations-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"Webhook\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n        }\\n    },\\n    \\\"channelLifetime\\\": 10800\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"VkiqK285CEML093OtqRycw7B2MpsXkpT\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"The request is not valid\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"pageSize\\\",\\n   \\\"constraint\\\": \\\"must be between 1 and 100\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"02e5bdcf-51e0-4a05-aba8-2343154d191b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\"],\"host\":[\"{{notification-channel-v1-channels-integrations-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"Webhook\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n        }\\n    },\\n    \\\"channelLifetime\\\": 10800\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"VkiqK285CEML093OtqRycw7B2MpsXkpT\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1a79cd52-c58d-41f6-a014-941cc9ff9754\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\"],\"host\":[\"{{notification-channel-v1-channels-integrations-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"Webhook\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n        }\\n    },\\n    \\\"channelLifetime\\\": 10800\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAUTHORIZED\\\",\\n \\\"message\\\": \\\"The user is unauthorized to perform the action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8f58c9ec-7448-4853-98c0-a6ea2356e26c\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\"],\"host\":[\"{{notification-channel-v1-channels-integrations-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"Webhook\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n        }\\n    },\\n    \\\"channelLifetime\\\": 10800\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f85536e6-08ec-4310-8f7d-18f3c8068ff8\",\"name\":\"An error occurred on the server or downstream while processing the request. Details can be found in the response body.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\"],\"host\":[\"{{notification-channel-v1-channels-integrations-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"Webhook\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n        }\\n    },\\n    \\\"channelLifetime\\\": 10800\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error ocurred\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"ee6dc384-62ab-4cfb-810d-8b78fadea1f9\",\"name\":\"{channel Id}\",\"item\":[{\"id\":\"71af7e52-4224-49d6-adb1-2d882ffa524d\",\"name\":\"Obtain information on a notification channel\",\"request\":{\"name\":\"Obtain information on a notification channel\",\"description\":{\"content\":\"Retrieves a specific channel's information.\\n### Example Interaction with curl\\n```\\ncurl -XGET 'https://api.goto.com/notification-channel/v1/channels/integrations/Webhook.a387047e...'  \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'         \\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<ChannelId>\",\"key\":\"channelId\",\"description\":\"(Required) Unique notification channel identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"4cab872e-5979-462e-b3bb-39745042081e\",\"name\":\"The channel information.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"channelId\\\": \\\"Webhook.1e143eab-6ae6-46ed-80db-512ee2a9cbb4\\\",\\n \\\"channelNickname\\\": \\\"integrations\\\",\\n \\\"channelData\\\": {\\n  \\\"channelType\\\": \\\"WebSockets\\\",\\n  \\\"channelURL\\\": \\\"wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\\\\n\\\",\\n  \\\"isConnected\\\": false\\n },\\n \\\"webhookChannelData\\\": {\\n  \\\"webhook\\\": {\\n   \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n  },\\n  \\\"channelType\\\": \\\"Webhook\\\"\\n },\\n \\\"channelLifetime\\\": 10800\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a173cbd8-6b67-45b9-ad18-9537e737d755\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"VkiqK285CEML093OtqRycw7B2MpsXkpT\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d6d2ef5b-cd7c-410e-9eee-41ee399d4c2d\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAUTHORIZED\\\",\\n \\\"message\\\": \\\"The user is unauthorized to perform the action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"890aa844-7a0c-4f4f-943d-aed82ac907b7\",\"name\":\"The channel doesn't exist or the client can't manage the channel.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"z79ojI9ITRPu22OLFaHsfbvymU3VT0xt\\\",\\n \\\"errorCode\\\": \\\"RTC-NOTIFICATION-CHANNEL-NOT-FOUND\\\",\\n \\\"message\\\": \\\"Notification channel does not exist\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d38e498e-cf8c-422b-96d6-d86c8b6963ee\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"356feecd-993d-4195-b1f7-dfa333d1b6c0\",\"name\":\"An error occurred on the server or downstream while processing the request. Details can be found in the response body.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error ocurred\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"22586392-1e1a-4d22-9cce-d216bfaf9c5f\",\"name\":\"Update a notification channel\",\"request\":{\"name\":\"Update a notification channel\",\"description\":{\"content\":\"Update the notification channel with new data. All values must be passed as if you were creating a new notification channel.\\n### Example Interaction with curl\\n```\\ncurl -XPUT 'https://api.goto.com/notification-channel/v1/channels/integrations/Webhook.a387047e...'          \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'                \\\\\\n  -H 'Content-Type: application/json'                      \\\\\\n  -d '{\\\"channelType\\\": \\\"Webhook\\\", \\\"webhookChannelData\\\": {\\\"webhook\\\": {\\\"url\\\": \\\"https://my.company.com/webhook\\\"}}}'\\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<ChannelId>\",\"key\":\"channelId\",\"description\":\"(Required) Unique notification channel identifier.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PUT\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"<string>\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"<string>\\\"\\n        },\\n        \\\"signature\\\": {\\n            \\\"sharedSecret\\\": \\\"<string>\\\"\\n        }\\n    },\\n    \\\"channelData\\\": {\\n        \\\"channelType\\\": \\\"<string>\\\",\\n        \\\"isConnected\\\": false,\\n        \\\"channelURL\\\": \\\"<anyURI>\\\"\\n    },\\n    \\\"channelLifetime\\\": \\\"<integer>\\\"\\n}\"}},\"response\":[{\"id\":\"947d42f8-1467-4732-8143-a9fa8ad70a10\",\"name\":\"The channel information.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"Webhook\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n        }\\n    },\\n    \\\"channelLifetime\\\": 10800\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"channelId\\\": \\\"Webhook.1e143eab-6ae6-46ed-80db-512ee2a9cbb4\\\",\\n \\\"channelNickname\\\": \\\"integrations\\\",\\n \\\"channelData\\\": {\\n  \\\"channelType\\\": \\\"WebSockets\\\",\\n  \\\"channelURL\\\": \\\"wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\\\\n\\\",\\n  \\\"isConnected\\\": false\\n },\\n \\\"webhookChannelData\\\": {\\n  \\\"webhook\\\": {\\n   \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n  },\\n  \\\"channelType\\\": \\\"Webhook\\\"\\n },\\n \\\"channelLifetime\\\": 10800\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fa6b4bb9-0046-41a6-a72a-1ee2abc4a3d1\",\"name\":\"Client side error. Details can be found in the response body.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"Webhook\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n        }\\n    },\\n    \\\"channelLifetime\\\": 10800\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"VkiqK285CEML093OtqRycw7B2MpsXkpT\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"message\\\": \\\"Webhook URL did not respond as expected\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"eee60296-ed64-48c7-a754-b0b475efd38b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"Webhook\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n        }\\n    },\\n    \\\"channelLifetime\\\": 10800\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"VkiqK285CEML093OtqRycw7B2MpsXkpT\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a44c23ad-b3f1-4f0b-8f97-bd2da0483356\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"Webhook\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n        }\\n    },\\n    \\\"channelLifetime\\\": 10800\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAUTHORIZED\\\",\\n \\\"message\\\": \\\"The user is unauthorized to perform the action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2ad2df65-052f-41b6-8255-16203c8a7f4a\",\"name\":\"The channel doesn't exist or the client can't manage the channel.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"Webhook\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n        }\\n    },\\n    \\\"channelLifetime\\\": 10800\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"z79ojI9ITRPu22OLFaHsfbvymU3VT0xt\\\",\\n \\\"errorCode\\\": \\\"RTC-NOTIFICATION-CHANNEL-NOT-FOUND\\\",\\n \\\"message\\\": \\\"Notification channel does not exist\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f1ff25f8-c709-42be-828a-89c2cf86a9a6\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"Webhook\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n        }\\n    },\\n    \\\"channelLifetime\\\": 10800\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c35706c5-545d-416b-862b-0f697a02dc3f\",\"name\":\"An error occurred on the server or downstream while processing the request. Details can be found in the response body.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"channelType\\\": \\\"Webhook\\\",\\n    \\\"webhookChannelData\\\": {\\n        \\\"webhook\\\": {\\n            \\\"url\\\": \\\"https://mycompany.com/sms-webhook\\\"\\n        }\\n    },\\n    \\\"channelLifetime\\\": 10800\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error ocurred\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"d294b5ee-eaf0-4dd3-8f51-a3d208ec7295\",\"name\":\"Destroy a notification channel\",\"request\":{\"name\":\"Destroy a notification channel\",\"description\":{\"content\":\"Removes an individual notification channel for the authenticated user.\\n### Example Interaction with curl\\n```\\ncurl -XDELETE 'https://api.goto.com/notification-channel/v1/channels/integrations/Webhook.a387047e...' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}'                \\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<ChannelId>\",\"key\":\"channelId\",\"description\":\"(Required) Unique notification channel identifier.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"635b1a3c-9966-416c-b305-c876112676a9\",\"name\":\"Successfully removed the notification channel.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"b2420310-d4c9-44a1-8bfe-6a917c646c56\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"VkiqK285CEML093OtqRycw7B2MpsXkpT\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2d186050-ad59-4bc8-99ce-43c1634b3a0c\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAUTHORIZED\\\",\\n \\\"message\\\": \\\"The user is unauthorized to perform the action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c4500c81-686d-4e38-b761-a0d17addea03\",\"name\":\"The channel doesn't exist or the client can't manage the channel.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"z79ojI9ITRPu22OLFaHsfbvymU3VT0xt\\\",\\n \\\"errorCode\\\": \\\"RTC-NOTIFICATION-CHANNEL-NOT-FOUND\\\",\\n \\\"message\\\": \\\"Notification channel does not exist\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ce7ef3e2-e1f6-42ff-afbb-293042242744\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f178744d-8eb0-41e1-b709-e96f38ee2b9d\",\"name\":\"An error occurred on the server or downstream while processing the request. Details can be found in the response body.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error ocurred\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"26bb0aba-d7de-4b2a-843e-4ed67ee644c0\",\"name\":\"channel-lifetime\",\"item\":[{\"id\":\"9573e7d9-5f09-4db8-8819-f64fde163d4a\",\"name\":\"Obtain the remaining lifetime\",\"request\":{\"name\":\"Obtain the remaining lifetime\",\"description\":{\"content\":\"Retrieves the remaining lifetime of the notification channel.\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\",\"channel-lifetime\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-channel-lifetime-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<ChannelId>\",\"key\":\"channelId\",\"description\":\"(Required) Unique notification channel identifier.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"bb9cca93-77f8-4110-869d-848a9061cd98\",\"name\":\"OK\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\",\"channel-lifetime\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-channel-lifetime-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"channelLifetime\\\": -91581391\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4b983137-55cd-4912-ae34-b3be79897d12\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\",\"channel-lifetime\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-channel-lifetime-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"VkiqK285CEML093OtqRycw7B2MpsXkpT\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"32ada35d-3b57-4390-890d-e92c277ab617\",\"name\":\"The channel doesn't exist or the client can't manage the channel.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\",\"channel-lifetime\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-channel-lifetime-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"z79ojI9ITRPu22OLFaHsfbvymU3VT0xt\\\",\\n \\\"errorCode\\\": \\\"RTC-NOTIFICATION-CHANNEL-NOT-FOUND\\\",\\n \\\"message\\\": \\\"Notification channel does not exist\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8a8d6a3b-0154-42d3-9205-900b0c5b17e3\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\",\"channel-lifetime\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-channel-lifetime-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b2f28fec-9785-4b48-bae1-7615c7a9ad30\",\"name\":\"An error occurred on the server or downstream while processing the request. Details can be found in the response body.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\",\"channel-lifetime\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-channel-lifetime-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error ocurred\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"ed53d363-89e8-4419-bbac-4390bbdd700c\",\"name\":\"Refresh remaining lifetime\",\"request\":{\"name\":\"Refresh remaining lifetime\",\"description\":{\"content\":\"Refreshes the channel, resetting the remaining lifetime.\\nIf the owner of the channel has been deleted, a `404 Not Found` will be returned. If the owner account has been suspended, a `409 Conflict` will be returned.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\",\"channel-lifetime\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-channel-lifetime-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<ChannelId>\",\"key\":\"channelId\",\"description\":\"(Required) Unique notification channel identifier.\"}]},\"method\":\"PUT\",\"auth\":null},\"response\":[{\"id\":\"38706d63-7b3e-40e8-af1f-f3ffd0eb2683\",\"name\":\"OK\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\",\"channel-lifetime\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-channel-lifetime-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"PUT\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"channelLifetime\\\": -91581391\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"502e136b-1b14-4aed-b5b9-e2fa7b6721b2\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\",\"channel-lifetime\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-channel-lifetime-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"PUT\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"VkiqK285CEML093OtqRycw7B2MpsXkpT\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e766b3e6-b560-43f3-99cf-e0980c6c9bc9\",\"name\":\"The channel doesn't exist or the client can't manage the channel.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\",\"channel-lifetime\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-channel-lifetime-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"PUT\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"z79ojI9ITRPu22OLFaHsfbvymU3VT0xt\\\",\\n \\\"errorCode\\\": \\\"RTC-NOTIFICATION-CHANNEL-NOT-FOUND\\\",\\n \\\"message\\\": \\\"Notification channel does not exist\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4f323c3b-2280-45b9-9dae-bbe422d85aec\",\"name\":\"The operation wasn't completed caused by a suspended user.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\",\"channel-lifetime\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-channel-lifetime-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"PUT\",\"body\":{}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9fb1a15d-2f79-45e9-bfe8-d7c1ffbcf7e2\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\",\"channel-lifetime\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-channel-lifetime-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"PUT\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e8231afd-c4f2-4900-afea-5f298b2e1dc7\",\"name\":\"An error occurred on the server or downstream while processing the request. Details can be found in the response body.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"notification-channel\",\"v1\",\"channels\",\"integrations\",\":channelId\",\"channel-lifetime\"],\"host\":[\"{{notification-channel-v1-channels-integrations-channelId-channel-lifetime-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"channelId\"}]},\"method\":\"PUT\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error ocurred\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"e181adb7-5e55-4df9-a2d3-f05817c1a96b\",\"name\":\"recording/v1\",\"item\":[{\"id\":\"c6b22924-17ba-48a7-83cb-c5e89a6e664c\",\"name\":\"recordings/{recording Id}/content\",\"item\":[{\"id\":\"ad6f14e2-dd8a-47b0-bc74-8a56ad422b3b\",\"name\":\"Retrieves a content token used to access the requested recording\",\"request\":{\"name\":\"Retrieves a content token used to access the requested recording\",\"description\":{\"content\":\"Generates a short-lived content token used to create a download link to the content.  This content token\\nserves as a component to a URL designed to allow a browser's native download capabilities to handle the\\nfile download and must be treated as a such.  It should not be shared indiscriminently.  The returned\\ninformation contains the expiration date for the returned token.  Tokens should not be used after their\\nexpiration date.\\n\\n### Retrieving Content Tokens and Recording status\\nThis API does not generate content tokens for recordings that have not reached the `UPLOADED` status.\\nCalling this endpoint for a recording with a status other than `UPLOADED` results in a `400` response.\\n\\n### Security\\nThe API only allows access to recordings for organizations associated to the requesting principal and for\\nwhich this API has been enabled.\\n\\n### Authentication Scopes\\n`recording.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"recordingId\",\"description\":\"(Required) Recording identifier\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"09c41366-27d8-49e8-80cd-27ab3c43c388\",\"name\":\"The content token used to generate a download link\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"token\\\": \\\"occaecat ipsum laborum mollit\\\",\\n \\\"expires\\\": \\\"1961-05-20T17:47:01.241Z\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d8db8b5e-a06a-4fc8-8e14-aa443d612e08\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9b9d7ad5-b9e2-4ec2-99b9-c06e57dc1829\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"30bd2e92-55b9-4c07-8cc2-f205ca1762d4\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7b4a8681-88ef-4f78-8bcc-c9e02dfde88f\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d9fbf1d5-0bc8-46c8-8b1e-2e25154b19da\",\"name\":\"The accepted response formats supplied with the request are not supported for the requested resource type and operation. Accepted response format detection occurs before other authorization decisions and is based solely on the resource type and requested action. This response provides no indication of the existence of the specific resource targeted by the request.  A `NOT_ACCEPTABLE` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Acceptable\",\"code\":406,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"ab8dfac4-c8eb-4413-8a2c-0a7f9c60eda1\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"33da04f0-c80b-4e14-964f-ecb8fe8c96e7\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fa303e25-5c6f-42ac-aa9f-486a1a4a6a77\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Gateway\",\"code\":502,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"d519e5fc-6ee2-466b-b68e-b58ab807ebc8\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"23c124b3-c733-4da5-bdda-c65f4aee9054\",\"name\":\"There was an issue routing the request.  A `UNKNOWN_ERROR`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Gateway Timeout\",\"code\":504,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"}],\"event\":[]},{\"id\":\"75bea9be-7cba-4e49-8df8-946c87602b67\",\"name\":\"Retrieves the recording content\",\"request\":{\"name\":\"Retrieves the recording content\",\"description\":{\"content\":\"Returns the recording audio content\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\",\":token\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-token-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"recordingId\",\"description\":\"(Required) Recording identifier\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"token\",\"description\":\"(Required) Token granted via the `/content` path for the supplied `recordingId`\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"0aa05b76-ae8d-443c-8d33-0ec647d389f7\",\"name\":\"A redirect to the recording content\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\",\":token\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-token-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"},{\"type\":\"any\",\"key\":\"token\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Found\",\"code\":302,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"0628adb1-f81c-473f-947f-d7e8afc8369e\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\",\":token\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-token-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"},{\"type\":\"any\",\"key\":\"token\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c0229bc9-64fa-470c-8b21-91ddb7ad9a97\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\",\":token\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-token-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"},{\"type\":\"any\",\"key\":\"token\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"67d548ff-470d-420f-a815-c9451fd55451\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\",\":token\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-token-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"},{\"type\":\"any\",\"key\":\"token\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c1d7eb9c-1064-4334-b5aa-7901fd529d0a\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\",\":token\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-token-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"},{\"type\":\"any\",\"key\":\"token\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"13cf2d69-1d8d-4a48-a528-ea2a7a724246\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\",\":token\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-token-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"},{\"type\":\"any\",\"key\":\"token\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c513ea17-8b4e-4936-aa84-afe0f2df2805\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"recordings\",\":recordingId\",\"content\",\":token\"],\"host\":[\"{{recording-v1-recordings-recordingId-content-token-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"recordingId\"},{\"type\":\"any\",\"key\":\"token\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"d398f906-7496-4bba-a338-4f35da53ace0\",\"name\":\"subscriptions\",\"item\":[{\"id\":\"e8c12784-d5e1-4f03-86ef-8f3ef75ea8a5\",\"name\":\"Subscribe to recording notifications\",\"request\":{\"name\":\"Subscribe to recording notifications\",\"description\":{\"content\":\"Create a subscription for the user defined in the authorization token. The subscription activates notifications towards the provided notification channel ID. The request may contain one or more event types to subscribe to.\\n### Authentication Scopes\\n`recording.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"<uuid>\\\",\\n    \\\"accountKey\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"60cd4e11-d147-426b-ad20-56fc330c11d5\",\"name\":\"Content of the new subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"1555226665\\\"\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": {},\\n \\\"accountKey\\\": \\\"eiusmod aute\\\",\\n \\\"channelId\\\": \\\"eb869f86-4cdf-69be-ab14-7b313d9ed907\\\",\\n \\\"timestamp\\\": \\\"1972-03-19T15:03:33.733Z\\\",\\n \\\"eventTypes\\\": [\\n  \\\"RECORDING_UPLOADED\\\",\\n  \\\"RECORDING_TRANSCRIPT_UPLOADED\\\"\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"dd13dd7e-39fb-4b7c-8630-3c568dfb2a21\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"1555226665\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ea9b1376-f2c2-434e-b0d8-5436d3465c04\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"1555226665\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7a9d0881-5ccb-4c94-a8d4-9521d26fc537\",\"name\":\"There was an error during authorization.\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"1555226665\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9ce810d6-3ae8-4d31-86d9-155e28bdef00\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"1555226665\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"cf44a056-98cb-4bc3-866d-58c2efaa6173\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"1555226665\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0cdced48-8f46-406e-880a-c45767aa2e5b\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[],\"variable\":[]},\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"eventTypes\\\": [\\n        \\\"<string>\\\",\\n        \\\"<string>\\\"\\n    ],\\n    \\\"channelId\\\": \\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\n    \\\"accountKey\\\": \\\"1555226665\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"3693624a-cdf7-41e3-9832-54286fa9f33d\",\"name\":\"Get subscriptions\",\"request\":{\"name\":\"Get subscriptions\",\"description\":{\"content\":\"Obtains the subscription details of the desired user where the user is defined by the authorization token. Note that users can only retrieve subscriptions they own.\\n### Authentication Scopes\\n`recording.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The returned `NextPageMarker` from a Paginated Collection is used here to\\nfetch the starting item for the paginated result.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"}],\"variable\":[]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"3936e0cf-8fbe-4234-b95b-52514a81a011\",\"name\":\"The subscription list\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"NextPageMarker\\\": \\\"elit qui nisi deserunt\\\",\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": {},\\n   \\\"accountKey\\\": \\\"ipsum voluptat\\\",\\n   \\\"channelId\\\": \\\"urn:uuid:489d43c2-8092-8931-b657-83e9ea54d22a\\\",\\n   \\\"timestamp\\\": \\\"1953-11-15T08:33:06.683Z\\\",\\n   \\\"eventTypes\\\": [\\n    \\\"RECORDING_TRANSCRIPT_UPLOADED\\\",\\n    \\\"RECORDING_TRANSCRIPT_UPLOADED\\\"\\n   ]\\n  },\\n  {\\n   \\\"id\\\": {},\\n   \\\"accountKey\\\": \\\"pariatur qui quis ad\\\",\\n   \\\"channelId\\\": \\\"urn:uuid:05da115b-f377-c8b2-f8c9-586476e683e9\\\",\\n   \\\"timestamp\\\": \\\"1976-02-25T16:49:46.408Z\\\",\\n   \\\"eventTypes\\\": [\\n    \\\"RECORDING_UPLOADED\\\",\\n    \\\"RECORDING_TRANSCRIPT_UPLOADED\\\"\\n   ]\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bba4930f-b074-4929-bd4e-2eedeeea38fa\",\"name\":\"The `pageMarker` or `pageSize` is invalid\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"pageMarker\\\",\\n   \\\"constraint\\\": \\\"INVALID\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"de985020-a371-4231-a85b-318e77242bea\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"94640af6-2c15-4c70-84f1-301afd7beb0f\",\"name\":\"There was an error during authorization.\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2495333f-85ec-4318-80ac-da99cbf27f64\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ae06fe24-2584-4b1a-a0ad-fcf8fb66df4b\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\"],\"host\":[\"{{recording-v1-subscriptions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"}],\"variable\":[]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"79f999c3-17e8-46ce-bdf3-e57a86159737\",\"name\":\"Remove a subscription on recording notifications.\",\"request\":{\"name\":\"Remove a subscription on recording notifications.\",\"description\":{\"content\":\"Delete a subscription for a desired ID where the user is defined in the authorization token.\\n### Authentication Scopes\\n`recording.v1.notifications.manage` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{recording-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"\",\"key\":\"subscriptionId\",\"description\":\"(Required) \"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"14abc086-fdf8-4fd9-9c3d-5a587fe1a694\",\"name\":\"Succesfully removed the subscription.\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{recording-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"86c8f073-6b42-4ea0-9b13-1a559376ecc0\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{recording-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7c6e0abc-7cf6-43be-ae72-98cf128b4d3c\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{recording-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"67d76224-aedb-48f1-b817-2137f5f644a5\",\"name\":\"There was an error during authorization.\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{recording-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"CONSTRAINT_VIOLATION\\\",\\n \\\"message\\\": \\\"Invalid data was provided\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8d2da438-5262-4da9-a6ab-5583a41067a2\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{recording-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7c4e1aff-65a7-459d-bcac-b1ea00dcd61b\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{recording-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"473f08c4-cee9-4681-b96a-610c26c079bb\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"subscriptions\",\":subscriptionId\"],\"host\":[\"{{recording-v1-subscriptions-subscriptionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"subscriptionId\"}]},\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"39b2ab9a-676a-4772-80a0-779c890c5bee\",\"name\":\"Retrieves the transcription content\",\"request\":{\"name\":\"Retrieves the transcription content\",\"description\":{\"content\":\"Returns the transcription content, via an HTTP redirection.\\n\\n### Security\\n\\nThe API only allows access to transcriptions for organizations associated to the requesting principal.\\n\\n### Authentication Scopes\\n\\n`recording.v1.read` must be used when a token is requested from the Authentication API.\\n\\n### Transcript Formats\\n\\nTranscript formats are versioned. They are defined by the `version` field in the transcript content.\\n\\nSee the following object schema definition for more details, note that this is not an example of the \\nobject that you will get on the given Location header value but the exact definition of the object.\\nFor more information on JSON schemas, please refer to https://json-schema.org/understanding-json-schema.\\n\\n#### Version 1 Schema\\n\\n```\\n\\n{\\n  \\\"$schema\\\": \\\"https://json-schema.org/draft/2020-12/schema\\\",\\n  \\\"$id\\\": \\\"https://goto.com/schemas/transcript/v1\\\",\\n  \\\"type\\\": \\\"object\\\",\\n  \\\"description\\\": \\\"Definition of the transcript format version 1\\\",\\n  \\\"properties\\\": {\\n    \\\"version\\\": {\\n      \\\"type\\\": \\\"string\\\",\\n      \\\"description\\\": \\\"The version of the transcript format\\\",\\n      \\\"enum\\\": [\\\"1\\\"]\\n    },\\n    \\\"results\\\": {\\n      \\\"type\\\": \\\"array\\\",\\n      \\\"items\\\": {\\n        \\\"type\\\": \\\"object\\\",\\n        \\\"required\\\": [\\n          \\\"type\\\",\\n          \\\"transcript\\\",\\n          \\\"final\\\",\\n          \\\"startTimeMs\\\",\\n          \\\"endTimeMs\\\",\\n          \\\"channel\\\"\\n        ],\\n        \\\"properties\\\": {\\n          \\\"type\\\": {\\n            \\\"type\\\": \\\"string\\\",\\n            \\\"description\\\": \\\"The type of the transcript\\\",\\n            \\\"enum\\\": [\\\"utterances\\\"]\\n          },\\n          \\\"transcript\\\": {\\n            \\\"type\\\": \\\"string\\\",\\n            \\\"description\\\": \\\"The words that were spoken\\\"\\n          },\\n          \\\"final\\\": {\\n            \\\"type\\\": \\\"boolean\\\",\\n            \\\"description\\\": \\\"Always true since this is the final transcript\\\"\\n          },\\n          \\\"startTimeMs\\\": {\\n            \\\"type\\\": \\\"integer\\\",\\n            \\\"description\\\": \\\"Timestamp in milliseconds from the start of recording when the associated words started\\\"\\n          },\\n          \\\"endTimeMs\\\": {\\n            \\\"type\\\": \\\"integer\\\",\\n            \\\"description\\\": \\\"Timestamp in milliseconds from the start of recording when the associated words stopped\\\"\\n          },\\n          \\\"channel\\\": {\\n            \\\"type\\\": \\\"integer\\\",\\n            \\\"description\\\": \\\"In which channel the words were said. Channel 0 is what the participant said, channel 1 is what the participant heard. If recording was in mono format, everything will be in channel 0\\\"\\n          },\\n          \\\"languageCode\\\": {\\n            \\\"type\\\": \\\"string\\\",\\n            \\\"description\\\": \\\"Language detected by the transcription engine (ISO 639-1 format)\\\",\\n            \\\"example\\\": \\\"en\\\"\\n          }\\n        }\\n      }\\n    }\\n  },\\n  \\\"required\\\": [\\\"version\\\", \\\"results\\\"]\\n}\\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"recording\",\"v1\",\"transcriptions\",\":transcriptId\"],\"host\":[\"{{recording-v1-transcriptions-transcriptId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"transcriptId\",\"description\":\"(Required) Transcript identifier\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"495208eb-d527-4128-bef6-281910fff082\",\"name\":\"A redirect to the transcription content\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"transcriptions\",\":transcriptId\"],\"host\":[\"{{recording-v1-transcriptions-transcriptId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"transcriptId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Found\",\"code\":302,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"13eccec6-9ffb-46bf-bfd8-913b5b00e187\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"transcriptions\",\":transcriptId\"],\"host\":[\"{{recording-v1-transcriptions-transcriptId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"transcriptId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8bf555db-58b9-4ed3-9ebe-16168b86f1fc\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"transcriptions\",\":transcriptId\"],\"host\":[\"{{recording-v1-transcriptions-transcriptId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"transcriptId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e5bd1637-12fb-4908-ab84-4bbd9a159900\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"transcriptions\",\":transcriptId\"],\"host\":[\"{{recording-v1-transcriptions-transcriptId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"transcriptId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"218daea6-e6d7-4508-b8d3-c5fdee6be078\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"transcriptions\",\":transcriptId\"],\"host\":[\"{{recording-v1-transcriptions-transcriptId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"transcriptId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f09da884-e622-4ae4-92a5-70951ffdc4c9\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"recording\",\"v1\",\"transcriptions\",\":transcriptId\"],\"host\":[\"{{recording-v1-transcriptions-transcriptId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"transcriptId\"}]},\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]},{\"id\":\"f26ff26e-4a17-4f8b-9b50-5b6c49c3e0c1\",\"name\":\"web-calls/v1\",\"item\":[{\"id\":\"befc6b0b-7031-40e5-b67d-e7a61a58f292\",\"name\":\"sessions\",\"item\":[{\"id\":\"4aa9965f-60ec-4148-a78f-1def183a7ba8\",\"name\":\"Create a new session\",\"request\":{\"name\":\"Create a new session\",\"description\":{\"content\":\"Creates a new session for an extension to be able to send and receive calls as well as receive notifications. If a session already exists for the given user, organization, and extension, the existing session will be updated with the information provided in the request.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl -X \\\"POST\\\" \\\"https://webrtc.jive.com/web-calls/v1/sessions\\\" \\\\\\n  -H \\\"Content-Type: application/json\\\" \\\\\\n  -d '{\\n    \\\"organizationId\\\": \\\"01234567-aaaa-0123-bbbb-000000000001\\\",\\n    \\\"extensionNumber\\\": \\\"1121\\\",\\n    \\\"clientInformation\\\": {\\n      \\\"appId\\\": \\\"my-application-name\\\",\\n      \\\"appVersion\\\": \\\"2.3.1\\\",\\n      \\\"platform\\\": \\\"INTEGRATOR\\\"\\n      },\\n    \\\"callbackReference\\\": {\\n      \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n      \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n  }' \\\\\\n  -H 'Authorization: Bearer {token}'\\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\"],\"host\":[\"{{web-calls-v1-sessions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"<string>\\\",\\n    \\\"extensionNumber\\\": \\\"<string>\\\",\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"<string>\\\",\\n        \\\"appVersion\\\": \\\"<string>\\\",\\n        \\\"platform\\\": \\\"<string>\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"<string>\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"response\":[{\"id\":\"dcb7f9dd-dfc4-43cd-9aa2-7cbbafd420bf\",\"name\":\"Successfully create the session.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\"],\"host\":[\"{{web-calls-v1-sessions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"01234567-aaaa-0123-bbbb-000000000001\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueSessionID\\\",\\n \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n \\\"extensionNumber\\\": \\\"1234\\\",\\n \\\"callbackReference\\\": {\\n  \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n  \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n },\\n \\\"calls\\\": [\\n  {\\n   \\\"id\\\": \\\"someUniqueCallID\\\",\\n   \\\"number\\\": \\\"18667685429\\\",\\n   \\\"name\\\": \\\"Awesome Dev\\\",\\n   \\\"isMuted\\\": false,\\n   \\\"isOnHold\\\": false,\\n   \\\"hasMedia\\\": true,\\n   \\\"status\\\": \\\"CONNECTED\\\",\\n   \\\"timestamp\\\": \\\"2000-02-08T22:54:06.312Z\\\",\\n   \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n   \\\"ringingInMedia\\\": true,\\n   \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n   \\\"answerAfter\\\": 20000,\\n   \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n   \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n   \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"someUniqueCallID\\\",\\n   \\\"number\\\": \\\"18667685429\\\",\\n   \\\"name\\\": \\\"Awesome Dev\\\",\\n   \\\"isMuted\\\": false,\\n   \\\"isOnHold\\\": false,\\n   \\\"hasMedia\\\": true,\\n   \\\"status\\\": \\\"CONNECTED\\\",\\n   \\\"timestamp\\\": \\\"2023-05-26T19:51:07.781Z\\\",\\n   \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n   \\\"ringingInMedia\\\": true,\\n   \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n   \\\"answerAfter\\\": 20000,\\n   \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n   \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n   \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n  }\\n ],\\n \\\"expires\\\": -50558030,\\n \\\"name\\\": \\\"ut deserunt irure\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1c43e362-e154-410b-b088-33420afadbc8\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\"],\"host\":[\"{{web-calls-v1-sessions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"01234567-aaaa-0123-bbbb-000000000001\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b8bb458e-961e-4183-a224-239d64387e3c\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\"],\"host\":[\"{{web-calls-v1-sessions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"01234567-aaaa-0123-bbbb-000000000001\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cc86e199-b986-4746-a64d-aaa53df061ba\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\"],\"host\":[\"{{web-calls-v1-sessions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"01234567-aaaa-0123-bbbb-000000000001\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"64143362-eb25-4b2f-90f4-3aeb02d39580\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\"],\"host\":[\"{{web-calls-v1-sessions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"01234567-aaaa-0123-bbbb-000000000001\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fac03b3b-8c1f-4842-a12d-3af4bed58957\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\"],\"host\":[\"{{web-calls-v1-sessions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"01234567-aaaa-0123-bbbb-000000000001\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1992cbc1-f077-4151-9446-328202f5c353\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\"],\"host\":[\"{{web-calls-v1-sessions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"01234567-aaaa-0123-bbbb-000000000001\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ebcaf5d0-be13-45b4-998a-1213fc800a14\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\"],\"host\":[\"{{web-calls-v1-sessions-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"01234567-aaaa-0123-bbbb-000000000001\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"773d0c4b-24e4-448a-a33f-face90e5fdd2\",\"name\":\"{session Id}\",\"item\":[{\"id\":\"2e88d000-c8c2-4900-b0fb-4fc624530eea\",\"name\":\"Update an existing session\",\"request\":{\"name\":\"Update an existing session\",\"description\":{\"content\":\"Update an existing session with new client values.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl -X \\\"PUT\\\" \\\"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd\\\" \\\\\\n  -H \\\"Content-Type: application/json\\\" \\\\\\n  -d '{\\n    \\\"clientInformation\\\": {\\n      \\\"appId\\\": \\\"my-application-name\\\",\\n      \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n      \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n      \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n  }' \\\\\\n  -H 'Authorization: Bearer {token}'\\n\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PUT\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"<string>\\\",\\n        \\\"appVersion\\\": \\\"<string>\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"<string>\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"response\":[{\"id\":\"7790898a-b8dc-4660-ba9b-a7e7aa162ecd\",\"name\":\"Successfully update the session.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueSessionID\\\",\\n \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n \\\"extensionNumber\\\": \\\"1234\\\",\\n \\\"callbackReference\\\": {\\n  \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n  \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n },\\n \\\"calls\\\": [\\n  {\\n   \\\"id\\\": \\\"someUniqueCallID\\\",\\n   \\\"number\\\": \\\"18667685429\\\",\\n   \\\"name\\\": \\\"Awesome Dev\\\",\\n   \\\"isMuted\\\": false,\\n   \\\"isOnHold\\\": false,\\n   \\\"hasMedia\\\": true,\\n   \\\"status\\\": \\\"CONNECTED\\\",\\n   \\\"timestamp\\\": \\\"2000-02-08T22:54:06.312Z\\\",\\n   \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n   \\\"ringingInMedia\\\": true,\\n   \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n   \\\"answerAfter\\\": 20000,\\n   \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n   \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n   \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"someUniqueCallID\\\",\\n   \\\"number\\\": \\\"18667685429\\\",\\n   \\\"name\\\": \\\"Awesome Dev\\\",\\n   \\\"isMuted\\\": false,\\n   \\\"isOnHold\\\": false,\\n   \\\"hasMedia\\\": true,\\n   \\\"status\\\": \\\"CONNECTED\\\",\\n   \\\"timestamp\\\": \\\"2023-05-26T19:51:07.781Z\\\",\\n   \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n   \\\"ringingInMedia\\\": true,\\n   \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n   \\\"answerAfter\\\": 20000,\\n   \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n   \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n   \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n  }\\n ],\\n \\\"expires\\\": -50558030,\\n \\\"name\\\": \\\"ut deserunt irure\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fbfdf861-bfdd-41c9-a49b-1af1170c2b1f\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1b4b7f1b-571f-43e5-90ff-e6d30da08ce2\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d3e0b3c7-2174-4a22-b9c9-a7c1ab1560dd\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c8ef646d-b77e-4629-9c43-67d041dff78e\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"655af6bc-1970-42f6-a6d7-c621d77fe941\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e465cfbb-7e12-49ac-b4a3-59bb23ce431f\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0055adff-c668-416f-b6bc-75294e41bc41\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"my-application-name\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"307e2cac-d08b-4cac-b64a-f2b0041d8d6f\",\"name\":\"Delete session\",\"request\":{\"name\":\"Delete session\",\"description\":{\"content\":\"Remove the session and all related calls\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl -X \\\"DELETE\\\" \\\"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"d91c55e1-ac10-4ada-a0e7-d8df513f78fd\",\"name\":\"Successfully deleted the session and terminated all associated calls. Clients having subscribed to receive session notifications will receive a SessionNotification with updated status.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"132c086f-ea07-49a3-a542-e0335c5b53ca\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2569f1cc-1ef7-422e-a44e-ce156c558eb9\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f4342fc0-3eb6-476a-8bd1-ab26c5cd2aa6\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fa6ad09b-60ee-47e9-ada0-6d4d988b9557\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f2c2fe52-b963-4e96-a9d4-89c560dc3bf4\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1995499b-2009-418e-8718-63334533d4fc\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"0ff00d73-7aa1-4afa-b6b3-a49e582820e2\",\"name\":\"Retrieves the session state\",\"request\":{\"name\":\"Retrieves the session state\",\"description\":{\"content\":\"Retrieve the state of the session including all ongoing calls. Note that the /sessions/{sessionId}/calls endpoint should be used if call states need to be polled periodically.\\n### Authentication Scopes\\n`webrtc.v1.read` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl -X \\\"GET\\\" \\\"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"d5818e1d-57d7-4519-98b8-9ebbd936a7f0\",\"name\":\"Successfully fetch the session.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueSessionID\\\",\\n \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n \\\"extensionNumber\\\": \\\"1234\\\",\\n \\\"callbackReference\\\": {\\n  \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n  \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n },\\n \\\"calls\\\": [\\n  {\\n   \\\"id\\\": \\\"someUniqueCallID\\\",\\n   \\\"number\\\": \\\"18667685429\\\",\\n   \\\"name\\\": \\\"Awesome Dev\\\",\\n   \\\"isMuted\\\": false,\\n   \\\"isOnHold\\\": false,\\n   \\\"hasMedia\\\": true,\\n   \\\"status\\\": \\\"CONNECTED\\\",\\n   \\\"timestamp\\\": \\\"2000-02-08T22:54:06.312Z\\\",\\n   \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n   \\\"ringingInMedia\\\": true,\\n   \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n   \\\"answerAfter\\\": 20000,\\n   \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n   \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n   \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"someUniqueCallID\\\",\\n   \\\"number\\\": \\\"18667685429\\\",\\n   \\\"name\\\": \\\"Awesome Dev\\\",\\n   \\\"isMuted\\\": false,\\n   \\\"isOnHold\\\": false,\\n   \\\"hasMedia\\\": true,\\n   \\\"status\\\": \\\"CONNECTED\\\",\\n   \\\"timestamp\\\": \\\"2023-05-26T19:51:07.781Z\\\",\\n   \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n   \\\"ringingInMedia\\\": true,\\n   \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n   \\\"answerAfter\\\": 20000,\\n   \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n   \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n   \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n  }\\n ],\\n \\\"expires\\\": -50558030,\\n \\\"name\\\": \\\"ut deserunt irure\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3e55738b-03a9-4f25-a1df-301973411976\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"88dbd595-423d-49e9-9dfd-c62310be3ed7\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"06ec7687-b239-488f-b2dd-c061e5e625e1\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f62e2b40-0045-4b81-9612-97d316c33a71\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2fb65c5f-f2cc-4c36-9feb-1e97e781421b\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4d987837-a92d-4808-b90d-ea6b4d7fb509\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"44a61b0e-d81f-404e-ad1d-1222ae09af4c\",\"name\":\"Deprecated. Refresh an existing session\",\"request\":{\"name\":\"Deprecated. Refresh an existing session\",\"description\":{\"content\":\"Deprecated. Refreshes an existing session to update the expiration delay.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl -X \\\"POST\\\" \\\"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/refresh\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"refresh\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-refresh-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"}]},\"method\":\"POST\",\"auth\":null},\"response\":[{\"id\":\"33dd8edc-f722-48c2-865d-c0eda2799607\",\"name\":\"Successfully refreshed the session to update the expiration delay.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"refresh\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-refresh-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueSessionID\\\",\\n \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n \\\"extensionNumber\\\": \\\"1234\\\",\\n \\\"callbackReference\\\": {\\n  \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n  \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n },\\n \\\"calls\\\": [\\n  {\\n   \\\"id\\\": \\\"someUniqueCallID\\\",\\n   \\\"number\\\": \\\"18667685429\\\",\\n   \\\"name\\\": \\\"Awesome Dev\\\",\\n   \\\"isMuted\\\": false,\\n   \\\"isOnHold\\\": false,\\n   \\\"hasMedia\\\": true,\\n   \\\"status\\\": \\\"CONNECTED\\\",\\n   \\\"timestamp\\\": \\\"2000-02-08T22:54:06.312Z\\\",\\n   \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n   \\\"ringingInMedia\\\": true,\\n   \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n   \\\"answerAfter\\\": 20000,\\n   \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n   \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n   \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"someUniqueCallID\\\",\\n   \\\"number\\\": \\\"18667685429\\\",\\n   \\\"name\\\": \\\"Awesome Dev\\\",\\n   \\\"isMuted\\\": false,\\n   \\\"isOnHold\\\": false,\\n   \\\"hasMedia\\\": true,\\n   \\\"status\\\": \\\"CONNECTED\\\",\\n   \\\"timestamp\\\": \\\"2023-05-26T19:51:07.781Z\\\",\\n   \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n   \\\"ringingInMedia\\\": true,\\n   \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n   \\\"answerAfter\\\": 20000,\\n   \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n   \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n   \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n  }\\n ],\\n \\\"expires\\\": -50558030,\\n \\\"name\\\": \\\"ut deserunt irure\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6fd54441-42d9-4e8c-8683-a7b122223a61\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"refresh\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-refresh-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f6803437-d2f5-4bc5-a56c-a4eb3480607d\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"refresh\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-refresh-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1a168546-21fb-4f20-969b-77bc64c269d5\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"refresh\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-refresh-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a194859e-f939-48f8-982a-a1d97433b50e\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"refresh\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-refresh-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"619cfb43-cc11-4375-bd01-14a84711599f\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"refresh\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-refresh-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0a0dd9ad-d9e1-40ab-b38f-7affb20a1da1\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"refresh\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-refresh-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"9acab5d1-4ae4-4f03-a80e-b523c2a83087\",\"name\":\"calls\",\"item\":[{\"id\":\"d6340ee2-1fd7-4f70-a4f8-2f06ed97ef73\",\"name\":\"Create a new call\",\"request\":{\"name\":\"Create a new call\",\"description\":{\"content\":\"Creates a new outgoing call towards the recipient provided using the local SDP offer.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl -X \\\"POST\\\" \\\"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls\\\" \\\\\\n  -H \\\"Content-Type: application/json\\\" \\\\\\n  -d '{\\n    \\\"dialString\\\": \\\"+15559998888\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\na=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\nm=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\na=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\na=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\na=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\na=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n  }' \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"<string>\\\",\\n    \\\"sdp\\\": \\\"<JSEP_SDP>\\\",\\n    \\\"deviceId\\\": \\\"<string>\\\",\\n    \\\"organizationId\\\": \\\"<string>\\\",\\n    \\\"extensionNumber\\\": \\\"<string>\\\",\\n    \\\"inCallChannelId\\\": \\\"<string>\\\",\\n    \\\"impersonateeUserKey\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"eda0110f-9b2d-404d-9118-89e06ef4d776\",\"name\":\"Successfully create a new call.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueCallID\\\",\\n \\\"number\\\": \\\"18667685429\\\",\\n \\\"name\\\": \\\"Awesome Dev\\\",\\n \\\"isMuted\\\": false,\\n \\\"isOnHold\\\": false,\\n \\\"hasMedia\\\": true,\\n \\\"status\\\": \\\"CONNECTED\\\",\\n \\\"timestamp\\\": \\\"1985-07-04T23:12:07.641Z\\\",\\n \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n \\\"ringingInMedia\\\": true,\\n \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n \\\"answerAfter\\\": 20000,\\n \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8c14e2d8-6047-45ab-86a3-c480fc603790\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"13b8f8ba-64fd-435f-b7e8-72554d5ef20e\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"594d3e5d-66cb-4b49-88cc-068a650bf291\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"94f1e178-fc7c-42b7-b81d-3297ecd454c8\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d6d897be-63e5-4bee-a539-ef81c5b3ddbe\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f7917f19-907b-40c6-b801-efdacada4a60\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"70cefa2a-85d2-4f76-b7ad-3e1e841b4ceb\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"23eeff85-2234-498c-9e0d-806184532abc\",\"name\":\"Retrieve calls\",\"request\":{\"name\":\"Retrieve calls\",\"description\":{\"content\":\"Retrieves the current list of active and incoming calls. The intended use is for periodically polling the current call states, as a fallback for when websockets disconnect.\\n### Authentication Scopes\\n`webrtc.v1.read` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"45e456e1-d3a0-4a4f-ab4e-90d593b9fe42\",\"name\":\"A collection of all the active and incoming calls.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"items\\\": [\\n  {\\n   \\\"id\\\": \\\"someUniqueCallID\\\",\\n   \\\"number\\\": \\\"18667685429\\\",\\n   \\\"name\\\": \\\"Awesome Dev\\\",\\n   \\\"isMuted\\\": false,\\n   \\\"isOnHold\\\": false,\\n   \\\"hasMedia\\\": true,\\n   \\\"status\\\": \\\"CONNECTED\\\",\\n   \\\"timestamp\\\": \\\"2003-01-10T10:49:12.944Z\\\",\\n   \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n   \\\"ringingInMedia\\\": true,\\n   \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n   \\\"answerAfter\\\": 20000,\\n   \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n   \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n   \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n  },\\n  {\\n   \\\"id\\\": \\\"someUniqueCallID\\\",\\n   \\\"number\\\": \\\"18667685429\\\",\\n   \\\"name\\\": \\\"Awesome Dev\\\",\\n   \\\"isMuted\\\": false,\\n   \\\"isOnHold\\\": false,\\n   \\\"hasMedia\\\": true,\\n   \\\"status\\\": \\\"CONNECTED\\\",\\n   \\\"timestamp\\\": \\\"1994-11-27T19:05:33.295Z\\\",\\n   \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n   \\\"ringingInMedia\\\": true,\\n   \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n   \\\"answerAfter\\\": 20000,\\n   \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n   \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n   \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"20c61ea6-3113-45fa-8200-da78437f7e5f\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"690a2afd-79cf-4eee-a750-92cdae61814f\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"01f07612-cdb7-419b-ab6b-460d7dd11a69\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b4c9034c-0e6d-4a66-94bc-ba6b5e46d9a8\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"600158f5-0c17-463a-b47c-18c7863f27fa\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"00963f0a-878d-48cb-8b5c-7d9c520274a3\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"e3ce68b6-bf75-491a-86f1-47cae21f128b\",\"name\":\"{call Id}\",\"item\":[{\"id\":\"abb2bb21-6465-4036-bf18-8f21a7addaa7\",\"name\":\"Retrieve call information\",\"request\":{\"name\":\"Retrieve call information\",\"description\":{\"content\":\"It retrieves the current information and state of the call.\\n### Authentication Scopes\\n`webrtc.v1.read` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl -X \\\"GET\\\" \\\"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls/1b94f3561664ab3425318e3f69de3634\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"23b77f03-f6e3-4855-9c7a-9c085112bd6e\",\"name\":\"Successfully fetch a call.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueCallID\\\",\\n \\\"number\\\": \\\"18667685429\\\",\\n \\\"name\\\": \\\"Awesome Dev\\\",\\n \\\"isMuted\\\": false,\\n \\\"isOnHold\\\": false,\\n \\\"hasMedia\\\": true,\\n \\\"status\\\": \\\"CONNECTED\\\",\\n \\\"timestamp\\\": \\\"1985-07-04T23:12:07.641Z\\\",\\n \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n \\\"ringingInMedia\\\": true,\\n \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n \\\"answerAfter\\\": 20000,\\n \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9ec374df-8111-4e65-b1ed-5bb1164310eb\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2fd0951d-0012-47af-8ed8-1b6f05b0c7c6\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"071bc2ce-aebb-42df-9b83-4893651f71f6\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f345ea02-9c18-4b8a-9367-eab5b6d7b6ae\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c7ad410c-9719-45dd-a518-c56e4164f960\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"745b6ae1-aca3-406b-ba73-74941fcb0f67\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"cc7e3347-3d72-4da2-a347-44f81af04b64\",\"name\":\"Call hangup\",\"request\":{\"name\":\"Call hangup\",\"description\":{\"content\":\"The call is ended and the media will be terminated.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl -X \\\"DELETE\\\" \\\"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls/1b94f3561664ab3425318e3f69de3634\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"c1772668-ee00-46cf-891e-122e1c7e2136\",\"name\":\"The call is terminated and the media is stopped. The status of the call state is ended.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"56f8b86c-93b4-4949-8ff6-c9c60684ce0c\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3193f113-b097-4e24-9cac-d97bfb2fc782\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bdd9d264-c035-4d42-8e42-9dc9dc63e17c\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"638a9c6a-780b-45a7-adb2-99ac3a90ef06\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"be0831de-32cb-44ef-94e9-2c3f5e875b00\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4460c7b3-a9c1-4ac2-98a3-d3098c4f4372\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"c04376cb-b5e6-4cee-9259-d3c1a0952097\",\"name\":\"Call answer\",\"request\":{\"name\":\"Call answer\",\"description\":{\"content\":\"The incoming call is answered and media will be established.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl -X \\\"POST\\\" \\\"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls/1b94f3561664ab3425318e3f69de3634/answer\\\" \\\\\\n  -d '{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\na=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\nm=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\na=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\na=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\na=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\na=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n  }' \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"<JSEP_SDP>\\\",\\n    \\\"inCallChannelId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"35bbe171-2d2d-4345-9693-3b4bfc9aae2c\",\"name\":\"The call is answered and the media will start. The status of the call state is connected.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueCallID\\\",\\n \\\"number\\\": \\\"18667685429\\\",\\n \\\"name\\\": \\\"Awesome Dev\\\",\\n \\\"isMuted\\\": false,\\n \\\"isOnHold\\\": false,\\n \\\"hasMedia\\\": true,\\n \\\"status\\\": \\\"CONNECTED\\\",\\n \\\"timestamp\\\": \\\"1985-07-04T23:12:07.641Z\\\",\\n \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n \\\"ringingInMedia\\\": true,\\n \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n \\\"answerAfter\\\": 20000,\\n \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8e6e77cc-f333-4a88-a595-4b6e16441c32\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f28dc278-0eeb-4664-bee3-bd345b96043b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ef148878-0626-4a1a-9cde-8e5d03ddb691\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ae7cda43-dc35-4985-8e79-6a9eb8818ab2\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6fa6dfde-07a0-4a85-a128-3507e4580bf7\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8344eca3-d3dc-43bb-80d1-4de86c109fc9\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"79adc397-bf38-4881-a9b2-ef0beefd4696\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e970d1be-29d7-4a9b-90b5-b66944224b39\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"3dfdbf64-c678-4a84-8da2-56253b2be6e1\",\"name\":\"Ring the call\",\"request\":{\"name\":\"Ring the call\",\"description\":{\"content\":\"The ringing request must be sent when a new incoming call is received by the client and the user notified by visual or audio feedback.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl -X \\\"POST\\\" \\\"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls/1b94f3561664ab3425318e3f69de3634/ringing\\\" \\\\\\n  -d '{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n  }' \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"<string>\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"<dateTime>\\\"\\n}\"}},\"response\":[{\"id\":\"c940cbe7-3eca-4ca9-82f4-e3b8ad130798\",\"name\":\"The incoming call is received and ringing will be played to the caller.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"3df9c345-f188-468d-9cb9-b810d84b5381\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"364d5156-4951-4ad6-8859-f2924d69058a\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f8a724b7-940e-4761-a7bd-131b38dd592e\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a5015e25-11da-42d1-9d60-e55942a69704\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0cd9b452-bec2-4459-8598-78b29f4be0a7\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2d0068ae-d6b8-4f84-b443-ec4dc24c9ed5\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c2245964-790b-43d6-af79-4abe3854f7be\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"ac5ea676-f8d2-44a3-9038-f3f3f59a5f73\",\"name\":\"Reject a call\",\"request\":{\"name\":\"Reject a call\",\"description\":{\"content\":\"Decline an incoming call.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"response\":[{\"id\":\"6a794f79-f6f0-46d6-b974-26be4d296185\",\"name\":\"The call is rejected and the caller will be notified. The status of the call state is ended.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"9f326854-2af5-454b-8b72-9e7f5d5cf952\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a193e389-df68-4c7e-baa3-d70251ad528e\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3d1475a4-434b-4e91-a2ec-d3e7fcb10c5d\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"815f2024-bbd2-490d-984e-790337fbacad\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5f98da87-8702-49f6-99ce-3d700a20c6ba\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a92710f1-33a7-4ad3-bd42-680bc80c7eea\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"be51db69-f355-432f-b2eb-cf3605d91680\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5d6a9fd3-71d8-4c3f-a87d-c4a14c69eb75\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"1f093363-a596-475c-9a58-18549a09af80\",\"name\":\"Mutes a call\",\"request\":{\"name\":\"Mutes a call\",\"description\":{\"content\":\"Mutes the local input audio stream of the call. If the call is already muted, a 204 will be returned.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"method\":\"POST\",\"auth\":null},\"response\":[{\"id\":\"3186f7e3-23fd-4883-a2c9-411e06180b09\",\"name\":\"The local audio stream is muted. The isMuted property of the call state is true.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"a07e040d-d0c4-4596-8079-4b5d54cbfc85\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bf55c1d8-88b5-4b52-8a8b-d78bd514afc6\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"09ddcc44-75e4-46a0-8d58-1b22b6f21528\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b762cf64-32d8-46c1-b555-381416403250\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c8e96eb4-d44e-4bf9-81f2-8bec26808a23\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fe1f9963-5531-453f-82dc-2eaa6542b13e\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"03f44e3c-4daa-4583-b477-87dcbfc4db34\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"569a5574-3ca3-4844-80cd-483e03398e46\",\"name\":\"Unmute a call\",\"request\":{\"name\":\"Unmute a call\",\"description\":{\"content\":\"Unmutes the local input audio stream of the call. If the call is already unmuted, a 204 will be returned.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl -X \\\"POST\\\" \\\"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls/1b94f3561664ab3425318e3f69de3634/unmute\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"method\":\"POST\",\"auth\":null},\"response\":[{\"id\":\"dbf14bde-f420-4faf-b216-a2168b257536\",\"name\":\"The local audio stream is unmuted. The isMuted property of the call state is false.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"a4bce2cd-aba3-440f-924f-311b7bd79ee3\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2c228f56-5885-4c59-b430-8a4f88987d04\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"445f0ef2-4e37-4eb5-8245-c15ccaa469b9\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ca414e78-9e89-41a5-afac-60d3c2c22fe1\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"979ac620-8d44-4d66-8c18-5cfae5a37176\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6733944a-0f46-4868-9b98-584f426a1802\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"288988e8-5c51-44be-b9e1-a30b28eebd1b\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"439e9f50-0eca-454e-a7ef-98ee0372dae2\",\"name\":\"Places a call on hold\",\"request\":{\"name\":\"Places a call on hold\",\"description\":{\"content\":\"Places the call on hold. The remote side will be hearing wait music. If the call is already on hold, a 204 will be returned.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"method\":\"POST\",\"auth\":null},\"response\":[{\"id\":\"06c58e45-c005-4733-8b12-88ec659c99ea\",\"name\":\"The call is placed on hold. The isOnHold property of the call state is true.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"191f43da-dcc0-4129-8cb6-6f7d20ac30c5\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"89af025e-d6ea-4f61-abf5-5e3d97f70f76\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"83a0b2b0-aea8-49bb-9e0c-9cc34a04be3b\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e550991c-02a1-49c2-b047-db5d76a16c57\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f41777bb-fb9e-42e9-a3bf-9ca58f8a072c\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ffe183ae-3e8d-48fe-9515-1b50411025b5\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1ea8128a-814e-46d4-ac09-a9220c488f0e\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"9281eb7e-e300-4fcf-a66c-cdc3a76ad7ee\",\"name\":\"Unhold a call\",\"request\":{\"name\":\"Unhold a call\",\"description\":{\"content\":\"The call media resumes normally and the remote side is no longer in the waiting room. If the call is already resumed, a 204 will be returned.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"method\":\"POST\",\"auth\":null},\"response\":[{\"id\":\"180ac524-6083-4d64-a87a-1219c0be871c\",\"name\":\"The call is no longer on hold. The isOnHold property of the call state is false.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"aa3e713a-6d7d-416c-9a75-130be542239a\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8f009021-8daf-4f06-ad41-4425a317a55d\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3efb16bf-63a0-4f7c-b6ff-8c7691ee8522\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1dc580ac-c26e-4384-a6d3-535aa70b3f7e\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6b8c3df8-d760-4789-993f-faa05725d433\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"47c02bf8-c4bf-49e0-94d8-aa438b8689cd\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f6c275dd-061e-4301-969c-8d087d124c70\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"3760efe9-6403-4c48-9722-89c10908b0ed\",\"name\":\"Modify a call\",\"request\":{\"name\":\"Modify a call\",\"description\":{\"content\":\"When a network change occurs during a call, or call media changes, this will re-establish the RTP stream and signalling connection. An SDP is sent in the request body, and an updated SDP is received in response from the server.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PUT\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"<JSEP_SDP>\\\"\\n}\"}},\"response\":[{\"id\":\"db439183-1cc8-48fe-8980-3caece4605e2\",\"name\":\"Successfully sent a new offer. The call has updated its media or connection attributes. The updated SDP is returned in the call.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueCallID\\\",\\n \\\"number\\\": \\\"18667685429\\\",\\n \\\"name\\\": \\\"Awesome Dev\\\",\\n \\\"isMuted\\\": false,\\n \\\"isOnHold\\\": false,\\n \\\"hasMedia\\\": true,\\n \\\"status\\\": \\\"CONNECTED\\\",\\n \\\"timestamp\\\": \\\"1985-07-04T23:12:07.641Z\\\",\\n \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n \\\"ringingInMedia\\\": true,\\n \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n \\\"answerAfter\\\": 20000,\\n \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"dc1b556a-73c6-4bc0-af43-a8cea96e6eea\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6ef5648f-b76e-4c42-974d-348a16f0b53e\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"784a4cf5-29e0-4ef2-81f3-0c719ccda308\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c5d9d016-f78a-4225-b21a-c56e957ca144\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8d30469d-8283-4a31-b303-9417d1918538\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b9fe3900-ae19-4127-9c87-4217d4b697c1\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0a6d3d59-df91-47e5-b300-10334598af14\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"43363acf-e80b-4d70-814c-fe141119d45d\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"607be065-b35d-4990-a736-61343a86de77\",\"name\":\"The DTMF tone is sent\",\"request\":{\"name\":\"The DTMF tone is sent\",\"description\":{\"content\":\"The DTMF is sent out to the remote side. You must wait for a response before sending another DTMF to guarantee the order in which the DTMF signals are sent.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"2e401f15-4221-42da-8725-8901775e4fec\",\"name\":\"Successfully sends a DTMF tone on the call for the remote side.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"675ae960-3026-4219-b69a-ae1841de5b09\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9e7be147-27db-4213-84aa-de6aa8884ad4\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0508c8ff-6d23-4834-a209-eb51cdd8b411\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9e0276bc-b092-4f00-b826-c8119fd81a47\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0f521097-535f-4566-a0d1-d57065a6aa8f\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5b74f092-394f-4514-96d9-20d78da9ec08\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d309d9cd-d16d-4d9a-8cb2-1b3fe681454f\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b655f4c0-fed3-4d67-ae5c-b13aea23ca8d\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"e6b357f4-49a0-45d2-8cd0-1285a67650a3\",\"name\":\"Merge two ongoing calls\",\"request\":{\"name\":\"Merge two ongoing calls\",\"description\":{\"content\":\"A call will be merged with the selected second call.  From that point, the audio from the second call will be combined with the first call and sent along the first call RTP to the client.  Client audio from the first call will be sent to both destinations. If the referId is not found, a 400 bad request will be returned.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl -X \\\"POST\\\" \\\"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls/1b94f3561664ab3425318e3f69de3634/merge\\\" \\\\ -d '{\\n    \\\"referId\\\": \\\"4f33a3561664ab3425318e3f69jw9678\\\"\\n  }' \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"6404c654-a591-49c3-bf0c-16bed50963ef\",\"name\":\"Successfully merge two calls.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueCallId\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cd1b9b4a-6c34-4001-a094-b576c776b512\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cb180dc6-c09b-4972-8695-ace6c278c670\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"33b18d12-fbff-4b89-8326-333bd7f6831b\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"575d3ee4-6eac-4d2e-a3a0-66cf5688d5bf\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6515f5df-94bf-4261-bb40-c5eb0f015b14\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5ce4b638-2507-4c3d-915a-79f28202adf6\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7c394ca2-e054-496a-9ea4-e3f6052c6704\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"853004c8-19f3-47ea-9f7c-6021b2b6666a\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"b3e5b570-f527-4c77-94b9-605be1d686c6\",\"name\":\"Split a merged call\",\"request\":{\"name\":\"Split a merged call\",\"description\":{\"content\":\"The merged call will be split back into 2 calls.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n### Example Interaction with curl\\n```\\ncurl -X \\\"POST\\\" \\\"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls/1b94f3561664ab3425318e3f69de3634/split\\\" \\\\\\n  -H 'Authorization: Bearer {token}'\\n```\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"method\":\"POST\",\"auth\":null},\"response\":[{\"id\":\"bf886ba1-b449-4835-853c-7c81989f9bb3\",\"name\":\"Successfully split the merge call.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"14e86e1b-2a60-48ca-861b-90675041fd37\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ae996432-a007-4662-952f-b5aea28f81a3\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9c8d2e01-274d-4948-b122-55f4d81042bf\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"77cb91f9-aee2-420e-9195-b49d5aa2f465\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8f8a817a-2072-4796-9c27-65d8a75790bf\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3b342541-7934-4c1f-989b-f732b012d1ac\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7a75b369-25ff-40d1-ad1d-62ff7ce17dfc\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"efec07a1-d1f7-49f5-ba78-4edec260d11b\",\"name\":\"Warm transfer two calls\",\"request\":{\"name\":\"Warm transfer two calls\",\"description\":{\"content\":\"A warm transfer is to connect two ongoing call together. After the transfer, the current user is no longer in any of the two calls and both remote peer from each calls are now connected together. If the referId is not found, a 400 bad request will be returned.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"46d77156-030b-4a9a-8608-ea757d2b7793\",\"name\":\"Successfully warm transferred the calls provided. The status of the calls is ended and the calls must be considered terminated by the client and associated resources may be released.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"b08bd745-ad0c-4ad6-a40c-383b03d468ac\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e6166233-73c8-4225-ab19-2097ad3e7b38\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1368cacd-ae38-4c07-a8b7-7bcbb17d862f\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"53cb2d92-62c5-4c39-bbb9-cb6b45a9de3b\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ab761609-bf94-484d-a3f3-3e1cbad66b43\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"bc3f3309-f949-41a3-98a1-8481858ee456\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f8b59124-b6c4-4a93-a240-0c7b237df255\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"101a9f05-8e9a-4a6d-8fd7-ee52eec8e539\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"31a0f431-5836-4782-b207-2dcdf8c47e07\",\"name\":\"Blind transfer a session call\",\"request\":{\"name\":\"Blind transfer a session call\",\"description\":{\"content\":\"The call is [transferred blindly](https://support.goto.com/connect/help/how-do-i-transfer-a-call) to the provided dial string.\\n### Authentication Scopes\\n`webrtc.v1.write` must be used when a token is requested from the Authentication API.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"sessionId\",\"description\":\"(Required) Session ID issued when the device session was created.\"},{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"3b10008d-da7c-4f0b-b6d2-acf865a05fca\",\"name\":\"Successfully blind transferred the call to the provided dial string. The call is ended and media will stop.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"4440ebd1-8061-41e8-9618-87b7d9a0095b\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"908f2a5b-390a-4e52-84d8-40200d96508e\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"78b19435-8715-499d-996e-520a49870ec0\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n\\n* `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\\n  perform the specified action on the targeted resource and has the ability to read (GET)\\n  the targeted resource.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existence\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"edb1e29f-f7f2-4fc6-9e41-4e1ce4cf5a34\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"87ed6126-f98b-4ecc-9fb3-5b78b8a229da\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  },\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ],\\n \\\"errorCode\\\": \\\"in Lorem ex ad \\\",\\n \\\"reference\\\": \\\"ad laboris\\\",\\n \\\"message\\\": \\\"dolor enim\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b83fdae7-68aa-449f-beda-60d98d112141\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b9089e5d-7be4-42c8-98e9-7a0f96abd3e6\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5e5d7de4-7e66-4bcd-8cda-086ae8a33887\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"sessions\",\":sessionId\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-sessions-sessionId-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"sessionId\"},{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"d974f8c9-6ab7-4c7e-acd7-ae1bf5f04597\",\"name\":\"calls\",\"item\":[{\"id\":\"238d38d5-6696-4a40-8566-06d437062996\",\"name\":\"Create a new call\",\"request\":{\"name\":\"Create a new call\",\"description\":{\"content\":\"Creates a new outgoing call towards the recipient provided using the\\nlocal SDP offer.\\n\\nAn HTTP 409 Conflict response will be returned if the call could not be created due to a\\nmisconfigured extension. Re-creating the extensions with the \\nPOST \\\"/devices/{deviceId}/extensions\\\" endpoint should make sure that the extension is\\ncorrectly configured.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\"],\"host\":[\"{{web-calls-v1-calls-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"<string>\\\",\\n    \\\"sdp\\\": \\\"<JSEP_SDP>\\\",\\n    \\\"deviceId\\\": \\\"<string>\\\",\\n    \\\"organizationId\\\": \\\"<string>\\\",\\n    \\\"extensionNumber\\\": \\\"<string>\\\",\\n    \\\"inCallChannelId\\\": \\\"<string>\\\",\\n    \\\"impersonateeUserKey\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"a8f13396-3f05-465f-9a9f-f15027190408\",\"name\":\"Successfully create a new call.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\"],\"host\":[\"{{web-calls-v1-calls-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueCallID\\\",\\n \\\"number\\\": \\\"18667685429\\\",\\n \\\"name\\\": \\\"Awesome Dev\\\",\\n \\\"isMuted\\\": false,\\n \\\"isOnHold\\\": false,\\n \\\"hasMedia\\\": true,\\n \\\"status\\\": \\\"CONNECTED\\\",\\n \\\"timestamp\\\": \\\"1985-07-04T23:12:07.641Z\\\",\\n \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n \\\"ringingInMedia\\\": true,\\n \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n \\\"answerAfter\\\": 20000,\\n \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9a7c3d20-dd9e-4d46-b869-4269282c717f\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\"],\"host\":[\"{{web-calls-v1-calls-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"23d1ee1b-2fec-463a-9cc6-1a7c74744949\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\"],\"host\":[\"{{web-calls-v1-calls-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5c5f659a-4316-4389-93df-d45604bf03ff\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\"],\"host\":[\"{{web-calls-v1-calls-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3afe00cf-4836-4424-b391-da5fff3df109\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\"],\"host\":[\"{{web-calls-v1-calls-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"5765bcfc-f5a1-4e52-bde8-0c66048e2ae0\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\"],\"host\":[\"{{web-calls-v1-calls-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fe2ca05d-ad0a-413f-af21-2f1199280b6d\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\"],\"host\":[\"{{web-calls-v1-calls-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5125871d-cc61-4f3c-b7c9-d1f8810df27f\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\"],\"host\":[\"{{web-calls-v1-calls-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"18667685429\\\",\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"deviceId\\\": \\\"1234567809012343455\\\",\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensionNumber\\\": \\\"1234\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"67f4ff5d-d4ea-40bf-8269-2817d1a054e7\",\"name\":\"{call Id}\",\"item\":[{\"id\":\"f289eca5-5bbf-478f-8b1e-6319fa08e2ad\",\"name\":\"Retrieves specific call information\",\"request\":{\"name\":\"Retrieves specific call information\",\"description\":{\"content\":\"Retrieves the current information and state of the call.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"6395c878-3d25-41f5-aa64-4e5ea2f56c44\",\"name\":\"Successfully fetch a call.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueCallID\\\",\\n \\\"number\\\": \\\"18667685429\\\",\\n \\\"name\\\": \\\"Awesome Dev\\\",\\n \\\"isMuted\\\": false,\\n \\\"isOnHold\\\": false,\\n \\\"hasMedia\\\": true,\\n \\\"status\\\": \\\"CONNECTED\\\",\\n \\\"timestamp\\\": \\\"1985-07-04T23:12:07.641Z\\\",\\n \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n \\\"ringingInMedia\\\": true,\\n \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n \\\"answerAfter\\\": 20000,\\n \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"845e44f8-9c30-4fd3-a41e-47a84fdce0bc\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c0050d79-093b-464d-a1d4-3916c9691ab2\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"177d4e84-8093-42c7-afaf-5856412b00b1\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a6d4f73d-b9f5-4c2b-9c84-7334d8db0d51\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"983b6c3b-1899-40b0-9bb3-23b5408ac5b2\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"71ae39e2-42bc-4e9e-99ab-55cb16ebcace\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"095b07be-4c87-4784-9345-ce250dce6e93\",\"name\":\"Call hangup\",\"request\":{\"name\":\"Call hangup\",\"description\":{\"content\":\"The call is ended and the media will be terminated. A reason may be provided to\\nindicate why the call is being hung up.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"reason\",\"value\":\"UNKNOWN\",\"description\":\"Reason for the hangup action on a call. <br />\\nUNKNOWN - Default value. The reason for the call being hung up is not specified. <br /> USER_ACTION - The user hung up the call. <br /> IDLE_MEDIA - The call is hung up because there is no media received or sent. <br /> DISCONNECTED - The network was disconnected causing the call to be hung up.\\n\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"f0498be7-5417-46d9-862e-5de3262ad90a\",\"name\":\"The call is terminated and the media is stopped. The status of the call state is ended.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[{\"key\":\"reason\",\"value\":\"USER_ACTION\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"f9fffa77-c782-4902-865c-b2cb347d62fe\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[{\"key\":\"reason\",\"value\":\"USER_ACTION\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"25fc8402-93a8-45b7-8fa5-2c256bf2dad8\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[{\"key\":\"reason\",\"value\":\"USER_ACTION\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"98c550e2-38aa-49d6-b0bf-d20518e991cc\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[{\"key\":\"reason\",\"value\":\"USER_ACTION\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2d3edfd4-2902-4ee7-813c-db8a0114e5fa\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[{\"key\":\"reason\",\"value\":\"USER_ACTION\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"af4c84f8-057d-49ad-872a-51c35d96fa6a\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[{\"key\":\"reason\",\"value\":\"USER_ACTION\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0ae0f85d-2c6c-4340-b626-38f14d877c4e\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[{\"key\":\"reason\",\"value\":\"USER_ACTION\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"adc643f2-9c96-466f-aed3-4e9ea68fac0f\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[{\"key\":\"reason\",\"value\":\"USER_ACTION\"}],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"1a141b68-d08b-4827-b320-b4e13a199803\",\"name\":\"Update the call information\",\"request\":{\"name\":\"Update the call information\",\"description\":{\"content\":\"Update the current information of the call.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PUT\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"ccf14de0-a2f9-4c48-9d8c-dcf6b5314e95\",\"name\":\"Successfully update the call.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueCallID\\\",\\n \\\"number\\\": \\\"18667685429\\\",\\n \\\"name\\\": \\\"Awesome Dev\\\",\\n \\\"isMuted\\\": false,\\n \\\"isOnHold\\\": false,\\n \\\"hasMedia\\\": true,\\n \\\"status\\\": \\\"CONNECTED\\\",\\n \\\"timestamp\\\": \\\"1985-07-04T23:12:07.641Z\\\",\\n \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n \\\"ringingInMedia\\\": true,\\n \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n \\\"answerAfter\\\": 20000,\\n \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c865cb61-c286-4525-a8bb-5d0c6cad8a4d\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6d286a40-ef30-4de7-9125-e1628b338aa7\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4194c7ec-1065-40d9-af71-bc7a7a2d9753\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"063d1959-c58c-4e7e-ae89-2f57b489d5ed\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"da79ffc9-a5b4-4109-ac55-07d489c8f111\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e8d6f786-e8ee-4513-bc17-84a72ec9cc20\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"427ebccc-361e-4463-9d50-43ac3dd4c997\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\"],\"host\":[\"{{web-calls-v1-calls-callId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"52438162-77a2-4de4-8c8a-6a055867147d\",\"name\":\"Answer a call\",\"request\":{\"name\":\"Answer a call\",\"description\":{\"content\":\"The incoming call is answered and media will be established.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"<JSEP_SDP>\\\",\\n    \\\"inCallChannelId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"43de2e97-902f-4bc7-89d9-2436cc491c75\",\"name\":\"The call is answered and the media will start. The status of the call state is connected.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueCallID\\\",\\n \\\"number\\\": \\\"18667685429\\\",\\n \\\"name\\\": \\\"Awesome Dev\\\",\\n \\\"isMuted\\\": false,\\n \\\"isOnHold\\\": false,\\n \\\"hasMedia\\\": true,\\n \\\"status\\\": \\\"CONNECTED\\\",\\n \\\"timestamp\\\": \\\"1985-07-04T23:12:07.641Z\\\",\\n \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n \\\"ringingInMedia\\\": true,\\n \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n \\\"answerAfter\\\": 20000,\\n \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2e8d531d-777b-4905-a6d2-d537ccca4000\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ae14c0f7-c52e-403b-88bd-1950d916ffda\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"93c586b7-d6ba-487b-a67c-e631c74e06a6\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3fa22092-c8f9-44d6-9013-327d60ec3e10\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"59968781-954a-45ef-89da-dd3271b47be5\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"1bebe042-cdb2-4512-80b3-656a289dec0c\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"028c98e8-a234-409e-882a-0356a9728a9b\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fb6ca9f7-e9a7-4022-8068-57242b7e3044\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"answer\"],\"host\":[\"{{web-calls-v1-calls-callId-answer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"56a27227-8d0a-4e6f-ae1a-89fdc2b8297b\",\"name\":\"Send ringing signal\",\"request\":{\"name\":\"Send ringing signal\",\"description\":{\"content\":\"The ringing request must be sent when a new incoming call is received by\\nthe client and the user notified by visual or audio feedback.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"<string>\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"<dateTime>\\\"\\n}\"}},\"response\":[{\"id\":\"ce4e5ec1-234e-4bd3-93e7-9c4adf6f5fa5\",\"name\":\"The incoming call is received and ringing will be played to the caller.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"f361273f-e606-47d3-b541-abea1c70a111\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"44e5d76a-e7c6-4373-ab7a-70324526195b\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1bbe275f-26a1-4229-82b6-fa82ec75060a\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4cf2eae3-18d2-4e32-b12b-7c2ca13fe876\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"2152daae-2037-4131-aa68-1a9cb32169c6\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"fddabe46-3e41-4b22-b57b-e9f9291b9a37\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ffb0ed60-bf82-44f6-8b68-133adb1abe51\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"ringing\"],\"host\":[\"{{web-calls-v1-calls-callId-ringing-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n    \\\"incomingNotificationTimestamp\\\": \\\"2021-09-20T17:32:28Z\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"3d1a49f8-501e-45d6-b600-0539d0ff931a\",\"name\":\"Reject a call\",\"request\":{\"name\":\"Reject a call\",\"description\":{\"content\":\"Decline an incoming call.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"response\":[{\"id\":\"2805128c-3567-4f67-96df-8b446d4e4b53\",\"name\":\"The call is rejected and the caller will be notified. The status of the call state is ended.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"8e151e04-9154-4428-8d3d-d4654cec5feb\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a035b0eb-9089-4bb3-b649-a7a84d3fb048\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e00d760f-7dcb-475e-9777-4c331c14668d\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9bad3434-4205-467b-be33-50b8bc5ffa27\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"173ea2d6-0a44-4714-8cf2-7ae4de4d0f32\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"7a723ef7-ce34-4f0c-b442-3ed5a21a254e\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cd8e10b6-a411-4bd4-839e-7a077359046c\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"42792ccb-619c-4592-85be-2884665d1eb0\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"reject\"],\"host\":[\"{{web-calls-v1-calls-callId-reject-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"action\\\": \\\"<string>\\\",\\n    \\\"destination\\\": {\\n        \\\"extensionNumber\\\": \\\"<string>\\\",\\n        \\\"number\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"e3855829-e294-4aea-a079-ae80b5eb32ea\",\"name\":\"Mutes a call\",\"request\":{\"name\":\"Mutes a call\",\"description\":{\"content\":\"Mutes the local input audio stream of the call. If the call is already\\nmuted, a 204 will be returned.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"method\":\"POST\",\"auth\":null},\"response\":[{\"id\":\"5283dbf6-0390-4f1b-9cfe-be5a4fab8167\",\"name\":\"The local audio stream is muted. The isMuted property of the call state is true.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"22892331-4228-460f-acd8-003869f998f8\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"54d4c43c-31d9-406d-adc2-01d421926d95\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c4578766-1f76-46a6-b154-f8dbae1a5bb9\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"eba12e40-0af4-4ecd-a254-38e3bfdf3052\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"3c1b92f2-426c-499a-8430-07f0f7173731\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b63097df-7881-4eb5-a028-5b387deb0550\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2afaa0fe-17ed-445d-9fe1-1ffef7fa5400\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"mute\"],\"host\":[\"{{web-calls-v1-calls-callId-mute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"7faa5c66-511c-40b8-af76-f9348e8db2c5\",\"name\":\"Unmutes a call\",\"request\":{\"name\":\"Unmutes a call\",\"description\":{\"content\":\"Unmutes the local input audio stream of the call. If the call is already\\nunmuted, a 204 will be returned.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"method\":\"POST\",\"auth\":null},\"response\":[{\"id\":\"a9a2ebf3-ac8b-4e58-876a-8aae57b85b40\",\"name\":\"The local audio stream is unmuted. The isMuted property of the call state is false.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"de27b002-e881-46df-9f6f-88dd7bef72fa\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6785ac9a-5d79-4e00-9299-8e908ddd55c3\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"56ba1e69-5d6d-4235-850e-a939b60efc1e\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b1fe0146-895e-401c-a0fa-5d82e44c0e1d\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"c63a7934-6455-4ce2-afc0-b1e8e83c3520\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"08fa3475-5ce8-4fed-9ec8-988e686a6ada\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c3344d3a-1f48-4b71-9839-6be1e831dd1b\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unmute\"],\"host\":[\"{{web-calls-v1-calls-callId-unmute-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"809c65eb-2162-4b23-b8cc-5dc167614b0a\",\"name\":\"Places a call on hold\",\"request\":{\"name\":\"Places a call on hold\",\"description\":{\"content\":\"Places the call on hold. The remote side will be hearing wait music. If\\nthe call is already on hold, a 204 will be returned.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"method\":\"POST\",\"auth\":null},\"response\":[{\"id\":\"5504f0f9-b6df-4c65-87dc-cf5ed992acc4\",\"name\":\"The call is placed on hold. The isOnHold property of the call state is true.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"12c3df9a-93cb-4453-9040-ebba6770792e\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"80d934f3-5097-40bb-941d-bda9fac8bc43\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e5263101-b768-431a-95b9-dd3ec5ee9423\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0e91074b-41b8-4166-b227-5dad1025f41c\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"c7f40333-1dcb-44b2-8de5-5d6171be9cb9\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5bb19d54-7ca8-4db4-aa01-31638a1970a0\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6584b865-f305-4cf2-b2b0-cc6766759019\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"hold\"],\"host\":[\"{{web-calls-v1-calls-callId-hold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"9efbd613-b81e-472a-8595-dc0e462c9eec\",\"name\":\"Unhold a call\",\"request\":{\"name\":\"Unhold a call\",\"description\":{\"content\":\"The call media resumes normally and the remote side is no longer in the\\nwaiting room. If the call is already resumed, a 204 will be returned.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"method\":\"POST\",\"auth\":null},\"response\":[{\"id\":\"f265a942-a551-4c24-ab1b-4632f70e90e1\",\"name\":\"The call is no longer on hold. The isOnHold property of the call state is false.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"bd458978-e733-4252-b3ae-c741a8394295\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5babedb2-c85a-4d76-82b0-4a756cfef64c\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"48475167-0865-499f-8fc2-8ce894fe51ea\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"213b2f4f-f68d-4fcc-9400-7ccbc55520fc\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"fd732e65-f991-4e21-9e18-44c8d2d9e727\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"05bda6d7-20ca-439c-b8a0-844871ab4368\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"000890a1-75a2-45de-92a4-f725051ce583\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"unhold\"],\"host\":[\"{{web-calls-v1-calls-callId-unhold-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"e4444a2c-9348-4cd7-9560-b854fc610043\",\"name\":\"Modify a call\",\"request\":{\"name\":\"Modify a call\",\"description\":{\"content\":\"When a network change occurs during a call, or call media changes, this\\nwill re-establish the RTP stream and signalling connection. An SDP is\\nsent in the request body, and an updated SDP is received in response\\nfrom the server.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PUT\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"<JSEP_SDP>\\\"\\n}\"}},\"response\":[{\"id\":\"fae4736a-2a4e-49d9-9e64-a3eb27350c72\",\"name\":\"Successfully sent a new offer. The call has updated its media or connection attributes. The updated SDP is returned in the Call.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueCallID\\\",\\n \\\"number\\\": \\\"18667685429\\\",\\n \\\"name\\\": \\\"Awesome Dev\\\",\\n \\\"isMuted\\\": false,\\n \\\"isOnHold\\\": false,\\n \\\"hasMedia\\\": true,\\n \\\"status\\\": \\\"CONNECTED\\\",\\n \\\"timestamp\\\": \\\"1985-07-04T23:12:07.641Z\\\",\\n \\\"mergeId\\\": \\\"someUniqueMergeId\\\",\\n \\\"ringingInMedia\\\": true,\\n \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\n \\\"answerAfter\\\": 20000,\\n \\\"statusMessage\\\": \\\"Call answered elsewhere.\\\",\\n \\\"inCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6c900687-4f2d-4323-bca5-6cbe554002bf\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7ce0c2c5-73f4-49e8-ba14-8695bf25c0b4\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e210b31a-5986-41c1-9409-7868e195b8d8\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6db936e6-e653-4c6e-9595-65b9d633b180\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"273c09ab-acfb-4de4-87a8-dde24c177c92\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"a9e31f47-65e8-4246-aea5-7fb3d8e6a78c\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9ab2140e-53ed-4b11-90d2-e85f6896534d\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3acc381f-c31c-4da0-b9fe-29a48ccb8fbc\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"offer\"],\"host\":[\"{{web-calls-v1-calls-callId-offer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PUT\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"sdp\\\": \\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"5feb65c0-6e30-4de6-aa2f-142ed005b38e\",\"name\":\"The DTMF tone is sent\",\"request\":{\"name\":\"The DTMF tone is sent\",\"description\":{\"content\":\"The DTMF is sent out to the remote side. You must wait for a response\\nbefore sending another DTMF to guarantee the order in which the DTMF\\nsignals are sent.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"30d0b749-81f9-461c-9eac-bd48105bf64d\",\"name\":\"Successfully sends a DTMF tone on the call for the remote side.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"2040b2a3-1629-4704-b5c9-75fa1bdb83dc\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0fe335d5-5a90-48df-af36-dcbedf75c1d4\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"07ed6915-7dc3-47c9-9ee8-810073ce2ce8\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"f235ac1e-9dcd-4972-9b36-c6c033e2412b\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b4364592-260d-4dee-a729-92dacbb99064\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"22e80d1f-b242-4e6c-859b-e115a8769f33\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1ae60655-b217-440a-b958-a74112c7e715\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5266e8cf-d7eb-41b0-8f8c-46eb9334b90c\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"dtmf\"],\"host\":[\"{{web-calls-v1-calls-callId-dtmf-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"tone\\\": \\\"1#\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"87e6f6d2-f3d9-49e5-83e2-809410f50d73\",\"name\":\"Merge two ongoing calls\",\"request\":{\"name\":\"Merge two ongoing calls\",\"description\":{\"content\":\"The call is merged with the selected second call. If the referId is not\\nfound, a 400 bad request will be returned.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"fdeb4913-ee9a-4a0a-b57c-5f4307edc3db\",\"name\":\"Successfully merge two calls.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"id\\\": \\\"someUniqueCallId\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"31973660-2eb3-47ac-8c75-abbf66bf70e1\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ea610572-efbc-4345-ac2f-8f199f1ff0f5\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3a04bfdb-970d-4865-b6ce-71e8b578f319\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d01d96dc-55b6-4ddf-ba56-3257c88a7331\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3fa4be10-038a-4395-845f-44b2274b9327\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"977d070d-56da-4fb7-946d-cc507c1edc8b\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"dc5a507b-9e42-4378-85fa-4df94ecebf01\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"522acdc3-fbe7-47bc-9f0f-9d3aea66a103\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"merge\"],\"host\":[\"{{web-calls-v1-calls-callId-merge-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"75320b64-5aec-48f2-8b7a-bb07356bc520\",\"name\":\"Split the merged call\",\"request\":{\"name\":\"Split the merged call\",\"description\":{\"content\":\"The call is split, and the 2 calls are on different streams.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"method\":\"POST\",\"auth\":null},\"response\":[{\"id\":\"b5445841-347b-4759-8e0b-38af3af749ff\",\"name\":\"Successfully split the merge call.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"c9055f02-25c3-44fd-b091-f22fdf47760d\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"70a03f36-8a29-4e9f-ac71-2f7338db4b9e\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"04aa6c24-40af-494a-a7ea-3799f380c59c\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8220593b-c3fd-4bc9-aaa8-375a5a159c25\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"c9f25c57-3c8c-4bb0-8187-34851472351d\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0782ee87-11c8-42a2-a297-fe6368fd10aa\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"30039cc9-5935-4010-b4a0-e147a1ada859\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"split\"],\"host\":[\"{{web-calls-v1-calls-callId-split-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"4b536191-74bc-4794-90cd-5f4e96826617\",\"name\":\"Warm transfer two calls\",\"request\":{\"name\":\"Warm transfer two calls\",\"description\":{\"content\":\"A warm transfer is to connect two ongoing call together. After the\\ntransfer, the current user is no longer in any of the two calls and both\\nremote peer from each calls are now connected together. If the referId is not\\nfound, a 400 bad request will be returned.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"cbc1cfb9-a472-45b9-b558-ffd6cc248742\",\"name\":\"Successfully warm transferred the calls provided. The status of the calls is ended and the calls must be considered terminated by the client and associated resources may be released.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"e1371162-28ff-4787-82c0-1df3f4579d26\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"00ec7213-8ab4-44e2-af32-900d5cea4c16\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d646477d-94b2-478b-a079-ebff6180d8ce\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3ab35c40-2c27-4d8f-a75a-ec4453bafe15\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5833c29a-0c6e-4dad-9669-6e0cac2c1cf2\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"ff35872c-02b2-47d3-bf58-03bb7ac4f9e4\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b931ecf4-dce3-43e9-b505-1f92700cdd17\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2891e8a1-fcbb-4fd0-adff-f16d1a59fe1c\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"warm-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-warm-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"referId\\\": \\\"secondCallId\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"632727af-ad3c-4375-9aa7-bb165f226183\",\"name\":\"Blind transfer the call\",\"request\":{\"name\":\"Blind transfer the call\",\"description\":{\"content\":\"The call is transferred blindly to the provided dial string.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"callId\",\"description\":\"(Required) Call ID issued when the call was created or invite received.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"<string>\\\"\\n}\"}},\"response\":[{\"id\":\"27283d8f-fca9-463c-97cf-d330dccaefd3\",\"name\":\"Successfully blind transferred the call to the provided dial string. The call is ended and media will stop.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"a0f595d5-f609-40bd-bc85-cd327e72b7bd\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"48fa335a-f49b-4dd1-b38a-388641a1fe14\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"31341419-b647-4b17-8e52-46e1b915fdba\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1cc552f1-49a6-4d24-8306-46a80d2e98cd\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"20b74e6c-b530-458d-aff4-eb165bb6bb2c\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"fcbfd4ef-3636-4f41-a7e2-8add4666489d\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7cffd7f9-cd65-4985-9556-4e515b3c5771\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d9b3705b-c471-460c-8a6c-6405c0fb8268\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"calls\",\":callId\",\"blind-transfer\"],\"host\":[\"{{web-calls-v1-calls-callId-blind-transfer-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"callId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"dialString\\\": \\\"123456789\\\"\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]},{\"id\":\"514f6362-8235-4952-8100-4218ca1aa300\",\"name\":\"devices\",\"item\":[{\"id\":\"a5aaafec-30dc-48e8-95e1-660de8ba922c\",\"name\":\"Create a single device.\",\"request\":{\"name\":\"Create a single device.\",\"description\":{\"content\":\"Create one device using the supplied client information and notification channel IDs in callback reference. Upon successful registration, the device will be available for registering extensions using the supplied `deviceId`. <br/><br/> If the channel IDs are invalid, a `HTTP 400 Bad Request` response will be returned. <br/><br/> If a device is already registered for the given `deviceId`, a `HTTP 409 Conflict` response will be returned. <br/><br/> **Note:** a device that no longer has any active extension for a period of 24 hours will be deleted by the Web-Calls service.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\"],\"host\":[\"{{web-calls-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appVersion\\\": \\\"<string>\\\",\\n        \\\"platform\\\": \\\"<string>\\\",\\n        \\\"appId\\\": \\\"<string>\\\",\\n        \\\"deviceId\\\": \\\"<string>\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"<string>\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"response\":[{\"id\":\"4572250b-886e-49a6-a964-80f6bebe9df1\",\"name\":\"Successfully created the device.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\"],\"host\":[\"{{web-calls-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\",\\n        \\\"appId\\\": \\\"MyIntegration\\\",\\n        \\\"deviceId\\\": \\\"1234567809012343455\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"clientInformation\\\": {\\n  \\\"appVersion\\\": \\\"2.3.1\\\",\\n  \\\"platform\\\": \\\"INTEGRATOR\\\",\\n  \\\"appId\\\": \\\"MyIntegration\\\",\\n  \\\"deviceId\\\": \\\"1234567809012343455\\\"\\n },\\n \\\"callbackReference\\\": {\\n  \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n  \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n }\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"94601662-9b0b-4bdb-aca6-94e20a02b972\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\"],\"host\":[\"{{web-calls-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\",\\n        \\\"appId\\\": \\\"MyIntegration\\\",\\n        \\\"deviceId\\\": \\\"1234567809012343455\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"78f5c42c-0f63-42e8-b61f-cd7ab8601f95\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\"],\"host\":[\"{{web-calls-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\",\\n        \\\"appId\\\": \\\"MyIntegration\\\",\\n        \\\"deviceId\\\": \\\"1234567809012343455\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"a84840ab-3369-416f-81ce-72a669fea450\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\"],\"host\":[\"{{web-calls-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\",\\n        \\\"appId\\\": \\\"MyIntegration\\\",\\n        \\\"deviceId\\\": \\\"1234567809012343455\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"c933e474-65dd-4b21-9260-129806004bc4\",\"name\":\"The request could not be completed due to a conflict with the target resource.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\"],\"host\":[\"{{web-calls-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\",\\n        \\\"appId\\\": \\\"MyIntegration\\\",\\n        \\\"deviceId\\\": \\\"1234567809012343455\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Conflict\",\"code\":409,\"header\":[{\"key\":\"Content-Type\",\"value\":\"*/*\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"b14047ea-cf30-4494-a94e-d9cde86daad7\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\"],\"host\":[\"{{web-calls-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\",\\n        \\\"appId\\\": \\\"MyIntegration\\\",\\n        \\\"deviceId\\\": \\\"1234567809012343455\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"db9db760-4fb4-4519-9d6f-c147bd5cf76f\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\"],\"host\":[\"{{web-calls-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\",\\n        \\\"appId\\\": \\\"MyIntegration\\\",\\n        \\\"deviceId\\\": \\\"1234567809012343455\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"042f52c0-1231-4771-be48-9c28c7dd5dd7\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\"],\"host\":[\"{{web-calls-v1-devices-Url}}\"],\"query\":[],\"variable\":[]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appVersion\\\": \\\"2.3.1\\\",\\n        \\\"platform\\\": \\\"INTEGRATOR\\\",\\n        \\\"appId\\\": \\\"MyIntegration\\\",\\n        \\\"deviceId\\\": \\\"1234567809012343455\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"49ac924b-d260-4b42-bb20-35a073ffc461\",\"name\":\"{device Id}\",\"item\":[{\"id\":\"aeebc7d4-5ddc-49ca-b4fc-da0e951ab79c\",\"name\":\"Get details for a specific device.\",\"request\":{\"name\":\"Get details for a specific device.\",\"description\":{\"content\":\"Get callback reference details or client information for a device identified by a `deviceId`.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"deviceId\",\"description\":\"(Required) ID associated with the device hardware in case of a mobile or with a tab in case of a browser tab.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"9683b42b-061b-4a41-ac5f-bfb4f5fe863a\",\"name\":\"Successfully fetched the device details.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"clientInformation\\\": {\\n  \\\"appVersion\\\": \\\"2.3.1\\\",\\n  \\\"platform\\\": \\\"INTEGRATOR\\\",\\n  \\\"appId\\\": \\\"MyIntegration\\\",\\n  \\\"deviceId\\\": \\\"1234567809012343455\\\"\\n },\\n \\\"callbackReference\\\": {\\n  \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n  \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n }\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4aa3ca86-db9c-4ecf-a730-7dcaa02005dd\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"1ab310a7-fe6b-427a-965f-fd94a06cc6e5\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"de41c20a-5c84-4517-b7c5-3bbc6846883a\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"2d87bf19-3211-4831-9e81-3cc01eae3851\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"3fca09ee-ae28-4f68-82f1-9a49441795a2\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7858faf4-3312-4cfb-9174-3e56e0c4da3e\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"1617aabb-5a3b-47fb-ae40-f15e61dfca32\",\"name\":\"Update details for a specific device.\",\"request\":{\"name\":\"Update details for a specific device.\",\"description\":{\"content\":\"Update channel IDs or client information for a device identified by a `deviceId`.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"deviceId\",\"description\":\"(Required) ID associated with the device hardware in case of a mobile or with a tab in case of a browser tab.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"PATCH\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"<string>\\\",\\n        \\\"appVersion\\\": \\\"<string>\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"<string>\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"<string>\\\"\\n    }\\n}\"}},\"response\":[{\"id\":\"f99499bc-3ade-42ca-9f62-cdbba966f139\",\"name\":\"Successfully updated the device details.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"GoTo\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"clientInformation\\\": {\\n  \\\"appVersion\\\": \\\"2.3.1\\\",\\n  \\\"platform\\\": \\\"INTEGRATOR\\\",\\n  \\\"appId\\\": \\\"MyIntegration\\\",\\n  \\\"deviceId\\\": \\\"1234567809012343455\\\"\\n },\\n \\\"callbackReference\\\": {\\n  \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n  \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n }\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e7dd4d74-bd76-4fa6-89bd-d17af7f992e9\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"GoTo\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"395bba20-d56b-46f7-a45b-312fab1dc992\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"GoTo\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0068af8c-18f8-473e-9974-dea0a9abab96\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"GoTo\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"6801e3b5-70eb-4187-ae66-faedd626c87f\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"GoTo\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cc3c0598-75e8-4733-b4fe-9006e0d996c2\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"GoTo\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"49465a38-dbeb-483a-9d28-eadbf151f8bc\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"GoTo\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"04d3052a-4bbc-4703-adb1-d2c057313404\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"PATCH\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"clientInformation\\\": {\\n        \\\"appId\\\": \\\"GoTo\\\",\\n        \\\"appVersion\\\": \\\"2.3.1\\\"\\n    },\\n    \\\"callbackReference\\\": {\\n        \\\"incomingCallChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\n        \\\"sessionManagementChannelId\\\": \\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"\\n    }\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"b509f272-af9d-40fa-9e68-e33dd0e7f874\",\"name\":\"Remove a device and all its associated extensions\",\"request\":{\"name\":\"Remove a device and all its associated extensions\",\"description\":{\"content\":\"Remove a device identified by a `deviceId` and its associated extensions.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"deviceId\",\"description\":\"(Required) ID associated with the device hardware in case of a mobile or with a tab in case of a browser tab.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"dc966e53-151c-4141-b82d-9c00b8269a29\",\"name\":\"Successfully deleted the device and all associated extensions.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"080f709f-fb9c-4912-8692-cd295e944d7b\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"34b63dc2-5304-4816-8d4e-67b63201a48b\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"e50cfe29-b471-4d4e-baad-9c160495fcbb\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"eeebf11b-8fef-4aed-8963-11d6ec226d39\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"b0a417cd-051f-4c2c-967f-4295931bd862\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"45a78c3b-9f6b-4657-a14e-1009fde751a4\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\"],\"host\":[\"{{web-calls-v1-devices-deviceId-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"116a4739-1561-42d2-bd11-eced833cd32e\",\"name\":\"extensions\",\"item\":[{\"id\":\"0bcfd17f-8652-4878-a8ac-7e3792e1d984\",\"name\":\"Create extensions under a specific device.\",\"request\":{\"name\":\"Create extensions under a specific device.\",\"description\":{\"content\":\"Creates one session for each specified extension number of a device to be able to send and receive calls as well as receive notifications. The session is created for a specific device identified by a `deviceId` and for an organization identified by an `organizationId` specified for each extension. <br/><br/> If the channel IDs are invalid, a `HTTP 400 Bad Request` response will be returned. <br/><br/> If no extension number or if more than 20 extension numbers are provided, a `HTTP 400 Bad Request` response will be returned.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"deviceId\",\"description\":\"(Required) ID associated with the device hardware in case of a mobile or with a tab in case of a browser tab.\"}]},\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"method\":\"POST\",\"auth\":null,\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"<string>\\\",\\n    \\\"extensions\\\": [\\n        {\\n            \\\"number\\\": \\\"<string>\\\",\\n            \\\"impersonateeUserKey\\\": \\\"<string>\\\"\\n        }\\n    ]\\n}\"}},\"response\":[{\"id\":\"dc15a6b4-e185-4ad0-8811-15f4d085c6bc\",\"name\":\"Successfully created extensions for the device.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensions\\\": [\\n        {\\n            \\\"number\\\": \\\"1234\\\",\\n            \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Created\",\"code\":201,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n \\\"extensions\\\": [\\n  {\\n   \\\"resultCode\\\": 200,\\n   \\\"number\\\": \\\"1234\\\",\\n   \\\"sessionId\\\": \\\"someUniqueSessionID\\\",\\n   \\\"constraintViolationErrors\\\": {\\n    \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n    \\\"errorMessage\\\": \\\"Organization is not found\\\",\\n    \\\"constraintViolations\\\": [\\n     {\\n      \\\"field\\\": \\\"organizationId\\\",\\n      \\\"constraint\\\": \\\"invalid format\\\"\\n     },\\n     {\\n      \\\"field\\\": \\\"organizationId\\\",\\n      \\\"constraint\\\": \\\"invalid format\\\"\\n     }\\n    ]\\n   }\\n  },\\n  {\\n   \\\"resultCode\\\": 200,\\n   \\\"number\\\": \\\"1234\\\",\\n   \\\"sessionId\\\": \\\"someUniqueSessionID\\\",\\n   \\\"constraintViolationErrors\\\": {\\n    \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n    \\\"errorMessage\\\": \\\"Organization is not found\\\",\\n    \\\"constraintViolations\\\": [\\n     {\\n      \\\"field\\\": \\\"organizationId\\\",\\n      \\\"constraint\\\": \\\"invalid format\\\"\\n     },\\n     {\\n      \\\"field\\\": \\\"organizationId\\\",\\n      \\\"constraint\\\": \\\"invalid format\\\"\\n     }\\n    ]\\n   }\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d0d123f5-6d26-4178-b37e-5bd45d46e9e1\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensions\\\": [\\n        {\\n            \\\"number\\\": \\\"1234\\\",\\n            \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0e51cb10-fe43-4315-9052-e84e2944d0ee\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensions\\\": [\\n        {\\n            \\\"number\\\": \\\"1234\\\",\\n            \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"4f0f9937-3ea4-4fc2-a5a4-c17a7b90ae90\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensions\\\": [\\n        {\\n            \\\"number\\\": \\\"1234\\\",\\n            \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8ef61e39-4de0-418c-aac5-7a525b9dc4dd\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensions\\\": [\\n        {\\n            \\\"number\\\": \\\"1234\\\",\\n            \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"65ed55d3-7ced-4592-83bf-5288ca0f208f\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensions\\\": [\\n        {\\n            \\\"number\\\": \\\"1234\\\",\\n            \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"af49666d-bf68-493f-943d-80fd77b841fe\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"POST\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\n    \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n    \\\"extensions\\\": [\\n        {\\n            \\\"number\\\": \\\"1234\\\",\\n            \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\"\\n        }\\n    ]\\n}\"}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"6e57021f-05d5-4c5a-b8a7-f46ee340606a\",\"name\":\"Get extensions associated with a device.\",\"request\":{\"name\":\"Get extensions associated with a device.\",\"description\":{\"content\":\"Details related to all extensions registered under a device identified by a `deviceId` can be obtained by sending a `GET` request on the `/devices/{deviceId}/extensions`. <br/><br/> The desired extensions can be filtered for a specific organization identified by using and populating the `organizationId` query parameter. Specific extensions can be fetched by specifying one or more `extensionNumber` query parameter along a common parent `organizationId` query parameter. <br/><br/> A paginated extensions list will be returned. The next page of results can be queried using the returned `nextPageMarker` value as a query parameter. The number of extensions per result page can be changed using the query parameter pageSize which defaults to 50 items. If the device exists but no extensions can be found for the `organizationId` or specified `extensionNumber` query params, an empty list will be returned. If no more items are available, the `nextPageMarker` will be set to null. <br/><br/>\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"pageMarker\",\"value\":\"<string>\",\"description\":\"The returned nextPageMarker from a Paginated Collection is used here to fetch the starting item for the paginated result.\\n\"},{\"disabled\":false,\"key\":\"pageSize\",\"value\":\"50\",\"description\":\"The maximum number of items returned in a page.\"},{\"disabled\":false,\"key\":\"organizationId\",\"value\":\"<string>\",\"description\":\"ID of the organization.\"},{\"disabled\":false,\"key\":\"extensionNumber\",\"value\":\"<string>\",\"description\":\"Extension number.\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"deviceId\",\"description\":\"(Required) ID associated with the device hardware in case of a mobile or with a tab in case of a browser tab.\"}]},\"method\":\"GET\",\"auth\":null},\"response\":[{\"id\":\"ac923de1-fd7a-4ad0-80a5-07e56009574e\",\"name\":\"Successfully fetched extensions for a device.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"nextPageMarker\\\": \\\"a159e8fbea8e53848\\\",\\n \\\"pageSize\\\": 50,\\n \\\"extensions\\\": [\\n  {\\n   \\\"number\\\": \\\"1234\\\",\\n   \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\",\\n   \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n   \\\"sessionId\\\": \\\"someUniqueSessionID\\\"\\n  },\\n  {\\n   \\\"number\\\": \\\"1234\\\",\\n   \\\"impersonateeUserKey\\\": \\\"12345678901234567890\\\",\\n   \\\"organizationId\\\": \\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\n   \\\"sessionId\\\": \\\"someUniqueSessionID\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"635ec11d-48c4-40b4-8788-504077239047\",\"name\":\"The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\\n* BAD_REQUEST - The request is not valid.\\n* MALFORMED_REQUEST - The request is malformed and not interpretable.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Bad Request\",\"code\":400,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"BAD_REQUEST\\\",\\n \\\"constraintViolations\\\": [\\n  {\\n   \\\"field\\\": \\\"name\\\",\\n   \\\"constraint\\\": \\\"MAX_LENGTH\\\"\\n  }\\n ]\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"0c28b09f-ca31-494d-a7e6-d6e1c7c130e5\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"dbb69c4f-717c-406f-a687-89c78500851f\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"7cbcfbd8-791e-466f-a8f4-1861af36da53\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cec5ba7e-aabd-4a6c-a27f-60cd6041ee36\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"8a8396a9-53f9-4cdb-af50-a11543f7f1cb\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"9b09eca5-c7e9-492b-b4d1-a4a60326c476\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"pageMarker\",\"value\":\"<string>\"},{\"key\":\"pageSize\",\"value\":\"50\"},{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"GET\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]},{\"id\":\"b28dbb97-bc19-4009-9ced-894f87ee2e57\",\"name\":\"Remove extensions associated with a device.\",\"request\":{\"name\":\"Remove extensions associated with a device.\",\"description\":{\"content\":\"Remove all extensions associated with a device identified by the `deviceId`. The extensions can be deleted under a specific organization by using and populating the `organizationId` query parameter.\\nSpecific extensions can be deleted by specifying one or more `extensionNumber` query parameter along a common parent `organizationId` query parameter.\\n\",\"type\":\"text/plain\"},\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"disabled\":false,\"key\":\"organizationId\",\"value\":\"<string>\",\"description\":\"ID of the organization.\"},{\"disabled\":false,\"key\":\"extensionNumber\",\"value\":\"<string>\",\"description\":\"Extension number.\"}],\"variable\":[{\"disabled\":false,\"type\":\"any\",\"value\":\"<string>\",\"key\":\"deviceId\",\"description\":\"(Required) ID associated with the device hardware in case of a mobile or with a tab in case of a browser tab.\"}]},\"method\":\"DELETE\",\"auth\":null},\"response\":[{\"id\":\"03f71634-ba69-4e87-b197-925463513d65\",\"name\":\"Successfully deleted all extensions.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"No Content\",\"code\":204,\"header\":[{\"key\":\"Content-Type\",\"value\":\"text/plain\"}],\"body\":\"\",\"cookie\":[],\"_postman_previewlanguage\":\"text\"},{\"id\":\"8e762c6d-056d-42ab-a0b7-f1039f5eeb3c\",\"name\":\"There was an error during authentication.  The API returns a number of `errorCode` values in\\nthe response that provide additional details.\\n\\n* `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\\n* `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\\n* `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\\n* `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Unauthorized\",\"code\":401,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHN_INVALID_TOKEN\\\",\\n \\\"message\\\": \\\"The supplied authentication token is not valid.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"d4dd1fb4-cbd6-4144-af84-c8c43eeb50fd\",\"name\":\"There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\\n* `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\\n  requested action on the requested resource type or the request supplied no token.\\n  Enforcement of scopes occurs before other authorization decisions and is based solely on the\\n  resource type and requested action. This response provides no indication of the existance\\n  of the specific resource targeted by the request.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Forbidden\",\"code\":403,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"AUTHZ_INSUFFICIENT_SCOPE\\\",\\n \\\"message\\\": \\\"The scopes granted to the supplied token are insufficient to perform the requested action.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"5f35a218-cad3-4a9b-8ef5-794c436924d0\",\"name\":\"The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Not Found\",\"code\":404,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"NOT_FOUND\\\",\\n \\\"message\\\": \\\"Not found.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"cad41881-5118-4f03-80b5-bfe182ef2560\",\"name\":\"Your request was denied because you have reached some request limit for this API. Try again later.\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Too Many Requests\",\"code\":429,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"errorCode\\\": \\\"TOO_MANY_REQUESTS\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"165aca38-d81c-4a74-a898-8fd492b8b6a0\",\"name\":\"An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\\n* `UNKNOWN_ERROR` - An unknown error occurred.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Internal Server Error\",\"code\":500,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNKNOWN_ERROR\\\",\\n \\\"message\\\": \\\"An unknown error occurred.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"},{\"id\":\"ff2621ac-b3ba-40bc-849b-d062740cb628\",\"name\":\"There was an issue routing the request.  A `UNAVAILABLE`\\n`errorCode` accompanies this response.\\n\",\"originalRequest\":{\"url\":{\"path\":[\"web-calls\",\"v1\",\"devices\",\":deviceId\",\"extensions\"],\"host\":[\"{{web-calls-v1-devices-deviceId-extensions-Url}}\"],\"query\":[{\"key\":\"organizationId\",\"value\":\"<string>\"},{\"key\":\"extensionNumber\",\"value\":\"<string>\"}],\"variable\":[{\"type\":\"any\",\"key\":\"deviceId\"}]},\"header\":[{\"disabled\":false,\"description\":\"(Required) OAuth Token\",\"key\":\"Authorization\",\"value\":\"nulla n\"}],\"method\":\"DELETE\",\"body\":{}},\"status\":\"Service Unavailable\",\"code\":503,\"header\":[{\"key\":\"Content-Type\",\"value\":\"application/json\"}],\"body\":\"{\\n \\\"reference\\\": \\\"jhkasdf89hjn3298fs\\\",\\n \\\"errorCode\\\": \\\"UNAVAILABLE\\\",\\n \\\"message\\\": \\\"The requested resource not available at this time.\\\"\\n}\",\"cookie\":[],\"_postman_previewlanguage\":\"json\"}],\"event\":[]}],\"event\":[]}],\"event\":[]}],\"event\":[]}],\"event\":[]}],\"event\":[],\"variable\":[{\"type\":\"string\",\"value\":\"/\",\"key\":\"baseUrl\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-accounts-accountKey-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-phone-number-orders-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-phone-number-orders-orderId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-phone-numbers-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-phone-numbers-phoneNumberId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-phone-numbers-phoneNumberId-permissions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-phone-numbers-phoneNumberId-permissions-userKey-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-extensions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-extensions-extensionId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-extensions-extensionId-find-me-follow-me-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-extensions-extensionId-find-me-follow-me-ring-steps-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-extensions-extensionId-voicemail-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-virtual-faxes-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-shared-voicemails-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-shared-voicemails-sharedVoicemailId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-devices-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-devices-deviceId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-devices-deviceId-reboot-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-devices-deviceId-resync-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-devices-deviceId-buttons-configuration-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-device-models-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-locations-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-locations-locationId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-locations-locationId-users-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-locations-locationId-users-userKey-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-locations-locationId-devices-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-locations-locationId-devices-deviceId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-billing-groups-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-call-queues-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-call-queues-callQueueId-users-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-call-queues-callQueueId-users-userKey-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voice-admin-v1-sms-registrations-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voicemail-v1-voicemailboxes-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voicemail-v1-voicemailboxes-voicemailboxId-voicemails-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voicemail-v1-voicemails-voicemailId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voicemail-v1-voicemails-voicemailId-mediacontent-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voicemail-v1-voicemails-voicemailId-forward-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voicemail-v1-voicemails-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voicemail-v1-subscriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voicemail-v1-subscriptions-subscriptionId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voicemail-v1-organization-subscriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voicemail-v1-organization-subscriptions-subscriptionId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voicemail-v1-voicemails-voicemailId-transcription-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"voicemail-v1-transcriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"users-v1-users-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"users-v1-lines-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"users-v1-users-userKey-lines-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"users-v1-me-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"calls-v2-calls-Url\"},{\"type\":\"string\",\"value\":\"https://realtime.jive.com\",\"key\":\"v2-session-Url\"},{\"type\":\"string\",\"value\":\"https://realtime.jive.com\",\"key\":\"v2-session-sessionId-Url\"},{\"type\":\"string\",\"value\":\"https://realtime.jive.com\",\"key\":\"v2-session-sessionId-subscriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-reports-v1-reports-phone-number-activity-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-reports-v1-reports-phone-number-activity-phoneNumberId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-reports-v1-reports-caller-activity-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-reports-v1-reports-caller-activity-callerNumber-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-reports-v1-reports-user-activity-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-reports-v1-reports-user-activity-userId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-history-v1-calls-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-history-v1-subscriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-history-v1-subscriptions-subscriptionId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-control-v1-calls-recording-start-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-control-v1-calls-recording-pause-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-control-v1-calls-recording-unpause-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-control-v1-call-legs-legId-blind-transfer-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-control-v1-call-legs-legId-hangup-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-events-v1-conversation-spaces-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-events-v1-conversation-spaces-conversationSpaceId-events-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-events-v1-subscriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-events-report-v1-report-summaries-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-events-report-v1-reports-conversationSpaceId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-events-report-v1-subscriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-parking-v1-parked-calls-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-parking-v1-organizations-organizationId-permission-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-parking-v1-subscriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"call-parking-v1-subscriptions-subscriptionId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"contact-center-analytics-v1-accounts-accountKey-queue-caller-details-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"contact-center-analytics-v1-accounts-accountKey-queue-metrics-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"contact-center-analytics-v1-accounts-accountKey-agent-statuses-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"fax-v1-faxes-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"fax-v1-faxes-faxId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"fax-v1-faxes-faxId-cancel-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"fax-v1-subscriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"fax-v1-subscriptions-subscriptionId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v1-conversations-summary-ownerPhoneNumber-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v1-conversations-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v1-update-conversation-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v1-messages-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v1-messages-messageId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v1-media-mediaId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v1-media-metadata-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v1-subscriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v1-subscriptions-subscriptionId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v1-organization-subscriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v1-organization-subscriptions-subscriptionId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v1-opt-outs-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v1-opt-outs-subscriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v1-opt-outs-subscriptions-subscriptionId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v2-accounts-accountKey-messages-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v2-accounts-accountKey-attachments-attachmentId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v2-accounts-accountKey-message-templates-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v2-subscriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"messaging-v2-subscriptions-subscriptionId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"presence-v1-subscriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"presence-v1-subscriptions-subscriptionId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"presence-v1-presence-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"presence-v1-user-presence-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"notification-channel-v1-channels-integrations-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"notification-channel-v1-channels-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"notification-channel-v1-channels-integrations-channelId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"notification-channel-v1-channels-integrations-channelId-channel-lifetime-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"recording-v1-recordings-recordingId-content-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"recording-v1-recordings-recordingId-content-token-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"recording-v1-subscriptions-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"recording-v1-subscriptions-subscriptionId-Url\"},{\"type\":\"string\",\"value\":\"https://api.goto.com\",\"key\":\"recording-v1-transcriptions-transcriptId-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-refresh-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-callId-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-callId-answer-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-callId-ringing-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-callId-reject-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-callId-mute-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-callId-unmute-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-callId-hold-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-callId-unhold-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-callId-offer-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-callId-dtmf-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-callId-merge-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-callId-split-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-callId-warm-transfer-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-sessions-sessionId-calls-callId-blind-transfer-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-callId-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-callId-answer-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-callId-ringing-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-callId-reject-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-callId-mute-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-callId-unmute-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-callId-hold-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-callId-unhold-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-callId-offer-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-callId-dtmf-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-callId-merge-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-callId-split-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-callId-warm-transfer-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-calls-callId-blind-transfer-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-devices-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-devices-deviceId-Url\"},{\"type\":\"string\",\"value\":\"https://webrtc.jive.com\",\"key\":\"web-calls-v1-devices-deviceId-extensions-Url\"}],\"info\":{\"_postman_id\":\"ca2f7c54-57ab-4a31-83eb-7c422ca26136\",\"name\":\"GoToConnect APIs\",\"schema\":\"https://schema.getpostman.com/json/collection/v2.1.0/collection.json\",\"description\":{\"content\":\"The GoToConnect APIs can be used for integrations that require calls or messaging, and for accessing any of the associated data artifacts.\",\"type\":\"text/plain\"}}}"},"spec":{"documentName":"GoToConnect.yaml","content":"openapi: 3.0.0\ninfo:\n  version: 1.0.0\n  title: GoToConnect APIs\n  description: The GoToConnect APIs can be used for integrations that require calls or messaging, and for accessing any of the associated data artifacts.\nx-tagGroups:\n  - name: Voice Admin\n    tags:\n      - Voice Admin Overview\n      - Accounts\n      - Phone Numbers\n      - Extension\n      - Devices\n      - Locations\n      - Billing Groups\n      - Shared Voicemail\n      - Call Queues\n      - Virtual Faxes\n      - SMS Registrations\n  - name: Voicemail\n    tags:\n      - Voicemail Overview\n      - Voicemailbox\n      - Transcription\n      - Voicemail\n      - Voicemail Subscription\n  - name: Users\n    tags:\n      - Users Overview\n      - Users\n      - Lines\n      - Me\n  - name: Calls\n    tags:\n      - Calls Overview\n      - Click To Call\n  - name: Real-time\n    tags:\n      - Real-time Overview\n      - Realtime Sessions\n  - name: Call Reports\n    tags:\n      - Call Reports Overview\n      - User Activity\n      - Phone Number Activity\n      - Caller Activity\n  - name: Call History\n    tags:\n      - Call History Overview\n      - Call History\n      - Call History Subscription\n  - name: Call Control\n    tags:\n      - Call Control Overview\n      - Control Recordings\n      - Call-Legs\n  - name: Call Events\n    tags:\n      - Call Events Overview\n      - Call Events\n      - Call Event Subscriptions\n  - name: Call Events Report\n    tags:\n      - Call Events Report Overview\n      - Call Events Report\n      - Call Events Report Subscriptions\n  - name: Call Parking\n    tags:\n      - Call Parking Overview\n      - Parked Calls\n      - Call Parking Subscriptions\n  - name: Contact Center Analytics\n    tags:\n      - Contact Center Analytics Overview\n      - Queue Caller Details\n      - Historical Queue Metrics\n      - Historical Agent Status\n  - name: Fax\n    tags:\n      - Fax Overview\n      - Faxes\n      - Fax Subscription\n  - name: Messaging\n    tags:\n      - Messaging Overview\n      - Conversation\n      - Media\n      - Message\n      - Subscription\n      - Opt-Out\n  - name: Messaging V2\n    tags:\n      - Messaging V2 Overview\n      - Messages\n      - Templates\n      - Subscriptions\n  - name: Presence\n    tags:\n      - Presence Overview\n      - User Presence\n      - Presence Notifications\n      - Presence\n  - name: Notification Channel\n    tags:\n      - Notification Channel Overview\n      - Channels\n  - name: Recording\n    tags:\n      - Recording Overview\n      - Recording Subscriptions\n      - Recordings\n      - Transcriptions\n  - name: Web Calls\n    tags:\n      - Web Calls Overview\n      - Sessions\n      - Session Calls\n      - Calls\n      - Web Calls Devices\ntags:\n  - name: Voice Admin Overview\n    description: |\n      The GoToConnect Voice Admin API allows applications to manage components of their phone system for their account (organization).\n\n\n      ### Authentication Scopes\n\n      `voice-admin.v1.read` or `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n\n      ### Authorization\n\n      To use this API, the authenticated user must be a [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions)\n      or [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-admin-permissions-gotoconnect-give-admin-permissions).\n\n      ### API Usage Guidelines\n\n      The GoToConnect Admin API assumes clients are implemented in such a way that unknown attributes are ignored.\n      The addition of new response attributes may occur at any time, for any API response, without prior notice.\n      This is not considered a break in backward-compatibility.\n\n      ### Ordering a Phone Number\n\n      First, you need to start by [creating a phone number order](#operation/createOrder), providing the desired area code \n      and the account key as the payload, like:\n\n      ```\n      {\n        \"areaCode\": \"314\",\n        \"accountKey\": \"1956177422157042821\"\n      }\n      ```\n\n      You will only receive the order ID in the response body. You should store this ID somewhere on your side.\n\n      ```\n      {\n        \"id\": \"df36db47-09b8-43ee-89cc-824c13a658cc\"\n      }\n      ```\n\n      Then, you [can get the status of the order via the ID](#operation/getOrder).\n      If the order is not completed, you will get the following response body:\n\n      ```\n      {\n        \"status\": \"PROCESSING\"\n      }    \n      ```\n\n      At some point the order will be completed, normally after a maximum of 15 minutes,\n      and you will get the following response body:\n\n      ```\n      {\n        \"status\": \"COMPLETED\",\n        \"phoneNumberId\": \"ae165960-2e49-4464-9590-616b3e22bfec\"\n      }\n      ```\n\n      It's worth mentioning that sometimes you will be able to get the phone number ID before the order completes, like:\n\n      ```\n      {\n        \"status\": \"PROCESSING\",\n        \"phoneNumberId\": \"ae165960-2e49-4464-9590-616b3e22bfec\"\n      }\n      ```\n\n      Meaning that the phone number already exists and, at this point, it's still `DEACTIVATED`, \n      but you can start configuring it in advance. It will be activated and ready for use only when the status is `COMPLETED`. \n\n      Note that you now have the phone number ID and you can start PATCHing the detail of the phone number like the `routeTo` field.\n    x-displayName: Voice Admin Overview\n  - name: Voicemail Overview\n    description: |\n      The Voicemail API allows users to manage their voicemails, retrieve transcriptions and receive \n      notifications for their voicemail boxes.\n\n      # API Usage Guidelines\n\n      This API assumes that clients are implemented in such a way that unknown attributes are \n      ignored. The addition of new response attributes may occur at any time, for any API response, \n      without prior notice. This is not considered a breach of backward compatibility.\n\n      This API explicitly omits any attribute in its responses for which the value is undefined or \n      `null`. A common example of this is the `nextPageMarker` on paginated list responses which is \n      only included if there are one or more additional pages of data.\n\n      # Authentication and Authorization\n\n      ## Authorization code and implicit flows\n\n      The identity and scopes attached to the token will be used to authorize operations on the \n      requested resources.\n\n      ## Scopes\n\n      | Scope | Description |\n      |-------|-------------|\n      | voicemail.v1.voicemails.read | Grants the ability to perform GET operations on voicemails. |\n      | voicemail.v1.voicemails.write | Grants the ability to delete voicemails. This scope does not allow creating new voicemails as this API does not offer this function.|\n      | voicemail.v1.notifications.manage | Grants the ability to manage notification subscriptions for voicemail notifications. |\n\n      ## Resource access\n\n      A user identified by a token has access to the following voicemail boxes and their contents:\n        - Voicemail box belonging to the user's extension\n        - Voicemail box belonging to any line which contains the user's extension as part of the \n          dial plan\n        - Voicemail box belonging to any ring group which contains the user's extension\n        - Shared voicemail boxes which are actively used by any of the above extensions. Note that\n          the shared voicemail box replaces access to the regular voicemail box of an extension\n\n      A user with [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions) \n      privileges can access any voicemail box in their organization.\n\n      ### Example\n\n      Bob has a primary extension `1000`\n\n      Line `2000` is configured to use shared voicemail box `3000` and  has the following extensions\n      in its dial plan:\n        - Line `1001`\n        - Line `1002`\n        - Line `1000` (Bob's line)\n\n      Ring Group `4000` has the following extensions in its dial plan:\n        - Line `1003`\n        - Line `1000` (Bob's line)\n\n      Bob has access to the contents of the following extensions' mailboxes:\n        - `1000` (Bob's extension)\n        - `3000` (Shared voicemail box used by Line 2000)\n        - `4000` (Ring Group containing Bob's extension)\n\n      # Getting started\n\n      ## Notifications\n\n      In order to be able to receive events from the Voicemail service, a channel will have to be \n      available to receive and process these events. To create a notification channel so you can be \n      subscribed to events see [Receive Incoming Notifications on a Webhook for more details](#section/Use-Case-Examples/Receive-Incoming-Notifications-on-a-Webhook). \n      Learn how to create a notification channel [here](/GoToConnect/#tag/Notification-Channel-Overview).\n\n      All notifications respect the following format:\n\n      ```json\n      {\n        \"source\": \"VOICEMAIL\",\n        \"type\": \"NOTIFICATION_TYPE\",\n        \"usage\": \"USAGE_TYPE\",\n        \"timestamp\": \"TIMESTAMP\",\n        \"ttl\": integer,\n        \"content\": {object}\n      }\n      ```\n\n      where\n        - `source` will always be `VOICEMAIL`.\n        - `type` indicates the type of notification being sent. Only possible values are \n          `NEW_VOICEMAIL`, `VOICEMAIL_UPDATED`, `VOICEMAIL_DELETED` and `TRANSCRIPTION_COMPLETED`.\n        - `usage` indicates the usage type of the notification. Possible values are `ALERT` and \n          `BACKGROUND`.\n        - `timestamp` is the timestamp of the notification such as 2020-01-17T15:31:35.245Z.\n        - `ttl` is the time-to-live value in seconds of the notification as an integer such \n          as 1209600.\n        - `content` is the object body of whatever the `source` and `type` combination represents.\n\n      ### NEW_VOICEMAIL events notifications\n\n      The client will receive a NEW_VOICEMAIL event when a new voicemail is added inside their \n      voicemailbox. New voicemails are sent as ALERT notifications.\n\n      ```json\n      {\n        \"source\":\"VOICEMAIL\",\n        \"type\":\"NEW_VOICEMAIL\",\n        \"usage\":\"ALERT\",\n        \"timestamp\":\"2020-11-10T17:59:07Z\",\n        \"ttl\": 1209600,\n        \"content\":\n          {\n            \"voicemailId\": \"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\",\n            \"voicemailboxId\": \"606d12ff-9482-4ff0-8971-95133ffc47d1\",\n            \"organizationId\": \"be342206-96ac-482b-bd2d-5fb317e7daa1\",\n            \"accountKey\": \"2930718022414574861\",\n            \"extensionNumber\": \"1243\",\n            \"calledNumber\": \"1234\",\n            \"callerName\": \"John Doe\",\n            \"callerNumber\": \"+14505551212\",\n            \"forwardFrom\": [],\n            \"forwardTo\": [],\n            \"legId\": \"229e8710-409a-40fa-908c-de647f66298a\",\n            \"durationMs\": 6000,\n            \"timestamp\": \"2020-11-10T17:59:08Z\",\n            \"status\": \"NEW\",\n            \"folderCapacity\": 99,\n            \"newMessageCount\": 10,\n            \"readMessageCount\": 25,\n            \"lastUpdatedTimestamp\": \"2020-11-10T19:59:08Z\"\n          }\n      }\n      ```\n\n      In the case of a new voicemail, the forwardTo array will always be empty. But in the case of a \n      forward, the forwardFrom array will contain the extension from which it is being transferred.\n\n      ### VOICEMAIL_UPDATED events notifications\n\n      The client will receive a VOICEMAIL_UPDATED event when a voicemail is updated.\n\n      Updates are actions changing the status of a voicemail in their voicemailbox \n      i.e. `NEW` to `READ` or `READ` to `NEW`.\n\n      Voicemail updates are sent as BACKGROUND notifications.\n\n      ```json\n        {\n          \"source\":\"VOICEMAIL\",\n          \"type\":\"VOICEMAIL_UPDATED\",\n          \"usage\":\"BACKGROUND\",\n          \"timestamp\":\"2020-11-17T18:31:35.245Z\",\n          \"ttl\": 1209600,\n          \"content\":\n            {\n              \"voicemailId\": \"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\",\n              \"voicemailboxId\": \"606d12ff-9482-4ff0-8971-95133ffc47d1\",\n              \"organizationId\": \"be342206-96ac-482b-bd2d-5fb317e7daa1\",\n              \"accountKey\": \"2930718022414574861\",\n              \"callerName\": \"John Doe\",\n              \"callerNumber\": \"+14505551212\",\n              \"extensionNumber\": \"1243\",\n              \"calledNumber\": \"1243\",\n              \"durationMs\": 6000,\n              \"timestamp\": \"2020-11-10T17:59:08Z\",\n              \"status\": \"READ\",\n              \"folderCapacity\": 99,\n              \"newMessageCount\": 10,\n              \"readMessageCount\": 25,\n              \"lastUpdatedTimestamp\": \"2020-11-10T18:59:08Z\"\n            }\n        }\n      ```\n\n      ### VOICEMAIL_DELETED events notifications\n\n      The client will receive a VOICEMAIL_DELETED event when a voicemail is deleted inside their \n      voicemail box. Deleted voicemails are sent as BACKGROUND notifications.\n\n      ```json\n      {\n        \"source\":\"VOICEMAIL\",\n        \"type\":\"VOICEMAIL_DELETED\",\n        \"usage\":\"BACKGROUND\",\n        \"timestamp\":\"2020-11-17T18:31:35.245Z\",\n        \"ttl\": 1209600,\n        \"content\":\n          {\n            \"voicemailId\": \"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\",\n            \"organizationId\": \"be342206-96ac-482b-bd2d-5fb317e7daa1\",\n            \"accountKey\": \"2930718022414574861\",\n            \"voicemailboxId\": \"606d12ff-9482-4ff0-8971-95133ffc47d1\",\n            \"callerName\": \"John Doe\",\n            \"callerNumber\": \"+14505551212\",\n            \"extensionNumber\": \"1243\",\n            \"calledNumber\": \"1243\",\n            \"durationMs\": 6000,\n            \"timestamp\": \"2020-11-10T17:59:08Z\",\n            \"status\": \"DELETED\",\n            \"folderCapacity\": 99,\n            \"newMessageCount\": 10,\n            \"readMessageCount\": 25,\n            \"lastUpdatedTimestamp\": \"2020-11-10T18:59:08Z\"\n          }\n      }\n      ```\n\n      The `status` field can contain any of these values\n        - NEW : A voicemail is unread\n        - READ : A voicemail was read\n        - DELETED : A voicemail was deleted\n\n      The `content` field will also contain read/unread voicemail counts along with folderCapacity \n      which signifies the maximum number of voicemails that can be held in any given folder \n      (read/unread state)\n\n      ### TRANSCRIPTION_COMPLETED events notifications\n\n      The client will receive a TRANSCRIPTION_COMPLETED event when the transcription is completed \n      successfully or in error. This event is sent as BACKGROUND notification.\n\n      ```\n      {\n        \"source\":\"VOICEMAIL\",\n        \"type\":\"TRANSCRIPTION_COMPLETED\",\n        \"usage\":\"BACKGROUND\",\n        \"timestamp\":\"2020-11-17T18:31:35.245Z\",\n        \"ttl\": 1209600,\n        \"content\":\n          {\n            \"voicemailId\": \"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU3\",\n            \"organizationId\": \"be342206-96ac-482b-bd2d-5fb317e7daa8\",\n            \"voicemailboxId\": \"606d12ff-9482-4ff0-8971-95133ffc47d4\",\n            \"status\": \"SUCCESS\",\n            \"callerName\": \"John Doe\",\n            \"callerNumber\": \"+14505551212\",\n            \"calledNumber\": \"1243\"\n          },\n        \"bypassDoNotDisturb\": false\n      }\n      ```\n\n      The `status` field can contain any of these values:\n        - SUCCESS\n        - FAILED\n    x-displayName: Voicemail Overview\n  - name: Users Overview\n    description: |\n      You can use the Users API to retrieve information associated with users. This API provides access to lines. A line is a representation of a dialable interface, capable of making and receiving calls.\n    x-displayName: Users Overview\n  - name: Calls Overview\n    description: |\n      You can use the Calls API to programmatically initiate a phone call from a GoToConnect line.\n    x-displayName: Calls Overview\n  - name: Real-time Overview\n    description: \"> **_DEPRECATION NOTICE_**\\n  We will discontinue supporting the Real Time API and plan to remove it in favour of the [Call Events API](/GoToConnect#tag/Call-Events-Overview)\\n  for receiving updates of ongoing calls in real-time or the [Call Events Reports API](/GoToConnect#tag/Call-Events-Report-Overview)\\n  for a view of calls as they have ended.\\n  Please reach out to developer-support@goto.com if a particular feature from the Real Time API seems to be missing so that we can facilitate your transition.\\n  **After 8 October 2023, Realtime API will only accept connections from clients (identified by their OAuth Client Id) that used the API in the 30-day period leading up to this date.**\\n\\nThe Real Time API allows you to subscribe to real time state updates from GoToConnect's system.  For example, this API\\nprovides access to call state information such that your application can observe the status of a call from\\nringing to hangup.  You can use this information, pushed over a WebSocket or using a [general notification channel](/GoToConnect/#tag/Notification-Channel-Overview), to update your application state in real\\ntime.  Common use cases for this API include triggering updates to customer records in a browser and\\nsearching contacts by Caller ID in order to present users with caller information in real time.\\n\\nThe Real Time API takes care of the ephemeral nature of web `sessions`, such as temporary blips in connectivity,\\nto allow a client to just play catchup rather than resync their entire state (which may be considerable with a complex UI).\\nThis is vital for mobile apps which periodically lose connectivity (e.g, driving through a tunnel), or laptops which\\nregularly go into hibernation. It is important for the user experience that such temporary disconnections don't\\nrequire a full sync in state.\\n\\n# Getting Started\\n\\nSubscribing to state updates can be done either by using a websocket connection provided by realtime API or by using a notification channel created using [this API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\\n\\nConsuming state updates consists of these 3 steps:\\n1. Create a session\\n2. Connect to the WebSocket address given in the session response or use your notification channel\\n3. Add subscriptions to the session in order to receive real time state updates\\n\\n## Step One: Creating a Session\\nIn order to use the Real Time API, you must first create a `session`. Sessions are long lived, survive WebSocket\\ndisconnections, and allow you to `subscribe` to real time state updates. We recommend one `session` in case of WebSockets for each\\nunique user in your application. Sessions expire after a period of inactivity.  In this situation, you must\\ncreate a new `session` and resubscribe.\\n\\n*Note*\\n\\nThere is a limit restriction on how many active sessions can be alive per user (active session here means an open session with an active websocket connection or an alive notification channel). This limit for a single user is 30, after which we respond with `400 Bad Request`.\\n### Using a Websocket Connection\\nThe following example request creates a new `session` using a new websocket connection.\\n\\n*Request*\\n\\n```\\ncurl 'https://realtime.jive.com/v2/session' -X POST -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n\\nAs shown below, the response contains a JSON structure with three fields related to the `session`.\\n\\n*Response*\\n```\\n{\\n  \\\"self\\\" : \\\"https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\n  \\\"ws\\\" : \\\"wss://realtime.jive.com/ws/v2/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\n  \\\"subscriptions\\\" : \\\"https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3/subscriptions\\\"\\n}\\n```\\n\\n* `self`: a reference to the created `session`\\n* `ws`: a reference to the WebSocket used to receive real time state updates\\n* `subscriptions`: a reference to the resource used for managing `subscription`s within the `session`\\n\\n### Using a Notification Channel\\n\\nThe following example request creates a new `session` using a notification channel.\\n\\nFor creating the channel, you can use [this API](https://developer.goto.com/GoToConnect/#operation/createChannel). A channel must be created with a lifetime of maximum 7 days, otherwise the Realtime API will reject session creation. In that case Realtime will return `400` with the `errorCode` equals to `CHANNEL_LIFETIME_TOO_LONG`.\\n\\nThe ID of the notification channel received in the response when creating the notification channel should be included in the request body of the Realtime session creation request as the `channelId`.\\n\\nYou must use the same user and client to create the notification channel and the realtime session. If we detect a mismatch, the API will return `403` with the `errorCode` equals to `OWNER_MISMATCH`.\\n\\nThis channelId needs to be unique to this session, and will serve as the ID of the session. If this endpoint is called with a channelId that is already in use, the API will return `409` with the `errorCode` equals to `UNIQUE_CHANNEL_ID`.\\n\\nThe session's lifetime is connected to the notification channel's lifetime. As long as you don't let your notification channel expire, your session will exist. We suggest you create your notification channel with a lifetime of 7 days and [refresh it every day using this endpoint](https://developer.goto.com/GoToConnect/#operation/refreshChannelLifetime), as long as you wish to receive events on that channel.\\n\\n**Important:** If you are using a *webhook* type notification channel, we are expecting a response from your URL in less than 2 seconds. After a response indicating success (with HTTP 200), or after the given 2 seconds elapses, we will continue to send subsequent messages in the queue. Note that if you are taking significantly longer to process each event, we cannot guarantee that the messages will be delivered to you in the order they were generated.\\n\\n*Request*\\n\\n```\\ncurl 'https://realtime.jive.com/v2/session' -X POST -H 'Authorization: Bearer {ACCESS_TOKEN}' -H 'Content-Type: application/json' -d '{\\\"channelId\\\": \\\"{CHANNEL_ID}}\\\"}\\n```\\n\\nAs shown below, the response contains a JSON structure with two fields related to the `session`.\\n\\n*Response*\\n```\\n{\\n  \\\"self\\\" : \\\"https://realtime.jive.com/v2/session/{CHANNEL_ID}\\\",\\n  \\\"subscriptions\\\" : \\\"https://realtime.jive.com/v2/session/{CHANNEL_ID}/subscriptions\\\"\\n}\\n```\\n\\n* `self`: a reference to the created `session`\\n* `subscriptions`: a reference to the resource used for managing `subscription`s within the `session`\\n\\nTo check the status of a `session`, send a **GET** request to the URL in the `self` field above.\\n\\n```\\ncurl 'https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3' -H 'Authorization: Bearer {ACCESS_TOKEN}'\\n```\\n## Step Two: Open a WebSocket or Use Your Notification Channel\\n\\n### Using the Websocket Provided by Realtime API\\nNow that you have an active `session`, it is time to open a WebSocket connection to the WebSocket address specified\\nin the `session` creation response under `ws` in preparation to receive data for the subscriptions you will make in\\nstep 3. Note that you can also open the WebSocket or disconnect and reconnect the WebSocket after creating\\nsubscriptions. You can use your favorite WebSocket testing tool to complete this step.  If you don't have a tool,\\nwe recommend trying [Simple WebSocket Client for Google Chrome](https://chrome.google.com/webstore/detail/simple-websocket-client/pfdhoblngboilpfeibdedpjgfnlcodoo?hl=en)\\nfor an up and running in 60 seconds or less experience.  Whatever tool you choose, enter the WebSocket\\nURL from the `ws` in the `session` creation response.\\n\\n\\nWe only support one connection to the WebSocket per `session`.  Additional connections terminate the existing\\nconnection.\\n#### Websocket Error Codes\\nIn case the WebSocket connection gets closed by our end, your application would receive one of the following codes:\\n* `3000` internal error: failed to send keepalive or ping message, or pong message did not received in a timely manner.\\n* `3100` invalid frame type: in case text or binary message received from client.\\n* `4000` session not found: client tried to connect to a Session that does not exist\\n* `4001` session replaced: a new WebSocket connection is opened on the same session\\n\\n### Using a Notification Channel\\nIf you created your session using a notification channel, you can access it based on the documentation of the [notifications api](https://developer.goto.com/GoToConnect/#section/API-Usage-Guidelines)\\n\\n## Step Three: Subscribe\\n\\nNow that you have an active session and a way to receive real time state updates, you can create a\\nsubscription via a POST request to the URL returned in the `subscriptions` field of the session creation response.\\nThe Real Time API creates a subscription using the parameters passed in the request. The `account` and `id` parameters can be\\nfound by using the Users API (`organization.id` and `id` respectively). The other parameters are hardcoded for now:\\n* Subscription `type` should always be `dialog`\\n* Entity `type` should always be `line.v2`.\\n\\nWhen you create a subscription you must pass in a unique name\\nas the `id` parameter. This name will be passed back in the events received on the websocket and can be used to identify to which\\nsubscription this event belongs to in your application. In the example below the subscription ID is “elisha”.\\nSubscription ID must be unique, and can not be used multiple times.\\n\\n*Request*\\n\\n```\\ncurl 'https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3/subscriptions' -X POST -H 'Authorization: Bearer {ACCESS_TOKEN}' -H 'Content-Type: application/json' \\\\\\n-d '[\\n  {\\n    \\\"id\\\":\\\"elisha\\\",\\n    \\\"type\\\":\\\"dialog\\\",\\n    \\\"entity\\\": {\\n      \\\"id\\\":\\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\n      \\\"type\\\":\\\"line.v2\\\",\\n      \\\"account\\\":\\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\"\\n    }\\n  }\\n]'\\n```\\n\\nAs shown below, the returned response contains the requested subscription ids as field names with their\\nvalues being either `true` or `false` depending on whether or not the `subscription` was successful. If the\\nrequest contained multiple subscriptions, the response contains a key value pair for each requested `subscription`.\\n\\n*Response*\\n\\n```\\n{\\n  \\\"elisha\\\": true\\n}\\n```\\n*Note:* when using a Notification Channel sometimes you will get a response code `202 Accepted` without response body. This means that Realtime API couldn't process your request immediately, but your subscriptions will be created in a short while, typically within a few seconds. You can check your subscriptions by querying your session.\\n\\n\\n# Subscription Types\\n\\n## Dialog\\n\\nThe `dialog` subscription type allows you to subscribe to call state information for a single line.\\n\\nThe `subscription` takes the following form in which\\n* the `entity.type` value must be `line.v2`\\n* the `entity.id` value must be the ID of a line to which the requesting user has permissions to subscribe\\n* the `entity.account` value must be the organization ID of the organization to which the `line` specified by `entity.id` belongs.\\n\\n```\\n{\\n  \\\"id\\\":\\\"elisha\\\",\\n  \\\"type\\\":\\\"dialog\\\",\\n  \\\"entity\\\": {\\n    \\\"id\\\":\\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\n    \\\"type\\\":\\\"line.v2\\\",\\n    \\\"account\\\":\\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\"\\n  }\\n}\\n```\\n\\nThe resulting messages received over the WebSocket contain the following structure:\\n\\n* `legId` the unique ID for this call state snapshot, related to the line on a particular device. In case you have multiple devices on the same line (eg. a soft-phone, and a hard-phone), you would receive multiple events with different `legId`. If the `originatorId` is the same for both events, they belong to the same call.\\n* `type` the type of the event either `announce`, `replace`, `withdraw` and `keepalive`. See more details below with examples.\\n* `direction` a representing the role of the line in the call represented by this state snapshot. Valid values are:\\n  * `recipient` the line used to create the subscription received an incoming call\\n  * `initiator` the line used to create the subscription placed an outgoung call\\n\\n* `created` the Unix timestamp, in ms, at which the call reflected by this state snapshot was created\\n* `ani` the origination telephone number. This is the first number the call was made to. The field is populated when the call hits a call queue. The ANI is not related to the caller ID such as call display.  This field is useful for tracking the number the caller originally called, regardless of transfers and other call changes - allows you to correlate incoming calls to marketing campaigns with a specific phone number for example.\\n* `state` the current state of the call from a telephony standpoint. Note that more than one BRIDGED <-> UNBRIDGED cycles are possible. Valid values are:\\n  * `CREATED` - event that is produced when a new leg is created.\\n  * `RINGING` - event that is produced when a leg begins ringing.\\n  * `ANSWERED` - event that is produced when a leg gets answered.\\n  * `BRIDGED` - event that is produced when a leg gets connected to something.\\n  * `UNBRIDGED` - event that is produced when a leg gets disconnected from something.\\n  * `HUNGUP` - event that is produced when an existing leg gets destroyed.\\n* `callee` - identity of the entity receiving the call.\\n  * `name` - name of the callee.\\n  * `number` - number of the callee.\\n* `caller` - identity of the entity making the call.\\n  * `name` - name of the caller.\\n  * `number` - number of the caller. That might be a phone number or an extension number.\\n* `participant` - address of record (SIP username)\\n* `isClickToCall` - boolean value, true if the call was initiated by Click-to-Call flow, false otherwise\\n* `originatorId` - unique id of the entity that triggered the creation of this leg\\n\\n### Example Data for `line.v2` Subscription Type\\nYou receive real time state updates upon creation of a new subscription.\\nEach state update is a self contained snapshot of the state of the resource represented\\nby the `subscription` that generated the update.  While sending complete state snapshots is less efficient than\\nsending deltas, the client side logic to manage state updates and synchronization can be greatly simplified by\\nworking only with complete state snapshots.\\n\\nThe Real Time API uses four message types over the WebSocket and three types over the notification channel. Let's list them.\\n\\n**Important:** When using a notification channel, these messages will be in the `content` field of the message received on the notification channel. You can find more information about the exact payload in the description of the [Notification Channel createChannel](https://developer.goto.com/GoToConnect#operation/createChannel) method.\\nHere is an example of such message:\\n```\\n{\\n\\t\\\"source\\\": \\\"realtime-api\\\",\\n\\t\\\"type\\\": \\\"line.v2\\\",\\n\\t\\\"timestamp\\\": \\\"2021-08-26T11:13:42.397946Z\\\",\\n\\t\\\"ttl\\\": 3600,\\n\\t\\\"content\\\": \\\"{SEE_MESSAGE_CONTENT_BELOW}\\\",\\n\\t\\\"bypassDoNotDisturb\\\": false\\n}\\n```\\n\\n**Announce**\\n\\nThis message indicates that a `subscription` resulted in a a new state snapshot previously\\nunknown to the current connection. Also, upon disconnection and reconnection,\\nthe last relevant state will be published using this state. The following example represents a snapshot of call state\\ngenerated from the `subscription` with ID `elisha`.\\n```\\n{\\n  \\\"type\\\": \\\"announce\\\",\\n  \\\"subId\\\": \\\"elisha\\\",\\n  \\\"entityId\\\": \\\"9d\\\",\\n  \\\"data\\\": {\\n    \\\"legId\\\": \\\"dcfb5e21-e2f7-430c-b07c-c0ed0f114a60-1582109247.16853\\\",\\n    \\\"created\\\": 1490792855704,\\n    \\\"participant\\\": \\\"4YEnv05UehWIMwNrHz0tQVVksALmci\\\",\\n    \\\"direction\\\": \\\"recipient\\\",\\n    \\\"state\\\": \\\"CREATED\\\",\\n    \\\"callee\\\": {\\n      \\\"name\\\": \\\"John Doe\\\",\\n      \\\"number\\\": \\\"1015\\\"\\n    },\\n    \\\"caller\\\": {\\n      \\\"name\\\": \\\"Ronnie O'Sullivan\\\",\\n      \\\"number\\\": \\\"1000\\\"\\n    },\\n    \\\"isClickToCall\\\": false,\\n    \\\"originatorId\\\": \\\"a40ad185-9e94-454b-a57a-b52ae6029ba6\\\"\\n  }\\n}\\n```\\n\\n**Replace**\\n\\nThis message indicates a new state snapshot for a resource known to the current connection.\\nThe update references a previously received `oldId` and assigns the state a new ID via `newId`. These IDs correspond\\nto IDs provided in previously received *announce/replace* messages as `entityId/newId`.\\n\\n```\\n{\\n  \\\"type\\\": \\\"replace\\\",\\n  \\\"subId\\\": \\\"elisha\\\",\\n  \\\"oldId\\\": \\\"9d\\\",\\n  \\\"newId\\\": \\\"9e\\\",\\n  \\\"data\\\": {\\n    \\\"legId\\\": \\\"dcfb5e21-e2f7-430c-b07c-c0ed0f114a60-1582109247.16853\\\",\\n    \\\"created\\\": 1490792855704,\\n    \\\"participant\\\": \\\"4YEnv05UehWIMwNrHz0tQVVksALmci\\\",\\n    \\\"callee\\\": {\\n      \\\"name\\\": \\\"John Doe\\\",\\n      \\\"number\\\": \\\"1015\\\"\\n    },\\n    \\\"caller\\\": {\\n      \\\"name\\\": \\\"Ronnie O'Sullivan\\\",\\n      \\\"number\\\": \\\"1000\\\"\\n    },\\n    \\\"direction\\\": \\\"recipient\\\",\\n    \\\"state\\\": \\\"RINGING\\\",\\n    \\\"isClickToCall\\\": false,\\n    \\\"originatorId\\\": \\\"a40ad185-9e94-454b-a57a-b52ae6029ba6\\\"\\n  }\\n}\\n```\\n\\n**Withdraw**\\n\\nThis message indicates that the state of the resource has been destroyed.  You will no longer see\\nupdates for this resource via *replace* messages.\\n\\n```\\n{\\n  \\\"type\\\": \\\"withdraw\\\",\\n  \\\"subId\\\": \\\"elisha\\\",\\n  \\\"entityId\\\": \\\"9e\\\",\\n  \\\"data\\\": {\\n    \\\"legId\\\": \\\"dcfb5e21-e2f7-430c-b07c-c0ed0f114a60-1582109247.16853\\\",\\n    \\\"created\\\": 1490792855704,\\n    \\\"participant\\\": \\\"4YEnv05UehWIMwNrHz0tQVVksALmci\\\",\\n    \\\"callee\\\": {\\n      \\\"name\\\": \\\"John Doe\\\",\\n      \\\"number\\\": \\\"1015\\\"\\n    },\\n    \\\"caller\\\": {\\n      \\\"name\\\": \\\"Ronnie O'Sullivan\\\",\\n      \\\"number\\\": \\\"1000\\\"\\n    },\\n    \\\"direction\\\": \\\"recipient\\\",\\n    \\\"state\\\": \\\"HUNGUP\\\",\\n    \\\"isClickToCall\\\": false,\\n    \\\"originatorId\\\": \\\"a40ad185-9e94-454b-a57a-b52ae6029ba6\\\"\\n  }\\n}\\n```\\n\\n**Keepalive**\\n\\nThis message, sent every 30 seconds, indicates that the server connection is still active.  Clients\\nshould use this application level keep alive as an indicator of a healthy connection as not all WebSocket client\\nlibraries support the direct use of the WebSocket ping / pong exchange.\\n\\n*Note:* There are no Keepalive messages sent by the Realtime API when using the Notification Channel.\\n\\n```\\n{\\n  \\\"type\\\":\\\"keepalive\\\"\\n}\\n```\\n\"\n    x-displayName: Realtime Overview\n  - name: Call Reports Overview\n    description: |\n      The Call Reports API allows you to consume data about call detail records.  Each report endpoint represents data from a different perspective: your users, your external callers, or your organization phone numbers (DID).\n\n      > &#x26a0;&#xfe0f; The data retention period for this API is limited to 13 months.\n\n      See the [Calls Reports help documentation](https://support.goto.com/jive/help/how-do-i-access-call-reports-jive-access-cr) for more information on reporting perspectives.\n      ### Authorizations\n      In order to call this API your token must represent a user which:\n      * Is a member of a GoTo organization\n      * Has the [View Reports or Super Admin permissions](https://support.goto.com/jive/help/how-do-i-access-call-reports-jive-access-cr)\n\n      ### Authentication Scopes\n      `cr.v1.read` must be used when a token is requested from the Authentication API.\n      ### Special Note About Filtering by Organization\n      For all endpoints, if no organization is given as a query parameter and the user represented by the access token only belongs to a single organization, this organization will be taken to filter results. If the user represented by the access token belongs to more than one organization, you MUST pass an `organizationId` for the filtering. Otherwise, you will get a 400 (Bad Request) HTTP status with this body\n      ```\n      {\n        \"reference\": \"fddsfj20hf2ihsusl\",\n        \"errorCode\": \"MANDATORY_ORGANIZATION_ID\",\n        \"message\": \"Parameter organizationId must be set\"\n      }\n      ```\n\n      You can use the [Users API](/GoToConnect/#tag/Users-Overview) to fetch the organizations of the given user.\n    x-displayName: Call Reports Overview\n  - name: Call History Overview\n    description: |\n      The call history API allows you to receive notifications based on call activities. That can be useful in the case that your system\n      needs to know if a call was missed or not.\n\n      You will need a valid GoTo account to use this API as all calls to this service require a GoTo authentication token. Also, the endpoints may require an accountKey parameter if your user has multiple accounts.\n\n      ### Authentication Scopes\n      | Scope | Description |\n      | ------- | ------------- |\n      | cr.v1.read | Allows the application to read call history |\n      | call-history.v1.notifications.manage | Allows the application to manage call history subscriptions |\n\n\n      ### Usage\n\n      The API provides a lot of details, you may need to do some postprocessing on the client.\n      For example, to filter on unanswered calls, look at calls with `direction = OUTBOUND` and an absent `answerTime`.\n    x-displayName: Call History Overview\n  - name: Call Control Overview\n    description: |\n      The call control API allows you to control various functionalities of a call like the ability to pause and unpause recording on the call.\n\n      An OAuth token is required for all requests in this API. The user represented by the token must also belong in an account (pbx). Some endpoints may require an accountKey parameter as well if your user has multiple accounts.\n\n      This API refers to the concept of a conversation which is explained in details in \n      [rfc5850](https://datatracker.ietf.org/doc/html/rfc5850). A conversation is a set\n      of participants that are communicating with each other by sending and receiving media to each\n      other. For this API, the participants that are part of a conversation will have one or \n      more call legs that may be interacted with.\n\n      For a simple example, in a simple conversation with 2 participants A & B, the call legs will be\n      as follows:\n\n      `A <--Call-Leg1--> GoTo Platform <--Call-Leg2--> B`\n\n      ### Authentication Scopes\n\n      | Scope | Description |\n      | ------- | ------------- |\n      | call-control.v1.calls.control | Controls various functionalities of a call |\n\n      ### Authorization\n\n      To use the /call-legs/ endpoints of this API, the authenticated user must be a [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions)\n      or [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-admin-permissions-gotoconnect-give-admin-permissions).\n    x-displayName: Call Control Overview\n  - name: Call Events Overview\n    description: |\n\n      Call events provide an aggregated view of the state of ongoing calls.\n      The associated APIs allow subscribing to and retrieving the call events in an organization.\n\n\n      # API Usage Guidelines\n\n      This API assumes that clients are implemented in such a way that unknown\n      attributes are ignored. The addition of new response attributes may occur\n      at any time, for any API response, without prior notice. This is not\n      considered a breach of backward compatibility.\n\n      ## Limit on Call Event Count per Conversation Space\n\n      The number of events for any single conversation space is currently limited to a sensible maximum (as of 10/2023: **250**, this limit might be revisited as necessary depending on usage)\n      so as to prevent congesting the system.\n      This is 249 `STARTING` or `ACTIVE` events (at most, all subsequent ones are discarded) and 1 `ENDING` event for a conversation space.\n      If the events were truncated, the `ENDING` event will contain the field `metadata.truncated` with the value set to true.\n\n\n      # Call Event Payload\n\n      The call event payload shall list the account to which the event is associated and the participants involved in the call.\n      The notion of a call in this API matches that of the conversation space as described in details in [RFC 5850](https://datatracker.ietf.org/doc/html/rfc5850).\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:13:50.147Z\",\n          \"accountKey\": \"2930718022414574861\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"e17957a3-c95e-423a-9af9-3179f0386bb2\",\n          \"sequenceNumber\": 5,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"recordings\": [\n            {\n              \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n              \"startTimestamp\": \"2022-04-26T18:13:51.147Z\",\n              \"pauses\": [\n                {\n                  \"pauseTimestamp\": \"2022-04-26T18:13:55.147Z\",\n                  \"unpauseTimestamp\": \"2022-04-26T18:14:00.147Z\"\n                }\n              ],\n              \"transcriptEnabled\": true\n            }\n          ],\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"callProvider\": \"PSTN\",\n                \"caller\": {\n                  \"name\": \"unknown\",\n                  \"number\": \"+12345678945\"\n                },\n                \"contact\": {\n                  \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n                }\n              },\n              \"recordings\": [\n                {\n                  \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                  \"startTimestamp\": \"2022-04-26T18:13:51.147Z\",\n                  \"pauses\": [\n                    {\n                      \"pauseTimestamp\": \"2022-04-26T18:13:55.147Z\",\n                      \"unpauseTimestamp\": \"2022-04-26T18:14:00.147Z\"\n                    }\n                  ],\n                  \"transcriptEnabled\": true\n                }\n              ]\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                  \"user\": {\n                    \"id\": \"262d1525-cb65-4bfb-9f10-17c3799078b8\"\n                  }\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Bob\"\n              }\n            }\n          ]\n        }\n      }\n      ```\n      </details>\n\n      Here is an overview of the Call Event payload. The payload is described in more details in the descriptions of the endpoints further down.\n\n      | Parameter                          | Description                 |\n      |------------------------------------|-----------------------------|\n      | `metadata.direction`               | `OUTBOUND` if the call started from the platform, `INBOUND` otherwise |\n      | `metadata.accountKey`              | Identifier of the account (used for the subscription) |\n      | `metadata.conversationSpaceId`     | Unique identifier of a call (conversation space) |\n      | `metadata.callCreated`             | Timestamp when the call was initially created on the platform |\n      | `metadata.callInitiator`           | Initiator of the call. Allows categorizing a call by how it was triggered. This field is optional and will only be displayed once its value has been determined. Possible values are `CLICK_TO_CALL`, `CALLBACK`, `CAMPAIGN`, `DIRECT` |\n      | `metadata.associatedConversations[]` | Conversations that associated with each other after a warm transfer event occurred.  Conversations that were initiated by CLICK_TO_CALL, CAMPAIGN and CALL_QUEUE can also be associated. |\n      | `metadata.hangupOriginatorId`      | The identifier for the participant that initiated the hangup leading to the end of the conversation. |\n      | `metadata.dialString`              | The dialed number. Only present when the `direction` is not `INBOUND` |\n      | `metadata.initiatorId`     | Identifier of the initiator that triggered the creation of this conversation space. For example if `callInitiator` is `CLICK_TO_CALL`, this is the `initiatorId` you receive on the [Calls API](https://developer.goto.com/GoToConnect/#tag/Calls-Overview) |\n      | `metadata.truncated`       | Indicates if the call events were truncated. Only present on the `ENDING` event when the value is `true`. |\n      | `state.id`                         | Identifier of the event     |\n      | `state.sequenceNumber`             | Provides ordering of events. The number of events for any single conversation space will be limited to a sensible maximum so as to prevent congesting the system |\n      | `state.type`                       | Type of the call events: `STARTING`, `ACTIVE`, `ENDING` |\n      | `state.timestamp`                  | Event timestamp             |\n      | `state.recordings[]`                 | Array of recording objects. There can be more than one recording. The array is empty when the call has not been recorded. Recordings are only added to the state if the participant is PHONE_NUMBER type. |\n      | `state.participants[]`               | Lists all the participants of the call |\n      | `state.participants[].id`          | Identifier of the participant in the call |\n      | `state.participants[].legId`       | Identifier of the leg of the participant in the call |\n      | `state.participants[].originator`  | Identifier of the participant whose action created this participant. If it is the same as the `id`, it means that this is the first participant in this call. It can relate to a participant no longer active in this call, for example in case of a transfer |\n      | `state.participants[].status`      | Status object of the participant in the call. Possible `value`s are: `RINGING`, `CONNECTED`, `ON_HOLD`, `LISTENING`, `WHISPERING`, `PARKED`, `IN_DIRECT_TRANSFER`, `IN_WARM_TRANSFER`, `IN_DEVICE_FORWARDING`, `IN_INTERACTIVE_VOICE_RESPONSE`, `DISCONNECTING`, will also have meta-information such as `initiator`, `whisperingToParticipant`, `parkingLot`, `transferrer`, `destination`. |\n      | `state.participants[].type`        | Type object of the participant in the call. Possible `value`s are: `PHONE_NUMBER`, `LINE`, `PHONE_NUMBER_UNKNOWN`. |\n      | `state.participants[].type.lineId` | Identifier of the line of the participant |\n      | `state.participants[].type.deviceId` | Identifier of the device of the participant (deprecated) |\n      | `state.participants[].type.extensionNumber` | Extension number of the participant |\n      | `state.participants[].type.name`   | Name associated to the line     |\n      | `state.participants[].type.phoneNumberId` | Identifier of the phone number of the participant |\n      | `state.participants[].type.number` | Phone number of the participant |\n      | `state.participants[].type.callProvider` | The call provider for the phone number. Possible values are: `PSTN`, `BYOC`, `WHATSAPP` |\n      | `state.participants[].type.caller` | Information about the caller of a phone number |\n      | `state.participants[].type.caller.number` | Number of the caller |\n      | `state.participants[].type.caller.name` | Name of the caller. If the number is available in any of the organization's contacts, the name of the contact will be used here. Otherwise the Caller ID name is shown. |\n      | `state.participants[].type.callee` | Information about the callee of a phone number |\n      | `state.participants[].type.callee.number` | Number of the callee |\n      | `state.participants[].type.callee.name` | Name of the callee. If the number is available in any of the organization's contacts, the name of the contact will be used here. |\n      | `state.participants[].type.device` | Information about the device the participant is using |\n      | `state.participants[].type.device.id` | Identifier of the device the participant is using |\n      | `state.participants[].type.device.model` | Model identifier of the device the participant is using |\n      | `state.participants[].type.device.user` | Information about the user authorized on the device |\n      | `state.participants[].type.device.user.id` | UserID of the user authorized on the device  |\n      | `state.participants[].recordings` | Array of recording objects. The array is empty when the call has not been recorded. Recording from the participant's perspective. |\n      | `state.participants[].type.contact` | Contact object of the participant in the call (only for PHONE_NUMBER participants). |\n      | `state.participants[].type.contact.id` | Identifier of the contact of the participant in the call. |\n      | `state.participants[].type.contact.notAddedReason` | Reason why contact was not added to the participant. Possible values: MULTIPLE_CONTACTS, NO_CONTACT. |\n      | `state.interactiveVoiceResponseSystems[]`              | Information about Interactive Voice Response systems with which a participant might be interacting |\n      | `state.interactiveVoiceResponseSystems[].id`         | Conversation space-specific identifier of the Interactive Voice Response system |\n      | `state.interactiveVoiceResponseSystems[].originator` | Identifier of the participant who is involved with this Interactive Voice Response system |\n      | `state.interactiveVoiceResponseSystems[].status`     | Status object of the Interactive Voice Response system. Possible `value`s are: `CONNECTED`, `DISCONNECTING` |\n      | `state.interactiveVoiceResponseSystems[].type`       | Type object of the Interactive Voice Response system. Possible `value`s are: `CALL_QUEUE`, `QUEUE_CALLBACK`, `CAMPAIGN`, `DIAL_PLAN`, `VOICEMAIL`, `SATISFACTION_SURVEY`. It will also have meta-information about the Interactive Voice Response system |\n\n      ## Participant\n      A participant represents an entity participating in the call. A participant can represent a caller, an agent,\n      or any other entity with which a caller can interact (Interactive Voice Response systems are separate).\n\n      In a 'A calls B' scenario, the first participant is the Caller and the second participant is the Callee.\n      In this scenario both participants will go through the `RINGING`->`CONNECTED`->`DISCONNECTING` statuses, where `DISCONNECTING` happens upon hanging up.\n      When both participants are in the `CONNECTED` status, it means that they are bridged together and they can hear each other.\n      If a participant's status changes to `DISCONNECTING`, it means that this participant initiated hanging up and is leaving the conversation.\n\n      # Retrieving Call Events\n\n      ## Via Subscription\n\n      Subscribing to call events requires using a Notification Channel obtained through the\n      [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\n      When using a notification channel, the above-described events will be in the `content` field of the message received\n      on the notification channel. You can find more information about the exact payload in the description of the\n      [Notification Channel's createChannel](https://developer.goto.com/GoToConnect#operation/createChannel) method.\n\n      To be notified of call events, you have to subscribe to the accounts or lines in which you are interested.\n      If you subscribe to both an account and a line for this given account, you will receive all the events for the account.\n      In the case of a subscription to a line, call events will only be sent while this specific line exists within any given conversation space\n      eventually giving only a partial view of the conversation space for instance in the case of the line of an agent who joins and leaves the\n      conversation space partway through the call.\n\n      ### Subscribing to Accounts\n\n      *Request*\n\n      ```json\n      curl -X POST 'https://api.goto.com/call-events/v1/subscriptions' -H 'Authorization: Bearer {ACCESS_TOKEN}' -H 'Content-Type: application/json' \\\n\n      -d '{\n           \"channelId\": \"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\",\n           \"accountKeys\": [\n             { \"id\": \"2930718022414574861\" },\n             { \"id\": \"9531642553094935756\" }\n             ]\n         }'\n      ```\n\n      The endpoint sends an `HTTP 207 Multi-status` response containing the requested accounts and their subscription status.\n\n      *Response*\n\n      ```json\n      {\n        \"accountKeys\": [\n          {\n            \"id\": \"2930718022414574861\",\n            \"status\": 200,\n            \"message\": \"Success\"\n          },\n          {\n            \"id\": \"9531642553094935756\",\n            \"status\": 200,\n            \"message\": \"Success\"\n          }\n        ]\n      }\n      ```\n\n      ### Subscribing to Line Ids\n\n      *Request*\n\n      ```json\n      curl -X POST 'https://api.goto.com/call-events/v1/subscriptions' -H 'Authorization: Bearer {ACCESS_TOKEN}' -H 'Content-Type: application/json' \\\n\n      -d '{\n           \"channelId\": \"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\",\n           \"lineIds\": [\n             { \"id\": \"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\" },\n             { \"id\": \"6ebb0c57-3632-40bd-8c24-54dd065d5fc8\" }\n             ]\n         }'\n      ```\n\n      The endpoint sends an `HTTP 207 Multi-status` response containing the requested line ids and their subscription status.\n\n      *Response*\n\n      ```\n\n      {\n        \"lineIds\": [\n          {\n            \"id\": \"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\",\n            \"status\": 200,\n            \"message\": \"Success\"\n          },\n          {\n            \"id\": \"6ebb0c57-3632-40bd-8c24-54dd065d5fc8\",\n            \"status\": 200,\n            \"message\": \"Success\"\n          }\n        ]\n      }\n\n      ```\n\n      Once subscriptions are created you can use the `GET /subscriptions` endpoint to query\n      your existing subscriptions for a specific Notification Channel.\n\n      *Request*\n\n      ```\n\n      curl 'https://api.goto.com/call-events/v1/subscriptions?channelId=1132cf5d-b186-42c9-a1bf-b84d1bfe1111' -H 'Authorization: Bearer {ACCESS_TOKEN}' -H 'Content-Type: application/json'\n\n      ```\n\n      *Response*\n\n      ```\n\n      {\n        \"accountKeys\": [\n          \"2930718022414574861\",\n          \"9531642553094935756\"\n        ],\n        \"lineIds\": [\n          \"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\",\n          \"6ebb0c57-3632-40bd-8c24-54dd065d5fc8\"\n        ]\n      }\n\n      ```\n\n      To delete some or all of the subscriptions, use the `DELETE /subscriptions` endpoint.\n      If no `accountKey` is provided, all of the subscriptions for the provided Notification Channel\n      will be cleared, giving you a clean slate.\n\n      *Request*\n\n      ```\n\n      curl -X DELETE 'https://api.goto.com/call-events/v1/subscriptions?channelId=1132cf5d-b186-42c9-a1bf-b84d1bfe1111&accountKey=2930718022414574861&lineId=6ebb0c57-3632-40bd-8c24-54dd065d5fc8' -H 'Authorization: Bearer {ACCESS_TOKEN}' -H 'Content-Type: application/json'\n\n      ```\n\n      The endpoint sends a `HTTP 204 No Content` response code if all the requested subscriptions were removed successfully.\n\n      **Note**: removing the subscriptions on the `DELETE /subscriptions` endpoint will not\n      remove the Notification Channel. To delete a channel entirely, use the [Notification Channel API](https://developer.goto.com/GoToConnect#tag/Channels).\n\n\n      ### Subscribing to Different Types of Events\n\n      There are 3 types of events that you can receive:\n\n      * `STARTING` indicates that the call is starting\n      * `ACTIVE` indicates that the call is ongoing\n      * `ENDING` indicates that the call is ending\n\n      By default you will receive every status update from a call where at least one of your subscriptions is involved.\n\n      To change the type of events you receive for your subscriptions, you have to recreate your subscriptions on the `POST /subscriptions` endpoint\n      with the type of events you want to receive:\n\n      `STARTING` - receive events in `STARTING` state, when a call starts\n\n      `ACTIVE` - receive events in `ACTIVE` state\n\n      `ENDING` - receive events in `ENDING` state, when a call ends\n\n      *Request*\n\n      ```\n\n      curl -X POST 'https://api.goto.com/call-events/v1/subscriptions' -H 'Authorization: Bearer {ACCESS_TOKEN}' -H 'Content-Type: application/json' \\\n\n      -d '{\n            \"channelId\": \"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\",\n            \"accountKeys\": [\n              {\n                \"id\": \"2930718022414574861\",\n                \"events\": [\"ACTIVE\"]\n              },\n              {\n                \"id\": \"9531642553094935756\",\n                \"events\": [\"STARTING\", \"ACTIVE\", \"ENDING\"]\n              }\n            ]\n          }'\n\n      ```\n\n      ### Receiving Events on the Notification Channel\n\n      Once subscribed to an account, you will receive events on the Notification Channel. The payload\n      described in this document will be in the `content` field of the message received on the notification\n      channel. You can find more information about the exact payload in the description of the [Notification Channel's `createChannel` method](https://developer.goto.com/GoToConnect#operation/createChannel).\n      Here is an example of such message that contains an `ACTIVE` event type.\n\n      ```\n\n      {\n          \"source\": \"call-events\",\n          \"type\": \"call-state\",\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"ttl\": 3600,\n          \"content\": \"{\\\"metadata\\\":{\\\"callCreated\\\":\\\"2022-04-26T18:13:50.147Z\\\",\\\"accountKey\\\":\\\"2930718022414574861\\\",\\\"conversationSpaceId\\\":\\\"39436a34-e3ce-4701-976d-2e38f8b12b44\\\",\\\"direction\\\":\\\"INBOUND\\\"},\\\"state\\\":{\\\"id\\\":\\\"ec7f1642-83c1-4e9f-beec-a26576b7e019\\\",\\\"sequenceNumber\\\":5,\\\"timestamp\\\":\\\"2022-04-26T18:14:50.147Z\\\",\\\"type\\\":\\\"ACTIVE\\\",\\\"recordings\\\":[{\\\"id\\\":\\\"12324\\\",\\\"startTimestamp\\\":\\\"2022-04-26T18:13:51.053Z\\\",\\\"transcriptEnabled\\\": true}],\\\"participants\\\":[{\\\"id\\\":\\\"af70e5ea-1e14-47cc-84d9-bfec058a16a4\\\",\\\"legId\\\":\\\"fefad6f0-2456-4b9a-a712-d7abcb625fdb\\\",\\\"originator\\\":\\\"af70e5ea-1e14-47cc-84d9-bfec058a16a4\\\",\\\"status\\\":{\\\"value\\\":\\\"CONNECTED\\\"},\\\"type\\\":{\\\"value\\\":\\\"PHONE_NUMBER\\\",\\\"phoneNumberId\\\":\\\"afa67cca-c089-4ac6-a791-95d87cdea7dc\\\",\\\"number\\\":\\\"+19881234567\\\",\\\"caller\\\":{\\\"name\\\":\\\"unknown\\\",\\\"number\\\":\\\"+12345678945\\\"}}},{\\\"id\\\":\\\"cfbce290-3ef9-4ebf-a596-f29a671908fb\\\",\\\"legId\\\":\\\"124bd59e-cad2-4809-b3d7-84447f20605e\\\",\\\"originator\\\":\\\"af70e5ea-1e14-47cc-84d9-bfec058a16a4\\\",\\\"status\\\":{\\\"value\\\":\\\"CONNECTED\\\"},\\\"type\\\":{\\\"value\\\":\\\"LINE\\\",\\\"lineId\\\":\\\"99be59bc-edfc-4c62-a73f-06087ec2fe00\\\",\\\"deviceId\\\":\\\"186e4682-e88b-48a9-973d-6870e0b10a8f\\\",\\\"extensionNumber\\\":\\\"1015\\\",\\\"name\\\":\\\"Bob\\\"}}]}}\",\n          \"bypassDoNotDisturb\": false\n      }\n\n      ```\n\n      **Important:** Ordered delivery of events is not guaranteed but is on a best effort basis.\n      Each event contains a `sequenceNumber` and `conversationSpaceId` field. You can use these fields to\n      order the events or detect any missing events in a given call. You can fetch\n      missed events with the REST endpoint described further down in this document.\n\n      #### Retry Policy\n      When trying to send a call event to a webhook, the service will time out after 4 seconds.\n      In the case of a failure on the receiving end or if the sending times out, retries for sending the notification will be done as follows:\n\n      * 5 retries at 1-second intervals,\n      * 5 retries at 5-second intervals,\n      * 5 retries at 30-second intervals,\n      * retries at 5-minute intervals until notification is 1-hour old.\n\n      For examples of what can be considered a failure to receive a notification, refer to [the Notification Channel Webhook Section](https://developer.goto.com/GoToConnect#section/Webhook).\n\n      ## Via REST\n\n      To consume events without a subscription or to retrieve past events of active calls, you can use the `/conversation-spaces` endpoint.\n\n      To retrieve the active calls and their latest event where a given account is involved,\n      call the `/conversation-spaces` endpoint with the specific query parameter. For example to retrieve the last state\n      of active call for account `2930718022414574861`, call the endpoint as described below.\n\n      *Request*\n\n      ```\n\n      curl -X GET 'https://api.goto.com/call-events/v1/conversation-spaces?accountKey=2930718022414574861&lineId=99be59bc-edfc-4c62-a73f-06087ec2fe00' -H 'Authorization: Bearer {ACCESS_TOKEN}' -H 'Content-Type: application/json'\n\n      ```\n\n      The response will be a list of the different calls and their latest event.\n\n      *Response*\n\n      ```\n\n      {\n        \"pageSize\": 100,\n        \"nextPageMarker\": null,\n        \"items\": [\n          {\n            \"metadata\": {\n              \"callCreated\": \"2022-04-26T18:15:15.147Z\",\n              \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n              \"callInitiator\": \"DIRECT\",\n              \"accountKey\": \"2930718022414574861\",\n              \"direction\": \"INBOUND\"\n            },\n            \"state\": {\n              \"id\": \"e17957a3-c95e-423a-9af9-3179f0386bb2\",\n              \"sequenceNumber\": 5,\n              \"timestamp\": \"2022-04-26T18:15:20.147Z\",\n              \"type\": \"ACTIVE\",\n              \"recordings\": [\n                {\n                  \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                  \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                  \"transcriptEnabled\": true\n                }\n              ],\n              \"participants\": [\n                {\n                  \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                  \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                  \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                  \"status\": {\n                    \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n                  },\n                  \"type\": {\n                    \"value\": \"PHONE_NUMBER\",\n                    \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                    \"name\": \"+19881234567\",\n                    \"number\": \"+19881234567\",\n                    \"caller\": {\n                      \"name\": \"Alice\",\n                      \"number\": \"+12345678945\"\n                    },\n                    \"contact\": {\n                      \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n                    }\n                  },\n                  \"recordings\": [\n                    {\n                      \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                      \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                      \"transcriptEnabled\": true\n                    }\n                  ]\n                }\n              ],\n              \"interactiveVoiceResponseSystems\": [\n                {\n                  \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n                  \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                  \"status\": {\n                    \"value\": \"CONNECTED\"\n                  },\n                  \"type\": {\n                    \"value\": \"DIAL_PLAN\",\n                    \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                    \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                    \"currentNode\": {\n                      \"id\": \"CallQueueNode_1066\",\n                      \"type\": \"CallQueueNode\"\n                    }\n                  }\n                },\n                {\n                  \"id\": \"c3e5f222-4a1b-4e35-a6ba-0813d4c32988\",\n                  \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                  \"status\": {\n                    \"value\": \"CONNECTED\"\n                  },\n                  \"type\": {\n                    \"value\": \"CALL_QUEUE\",\n                    \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n                    \"queueName\": \"Call Queue - Sales\",\n                    \"queueType\": \"BASIC\",\n                    \"configuredWrapUpDuration\": 0\n                  }\n                }\n              ]\n            }\n          },\n          {\n            \"metadata\": {\n              \"callCreated\": \"2022-04-26T18:10:20.147Z\",\n              \"conversationSpaceId\": \"b29da37f-28f4-4568-a753-347f3f298fee\",\n              \"callInitiator\": \"DIRECT\",\n              \"accountKey\": \"2930718022414574861\",\n              \"direction\": \"INBOUND\"\n            },\n            \"state\": {\n              \"id\": \"77ca55d8-3ca5-4a8f-ace3-e3950240b202\",\n              \"sequenceNumber\": 12,\n              \"timestamp\": \"2022-04-26T18:15:20.147Z\",\n              \"type\": \"ACTIVE\",\n              \"recordings\": [\n                {\n                  \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                  \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                  \"transcriptEnabled\": true\n                }\n              ],\n              \"participants\": [\n                {\n                  \"id\": \"ac9b7227-d063-4238-8255-0560e2175dff\",\n                  \"legId\": \"17a89e57-f7ff-418b-b703-a4ceef51c979\",\n                  \"originator\": \"ac9b7227-d063-4238-8255-0560e2175dff\",\n                  \"status\": {\n                    \"value\": \"CONNECTED\"\n                  },\n                  \"type\": {\n                    \"value\": \"PHONE_NUMBER\",\n                    \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                    \"name\": \"+19881234567\",\n                    \"number\": \"+19881234567\",\n                    \"caller\": {\n                      \"name\": \"Cecil\",\n                      \"number\": \"+12987654489\"\n                    },\n                    \"contact\": {\n                      \"notAddedReason\": \"MULTIPLE_CONTACTS\"\n                    }\n                  },\n                  \"recordings\": [\n                    {\n                      \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                      \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                      \"transcriptEnabled\": true\n                    }\n                  ]\n                },\n                {\n                  \"id\": \"71041595-7b1b-4955-a318-d75ce084c107\",\n                  \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n                  \"originator\": \"3ca716d3-0c59-4e23-9caf-a09f607ba525\",\n                  \"status\": {\n                    \"value\": \"CONNECTED\"\n                  },\n                  \"type\": {\n                    \"value\": \"LINE\",\n                    \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                    \"device\": {\n                      \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                      \"model\": \"goto.clients\",\n                      \"user\": {\n                        \"id\": \"262d1525-cb65-4bfb-9f10-17c3799078b8\"\n                      }\n                    },\n                    \"extensionNumber\": \"1015\",\n                    \"name\": \"Agent Bob\"\n                  }\n                }\n              ]\n            }\n          }\n        ]\n      }\n\n      ```\n\n      You can also retrieve specific parts of a call. For example the below request retrieves\n      events from sequence number 3 to sequence number 5 of conversation `43643517-5c98-4102-942f-882d86a4a0fa`.\n\n      *Request*\n\n      ```\n\n      curl -X GET 'https://api.goto.com/call-events/v1/conversation-spaces/43643517-5c98-4102-942f-882d86a4a0fa/events?sequenceFrom=3&sequenceTo=5 -H 'Authorization: Bearer {ACCESS_TOKEN}' -H 'Content-Type: application/json'\n\n      ```\n\n      *Response*\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"pageSize\": 100,\n        \"nextPageMarker\": null,\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:49.147Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"states\": [\n          {\n            \"id\": \"e17957a3-c95e-423a-9af9-3179f0386bb2\",\n            \"sequenceNumber\": 3,\n            \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:14:50.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"+19881234567\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:14:50.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ],\n                \"contact\": {\n                  \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n                  }\n              }\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"DIAL_PLAN\",\n                  \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                  \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                  \"currentNode\": {\n                    \"id\": \"AttendantPromptNode_1005\",\n                    \"type\": \"AttendantPromptNode\",\n                    \"option\": \"2\",\n                    \"result\": \"DIALED_OPTION\"\n                  }\n                }\n              }\n            ]\n          },\n          {\n            \"id\": \"fdbc8af1-f122-400a-9c5e-7efae7a5508f\",\n            \"sequenceNumber\": 4,\n            \"timestamp\": \"2022-04-26T18:15:20.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:14:50.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"+19881234567\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:14:50.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ],\n                \"contact\": {\n                  \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n                  }\n              }\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"DIAL_PLAN\",\n                  \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                  \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                  \"currentNode\": {\n                    \"id\": \"AttendantPromptNode_1005\",\n                    \"type\": \"AttendantPromptNode\",\n                    \"option\": \"2\",\n                    \"result\": \"DIALED_OPTION\"\n                  }\n                }\n              }\n            ]\n          },\n          {\n            \"id\": \"a7956a12-56dd-49cd-802b-0db1545b9be5\",\n            \"sequenceNumber\": 5,\n            \"timestamp\": \"2022-04-26T18:15:20.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:14:50.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"+19881234567\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:14:50.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ],\n                \"contact\": {\n                  \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n                  }\n              }\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"DIAL_PLAN\",\n                  \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                  \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                  \"currentNode\": {\n                    \"id\": \"CallQueueNode_1066\",\n                    \"type\": \"CallQueueNode\"\n                  },\n                  \"previousNode\": {\n                    \"id\": \"AttendantPromptNode_1005\",\n                    \"connector\": \"option_2\"\n                  }\n                }\n              },\n              {\n                \"id\": \"c3e5f222-4a1b-4e35-a6ba-0813d4c32988\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"CALL_QUEUE\",\n                  \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n                  \"queueName\": \"Call Queue - Sales\",\n                  \"queueType\": \"BASIC\",\n                  \"configuredWrapUpDuration\": 0\n                }\n              }\n            ]\n          }\n        ]\n      }\n\n      ```\n      </details>\n\n      **Note:** These endpoints are not for retrieving call events in real time. The endpoints are throttled,\n      that is you can send a limited number of requests in a given amount of time. Requests will continue\n      returning `429` response until the returned `Retry-After` number of seconds has elapsed.\n\n      To retrieve call events in real time, use the subscriptions with a Notification Channel as described further above.\n\n      # Examples\n\n      ## Subscriptions Types\n\n      As described in the \"Subscribing to Different Types of Events\" section of the [overview](https://developer.goto.com/GoToConnect/#section/Retrieving-Call-Events/Via-Subscription),\n      the subscription to the call events will return all the events by default, but it is possible to\n      specify desired event types. This example will show what would be the result depending on different subscription\n      types for a basic scenario where Agent A calls B.\n\n      ### Event types are not specified\n\n      Sample request having no event type specified:\n\n      ```\n\n      curl -X POST 'https://api.goto.com/call-events/v1/subscriptions' -H 'Authorization: Bearer {ACCESS_TOKEN}' -H 'Content-Type: application/json' \\\n      -d '{\n           \"channelId\": \"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\",\n           \"accountKeys\": [\n              {\n                \"id\": \"4395980921202798602\"\n              }\n           ]\n         }'\n\n      ```\n\n      In this case, all event types are sent as shown in the example call events below.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      [\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"222222222-aaaa-2222-aaaa-2222222222\",\n            \"direction\": \"OUTBOUND\",\n            \"accountKey\": \"4395980921202798602\",\n            \"callCreated\": \"2023-04-17T19:27:52.13Z\",\n            \"dialString\": \"+12345678945\"\n          },\n          \"state\": {\n            \"id\": \"73c88012-cedf-48d9-9e81-2a4bfb0d6fb7\",\n            \"sequenceNumber\": 1,\n            \"type\": \"STARTING\",\n            \"participants\": [\n              {\n                \"id\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"legId\": \"d3480310-80f7-459d-a638-61893d8ed9e2\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"410710c9-b003-4fd5-b146-d41bcced1819\",\n                  \"device\": {\n                    \"id\": \"fae6acb1-5e09-4497-b80c-064454defc5d\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1039\",\n                  \"name\": \"Agent A\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-17T19:27:52.131Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"222222222-aaaa-2222-aaaa-2222222222\",\n            \"direction\": \"OUTBOUND\",\n            \"accountKey\": \"4395980921202798602\",\n            \"callCreated\": \"2023-04-17T19:27:52.13Z\",\n            \"dialString\": \"+12345678945\"\n          },\n          \"state\": {\n            \"id\": \"99aaa86a-d0c2-4131-a7c6-c90447824d8e\",\n            \"sequenceNumber\": 2,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"legId\": \"d3480310-80f7-459d-a638-61893d8ed9e2\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"410710c9-b003-4fd5-b146-d41bcced1819\",\n                  \"device\": {\n                    \"id\": \"fae6acb1-5e09-4497-b80c-064454defc5d\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1039\",\n                  \"name\": \"Agent A\"\n                }\n              },\n              {\n                \"id\": \"6977e46e-0a67-4fae-9401-2f4c3e40f0cb\",\n                \"legId\": \"c2733a5a-ab64-4a12-ae96-ce68292a541d\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"e55feb9f-9528-4d13-92fb-54af7f8c9a06\",\n                  \"name\": \"+19881234567\",\n                  \"number\": \"+19881234567\",\n                  \"callee\": {\n                    \"name\": \"\",\n                    \"number\": \"+12345678945\"\n                  }\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-17T19:28:00.464Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"222222222-aaaa-2222-aaaa-2222222222\",\n            \"direction\": \"OUTBOUND\",\n            \"accountKey\": \"4395980921202798602\",\n            \"callCreated\": \"2023-04-17T19:27:52.13Z\",\n            \"dialString\": \"+12345678945\"\n          },\n          \"state\": {\n            \"id\": \"c948c4a8-e929-4c49-ae58-2b7ac7443ecf\",\n            \"sequenceNumber\": 3,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"legId\": \"d3480310-80f7-459d-a638-61893d8ed9e2\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"410710c9-b003-4fd5-b146-d41bcced1819\",\n                  \"device\": {\n                    \"id\": \"fae6acb1-5e09-4497-b80c-064454defc5d\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1039\",\n                  \"name\": \"Agent A\"\n                }\n              },\n              {\n                \"id\": \"6977e46e-0a67-4fae-9401-2f4c3e40f0cb\",\n                \"legId\": \"c2733a5a-ab64-4a12-ae96-ce68292a541d\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"e55feb9f-9528-4d13-92fb-54af7f8c9a06\",\n                  \"name\": \"+19881234567\",\n                  \"number\": \"+19881234567\",\n                  \"callee\": {\n                    \"name\": \"\",\n                    \"number\": \"+12345678945\"\n                  }\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-17T19:28:00.464Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"222222222-aaaa-2222-aaaa-2222222222\",\n            \"direction\": \"OUTBOUND\",\n            \"accountKey\": \"4395980921202798602\",\n            \"callCreated\": \"2023-04-17T19:27:52.13Z\",\n            \"dialString\": \"+12345678945\"\n          },\n          \"state\": {\n            \"id\": \"8c064635-0d0a-4c95-8507-2825700caa33\",\n            \"sequenceNumber\": 4,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"legId\": \"d3480310-80f7-459d-a638-61893d8ed9e2\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"410710c9-b003-4fd5-b146-d41bcced1819\",\n                  \"device\": {\n                    \"id\": \"fae6acb1-5e09-4497-b80c-064454defc5d\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1039\",\n                  \"name\": \"Agent A\"\n                }\n              },\n              {\n                \"id\": \"6977e46e-0a67-4fae-9401-2f4c3e40f0cb\",\n                \"legId\": \"c2733a5a-ab64-4a12-ae96-ce68292a541d\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"e55feb9f-9528-4d13-92fb-54af7f8c9a06\",\n                  \"name\": \"+19881234567\",\n                  \"number\": \"+19881234567\",\n                  \"callee\": {\n                    \"name\": \"\",\n                    \"number\": \"+12345678945\"\n                  }\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-17T19:28:11.646Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"222222222-aaaa-2222-aaaa-2222222222\",\n            \"direction\": \"OUTBOUND\",\n            \"accountKey\": \"4395980921202798602\",\n            \"callCreated\": \"2023-04-17T19:27:52.13Z\",\n            \"dialString\": \"+12345678945\",\n            \"hangupOriginatorId\": \"6977e46e-0a67-4fae-9401-2f4c3e40f0cb\"\n          },\n          \"state\": {\n            \"id\": \"aa2439a4-4bbb-4c39-a17c-9313ca6a78f2\",\n            \"sequenceNumber\": 5,\n            \"type\": \"ENDING\",\n            \"participants\": [\n              {\n                \"id\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"legId\": \"d3480310-80f7-459d-a638-61893d8ed9e2\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"410710c9-b003-4fd5-b146-d41bcced1819\",\n                  \"device\": {\n                    \"id\": \"fae6acb1-5e09-4497-b80c-064454defc5d\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1039\",\n                  \"name\": \"Agent A\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-17T19:28:11.649Z\"\n          }\n        }\n      ]\n\n      ```\n      </details>\n\n      ### `STARTING` is specified\n\n      In this case, only the `STARTING` events of the sequence are sent. There can be\n      more than one `STARTING` event.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      [\n        {\n            \"metadata\": {\n                \"conversationSpaceId\": \"222222222-aaaa-2222-aaaa-2222222222\",\n                \"direction\": \"OUTBOUND\",\n                \"accountKey\": \"4395980921202798602\",\n                \"callCreated\": \"2023-04-17T19:27:52.13Z\",\n                \"dialString\": \"+12345678945\"\n            },\n            \"state\": {\n                \"id\": \"73c88012-cedf-48d9-9e81-2a4bfb0d6fb7\",\n                \"sequenceNumber\": 1,\n                \"type\": \"STARTING\",\n                \"participants\": [\n                    {\n                        \"id\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                        \"legId\": \"d3480310-80f7-459d-a638-61893d8ed9e2\",\n                        \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                        \"status\": {\n                            \"value\": \"RINGING\"\n                        },\n                        \"type\": {\n                            \"value\": \"LINE\",\n                            \"lineId\": \"410710c9-b003-4fd5-b146-d41bcced1819\",\n                            \"device\": {\n                              \"id\": \"fae6acb1-5e09-4497-b80c-064454defc5d\",\n                              \"model\": \"goto.clients\",\n                            },\n                            \"extensionNumber\": \"1039\",\n                            \"name\": \"Agent A\"\n                        }\n                    }\n                ],\n                \"timestamp\": \"2023-04-17T19:27:52.131Z\"\n            }\n        }\n      ]\n\n      ```\n      </details>\n\n      ### `STARTING` and `ENDING` are specified\n\n      In this case, the first and the last events of the sequence are sent.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n      [\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"222222222-aaaa-2222-aaaa-2222222222\",\n            \"direction\": \"OUTBOUND\",\n            \"accountKey\": \"4395980921202798602\",\n            \"callCreated\": \"2023-04-17T19:27:52.13Z\",\n            \"dialString\": \"+12345678945\"\n          },\n          \"state\": {\n            \"id\": \"73c88012-cedf-48d9-9e81-2a4bfb0d6fb7\",\n            \"sequenceNumber\": 1,\n            \"type\": \"STARTING\",\n            \"participants\": [\n              {\n                \"id\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"legId\": \"d3480310-80f7-459d-a638-61893d8ed9e2\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"410710c9-b003-4fd5-b146-d41bcced1819\",\n                  \"device\": {\n                    \"id\": \"fae6acb1-5e09-4497-b80c-064454defc5d\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1039\",\n                  \"name\": \"Agent A\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-17T19:27:52.131Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"222222222-aaaa-2222-aaaa-2222222222\",\n            \"direction\": \"OUTBOUND\",\n            \"accountKey\": \"4395980921202798602\",\n            \"callCreated\": \"2023-04-17T19:27:52.13Z\",\n            \"dialString\": \"+12345678945\",\n            \"hangupOriginatorId\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\"\n          },\n          \"state\": {\n            \"id\": \"aa2439a4-4bbb-4c39-a17c-9313ca6a78f2\",\n            \"sequenceNumber\": 5,\n            \"type\": \"ENDING\",\n            \"participants\": [\n              {\n                \"id\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"legId\": \"d3480310-80f7-459d-a638-61893d8ed9e2\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"410710c9-b003-4fd5-b146-d41bcced1819\",\n                  \"device\": {\n                    \"id\": \"fae6acb1-5e09-4497-b80c-064454defc5d\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1039\",\n                  \"name\": \"Agent A\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-17T19:28:11.649Z\"\n          }\n        }\n      ]\n\n      ```\n      </details>\n\n      ### `ACTIVE` is specified\n\n      In this case, the `STARTING` and `ENDING` events are not sent.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n       ```json\n\n      [\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"222222222-aaaa-2222-aaaa-2222222222\",\n            \"direction\": \"OUTBOUND\",\n            \"accountKey\": \"4395980921202798602\",\n            \"callCreated\": \"2023-04-17T19:27:52.13Z\",\n            \"dialString\": \"+12345678945\"\n          },\n          \"state\": {\n            \"id\": \"99aaa86a-d0c2-4131-a7c6-c90447824d8e\",\n            \"sequenceNumber\": 2,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"legId\": \"d3480310-80f7-459d-a638-61893d8ed9e2\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"410710c9-b003-4fd5-b146-d41bcced1819\",\n                  \"device\": {\n                    \"id\": \"fae6acb1-5e09-4497-b80c-064454defc5d\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1039\",\n                  \"name\": \"Agent A\"\n                }\n              },\n              {\n                \"id\": \"6977e46e-0a67-4fae-9401-2f4c3e40f0cb\",\n                \"legId\": \"c2733a5a-ab64-4a12-ae96-ce68292a541d\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"e55feb9f-9528-4d13-92fb-54af7f8c9a06\",\n                  \"name\": \"+19881234567\",\n                  \"number\": \"+19881234567\",\n                  \"callee\": {\n                    \"name\": \"\",\n                    \"number\": \"+12345678945\"\n                  }\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-17T19:28:00.464Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"222222222-aaaa-2222-aaaa-2222222222\",\n            \"direction\": \"OUTBOUND\",\n            \"accountKey\": \"4395980921202798602\",\n            \"callCreated\": \"2023-04-17T19:27:52.13Z\",\n            \"dialString\": \"+12345678945\"\n          },\n          \"state\": {\n            \"id\": \"c948c4a8-e929-4c49-ae58-2b7ac7443ecf\",\n            \"sequenceNumber\": 3,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"legId\": \"d3480310-80f7-459d-a638-61893d8ed9e2\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"410710c9-b003-4fd5-b146-d41bcced1819\",\n                  \"device\": {\n                    \"id\": \"fae6acb1-5e09-4497-b80c-064454defc5d\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1039\",\n                  \"name\": \"Agent A\"\n                }\n              },\n              {\n                \"id\": \"6977e46e-0a67-4fae-9401-2f4c3e40f0cb\",\n                \"legId\": \"c2733a5a-ab64-4a12-ae96-ce68292a541d\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"e55feb9f-9528-4d13-92fb-54af7f8c9a06\",\n                  \"name\": \"+19881234567\",\n                  \"number\": \"+19881234567\",\n                  \"callee\": {\n                    \"name\": \"\",\n                    \"number\": \"+12345678945\"\n                  }\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-17T19:28:00.464Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"222222222-aaaa-2222-aaaa-2222222222\",\n            \"direction\": \"OUTBOUND\",\n            \"accountKey\": \"4395980921202798602\",\n            \"callCreated\": \"2023-04-17T19:27:52.13Z\",\n            \"dialString\": \"+12345678945\"\n          },\n          \"state\": {\n            \"id\": \"8c064635-0d0a-4c95-8507-2825700caa33\",\n            \"sequenceNumber\": 4,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"legId\": \"d3480310-80f7-459d-a638-61893d8ed9e2\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"410710c9-b003-4fd5-b146-d41bcced1819\",\n                  \"device\": {\n                    \"id\": \"fae6acb1-5e09-4497-b80c-064454defc5d\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1039\",\n                  \"name\": \"Agent A\"\n                }\n              },\n              {\n                \"id\": \"6977e46e-0a67-4fae-9401-2f4c3e40f0cb\",\n                \"legId\": \"c2733a5a-ab64-4a12-ae96-ce68292a541d\",\n                \"originator\": \"f97193f1-ff09-4cd6-a2e2-09e165845063\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"e55feb9f-9528-4d13-92fb-54af7f8c9a06\",\n                  \"name\": \"+19881234567\",\n                  \"number\": \"+19881234567\",\n                  \"callee\": {\n                    \"name\": \"\",\n                    \"number\": \"+12345678945\"\n                  }\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-17T19:28:11.646Z\"\n          }\n        }\n      ]\n\n      ```\n      </details>\n\n      ## Recordings\n\n      Before starting, follow the instructions to [enable recordings](https://support.goto.com/connect/help/how-do-i-turn-call-recording-on-and-off).\n      Once enabled, call events will provide recordings' identifiers as shown in the examples below which will allow retrieving recordings using the [Recordings API](https://developer.goto.com/GoToConnect#tag/Recordings).\n\n      Call recordings and recording transcriptions for an organization can be enabled on request (developer-support@goto.com).\n\n      ### Participant-Level Recordings\n\n      When recordings are enabled, every participant will have a `recordings`. This recording contains the voice of every speaker and includes time spent on hold. It follows the participant if they get transferred.\n\n      1. Alice calls Agent A.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"OUTBOUND\",\n          \"dialString\": \"1015\"\n        },\n        \"state\": {\n          \"id\": \"e81d0a4b-d492-405e-b237-7cfa4b76571b\",\n          \"sequenceNumber\": 2,\n          \"timestamp\": \"2022-04-26T18:14:52.336Z\",\n          \"type\": \"STARTING\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"RINGING\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"66af0360-96bd-485b-9992-bac4920e7f69\",\n                \"device\": {\n                  \"id\": \"c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1090\",\n                \"name\": \"Alice\"\n              },\n              \"recordings\": [\n                {\n                  \"id\": \"5e36c1d9-5558-432f-996e-deb54c3052cd\",\n                  \"startTimestamp\": \"2022-04-26T18:14:51.336Z\",\n                  \"transcriptEnabled\": true\n                }\n              ]\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"RINGING\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      ### Customer Perspective Recordings\n\n      This is a recording from the point of view of the customer and behaves the same way as participant-level recording. Since it is from the point of view of the customer, it is usually the longest. At the moment, this feature only supports inbound phone calls.\n\n      1. PSTN calls Alice.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"e81d0a4b-d492-405e-b237-7cfa4b76571b\",\n          \"sequenceNumber\": 4,\n          \"timestamp\": \"2022-04-26T18:14:52.336Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"customer\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"0104\",\n                \"name\": \"Alice\"\n              }\n            }\n          ],\n          \"recordings\": [\n            {\n              \"id\": \"77bb83de-b4dc-4d10-aaaf-fcfd18656cd3\",\n              \"startTimestamp\": \"2022-04-26T18:14:51.336Z\",\n              \"transcriptEnabled\": true\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      ## Warm Transfer\n\n      1. Customer calls Agent A. Conversation space `11111111-aaaa-1111-aaaa-111111111111` is created.\n      2. Agent A wants to solicit another agent and puts Customer on hold.\n      3. Agent A calls Agent B and Agent B answers the call. See that this call is in conversation space `22222222-bbbb-2222-bbbb-222222222222`.\n      4. Agent A transfers Customer to Agent B (REFER Agent B to Customer).\n      This effectively terminates the separate conversation space between Agent A and Agent B (`22222222-bbbb-2222-bbbb-222222222222`)\n      and makes Agent B join Customer in the initial conversation space (`11111111-aaaa-1111-aaaa-111111111111`).\n\n      You can connect the conversations by inspecting the `associatedConversations` in the `metadata` section of the call event.\n      The `initiator` conversation space `11111111-aaaa-1111-aaaa-111111111111` will be associated with the `transferrer`\n      conversation `22222222-bbbb-2222-bbbb-222222222222` and vice versa.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      [\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n            \"direction\": \"INBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:08:45.945Z\"\n          },\n          \"state\": {\n            \"id\": \"e81d0a4b-d492-405e-b237-7cfa4b76571b\",\n            \"sequenceNumber\": 1,\n            \"type\": \"STARTING\",\n            \"participants\": [\n              {\n                \"id\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"legId\": \"4de7c2ad-a7d7-4647-b36f-fb6a3982ee06\",\n                \"originator\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"95f7f3da-f430-4996-b5b0-28a6fe987558\",\n                  \"name\": \"+12345678901\",\n                  \"number\": \"+12345678901\",\n                  \"caller\": {\n                    \"name\": \"Customer\",\n                    \"number\": \"+13456789012\"\n                  }\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:08:45.945Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n            \"direction\": \"INBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:08:45.945Z\"\n          },\n          \"state\": {\n            \"id\": \"6501c353-093f-489a-abe2-28dcc565153e\",\n            \"sequenceNumber\": 2,\n            \"type\": \"STARTING\",\n            \"participants\": [\n              {\n                \"id\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"legId\": \"4de7c2ad-a7d7-4647-b36f-fb6a3982ee06\",\n                \"originator\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"95f7f3da-f430-4996-b5b0-28a6fe987558\",\n                  \"name\": \"+12345678901\",\n                  \"number\": \"+12345678901\",\n                  \"caller\": {\n                    \"name\": \"Customer\",\n                    \"number\": \"+13456789012\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"50a4297e-5ffd-41a5-9e14-25cfe96ac3e4\",\n                    \"startTimestamp\": \"2023-04-27T10:08:46.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"71a063d3-73ee-4d52-b078-e6bb38b7ace4\",\n                \"legId\": \"e2125b64-093c-49c5-9b88-129708aa55b2\",\n                \"originator\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:08:47.121Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n            \"direction\": \"INBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:08:45.945Z\"\n          },\n          \"state\": {\n            \"id\": \"9355200f-08b7-4ad0-923a-00e5cc87be9a\",\n            \"sequenceNumber\": 3,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"legId\": \"4de7c2ad-a7d7-4647-b36f-fb6a3982ee06\",\n                \"originator\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"95f7f3da-f430-4996-b5b0-28a6fe987558\",\n                  \"name\": \"+12345678901\",\n                  \"number\": \"+12345678901\",\n                  \"caller\": {\n                    \"name\": \"Customer\",\n                    \"number\": \"+13456789012\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"50a4297e-5ffd-41a5-9e14-25cfe96ac3e4\",\n                    \"startTimestamp\": \"2023-04-27T10:08:46.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"71a063d3-73ee-4d52-b078-e6bb38b7ace4\",\n                \"legId\": \"e2125b64-093c-49c5-9b88-129708aa55b2\",\n                \"originator\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:08:49.769Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n            \"direction\": \"INBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:08:45.945Z\"\n          },\n          \"state\": {\n            \"id\": \"269a3446-894b-4c04-83b0-8f9051e5f980\",\n            \"sequenceNumber\": 4,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"legId\": \"4de7c2ad-a7d7-4647-b36f-fb6a3982ee06\",\n                \"originator\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"95f7f3da-f430-4996-b5b0-28a6fe987558\",\n                  \"name\": \"+12345678901\",\n                  \"number\": \"+12345678901\",\n                  \"caller\": {\n                    \"name\": \"Customer\",\n                    \"number\": \"+13456789012\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"50a4297e-5ffd-41a5-9e14-25cfe96ac3e4\",\n                    \"startTimestamp\": \"2023-04-27T10:08:46.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"71a063d3-73ee-4d52-b078-e6bb38b7ace4\",\n                \"legId\": \"e2125b64-093c-49c5-9b88-129708aa55b2\",\n                \"originator\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:08:49.769Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n            \"direction\": \"INBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:08:45.945Z\"\n          },\n          \"state\": {\n            \"id\": \"269a3446-894b-4c04-83b0-8f9051e5f980\",\n            \"sequenceNumber\": 5,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"legId\": \"4de7c2ad-a7d7-4647-b36f-fb6a3982ee06\",\n                \"originator\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"95f7f3da-f430-4996-b5b0-28a6fe987558\",\n                  \"name\": \"+12345678901\",\n                  \"number\": \"+12345678901\",\n                  \"caller\": {\n                    \"name\": \"Customer\",\n                    \"number\": \"+13456789012\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"50a4297e-5ffd-41a5-9e14-25cfe96ac3e4\",\n                    \"startTimestamp\": \"2023-04-27T10:08:46.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"71a063d3-73ee-4d52-b078-e6bb38b7ace4\",\n                \"legId\": \"e2125b64-093c-49c5-9b88-129708aa55b2\",\n                \"originator\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"status\": {\n                  \"value\": \"ON_HOLD\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:08:59.956Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n            \"direction\": \"INBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:08:45.945Z\"\n          },\n          \"state\": {\n            \"id\": \"269a3446-894b-4c04-83b0-8f9051e5f980\",\n            \"sequenceNumber\": 6,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"legId\": \"4de7c2ad-a7d7-4647-b36f-fb6a3982ee06\",\n                \"originator\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"status\": {\n                  \"value\": \"ON_HOLD\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"95f7f3da-f430-4996-b5b0-28a6fe987558\",\n                  \"name\": \"+12345678901\",\n                  \"number\": \"+12345678901\",\n                  \"caller\": {\n                    \"name\": \"Customer\",\n                    \"number\": \"+13456789012\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"50a4297e-5ffd-41a5-9e14-25cfe96ac3e4\",\n                    \"startTimestamp\": \"2023-04-27T10:08:46.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"71a063d3-73ee-4d52-b078-e6bb38b7ace4\",\n                \"legId\": \"e2125b64-093c-49c5-9b88-129708aa55b2\",\n                \"originator\": \"9418390f-f1a8-4c4a-81dc-2bc4eb3fb41e\",\n                \"status\": {\n                  \"value\": \"ON_HOLD\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:08:59.956Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"22222222-bbbb-2222-bbbb-222222222222\",\n            \"direction\": \"OUTBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:09:01.437Z\",\n            \"dialString\": \"1038\"\n          },\n          \"state\": {\n            \"id\": \"c29815c1-6aa5-491d-bf72-f273700e8417\",\n            \"sequenceNumber\": 1,\n            \"type\": \"STARTING\",\n            \"participants\": [\n              {\n                \"id\": \"e939aa0b-1e95-4d34-b923-2fcfc04e853e\",\n                \"legId\": \"fa4b9522-2c39-40f8-99d7-b929a7338298\",\n                \"originator\": \"e939aa0b-1e95-4d34-b923-2fcfc04e853e\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:09:01.437Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"22222222-bbbb-2222-bbbb-222222222222\",\n            \"direction\": \"OUTBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:09:01.437Z\",\n            \"dialString\": \"1038\"\n          },\n          \"state\": {\n            \"id\": \"991d90ac-e6ca-41db-9916-0e676ce8c452\",\n            \"sequenceNumber\": 2,\n            \"type\": \"STARTING\",\n            \"participants\": [\n              {\n                \"id\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"legId\": \"fa4b9522-2c39-40f8-99d7-b929a7338298\",\n                \"originator\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"c0f53858-0b4a-4733-8777-1cd97bcccda6\",\n                    \"startTimestamp\": \"2023-04-27T10:09:02.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"8da130d9-cc7f-402d-9f15-87e91aba9941\",\n                \"legId\": \"c1adeced-a062-41a5-9a3b-9fb4905dac77\",\n                \"originator\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"6e2df4eb-2163-4401-b776-8f0be0ed320b\",\n                  \"device\": {\n                    \"id\": \"bfa19f0c-0ecd-4728-8a83-5e82ebdc7bb5\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1038\",\n                  \"name\": \"Agent B\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:09:02.088Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"22222222-bbbb-2222-bbbb-222222222222\",\n            \"direction\": \"OUTBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:09:01.437Z\",\n            \"dialString\": \"1038\"\n          },\n          \"state\": {\n            \"id\": \"6e0d7433-3534-4ea0-82ae-08781695c347\",\n            \"sequenceNumber\": 3,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"legId\": \"fa4b9522-2c39-40f8-99d7-b929a7338298\",\n                \"originator\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"c0f53858-0b4a-4733-8777-1cd97bcccda6\",\n                    \"startTimestamp\": \"2023-04-27T10:09:02.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"8da130d9-cc7f-402d-9f15-87e91aba9941\",\n                \"legId\": \"c1adeced-a062-41a5-9a3b-9fb4905dac77\",\n                \"originator\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"6e2df4eb-2163-4401-b776-8f0be0ed320b\",\n                  \"device\": {\n                    \"id\": \"bfa19f0c-0ecd-4728-8a83-5e82ebdc7bb5\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1038\",\n                  \"name\": \"Agent B\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:09:03.877Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"22222222-bbbb-2222-bbbb-222222222222\",\n            \"direction\": \"OUTBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:09:01.437Z\",\n            \"dialString\": \"1038\"\n          },\n          \"state\": {\n            \"id\": \"a7ebe4d4-3938-47b6-923c-e3c2ad6996da\",\n            \"sequenceNumber\": 4,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"legId\": \"fa4b9522-2c39-40f8-99d7-b929a7338298\",\n                \"originator\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"c0f53858-0b4a-4733-8777-1cd97bcccda6\",\n                    \"startTimestamp\": \"2023-04-27T10:09:02.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"8da130d9-cc7f-402d-9f15-87e91aba9941\",\n                \"legId\": \"c1adeced-a062-41a5-9a3b-9fb4905dac77\",\n                \"originator\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"6e2df4eb-2163-4401-b776-8f0be0ed320b\",\n                  \"device\": {\n                    \"id\": \"bfa19f0c-0ecd-4728-8a83-5e82ebdc7bb5\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1038\",\n                  \"name\": \"Agent B\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:09:03.877Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n            \"associatedConversations\": [\n              \"22222222-bbbb-2222-bbbb-222222222222\"\n            ],\n            \"direction\": \"INBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:08:45.945Z\"\n          },\n          \"state\": {\n            \"id\": \"d8ad8695-ff82-46f7-a43a-29ecbf01246e\",\n            \"sequenceNumber\": 7,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"9b92b627-a800-49d2-a11b-33e39d599070\",\n                \"legId\": \"4de7c2ad-a7d7-4647-b36f-fb6a3982ee06\",\n                \"originator\": \"9b92b627-a800-49d2-a11b-33e39d599070\",\n                \"status\": {\n                  \"value\": \"IN_WARM_TRANSFER\",\n                  \"initiator\": {\n                    \"participantId\": \"3d45af68-f929-4423-896d-510193c024a7\",\n                    \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n                    \"extensionNumber\": \"1036\",\n                    \"name\": \"Agent A\"\n                  },\n                  \"transferrer\": {\n                    \"participantId\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                    \"conversationSpaceId\": \"22222222-bbbb-2222-bbbb-222222222222\",\n                    \"extensionNumber\": \"1036\",\n                    \"name\": \"Agent A\"\n                  },\n                  \"destination\": {\n                    \"participantId\": \"9e634d64-5054-482e-bd28-2ac875703a54\",\n                    \"conversationSpaceId\": \"22222222-bbbb-2222-bbbb-222222222222\",\n                    \"extensionNumber\": \"1038\",\n                    \"name\": \"Agent B\"\n                  }\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"95f7f3da-f430-4996-b5b0-28a6fe987558\",\n                  \"name\": \"+12345678901\",\n                  \"number\": \"+12345678901\",\n                  \"caller\": {\n                    \"name\": \"Customer\",\n                    \"number\": \"+13456789012\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"50a4297e-5ffd-41a5-9e14-25cfe96ac3e4\",\n                    \"startTimestamp\": \"2023-04-27T10:08:46.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"3d45af68-f929-4423-896d-510193c024a7\",\n                \"legId\": \"e2125b64-093c-49c5-9b88-129708aa55b2\",\n                \"originator\": \"9b92b627-a800-49d2-a11b-33e39d599070\",\n                \"status\": {\n                  \"value\": \"ON_HOLD\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:09:09.109Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"22222222-bbbb-2222-bbbb-222222222222\",\n            \"associatedConversations\": [\n              \"11111111-aaaa-1111-aaaa-111111111111\"\n            ],\n            \"direction\": \"OUTBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:09:01.437Z\",\n            \"dialString\": \"1038\"\n          },\n          \"state\": {\n            \"id\": \"0cc51e98-9987-4390-85fa-9bbc325db80a\",\n            \"sequenceNumber\": 5,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"legId\": \"fa4b9522-2c39-40f8-99d7-b929a7338298\",\n                \"originator\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"c0f53858-0b4a-4733-8777-1cd97bcccda6\",\n                    \"startTimestamp\": \"2023-04-27T10:09:02.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"8da130d9-cc7f-402d-9f15-87e91aba9941\",\n                \"legId\": \"c1adeced-a062-41a5-9a3b-9fb4905dac77\",\n                \"originator\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"6e2df4eb-2163-4401-b776-8f0be0ed320b\",\n                  \"device\": {\n                    \"id\": \"bfa19f0c-0ecd-4728-8a83-5e82ebdc7bb5\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1038\",\n                  \"name\": \"Agent B\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:09:09.358Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n            \"associatedConversations\": [\n              \"22222222-bbbb-2222-bbbb-222222222222\"\n            ],\n            \"direction\": \"INBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:08:45.945Z\"\n          },\n          \"state\": {\n            \"id\": \"a069a028-aac7-40b4-a1f8-dd29e2fbb2c8\",\n            \"sequenceNumber\": 8,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"9b92b627-a800-49d2-a11b-33e39d599070\",\n                \"legId\": \"4de7c2ad-a7d7-4647-b36f-fb6a3982ee06\",\n                \"originator\": \"9b92b627-a800-49d2-a11b-33e39d599070\",\n                \"status\": {\n                  \"value\": \"IN_WARM_TRANSFER\",\n                  \"initiator\": {\n                    \"participantId\": \"3d45af68-f929-4423-896d-510193c024a7\",\n                    \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n                    \"extensionNumber\": \"1036\",\n                    \"name\": \"Agent A\"\n                  },\n                  \"transferrer\": {\n                    \"participantId\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                    \"conversationSpaceId\": \"22222222-bbbb-2222-bbbb-222222222222\",\n                    \"extensionNumber\": \"1036\",\n                    \"name\": \"Agent A\"\n                  },\n                  \"destination\": {\n                    \"participantId\": \"9e634d64-5054-482e-bd28-2ac875703a54\",\n                    \"conversationSpaceId\": \"22222222-bbbb-2222-bbbb-222222222222\",\n                    \"extensionNumber\": \"1038\",\n                    \"name\": \"Agent B\"\n                  }\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"95f7f3da-f430-4996-b5b0-28a6fe987558\",\n                  \"name\": \"+12345678901\",\n                  \"number\": \"+12345678901\",\n                  \"caller\": {\n                    \"name\": \"Customer\",\n                    \"number\": \"+13456789012\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"50a4297e-5ffd-41a5-9e14-25cfe96ac3e4\",\n                    \"startTimestamp\": \"2023-04-27T10:08:46.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"3d45af68-f929-4423-896d-510193c024a7\",\n                \"legId\": \"e2125b64-093c-49c5-9b88-129708aa55b2\",\n                \"originator\": \"9b92b627-a800-49d2-a11b-33e39d599070\",\n                \"status\": {\n                  \"value\": \"ON_HOLD\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                }\n              },\n              {\n                \"id\": \"8da130d9-cc7f-402d-9f15-87e91aba9941\",\n                \"legId\": \"c1adeced-a062-41a5-9a3b-9fb4905dac77\",\n                \"originator\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"6e2df4eb-2163-4401-b776-8f0be0ed320b\",\n                  \"device\": {\n                    \"id\": \"bfa19f0c-0ecd-4728-8a83-5e82ebdc7bb5\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1038\",\n                  \"name\": \"Agent B\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:09:09.358Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n            \"associatedConversations\": [\n              \"22222222-bbbb-2222-bbbb-222222222222\"\n            ],\n            \"direction\": \"INBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:08:45.945Z\"\n          },\n          \"state\": {\n            \"id\": \"d5d3fa32-93ff-449b-adbc-d8992cc153c0\",\n            \"sequenceNumber\": 9,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"9b92b627-a800-49d2-a11b-33e39d599070\",\n                \"legId\": \"4de7c2ad-a7d7-4647-b36f-fb6a3982ee06\",\n                \"originator\": \"9b92b627-a800-49d2-a11b-33e39d599070\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"95f7f3da-f430-4996-b5b0-28a6fe987558\",\n                  \"name\": \"+12345678901\",\n                  \"number\": \"+12345678901\",\n                  \"caller\": {\n                    \"name\": \"Customer\",\n                    \"number\": \"+13456789012\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"50a4297e-5ffd-41a5-9e14-25cfe96ac3e4\",\n                    \"startTimestamp\": \"2023-04-27T10:08:46.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"3d45af68-f929-4423-896d-510193c024a7\",\n                \"legId\": \"e2125b64-093c-49c5-9b88-129708aa55b2\",\n                \"originator\": \"9b92b627-a800-49d2-a11b-33e39d599070\",\n                \"status\": {\n                  \"value\": \"ON_HOLD\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                }\n              },\n              {\n                \"id\": \"8da130d9-cc7f-402d-9f15-87e91aba9941\",\n                \"legId\": \"c1adeced-a062-41a5-9a3b-9fb4905dac77\",\n                \"originator\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"6e2df4eb-2163-4401-b776-8f0be0ed320b\",\n                  \"device\": {\n                    \"id\": \"bfa19f0c-0ecd-4728-8a83-5e82ebdc7bb5\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1038\",\n                  \"name\": \"Agent B\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:09:09.359Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n            \"associatedConversations\": [\n              \"22222222-bbbb-2222-bbbb-222222222222\"\n            ],\n            \"direction\": \"INBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:08:45.945Z\"\n          },\n          \"state\": {\n            \"id\": \"58607dc3-8e99-4c59-b7af-6eb929724deb\",\n            \"sequenceNumber\": 10,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"9b92b627-a800-49d2-a11b-33e39d599070\",\n                \"legId\": \"4de7c2ad-a7d7-4647-b36f-fb6a3982ee06\",\n                \"originator\": \"9b92b627-a800-49d2-a11b-33e39d599070\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"95f7f3da-f430-4996-b5b0-28a6fe987558\",\n                  \"name\": \"+12345678901\",\n                  \"number\": \"+12345678901\",\n                  \"caller\": {\n                    \"name\": \"Customer\",\n                    \"number\": \"+13456789012\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"50a4297e-5ffd-41a5-9e14-25cfe96ac3e4\",\n                    \"startTimestamp\": \"2023-04-27T10:08:46.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"3d45af68-f929-4423-896d-510193c024a7\",\n                \"legId\": \"e2125b64-093c-49c5-9b88-129708aa55b2\",\n                \"originator\": \"9b92b627-a800-49d2-a11b-33e39d599070\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                }\n              },\n              {\n                \"id\": \"8da130d9-cc7f-402d-9f15-87e91aba9941\",\n                \"legId\": \"c1adeced-a062-41a5-9a3b-9fb4905dac77\",\n                \"originator\": \"7d3f1ab0-9736-44e1-8975-a5438cde2431\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"6e2df4eb-2163-4401-b776-8f0be0ed320b\",\n                  \"device\": {\n                    \"id\": \"bfa19f0c-0ecd-4728-8a83-5e82ebdc7bb5\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1038\",\n                  \"name\": \"Agent B\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:09:09.359Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"22222222-bbbb-2222-bbbb-222222222222\",\n            \"associatedConversations\": [\n              \"11111111-aaaa-1111-aaaa-111111111111\"\n            ],\n            \"direction\": \"OUTBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:09:01.437Z\",\n            \"dialString\": \"1038\"\n          },\n          \"state\": {\n            \"id\": \"32dd82e6-e2e4-4f1e-b1df-f8da5e5028c4\",\n            \"sequenceNumber\": 6,\n            \"type\": \"ENDING\",\n            \"participants\": [\n              {\n                \"id\": \"6eed570f-bee5-4624-8eae-d0fae90017b4\",\n                \"legId\": \"fa4b9522-2c39-40f8-99d7-b929a7338298\",\n                \"originator\": \"6eed570f-bee5-4624-8eae-d0fae90017b4\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"bf1dd0f8-0869-4a40-b908-6ec1c987150d\",\n                  \"device\": {\n                    \"id\": \"61744119-c945-4468-ae4b-582ec8daf77f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1036\",\n                  \"name\": \"Agent A\"\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"c0f53858-0b4a-4733-8777-1cd97bcccda6\",\n                    \"startTimestamp\": \"2023-04-27T10:09:02.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:09:09.373Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n            \"associatedConversations\": [\n              \"22222222-bbbb-2222-bbbb-222222222222\"\n            ],\n            \"direction\": \"INBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:08:45.945Z\"\n          },\n          \"state\": {\n            \"id\": \"02e5fef1-7338-4c17-996e-a313558a9c7a\",\n            \"sequenceNumber\": 11,\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"0b7d475f-8a32-4089-8297-78654b0cafa6\",\n                \"legId\": \"4de7c2ad-a7d7-4647-b36f-fb6a3982ee06\",\n                \"originator\": \"0b7d475f-8a32-4089-8297-78654b0cafa6\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"95f7f3da-f430-4996-b5b0-28a6fe987558\",\n                  \"name\": \"+12345678901\",\n                  \"number\": \"+12345678901\",\n                  \"caller\": {\n                    \"name\": \"Customer\",\n                    \"number\": \"+13456789012\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"50a4297e-5ffd-41a5-9e14-25cfe96ac3e4\",\n                    \"startTimestamp\": \"2023-04-27T10:08:46.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"b84a53ef-495b-47cc-922d-e10d4e8797f5\",\n                \"legId\": \"c1adeced-a062-41a5-9a3b-9fb4905dac77\",\n                \"originator\": \"6eed570f-bee5-4624-8eae-d0fae90017b4\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"6e2df4eb-2163-4401-b776-8f0be0ed320b\",\n                  \"device\": {\n                    \"id\": \"bfa19f0c-0ecd-4728-8a83-5e82ebdc7bb5\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1038\",\n                  \"name\": \"Agent B\"\n                }\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:09:15.787Z\"\n          }\n        },\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n            \"associatedConversations\": [\n              \"22222222-bbbb-2222-bbbb-222222222222\"\n            ],\n            \"direction\": \"INBOUND\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"448325167235478026\",\n            \"callCreated\": \"2023-04-27T10:08:45.945Z\",\n            \"hangupOriginatorId\": \"c764e3cd-0441-445b-a82c-e7f3cd32aacd\"\n          },\n          \"state\": {\n            \"id\": \"f43da7d5-42d4-4c62-a95b-e89ea810825e\",\n            \"sequenceNumber\": 12,\n            \"type\": \"ENDING\",\n            \"participants\": [\n              {\n                \"id\": \"c764e3cd-0441-445b-a82c-e7f3cd32aacd\",\n                \"legId\": \"4de7c2ad-a7d7-4647-b36f-fb6a3982ee06\",\n                \"originator\": \"c764e3cd-0441-445b-a82c-e7f3cd32aacd\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"95f7f3da-f430-4996-b5b0-28a6fe987558\",\n                  \"name\": \"+12345678901\",\n                  \"number\": \"+12345678901\",\n                  \"caller\": {\n                    \"name\": \"Customer\",\n                    \"number\": \"+13456789012\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"50a4297e-5ffd-41a5-9e14-25cfe96ac3e4\",\n                    \"startTimestamp\": \"2023-04-27T10:08:46.016Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              }\n            ],\n            \"timestamp\": \"2023-04-27T10:09:15.802Z\"\n          }\n        }\n      ]\n\n      ```\n      </details>\n\n      ## Three-Way Transfer\n      During a three-way transfer, contrary to a regular warm transfer, the conversationSpaceId will remain unchanged.\n      This scenario describes a call where the platform initiates a three-way transfer from a desk phone to add another line as a 3rd participant in a resulting three-way call. However, it could also be completed like a regular warm transfer where there are only 2 participants at the end.\n      1. John (on the deskphone) initiates a platform three-way transfer. Alice gets put on hold until the transfer is finished. John's status will first switch to `ON_HOLD`, then to `STARTING_THREEWAY_TRANSFER` until the transfer is finished.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n      [\n      {\n        \"metadata\": {\n          \"conversationSpaceId\": \"a5898f16-2d77-3166-8823-f6f530cbc9d8\",\n          \"direction\": \"OUTBOUND\",\n          \"accountKey\": \"9025397668827216905\",\n          \"callCreated\": \"2025-06-12T15:46:38.482Z\",\n          \"callInitiator\": \"DIRECT\",\n          \"dialString\": \"0590\"\n        },\n        \"state\": {\n          \"id\": \"55e77334-ae04-5c4f-bd15-d15b53f38f45\",\n          \"sequenceNumber\": 7,\n          \"type\": \"ACTIVE\",\n          \"timestamp\": \"2025-06-12T15:46:51.995Z\",\n          \"participants\": [\n            {\n              \"id\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"legId\": \"89d2a40e-f044-47b4-95ca-892b45da01c5\",\n              \"originator\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"d0c1aad1-d963-441c-a5cd-74413a86a923\",\n                \"deviceId\": \"aa74a7d4-7e7c-4816-93df-f333cfb85e46\",\n                \"extensionNumber\": \"1047\",\n                \"name\": \"Alice\",\n                \"device\": {\n                  \"id\": \"aa74a7d4-7e7c-4816-93df-f333cfb85e46\",\n                  \"model\": \"goto.clients\",\n                  \"user\": {\n                    \"id\": \"104e2ce1-475c-42e2-975b-6c2ec8c8b64f\"\n                  }\n                }\n              },\n              \"recordings\": [\n                {\n                  \"id\": \"9088c8c0-615d-48a0-8f68-422f6379c2dd\",\n                  \"startTimestamp\": \"2025-06-12T15:46:41.583Z\",\n                  \"transcriptEnabled\": true\n                }\n              ]\n            },\n            {\n              \"id\": \"f83d4387-6d15-51ba-9141-793b60b910d5\",\n              \"legId\": \"7259827a-1a7e-4efb-aa52-1baaf76ad23c\",\n              \"originator\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"status\": {\n                \"value\": \"ON_HOLD\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"502f002c-9d81-4186-a4f8-bbb2f37151ab\",\n                \"deviceId\": \"8a13dbcf-82ad-4eb0-905c-9191be2107dc\",\n                \"extensionNumber\": \"0590\",\n                \"name\": \"John Smith\",\n                \"device\": {\n                  \"id\": \"8a13dbcf-82ad-4eb0-905c-9191be2107dc\",\n                  \"model\": \"polycom.vvx.101\",\n                  \"user\": {\n                    \"id\": \"e47da8bc-f698-4219-b01b-c9f43eef7df5\"\n                  }\n                }\n              },\n              \"recordings\": [\n                {\n                  \"id\": \"bf6c444e-b482-4887-a183-5c61fdd3d0ad\",\n                  \"startTimestamp\": \"2025-06-12T15:46:41.583Z\",\n                  \"transcriptEnabled\": true\n                }\n              ]\n            }\n          ]\n        }\n      },\n      {\n        \"metadata\": {\n          \"conversationSpaceId\": \"a5898f16-2d77-3166-8823-f6f530cbc9d8\",\n          \"direction\": \"OUTBOUND\",\n          \"accountKey\": \"9025397668827216905\",\n          \"callCreated\": \"2025-06-12T15:46:38.482Z\",\n          \"callInitiator\": \"DIRECT\",\n          \"dialString\": \"0590\"\n        },\n        \"state\": {\n          \"id\": \"880bb674-36c8-5110-852a-e8727382aa6b\",\n          \"sequenceNumber\": 8,\n          \"type\": \"ACTIVE\",\n          \"timestamp\": \"2025-06-12T15:46:51.995Z\",\n          \"participants\": [\n            {\n              \"id\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"legId\": \"89d2a40e-f044-47b4-95ca-892b45da01c5\",\n              \"originator\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"status\": {\n                \"value\": \"ON_HOLD\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"d0c1aad1-d963-441c-a5cd-74413a86a923\",\n                \"deviceId\": \"aa74a7d4-7e7c-4816-93df-f333cfb85e46\",\n                \"extensionNumber\": \"1047\",\n                \"name\": \"Alice\",\n                \"device\": {\n                  \"id\": \"aa74a7d4-7e7c-4816-93df-f333cfb85e46\",\n                  \"model\": \"goto.clients\",\n                  \"user\": {\n                    \"id\": \"104e2ce1-475c-42e2-975b-6c2ec8c8b64f\"\n                  }\n                }\n              },\n              \"recordings\": [\n                {\n                  \"id\": \"9088c8c0-615d-48a0-8f68-422f6379c2dd\",\n                  \"startTimestamp\": \"2025-06-12T15:46:41.583Z\",\n                  \"transcriptEnabled\": true\n                }\n              ]\n            },\n            {\n              \"id\": \"f83d4387-6d15-51ba-9141-793b60b910d5\",\n              \"legId\": \"7259827a-1a7e-4efb-aa52-1baaf76ad23c\",\n              \"originator\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"status\": {\n                \"value\": \"ON_HOLD\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"502f002c-9d81-4186-a4f8-bbb2f37151ab\",\n                \"deviceId\": \"8a13dbcf-82ad-4eb0-905c-9191be2107dc\",\n                \"extensionNumber\": \"0590\",\n                \"name\": \"John Smith\",\n                \"device\": {\n                  \"id\": \"8a13dbcf-82ad-4eb0-905c-9191be2107dc\",\n                  \"model\": \"polycom.vvx.101\",\n                  \"user\": {\n                    \"id\": \"e47da8bc-f698-4219-b01b-c9f43eef7df5\"\n                  }\n                }\n              },\n              \"recordings\": [\n                {\n                  \"id\": \"bf6c444e-b482-4887-a183-5c61fdd3d0ad\",\n                  \"startTimestamp\": \"2025-06-12T15:46:41.583Z\",\n                  \"transcriptEnabled\": true\n                }\n              ]\n            }\n          ]\n        }\n      },\n      {\n        \"metadata\": {\n          \"conversationSpaceId\": \"a5898f16-2d77-3166-8823-f6f530cbc9d8\",\n          \"direction\": \"OUTBOUND\",\n          \"accountKey\": \"9025397668827216905\",\n          \"callCreated\": \"2025-06-12T15:46:38.482Z\",\n          \"callInitiator\": \"DIRECT\",\n          \"dialString\": \"0590\"\n        },\n        \"state\": {\n          \"id\": \"025baeae-af3d-51ff-93c2-3985c882cb6d\",\n          \"sequenceNumber\": 9,\n          \"type\": \"ACTIVE\",\n          \"timestamp\": \"2025-06-12T15:46:51.997Z\",\n          \"participants\": [\n            {\n              \"id\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"legId\": \"89d2a40e-f044-47b4-95ca-892b45da01c5\",\n              \"originator\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"status\": {\n                \"value\": \"ON_HOLD\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"d0c1aad1-d963-441c-a5cd-74413a86a923\",\n                \"deviceId\": \"aa74a7d4-7e7c-4816-93df-f333cfb85e46\",\n                \"extensionNumber\": \"1047\",\n                \"name\": \"Alice\",\n                \"device\": {\n                  \"id\": \"aa74a7d4-7e7c-4816-93df-f333cfb85e46\",\n                  \"model\": \"goto.clients\",\n                  \"user\": {\n                    \"id\": \"104e2ce1-475c-42e2-975b-6c2ec8c8b64f\"\n                  }\n                }\n              },\n              \"recordings\": [\n                {\n                  \"id\": \"9088c8c0-615d-48a0-8f68-422f6379c2dd\",\n                  \"startTimestamp\": \"2025-06-12T15:46:41.583Z\",\n                  \"transcriptEnabled\": true\n                }\n              ]\n            },\n            {\n              \"id\": \"f83d4387-6d15-51ba-9141-793b60b910d5\",\n              \"legId\": \"7259827a-1a7e-4efb-aa52-1baaf76ad23c\",\n              \"originator\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"status\": {\n                \"value\": \"STARTING_THREEWAY_TRANSFER\",\n                \"destination\": {\n                  \"number\": \"3048\"\n                }\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"502f002c-9d81-4186-a4f8-bbb2f37151ab\",\n                \"deviceId\": \"8a13dbcf-82ad-4eb0-905c-9191be2107dc\",\n                \"extensionNumber\": \"0590\",\n                \"name\": \"John Smith\",\n                \"device\": {\n                  \"id\": \"8a13dbcf-82ad-4eb0-905c-9191be2107dc\",\n                  \"model\": \"polycom.vvx.101\",\n                  \"user\": {\n                    \"id\": \"e47da8bc-f698-4219-b01b-c9f43eef7df5\"\n                  }\n                }\n              },\n              \"recordings\": [\n                {\n                  \"id\": \"bf6c444e-b482-4887-a183-5c61fdd3d0ad\",\n                  \"startTimestamp\": \"2025-06-12T15:46:41.583Z\",\n                  \"transcriptEnabled\": true\n                }\n              ]\n            }\n          ]\n        }\n      },\n      {\n        \"metadata\": {\n          \"conversationSpaceId\": \"a5898f16-2d77-3166-8823-f6f530cbc9d8\",\n          \"direction\": \"OUTBOUND\",\n          \"accountKey\": \"9025397668827216905\",\n          \"callCreated\": \"2025-06-12T15:46:38.482Z\",\n          \"callInitiator\": \"DIRECT\",\n          \"dialString\": \"0590\"\n        },\n        \"state\": {\n          \"id\": \"f124904b-4666-5488-9dcd-81dee45e3727\",\n          \"sequenceNumber\": 10,\n          \"type\": \"ACTIVE\",\n          \"timestamp\": \"2025-06-12T15:46:53.577Z\",\n          \"participants\": [\n            {\n              \"id\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"legId\": \"89d2a40e-f044-47b4-95ca-892b45da01c5\",\n              \"originator\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"status\": {\n                \"value\": \"ON_HOLD\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"d0c1aad1-d963-441c-a5cd-74413a86a923\",\n                \"deviceId\": \"aa74a7d4-7e7c-4816-93df-f333cfb85e46\",\n                \"extensionNumber\": \"1047\",\n                \"name\": \"Alice\",\n                \"device\": {\n                  \"id\": \"aa74a7d4-7e7c-4816-93df-f333cfb85e46\",\n                  \"model\": \"goto.clients\",\n                  \"user\": {\n                    \"id\": \"104e2ce1-475c-42e2-975b-6c2ec8c8b64f\"\n                  }\n                }\n              },\n              \"recordings\": [\n                {\n                  \"id\": \"9088c8c0-615d-48a0-8f68-422f6379c2dd\",\n                  \"startTimestamp\": \"2025-06-12T15:46:41.583Z\",\n                  \"transcriptEnabled\": true\n                }\n              ]\n            },\n            {\n              \"id\": \"f83d4387-6d15-51ba-9141-793b60b910d5\",\n              \"legId\": \"7259827a-1a7e-4efb-aa52-1baaf76ad23c\",\n              \"originator\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"status\": {\n                \"value\": \"STARTING_THREEWAY_TRANSFER\",\n                \"destination\": {\n                  \"number\": \"3048\"\n                }\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"502f002c-9d81-4186-a4f8-bbb2f37151ab\",\n                \"deviceId\": \"8a13dbcf-82ad-4eb0-905c-9191be2107dc\",\n                \"extensionNumber\": \"0590\",\n                \"name\": \"John Smith\",\n                \"device\": {\n                  \"id\": \"8a13dbcf-82ad-4eb0-905c-9191be2107dc\",\n                  \"model\": \"polycom.vvx.101\",\n                  \"user\": {\n                    \"id\": \"e47da8bc-f698-4219-b01b-c9f43eef7df5\"\n                  }\n                }\n              },\n              \"recordings\": [\n                {\n                  \"id\": \"bf6c444e-b482-4887-a183-5c61fdd3d0ad\",\n                  \"startTimestamp\": \"2025-06-12T15:46:41.583Z\",\n                  \"transcriptEnabled\": true\n                }\n              ]\n            },\n            {\n              \"id\": \"a5874b43-b631-55a1-b2fe-e67fefdd90ee\",\n              \"legId\": \"9ef52c11-b460-40ca-b8b5-41ca03a05490\",\n              \"originator\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"status\": {\n                \"value\": \"RINGING\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"d21ef09f-ed4c-4ae4-905e-dce8d3058e79\",\n                \"deviceId\": \"28953dd8-3627-48e3-9691-4044531bf4bf\",\n                \"extensionNumber\": \"3048\",\n                \"name\": \"Rebecca Furlow\",\n                \"device\": {\n                  \"id\": \"28953dd8-3627-48e3-9691-4044531bf4bf\",\n                  \"model\": \"goto.clients\",\n                  \"user\": {\n                    \"id\": \"a56cf825-3cf7-4370-8f53-1c6ac361b085\"\n                  }\n                }\n              }\n            }\n          ]\n        }\n      }\n      ]\n      ```\n      </details>\n\n      2. With the transfer finished, we now have the 3 participants connected.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n      {\n        \"metadata\": {\n          \"conversationSpaceId\": \"a5898f16-2d77-3166-8823-f6f530cbc9d8\",\n          \"direction\": \"OUTBOUND\",\n          \"accountKey\": \"9025397668827216905\",\n          \"callCreated\": \"2025-06-12T15:46:38.482Z\",\n          \"callInitiator\": \"DIRECT\",\n          \"dialString\": \"0590\"\n        },\n        \"state\": {\n          \"id\": \"5c8b1f1d-df08-507a-8ee7-0f8ddb1d0fd3\",\n          \"sequenceNumber\": 15,\n          \"type\": \"ACTIVE\",\n          \"timestamp\": \"2025-06-12T15:47:02.282Z\",\n          \"participants\": [\n            {\n              \"id\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"legId\": \"89d2a40e-f044-47b4-95ca-892b45da01c5\",\n              \"originator\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"d0c1aad1-d963-441c-a5cd-74413a86a923\",\n                \"deviceId\": \"aa74a7d4-7e7c-4816-93df-f333cfb85e46\",\n                \"extensionNumber\": \"1047\",\n                \"name\": \"Alice\",\n                \"device\": {\n                  \"id\": \"aa74a7d4-7e7c-4816-93df-f333cfb85e46\",\n                  \"model\": \"goto.clients\",\n                  \"user\": {\n                    \"id\": \"104e2ce1-475c-42e2-975b-6c2ec8c8b64f\"\n                  }\n                }\n              },\n              \"recordings\": [\n                {\n                  \"id\": \"9088c8c0-615d-48a0-8f68-422f6379c2dd\",\n                  \"startTimestamp\": \"2025-06-12T15:46:41.583Z\",\n                  \"transcriptEnabled\": true\n                }\n              ]\n            },\n            {\n              \"id\": \"f83d4387-6d15-51ba-9141-793b60b910d5\",\n              \"legId\": \"7259827a-1a7e-4efb-aa52-1baaf76ad23c\",\n              \"originator\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"502f002c-9d81-4186-a4f8-bbb2f37151ab\",\n                \"deviceId\": \"8a13dbcf-82ad-4eb0-905c-9191be2107dc\",\n                \"extensionNumber\": \"0590\",\n                \"name\": \"John Smith\",\n                \"device\": {\n                  \"id\": \"8a13dbcf-82ad-4eb0-905c-9191be2107dc\",\n                  \"model\": \"polycom.vvx.101\",\n                  \"user\": {\n                    \"id\": \"e47da8bc-f698-4219-b01b-c9f43eef7df5\"\n                  }\n                }\n              },\n              \"recordings\": [\n                {\n                  \"id\": \"bf6c444e-b482-4887-a183-5c61fdd3d0ad\",\n                  \"startTimestamp\": \"2025-06-12T15:46:41.583Z\",\n                  \"transcriptEnabled\": true\n                }\n              ]\n            },\n            {\n              \"id\": \"a5874b43-b631-55a1-b2fe-e67fefdd90ee\",\n              \"legId\": \"9ef52c11-b460-40ca-b8b5-41ca03a05490\",\n              \"originator\": \"c492505c-b7bf-5013-82a4-f350e93c5111\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"d21ef09f-ed4c-4ae4-905e-dce8d3058e79\",\n                \"deviceId\": \"28953dd8-3627-48e3-9691-4044531bf4bf\",\n                \"extensionNumber\": \"3048\",\n                \"name\": \"Rebecca Furlow\",\n                \"device\": {\n                  \"id\": \"28953dd8-3627-48e3-9691-4044531bf4bf\",\n                  \"model\": \"goto.clients\",\n                  \"user\": {\n                    \"id\": \"a56cf825-3cf7-4370-8f53-1c6ac361b085\"\n                  }\n                }\n              },\n              \"recordings\": [\n                {\n                  \"id\": \"2d1cbf5b-16f8-406f-bd00-02c3e74b0d9e\",\n                  \"startTimestamp\": \"2025-06-12T15:46:56.17Z\",\n                  \"transcriptEnabled\": true\n                }\n              ]\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n\n      ## Direct Transfer\n\n      1. Alice calls Agent A.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 3,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      2. Agent A initiates direct transfer to Agent B\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"939d9608-f76a-455a-bf97-4e500e8ec623\",\n          \"sequenceNumber\": 5,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"IN_DIRECT_TRANSFER\",\n                \"initiator\": {\n                    \"participantId\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n                    \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\"\n                    \"extensionNumber\": \"1015\",\n                    \"name\": \"Agent A\"\n                  },\n                \"destination\": {\n                    \"number\": \"1025\"\n                  }\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"DISCONNECTING\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      3. Agent B answers the call.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"741b94c5-8a04-4607-a203-0052f0d53ac6\",\n          \"sequenceNumber\": 7,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            },\n            {\n              \"id\": \"9ac35e48-39d3-490b-b62b-3a1973cf5cb3\",\n              \"legId\": \"cdc1174c-c59b-49bd-8d8b-320758f7feed\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"8bdcc9b9-f155-48e1-8858-fee8497bcad7\",\n                \"device\": {\n                  \"id\": \"4bec5a14-7af0-408b-b560-e41fd298b1cb\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1025\",\n                \"name\": \"Agent B\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      ## Device Forwarding\n\n      1. Alice calls Agent A.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 2,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"RINGING\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"66af0360-96bd-485b-9992-bac4920e7f69\",\n                \"device\": {\n                  \"id\": \"c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1090\",\n                \"name\": \"Alice\"\n              },\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"DISCONNECTING\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      2. Agent A's device forwards the call to Agent B\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"939d9608-f76a-455a-bf97-4e500e8ec623\",\n          \"sequenceNumber\": 3,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"RINGING\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"66af0360-96bd-485b-9992-bac4920e7f69\",\n                \"device\": {\n                  \"id\": \"c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1090\",\n                \"name\": \"Alice\"\n              },\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"IN_DEVICE_FORWARDING\",\n                \"destinations\": [\n                  {\n                    \"participantId\": \"9ac35e48-39d3-490b-b62b-3a1973cf5cb3\",\n                    \"deviceId\": \"4bec5a14-7af0-408b-b560-e41fd298b1cb\",\n                    \"destinationType\": \"LINE\",\n                    \"extensionNumber\": \"1025\"\n                  }\n                ]\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      3. Agent B answers the call.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"741b94c5-8a04-4607-a203-0052f0d53ac6\",\n          \"sequenceNumber\": 6,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"66af0360-96bd-485b-9992-bac4920e7f69\",\n                \"device\": {\n                  \"id\": \"c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1090\",\n                \"name\": \"Alice\"\n              },\n            },\n            {\n              \"id\": \"9ac35e48-39d3-490b-b62b-3a1973cf5cb3\",\n              \"legId\": \"cdc1174c-c59b-49bd-8d8b-320758f7feed\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"8bdcc9b9-f155-48e1-8858-fee8497bcad7\",\n                \"device\": {\n                  \"id\": \"4bec5a14-7af0-408b-b560-e41fd298b1cb\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1025\",\n                \"name\": \"Agent B\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      ## Click-to-Call\n\n      The events for a click-to-call scenario are very similar to a normal OUTBOUND call from an agent to a customer.\n      The only difference is the `callInitiator` being `CLICK_TO_CALL` instead of `DIRECT`.\n      The `initiatorId` is matching the `initiatorId` returned on the [Calls API](https://developer.goto.com/GoToConnect/#tag/Calls-Overview).\n      Conversations that were initiated by Click-to-Call will have the same `initiatorId` and will be associated.\n\n      1. Agent A initiates click-to-call and their phone rings.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"conversationSpaceId\": \"1819bef0-c109-3ba7-8762-b9138fa0cf1c\",\n          \"direction\": \"OUTBOUND\",\n          \"accountKey\": \"2930718022414574861\",\n          \"callCreated\": \"2023-08-02T12:37:47.921Z\",\n          \"callInitiator\": \"CLICK_TO_CALL\",\n          \"initiatorId\": \"973f51b8-044f-4a54-948d-6e2aaae4571b\",\n          \"dialString\": \"+12345678945\"\n        },\n        \"state\": {\n          \"id\": \"52e87719-a8fd-4fa5-bcf9-4d97a4ae2f99\",\n          \"sequenceNumber\": 1,\n          \"type\": \"STARTING\",\n          \"participants\": [\n            {\n              \"id\": \"7e932b50-cd0a-477f-b3ae-bfeac60baca1\",\n              \"legId\": \"6ee52777-8693-468a-bc2c-f9c06c8be5ce\",\n              \"originator\": \"7e932b50-cd0a-477f-b3ae-bfeac60baca1\",\n              \"status\": {\n                \"value\": \"RINGING\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            }\n          ],\n          \"timestamp\": \"2023-08-02T12:37:48.492Z\"\n        }\n      }\n\n      ```\n      </details>\n\n      2. Agent A answers the call, the outbound call to Alice is triggered and Alice's phone rings.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"conversationSpaceId\": \"1819bef0-c109-3ba7-8762-b9138fa0cf1c\",\n          \"direction\": \"OUTBOUND\",\n          \"accountKey\": \"2930718022414574861\",\n          \"callCreated\": \"2023-08-02T12:37:47.921Z\",\n          \"callInitiator\": \"CLICK_TO_CALL\",\n          \"initiatorId\": \"973f51b8-044f-4a54-948d-6e2aaae4571b\",\n          \"dialString\": \"+12345678945\"\n        },\n        \"state\": {\n          \"id\": \"12a43986-9fa3-424f-9458-dde7adeed5bc\",\n          \"sequenceNumber\": 2,\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"7e932b50-cd0a-477f-b3ae-bfeac60baca1\",\n              \"legId\": \"6ee52777-8693-468a-bc2c-f9c06c8be5ce\",\n              \"originator\": \"7e932b50-cd0a-477f-b3ae-bfeac60baca1\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            },\n            {\n              \"id\": \"3ecc14a7-11e0-4d3b-9d3e-c785f233099b\",\n              \"legId\": \"b2a71d60-c7bb-4461-aa8f-d01f634a6029\",\n              \"originator\": \"7e932b50-cd0a-477f-b3ae-bfeac60baca1\",\n              \"status\": {\n                \"value\": \"RINGING\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"callee\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            }\n          ],\n          \"timestamp\": \"2023-08-02T12:38:01.29Z\"\n        }\n      }\n\n      ```\n      </details>\n\n      3. Alice answers the call.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"conversationSpaceId\": \"1819bef0-c109-3ba7-8762-b9138fa0cf1c\",\n          \"direction\": \"OUTBOUND\",\n          \"accountKey\": \"2930718022414574861\",\n          \"callCreated\": \"2023-08-02T12:37:47.921Z\",\n          \"callInitiator\": \"CLICK_TO_CALL\",\n          \"initiatorId\": \"973f51b8-044f-4a54-948d-6e2aaae4571b\",\n          \"dialString\": \"+12345678945\"\n        },\n        \"state\": {\n          \"id\": \"7a1b0319-51aa-44ca-8848-388e6cad234c\",\n          \"sequenceNumber\": 3,\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"7e932b50-cd0a-477f-b3ae-bfeac60baca1\",\n              \"legId\": \"6ee52777-8693-468a-bc2c-f9c06c8be5ce\",\n              \"originator\": \"7e932b50-cd0a-477f-b3ae-bfeac60baca1\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            },\n            {\n              \"id\": \"3ecc14a7-11e0-4d3b-9d3e-c785f233099b\",\n              \"legId\": \"b2a71d60-c7bb-4461-aa8f-d01f634a6029\",\n              \"originator\": \"7e932b50-cd0a-477f-b3ae-bfeac60baca1\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"callee\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            }\n          ],\n          \"timestamp\": \"2023-08-02T12:38:01.29Z\"\n        }\n      }\n\n      ```\n      </details>\n\n      ## Click-To-Call using multiple devices with the same line\n\n      The events for a click-to-call with multiple devices sharing a line are similar to the click-to-call scenario above.\n      You can connect the conversations by inspecting the `associatedConversations` in the `metadata` section of the call event.\n      The associated conversations array is populated when multiple conversations with the same `initiatorId` are detected.\n      This occurs when multiple devices with the same line are used to make the call via click-to-call.\n\n      1. Agent A initiates click-to-call and their phone rings. Both devices are ringing and two conversation spaces are created with the\n         `associatedConversations` array populated.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n        \"conversationSpaceId\": \"d54ecb98-ab4f-33c0-8149-f649c71f5a6e\",\n        \"direction\": \"OUTBOUND\",\n        \"accountKey\": \"1885673839164812041\",\n        \"callCreated\": \"2024-05-23T17:13:12.376Z\",\n        \"callInitiator\": \"CLICK_TO_CALL\",\n        \"initiatorId\": \"96415091-84f6-4561-8da2-829f51d2daab\",\n        \"dialString\": \"1002\"\n      },\n      \"state\": {\n        \"id\": \"ecd46253-82aa-4d60-8528-577747fa6034\",\n        \"sequenceNumber\": 1,\n        \"type\": \"STARTING\",\n        \"timestamp\": \"2024-05-23T17:13:12.376Z\",\n        \"participants\": [\n          {\n            \"id\": \"3630ddc0-474b-482a-a065-1be7ffcf25fc\",\n            \"legId\": \"36fe2334-cac8-48a8-b9a5-e185b61990a1\",\n            \"originator\": \"3630ddc0-474b-482a-a065-1be7ffcf25fc\",\n            \"status\": {\n              \"value\": \"RINGING\"\n            },\n            \"type\": {\n              \"value\": \"LINE\",\n              \"lineId\": \"89a02cb6-f887-4cd0-9d2e-a3cbbdd8d209\",\n              \"deviceId\": \"43a5f6e9-06f5-40bb-a9b7-5150bece8900\",\n              \"extensionNumber\": \"1000\",\n              \"name\": \"admin-line\",\n              \"device\": {\n                \"id\": \"43a5f6e9-06f5-40bb-a9b7-5150bece8900\",\n                \"model\": \"goto.clients\"\n                }\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"conversationSpaceId\": \"5b29b65d-5f21-3bc5-b113-3d51ca0211fa\",\n          \"associatedConversations\": [\n            \"d54ecb98-ab4f-33c0-8149-f649c71f5a6e\"\n          ],\n          \"direction\": \"OUTBOUND\",\n          \"accountKey\": \"1885673839164812041\",\n          \"callCreated\": \"2024-05-23T17:13:12.371Z\",\n          \"callInitiator\": \"CLICK_TO_CALL\",\n          \"initiatorId\": \"96415091-84f6-4561-8da2-829f51d2daab\",\n          \"dialString\": \"1002\"\n        },\n        \"state\": {\n          \"id\": \"05b0dd2c-5e56-4713-a114-53d688e1e267\",\n          \"sequenceNumber\": 1,\n          \"type\": \"STARTING\",\n          \"timestamp\": \"2024-05-23T17:13:12.371Z\",\n          \"participants\": [\n            {\n              \"id\": \"50cbf9d7-483f-472b-8eb0-73fc58363614\",\n              \"legId\": \"4d2769f6-f74f-431d-a06e-c987d388b318\",\n              \"originator\": \"50cbf9d7-483f-472b-8eb0-73fc58363614\",\n              \"status\": {\n                \"value\": \"RINGING\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"89a02cb6-f887-4cd0-9d2e-a3cbbdd8d209\",\n                \"deviceId\": \"79390fe9-2fbd-4224-8b23-bfe671165913\",\n                \"extensionNumber\": \"1000\",\n                \"name\": \"admin-line\",\n                \"device\": {\n                  \"id\": \"79390fe9-2fbd-4224-8b23-bfe671165913\",\n                  \"model\": \"\"\n                }\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      ## Call Parking\n\n      1. Alice calls Agent A.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 3,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      2. Agent A parks the call.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"29620804-39d9-46ef-8646-d612bd7b8f95\",\n          \"sequenceNumber\": 4,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"PARKED\",\n                \"parkingLot\": \"01\",\n                \"initiator\": {\n                  \"participantId\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n                  \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n                  \"extensionNumber\": \"1015\",\n                  \"name\": \"Agent A\"\n                }\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      3. Agent B un-parks Alice.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"741b94c5-8a04-4607-a203-0052f0d53ac6\",\n          \"sequenceNumber\": 6,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            },\n            {\n              \"id\": \"9ac35e48-39d3-490b-b62b-3a1973cf5cb3\",\n              \"legId\": \"cdc1174c-c59b-49bd-8d8b-320758f7feed\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"8bdcc9b9-f155-48e1-8858-fee8497bcad7\",\n                \"device\": {\n                  \"id\": \"4bec5a14-7af0-408b-b560-e41fd298b1cb\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1025\",\n                \"name\": \"Agent B\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      ## Call Flip\n\n      1. Alice calls Agent A.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 3,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      2. Agent A initiates call flip and takes the call on their other line.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"29620804-39d9-46ef-8646-d612bd7b8f95\",\n          \"sequenceNumber\": 4,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"d75abc08-d7f2-46e0-baf7-a769cec9a2c4\",\n              \"originator\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"c554081f-148f-42d8-86ce-9caa8e4449fz\",\n                \"device\": {\n                  \"id\": \"80f50ee1-a2c1-323d-8cd5-e417f3bd093f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1018\",\n                \"name\": \"Agent A Other Line\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n      ## Call Monitoring\n\n      Follow the instructions to [enable and use call monitoring](https://support.goto.com/connect/help/how-do-i-monitor-a-call).\n\n      ### Whisper\n\n      The participant in this state is in call monitoring and can hear every participant in the conversation, but can only talk to the one they're whispering to.\n\n      1. Alice calls Agent A. Agent B is listening in.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 3,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            },\n            {\n              \"id\": \"a642445c-570c-4022-8496-2377a9a2de47\",\n              \"legId\": \"82f29bb0-87bf-4a7f-9f69-bb44269a740c\",\n              \"originator\": \"a642445c-570c-4022-8496-2377a9a2de47\",\n              \"status\": {\n                \"value\": \"WHISPERING\",\n                \"whisperingToParticipant\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"43da3bcd-a63c-49bc-9fcb-5caf3a1f8607\",\n                \"device\": {\n                  \"id\": \"80f50ee1-a2c1-323d-8cd5-e417f3bd093f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1020\",\n                \"name\": \"Agent B\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      ### Listen\n\n      The participant in this state is in call monitoring and can hear every participant in the conversation, but can't talk to any of them.\n\n      1. Alice calls Agent A. Agent B is listening in.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 3,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            },\n            {\n              \"id\": \"a642445c-570c-4022-8496-2377a9a2de47\",\n              \"legId\": \"82f29bb0-87bf-4a7f-9f69-bb44269a740c\",\n              \"originator\": \"a642445c-570c-4022-8496-2377a9a2de47\",\n              \"status\": {\n                \"value\": \"LISTENING\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"43da3bcd-a63c-49bc-9fcb-5caf3a1f8607\",\n                \"device\": {\n                  \"id\": \"80f50ee1-a2c1-323d-8cd5-e417f3bd093f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1020\",\n                \"name\": \"Agent B\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      ### Barge\n\n      The participant is in a regular CONNECTED state and can hear and talk to every participant in the conversation.\n\n      1. Alice calls Agent A. Agent B barges in.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 3,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            },\n            {\n              \"id\": \"a642445c-570c-4022-8496-2377a9a2de47\",\n              \"legId\": \"82f29bb0-87bf-4a7f-9f69-bb44269a740c\",\n              \"originator\": \"a642445c-570c-4022-8496-2377a9a2de47\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"43da3bcd-a63c-49bc-9fcb-5caf3a1f8607\",\n                \"device\": {\n                  \"id\": \"80f50ee1-a2c1-323d-8cd5-e417f3bd093f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1020\",\n                \"name\": \"Agent B\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      ## Call Sent to Voicemail\n\n      1. Alice calls Agent A.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 3,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"STARTING\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"RINGING\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"RINGING\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      2. Agent A is not available, the call is forwarded to Agent A's voicemail.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"29620804-39d9-46ef-8646-d612bd7b8f95\",\n          \"sequenceNumber\": 4,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            }\n          ],\n          \"interactiveVoiceResponseSystems\": [\n            {\n              \"id\": \"a642445c-570c-4022-8496-2377a9a2de47\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"VOICEMAIL\",\n                \"voicemailBoxId\": \"543dd572-60b5-4318-ab2d-7e2216489a31\",\n                \"number\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      3. Alice hangs up.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"29620804-39d9-46ef-8646-d612bd7b8f95\",\n          \"sequenceNumber\": 5,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            }\n          ],\n          \"interactiveVoiceResponseSystems\": [\n            {\n              \"id\": \"a642445c-570c-4022-8496-2377a9a2de47\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"DISCONNECTING\"\n              },\n              \"type\": {\n                \"value\": \"VOICEMAIL\",\n                \"voicemailBoxId\": \"543dd572-60b5-4318-ab2d-7e2216489a31\",\n                \"number\": \"1015\",\n                \"name\": \"Agent A\",\n                \"folder\": \"INBOX\",\n                \"duration\": 4000,\n                \"voicemailStatus\": \"SUCCESS\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      ## Dial Plan\n\n      Alice calls Dial Plan, Alice selects option 2 on Auto Attendant, call sent to Call Queue,\n      after timeout it is sent to VM\n\n      1. Alice calls Dial Plan, connects to AutoAttendant\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 3,\n          \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            }\n          ],\n          \"interactiveVoiceResponseSystems\": [\n            {\n              \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"DIAL_PLAN\",\n                \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                \"currentNode\": {\n                  \"id\": \"AttendantPromptNode_1005\",\n                  \"type\": \"AttendantPromptNode\"\n                }\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      2. Alice selects option 2 on Auto Attendant\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 4,\n          \"timestamp\": \"2022-04-26T18:19:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            }\n          ],\n          \"interactiveVoiceResponseSystems\": [\n            {\n              \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"DIAL_PLAN\",\n                \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                \"currentNode\": {\n                  \"id\": \"AttendantPromptNode_1005\",\n                  \"type\": \"AttendantPromptNode\",\n                  \"option\": \"2\",\n                  \"result\": \"DIALED_OPTION\"\n                }\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      3. Call sent to Call Queue\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 5,\n          \"timestamp\": \"2022-04-26T18:19:51.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            }\n          ],\n          \"interactiveVoiceResponseSystems\": [\n            {\n              \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"DIAL_PLAN\",\n                \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                \"currentNode\": {\n                  \"id\": \"CallQueueNode_1066\",\n                  \"type\": \"CallQueueNode\"\n                },\n                \"previousNode\": {\n                  \"id\": \"AttendantPromptNode_1005\",\n                  \"connector\": \"option_2\"\n                }\n              }\n            },\n            {\n              \"id\": \"c3e5f222-4a1b-4e35-a6ba-0813d4c32988\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"CALL_QUEUE\",\n                \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n                \"queueName\": \"Call Queue - Sales\",\n                \"queueType\": \"BASIC\",\n                \"configuredWrapUpDuration\": 0\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      4. Call Queue times out, sent to next node\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 6,\n          \"timestamp\": \"2022-04-26T18:20:50.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            }\n          ],\n          \"interactiveVoiceResponseSystems\": [\n            {\n              \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"DIAL_PLAN\",\n                \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                \"currentNode\": {\n                  \"id\": \"CallQueueNode_1066\",\n                  \"type\": \"CallQueueNode\",\n                  \"result\": \"TIMEOUT\"\n                },\n                \"previousNode\": {\n                  \"id\": \"AttendantPromptNode_1005\",\n                  \"connector\": \"option_2\"\n                }\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      5. Alice connects to voicemail\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 7,\n          \"timestamp\": \"2022-04-26T18:20:55.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            }\n          ],\n          \"interactiveVoiceResponseSystems\": [\n            {\n              \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"DIAL_PLAN\",\n                \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                \"currentNode\": {\n                  \"id\": \"VoicemailNode_1019\",\n                  \"type\": \"VoicemailNode\"\n                },\n                \"previousNode\": {\n                  \"id\": \"CallQueueNode_1066\",\n                  \"connector\": \"on_timeout\"\n                }\n              }\n            },\n            {\n              \"id\": \"a13a15fe-7aab-49c3-bd7b-88025c18e23a\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"VOICEMAIL\",\n                \"voicemailBoxId\": \"ac5a8986-771e-46e7-a41d-167900a90c00\",\n                \"number\": \"1070\",\n                \"name\": \"Voicemail\"\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      ## Call Queue, an agent takes the call\n\n      1. Alice calls call queue.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 2,\n          \"timestamp\": \"2022-04-26T18:19:51.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            }\n          ],\n          \"interactiveVoiceResponseSystems\": [\n            {\n              \"id\": \"715cf2e5-6a9c-44d9-abd1-1fff38017931\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"CALL_QUEUE\",\n                \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n                \"queueName\": \"Call Queue - Sales\",\n                \"queueType\": \"BASIC\",\n                \"configuredWrapUpDuration\": 0\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      2. Agent A from the call queue is rung.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 2,\n          \"timestamp\": \"2022-04-26T18:19:51.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"RINGING\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            }\n          ],\n          \"interactiveVoiceResponseSystems\": [\n            {\n              \"id\": \"715cf2e5-6a9c-44d9-abd1-1fff38017931\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"CALL_QUEUE\",\n                \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n                \"queueName\": \"Call Queue - Sales\",\n                \"queueType\": \"BASIC\",\n                \"configuredWrapUpDuration\": 0\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      3. Agent A picks up the call.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      {\n        \"metadata\": {\n          \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n          \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n          \"callInitiator\": \"DIRECT\",\n          \"accountKey\": \"2930718022414574861\",\n          \"direction\": \"INBOUND\"\n        },\n        \"state\": {\n          \"id\": \"51e77350-e2b3-4a47-8872-e2eaed7dc11b\",\n          \"sequenceNumber\": 3,\n          \"timestamp\": \"2022-04-26T18:20:10.147Z\",\n          \"type\": \"ACTIVE\",\n          \"participants\": [\n            {\n              \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"name\": \"Alice Phone 1\",\n                \"number\": \"+19881234567\",\n                \"caller\": {\n                  \"name\": \"Alice\",\n                  \"number\": \"+12345678945\"\n                }\n              }\n            },\n            {\n              \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n              \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"device\": {\n                  \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                  \"model\": \"goto.clients\",\n                },\n                \"extensionNumber\": \"1015\",\n                \"name\": \"Agent A\"\n              }\n            }\n          ],\n          \"interactiveVoiceResponseSystems\": [\n            {\n              \"id\": \"715cf2e5-6a9c-44d9-abd1-1fff38017931\",\n              \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n              \"status\": {\n                \"value\": \"CONNECTED\"\n              },\n              \"type\": {\n                \"value\": \"CALL_QUEUE\",\n                \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n                \"queueName\": \"Call Queue - Sales\",\n                \"queueType\": \"BASIC\",\n                \"configuredWrapUpDuration\": 0\n              }\n            }\n          ]\n        }\n      }\n\n      ```\n      </details>\n\n      ## Satisfaction Survey\n\n      <details>\n        <summary>Example</summary>\n\n        A caller calls a dial plan with a Customer Satisfaction Score (CSAT) satisfaction survey node configured.\n\n        1. The caller reaches the dial plan node with the satisfaction survey.\n        It plays a soundclip informing them about the survey at the end of the call.\n        ```\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"fa80ecbc-b358-3318-bede-53f02639f2be\",\n            \"direction\": \"INBOUND\",\n            \"accountKey\": \"8740201988709458454\",\n            \"callCreated\": \"2025-08-12T15:44:21.996Z\",\n            \"callInitiator\": \"DIRECT\"\n          },\n          \"state\": {\n            \"id\": \"f1a47a8e-6eb7-5354-909d-415e9f383e58\",\n            \"sequenceNumber\": 3,\n            \"type\": \"ACTIVE\",\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"785bdcb8-e336-5180-8f87-53f8f16cd78a\",\n                \"originator\": \"0510686e-2b1a-5ca3-af30-288bb04f4482\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"DIAL_PLAN\",\n                  \"dialPlanId\": \"96b78686-745f-4cc5-9892-08bbc91059fa\",\n                  \"executionId\": \"4726d139-231e-4d9d-b3d4-8821407888fb\",\n                  \"currentNode\": {\n                    \"id\": \"PlaySoundClipNode_1021\",\n                    \"type\": \"SatisfactionSurveyNode\",\n                    \"result\": \"CONTINUE\"\n                  },\n                  \"previousNode\": {\n                    \"id\": \"\",\n                    \"connector\": \"\"\n                  }\n                }\n              }\n            ],\n            \"timestamp\": \"2025-08-12T15:44:32.575Z\",\n            \"recordings\": [\n              {\n                \"id\": \"a55c3ac0-de0e-428d-b2a3-95a9a481c463\",\n                \"startTimestamp\": \"2025-08-12T15:44:22.145Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"0510686e-2b1a-5ca3-af30-288bb04f4482\",\n                \"legId\": \"6502ddc4-66fa-4450-99c8-9a808dc9dd22\",\n                \"originator\": \"0510686e-2b1a-5ca3-af30-288bb04f4482\",\n                \"status\": {\n                  \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"e6eb8191-3f35-4173-a1fc-fa673743a91d\",\n                  \"number\": \"+13854401856\",\n                  \"name\": \"Company Phone Number\",\n                  \"caller\": {\n                    \"name\": \"Org Test\",\n                    \"number\": \"+14383005438\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"a55c3ac0-de0e-428d-b2a3-95a9a481c463\",\n                    \"startTimestamp\": \"2025-08-12T15:44:22.145Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              }\n            ]\n          }\n        }\n        ```\n\n        2. The call proceeds with the caller eventually talking to an agent Alice.\n        ```\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"fa80ecbc-b358-3318-bede-53f02639f2be\",\n            \"direction\": \"INBOUND\",\n            \"accountKey\": \"8740201988709458454\",\n            \"callCreated\": \"2025-08-12T15:44:21.996Z\",\n            \"callInitiator\": \"DIRECT\"\n          },\n          \"state\": {\n            \"id\": \"a63f1b52-75d0-501f-95a6-a29e2b9d3e78\",\n            \"sequenceNumber\": 8,\n            \"type\": \"ACTIVE\",\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"785bdcb8-e336-5180-8f87-53f8f16cd78a\",\n                \"originator\": \"0510686e-2b1a-5ca3-af30-288bb04f4482\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"DIAL_PLAN\",\n                  \"dialPlanId\": \"96b78686-745f-4cc5-9892-08bbc91059fa\",\n                  \"executionId\": \"4726d139-231e-4d9d-b3d4-8821407888fb\",\n                  \"currentNode\": {\n                    \"id\": \"CallQueueNode_1003\",\n                    \"type\": \"CallQueueNode\"\n                  },\n                  \"previousNode\": {\n                    \"id\": \"PlaySoundClipNode_1021\",\n                    \"connector\": \"nextNode\"\n                  }\n                }\n              },\n              {\n                \"id\": \"5249261a-cb4a-5729-866b-2f9599fbc9b3\",\n                \"originator\": \"0510686e-2b1a-5ca3-af30-288bb04f4482\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"CALL_QUEUE\",\n                  \"queueId\": \"370fac1f-0472-4864-b3b2-a83fd3aaefe0\",\n                  \"queueName\": \"Org's Call Queue\",\n                  \"queueType\": \"BASIC\",\n                  \"configuredWrapUpDuration\": 0\n                }\n              }\n            ],\n            \"timestamp\": \"2025-08-12T15:44:35.709Z\",\n            \"recordings\": [\n              {\n                \"id\": \"a55c3ac0-de0e-428d-b2a3-95a9a481c463\",\n                \"startTimestamp\": \"2025-08-12T15:44:22.145Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"0510686e-2b1a-5ca3-af30-288bb04f4482\",\n                \"legId\": \"6502ddc4-66fa-4450-99c8-9a808dc9dd22\",\n                \"originator\": \"0510686e-2b1a-5ca3-af30-288bb04f4482\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"e6eb8191-3f35-4173-a1fc-fa673743a91d\",\n                  \"number\": \"+13854401856\",\n                  \"name\": \"Company Phone Number\",\n                  \"caller\": {\n                    \"name\": \"Org Test\",\n                    \"number\": \"+14383005438\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"a55c3ac0-de0e-428d-b2a3-95a9a481c463\",\n                    \"startTimestamp\": \"2025-08-12T15:44:22.145Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"4550cdf8-ed82-59fc-afea-2d56a3203270\",\n                \"legId\": \"a56c08d0-9c9f-46a9-86be-58be8a5c90c3\",\n                \"originator\": \"0510686e-2b1a-5ca3-af30-288bb04f4482\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"c9c056a1-5b0b-41af-b6db-e13aaaa7206b\",\n                  \"deviceId\": \"86c07ee2-daa5-455a-b626-e3e4edbf5955\",\n                  \"extensionNumber\": \"3001\",\n                  \"name\": \"Alice\",\n                  \"device\": {\n                    \"id\": \"86c07ee2-daa5-455a-b626-e3e4edbf5955\",\n                    \"model\": \"goto.clients\",\n                    \"user\": {\n                      \"id\": \"d178934d-3293-4fe6-9277-6ccd0287ef1b\"\n                    }\n                  }\n                }\n              }\n            ]\n          }\n        }\n        ```\n\n        3. At the end of the call, the caller connects to the satisfaction survey.\n        The satisfaction survey appears in the interactiveVoiceResponseSystems.\n\n        ```\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"fa80ecbc-b358-3318-bede-53f02639f2be\",\n            \"direction\": \"INBOUND\",\n            \"accountKey\": \"8740201988709458454\",\n            \"callCreated\": \"2025-08-12T15:44:21.996Z\",\n            \"callInitiator\": \"DIRECT\"\n          },\n          \"state\": {\n            \"id\": \"b53182c8-d788-5280-8305-ad91f9166afb\",\n            \"sequenceNumber\": 12,\n            \"type\": \"ACTIVE\",\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"7f199977-9221-53ea-94d8-98db236d8d5d\",\n                \"originator\": \"0510686e-2b1a-5ca3-af30-288bb04f4482\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"SATISFACTION_SURVEY\"\n                }\n              }\n            ],\n            \"timestamp\": \"2025-08-12T15:44:41.355Z\",\n            \"recordings\": [\n              {\n                \"id\": \"a55c3ac0-de0e-428d-b2a3-95a9a481c463\",\n                \"startTimestamp\": \"2025-08-12T15:44:22.145Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"0510686e-2b1a-5ca3-af30-288bb04f4482\",\n                \"legId\": \"6502ddc4-66fa-4450-99c8-9a808dc9dd22\",\n                \"originator\": \"0510686e-2b1a-5ca3-af30-288bb04f4482\",\n                \"status\": {\n                  \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"e6eb8191-3f35-4173-a1fc-fa673743a91d\",\n                  \"number\": \"+13854401856\",\n                  \"name\": \"Company Phone Number\",\n                  \"caller\": {\n                    \"name\": \"Org Test\",\n                    \"number\": \"+14383005438\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"a55c3ac0-de0e-428d-b2a3-95a9a481c463\",\n                    \"startTimestamp\": \"2025-08-12T15:44:22.145Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              }\n            ]\n          }\n        }\n        ```\n\n        4. After the survey is completed, the satisfaction survey state with the result is present.\n        ```\n        {\n          \"metadata\": {\n            \"conversationSpaceId\": \"fa80ecbc-b358-3318-bede-53f02639f2be\",\n            \"direction\": \"INBOUND\",\n            \"accountKey\": \"8740201988709458454\",\n            \"callCreated\": \"2025-08-12T15:44:21.996Z\",\n            \"callInitiator\": \"DIRECT\"\n          },\n          \"state\": {\n            \"id\": \"d03bd96f-a71f-5099-8cc2-2945317af84d\",\n            \"sequenceNumber\": 13,\n            \"type\": \"ACTIVE\",\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"7f199977-9221-53ea-94d8-98db236d8d5d\",\n                \"originator\": \"0510686e-2b1a-5ca3-af30-288bb04f4482\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"SATISFACTION_SURVEY\",\n                  \"type\": \"CSAT\",\n                  \"result\": \"ANSWERED\"\n                }\n              }\n            ],\n            \"timestamp\": \"2025-08-12T15:45:03.467Z\",\n            \"recordings\": [\n              {\n                \"id\": \"a55c3ac0-de0e-428d-b2a3-95a9a481c463\",\n                \"startTimestamp\": \"2025-08-12T15:44:22.145Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"0510686e-2b1a-5ca3-af30-288bb04f4482\",\n                \"legId\": \"6502ddc4-66fa-4450-99c8-9a808dc9dd22\",\n                \"originator\": \"0510686e-2b1a-5ca3-af30-288bb04f4482\",\n                \"status\": {\n                  \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"e6eb8191-3f35-4173-a1fc-fa673743a91d\",\n                  \"number\": \"+13854401856\",\n                  \"name\": \"Company Phone Number\",\n                  \"caller\": {\n                    \"name\": \"Org Test\",\n                    \"number\": \"+14383005438\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"a55c3ac0-de0e-428d-b2a3-95a9a481c463\",\n                    \"startTimestamp\": \"2025-08-12T15:44:22.145Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              }\n            ]\n          }\n        }\n        ```\n\n      </details>\n\n      ## Example of a Full Flow\n\n      1. Customer with PhoneNumber `+12345678945` calls DID `+19881234567` (which hits `Dial Plan - default`)\n      2. Customer in the dial plan, enters options 2 and is transferred to extension 1025 (which is a call queue)\n      3. Customer waits 10min in call queue and agent Bob answers and talks 5min\n      4. Supervisor Carol joins the conversation and hangups\n      5. Agent Bob parks the call on spot 2\n      6. Agent Bob picks up back the call from spot 2 and transfers to extension 1024\n      7. Extension 1024 has no one to answer the call is missed and the VM box is hit\n      8. VM message is left by the customer and the call ends\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n\n      [\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"YWJjZC01\",\n            \"sequenceNumber\": 1,\n            \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n            \"type\": \"STARTING\",\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"741b94c5-8a04-4607-a203-0052f0d53ac6\",\n            \"sequenceNumber\": 2,\n            \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                }\n              },\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"DIAL_PLAN\",\n                  \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                  \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                  \"currentNode\": {\n                    \"id\": \"AttendantPromptNode_1005\",\n                    \"type\": \"AttendantPromptNode\"\n                  }\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"939d9608-f76a-455a-bf97-4e500e8ec623\",\n            \"sequenceNumber\": 3,\n            \"timestamp\": \"2022-04-26T18:15:20.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              }\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"DIAL_PLAN\",\n                  \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                  \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                  \"currentNode\": {\n                    \"id\": \"AttendantPromptNode_1005\",\n                    \"type\": \"AttendantPromptNode\",\n                    \"option\": \"2\",\n                    \"result\": \"DIALED_OPTION\"\n                  }\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"3061319b-3a80-4d7b-b81d-1c69a3cd8d39\",\n            \"sequenceNumber\": 4,\n            \"timestamp\": \"2022-04-26T18:15:20.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              }\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"DIAL_PLAN\",\n                  \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                  \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                  \"currentNode\": {\n                    \"id\": \"CallQueueNode_1066\",\n                    \"type\": \"CallQueueNode\"\n                  },\n                  \"previousNode\": {\n                    \"id\": \"AttendantPromptNode_1005\",\n                    \"connector\": \"option_2\"\n                  }\n                }\n              },\n              {\n                \"id\": \"c3e5f222-4a1b-4e35-a6ba-0813d4c32988\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"CALL_QUEUE\",\n                  \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n                  \"queueName\": \"Call Queue - Sales\",\n                  \"queueType\": \"BASIC\",\n                  \"configuredWrapUpDuration\": 0\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"e6b053e1-53b8-49ae-82b0-72bdecae6181\",\n            \"sequenceNumber\": 5,\n            \"timestamp\": \"2022-04-26T18:15:20.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n                \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n                \"originator\": \"f5a3e92f-4652-4780-ab3e-995267e6d769\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                  \"device\": {\n                    \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1015\",\n                  \"name\": \"Agent Bob\"\n                }\n              }\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"DIAL_PLAN\",\n                  \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                  \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                  \"currentNode\": {\n                    \"id\": \"CallQueueNode_1066\",\n                    \"type\": \"CallQueueNode\"\n                  },\n                  \"previousNode\": {\n                    \"id\": \"AttendantPromptNode_1005\",\n                    \"connector\": \"option_2\"\n                  }\n                }\n              },\n              {\n                \"id\": \"c3e5f222-4a1b-4e35-a6ba-0813d4c32988\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"CALL_QUEUE\",\n                  \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n                  \"queueName\": \"Call Queue - Sales\",\n                  \"queueType\": \"BASIC\",\n                  \"configuredWrapUpDuration\": 0\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"b5ff2052-a3f7-48b6-ad3c-2cdcc371e892\",\n            \"sequenceNumber\": 6,\n            \"timestamp\": \"2022-04-26T18:25:20.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n                \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n                \"originator\": \"f5a3e92f-4652-4780-ab3e-995267e6d769\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                  \"device\": {\n                    \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1015\",\n                  \"name\": \"Agent Bob\"\n                  }\n                }\n              }\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"DIAL_PLAN\",\n                  \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                  \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                  \"currentNode\": {\n                    \"id\": \"CallQueueNode_1066\",\n                    \"type\": \"CallQueueNode\"\n                  },\n                  \"previousNode\": {\n                    \"id\": \"AttendantPromptNode_1005\",\n                    \"connector\": \"option_2\"\n                  }\n                }\n              },\n              {\n                \"id\": \"c3e5f222-4a1b-4e35-a6ba-0813d4c32988\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"CALL_QUEUE\",\n                  \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n                  \"queueName\": \"Call Queue - Sales\",\n                  \"queueType\": \"BASIC\",\n                  \"configuredWrapUpDuration\": 0\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"6418da4d-b2e3-4736-b573-43090c297ed8\",\n            \"sequenceNumber\": 7,\n            \"timestamp\": \"2022-04-26T18:30:20.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n                \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n                \"originator\": \"f5a3e92f-4652-4780-ab3e-995267e6d769\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                  \"device\": {\n                    \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1015\",\n                  \"name\": \"Agent Bob\"\n                }\n              },\n              {\n                \"id\": \"562af784-9a27-4230-957a-a44404571c74\",\n                \"legId\": \"8bd4e94c-6d07-4015-834e-3ff6e2102141\",\n                \"originator\": \"562af784-9a27-4230-957a-a44404571c74\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"0550b160-db7a-4506-9ab0-2b92360e1791\",\n                  \"device\": {\n                    \"id\": \"10d1da67-3339-487d-9ab1-19ff23c4b0f1\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"2021\",\n                  \"name\": \"Supervisor Carol\"\n                }\n              }\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"DIAL_PLAN\",\n                  \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                  \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                  \"currentNode\": {\n                    \"id\": \"CallQueueNode_1066\",\n                    \"type\": \"CallQueueNode\"\n                  },\n                  \"previousNode\": {\n                    \"id\": \"AttendantPromptNode_1005\",\n                    \"connector\": \"option_2\"\n                  }\n                }\n              },\n              {\n                \"id\": \"c3e5f222-4a1b-4e35-a6ba-0813d4c32988\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"CALL_QUEUE\",\n                  \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n                  \"queueName\": \"Call Queue - Sales\",\n                  \"queueType\": \"BASIC\",\n                  \"configuredWrapUpDuration\": 0\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"1de06de0-4b45-4f1c-a28a-62703c686945\",\n            \"sequenceNumber\": 8,\n            \"timestamp\": \"2022-04-26T18:30:20.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n                \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n                \"originator\": \"f5a3e92f-4652-4780-ab3e-995267e6d769\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                  \"device\": {\n                    \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1015\",\n                  \"name\": \"Agent Bob\"\n                }\n              },\n              {\n                \"id\": \"562af784-9a27-4230-957a-a44404571c74\",\n                \"legId\": \"8bd4e94c-6d07-4015-834e-3ff6e2102141\",\n                \"originator\": \"562af784-9a27-4230-957a-a44404571c74\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"0550b160-db7a-4506-9ab0-2b92360e1791\",\n                  \"device\": {\n                    \"id\": \"10d1da67-3339-487d-9ab1-19ff23c4b0f1\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"2021\",\n                  \"name\": \"Supervisor Carol\"\n                }\n              }\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"DIAL_PLAN\",\n                  \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                  \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                  \"currentNode\": {\n                    \"id\": \"CallQueueNode_1066\",\n                    \"type\": \"CallQueueNode\"\n                  },\n                  \"previousNode\": {\n                    \"id\": \"AttendantPromptNode_1005\",\n                    \"connector\": \"option_2\"\n                  }\n                }\n              },\n              {\n                \"id\": \"c3e5f222-4a1b-4e35-a6ba-0813d4c32988\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"CALL_QUEUE\",\n                  \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n                  \"queueName\": \"Call Queue - Sales\",\n                  \"queueType\": \"BASIC\",\n                  \"configuredWrapUpDuration\": 0\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"63a94924-5a3c-4d43-b089-060bdc9893c8\",\n            \"sequenceNumber\": 9,\n            \"timestamp\": \"2022-04-26T18:31:20.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n                \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n                \"originator\": \"f5a3e92f-4652-4780-ab3e-995267e6d769\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                  \"device\": {\n                    \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1015\",\n                  \"name\": \"Agent Bob\"\n                }\n              },\n              {\n                \"id\": \"562af784-9a27-4230-957a-a44404571c74\",\n                \"legId\": \"8bd4e94c-6d07-4015-834e-3ff6e2102141\",\n                \"originator\": \"562af784-9a27-4230-957a-a44404571c74\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"0550b160-db7a-4506-9ab0-2b92360e1791\",\n                  \"device\": {\n                    \"id\": \"10d1da67-3339-487d-9ab1-19ff23c4b0f1\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"2021\",\n                  \"name\": \"Supervisor Carol\"\n                }\n              }\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"DIAL_PLAN\",\n                  \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                  \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                  \"currentNode\": {\n                    \"id\": \"CallQueueNode_1066\",\n                    \"type\": \"CallQueueNode\"\n                  },\n                  \"previousNode\": {\n                    \"id\": \"AttendantPromptNode_1005\",\n                    \"connector\": \"option_2\",\n                  }\n                }\n              },\n              {\n                \"id\": \"c3e5f222-4a1b-4e35-a6ba-0813d4c32988\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"CALL_QUEUE\",\n                  \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n                  \"queueName\": \"Call Queue - Sales\",\n                  \"queueType\": \"BASIC\",\n                  \"configuredWrapUpDuration\": 0\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"63a94924-5a3c-4d43-b089-060bdc9893c8\",\n            \"sequenceNumber\": 10,\n            \"timestamp\": \"2022-04-26T18:32:20.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"IN_DIRECT_TRANSFER\",\n                  \"initiator\": {\n                    \"participantId\": \"633a0363-f91a-488f-a11e-9df3b0183533\",\n                    \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n                    \"extensionNumber\": \"1015\",\n                    \"name\": \"Agent Bob\"\n                  },\n                  \"destination\": {\n                    \"number\": \"1024\"\n                  }\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n                \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n                \"originator\": \"f5a3e92f-4652-4780-ab3e-995267e6d769\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                  \"device\": {\n                    \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1015\",\n                  \"name\": \"Agent Bob\"\n                  }\n                }\n              }\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"c4f08195-1a47-454b-81e7-bf5f79992970\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"DIAL_PLAN\",\n                  \"dialPlanId\": \"6b09ebf6-d5ae-4e17-96f1-690c71251c8d\",\n                  \"executionId\": \"5df231bb-695c-40fc-82bd-87efb74755a8\",\n                  \"currentNode\": {\n                    \"id\": \"CallQueueNode_1066\",\n                    \"type\": \"CallQueueNode\"\n                  },\n                  \"previousNode\": {\n                    \"id\": \"AttendantPromptNode_1005\",\n                    \"connector\": \"option_2\"\n                  }\n                }\n              },\n              {\n                \"id\": \"c3e5f222-4a1b-4e35-a6ba-0813d4c32988\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"CALL_QUEUE\",\n                  \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n                  \"queueName\": \"Call Queue - Sales\",\n                  \"queueType\": \"BASIC\",\n                  \"configuredWrapUpDuration\": 0\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"81e3d633-43b0-4768-8f5b-958d39458c2c\",\n            \"sequenceNumber\": 11,\n            \"timestamp\": \"2022-04-26T18:32:20.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"PARKED\",\n                  \"parkingLot\": \"02\",\n                  \"initiator\": {\n                    \"participantId\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n                    \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n                    \"extensionNumber\": \"1015\",\n                    \"name\": \"Agent Bob\"\n                  }\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"2cd620f7-a160-4f20-852c-e3dec7a7333f\",\n            \"sequenceNumber\": 12,\n            \"timestamp\": \"2022-04-26T18:33:20.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"633a0363-f91a-488f-a11e-9df3b0183533\",\n                \"legId\": \"6ab110fb-b881-422f-8eb1-fc2c1687badb\",\n                \"originator\": \"633a0363-f91a-488f-a11e-9df3b0183533\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                  \"device\": {\n                    \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1015\",\n                  \"name\": \"Agent Bob\"\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"f57773ef-b772-4335-ad93-ff23098317a3\",\n            \"sequenceNumber\": 13,\n            \"timestamp\": \"2022-04-26T18:33:20.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n                \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n                \"originator\": \"f5a3e92f-4652-4780-ab3e-995267e6d769\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                  \"device\": {\n                    \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1015\",\n                  \"name\": \"Agent Bob\"\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"9e589b35-c2e0-4cbd-8ed5-857673ce83c0\",\n            \"sequenceNumber\": 14,\n            \"timestamp\": \"2022-04-26T18:33:25.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"IN_DIRECT_TRANSFER\",\n                  \"initiator\": {\n                    \"participantId\": \"633a0363-f91a-488f-a11e-9df3b0183533\",\n                    \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n                    \"extensionNumber\": \"1015\",\n                    \"name\": \"Agent Bob\"\n                  },\n                  \"destination\": {\n                    \"number\": \"1024\"\n                  }\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"633a0363-f91a-488f-a11e-9df3b0183533\",\n                \"legId\": \"6ab110fb-b881-422f-8eb1-fc2c1687badb\",\n                \"originator\": \"633a0363-f91a-488f-a11e-9df3b0183533\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                  \"device\": {\n                    \"id\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1015\",\n                  \"name\": \"Agent Bob\"\n                }\n              },\n              {\n                \"id\": \"f071df68-f716-4f10-8179-a6f9380bfd86\",\n                \"legId\": \"b405111a-3a56-4c46-b4f2-c30c77e12f19\",\n                \"originator\": \"633a0363-f91a-488f-a11e-9df3b0183533\",\n                \"status\": {\n                  \"value\": \"RINGING\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"61cceded-d821-4bf1-80b6-a362fa7ac9d5\",\n                  \"device\": {\n                    \"id\": \"0dbdeb32-fac7-459b-a2cf-30d188e84706\",\n                    \"model\": \"goto.clients\",\n                  },\n                  \"extensionNumber\": \"1024\",\n                  \"name\": \"John Doe\"\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"f9fc4dc9-6bbb-4038-9d44-ac5e86d1728d\",\n            \"sequenceNumber\": 15,\n            \"timestamp\": \"2022-04-26T18:33:55.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              }\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"980b6405-22e3-4290-a4dc-dcc12590fe7f\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"VOICEMAIL\",\n                  \"voicemailBoxId\": \"543dd572-60b5-4318-ab2d-7e2216489a31\",\n                  \"number\": \"1024\",\n                  \"name\": \"John Doe\"\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\"\n          },\n          \"state\": {\n            \"id\": \"5f060d21-fcdd-4d6b-95d5-fa3d3ff7f028\",\n            \"sequenceNumber\": 16,\n            \"timestamp\": \"2022-04-26T18:34:16.147Z\",\n            \"type\": \"ACTIVE\",\n            \"recordings\": [\n              {\n                \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"IN_INTERACTIVE_VOICE_RESPONSE\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"123246-d5ae-4e17-96f1-690c71251c8d\",\n                    \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              }\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"980b6405-22e3-4290-a4dc-dcc12590fe7f\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"VOICEMAIL\",\n                  \"voicemailBoxId\": \"543dd572-60b5-4318-ab2d-7e2216489a31\",\n                  \"number\": \"1024\",\n                  \"name\": \"John Doe\",\n                  \"folder\": \"INBOX\",\n                  \"duration\": 4000,\n                  \"voicemailStatus\": \"SUCCESS\"\n                }\n              }\n            ]\n          }\n        },\n        {\n          \"metadata\": {\n            \"callCreated\": \"2022-04-26T18:14:50.145Z\",\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"callInitiator\": \"DIRECT\",\n            \"accountKey\": \"2930718022414574861\",\n            \"direction\": \"INBOUND\",\n            \"hangupOriginatorId\": \"f071df68-f716-4f10-8179-a6f9380bfd86\"\n          },\n          \"state\": {\n            \"id\": \"a01fcf9a-c350-44f4-84d1-789e8eea9810\",\n            \"sequenceNumber\": 17,\n            \"timestamp\": \"2022-04-26T18:34:16.147Z\",\n            \"type\": \"ENDING\",\n            \"recordings\": [\n              {\n                \"id\": \"478965\",\n                \"startTimestamp\": \"2022-04-26T18:15:19.053Z\",\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                  \"name\": \"Alice Phone 1\",\n                  \"number\": \"+19881234567\",\n                  \"caller\": {\n                    \"name\": \"Alice\",\n                    \"number\": \"+12345678945\"\n                  }\n                }\n              }\n            ]\n          }\n        }\n      ]\n\n      ```\n      </details>\n    x-displayName: Call Events Overview\n  - name: Call Events Report Overview\n    description: |\n\n      The Call Events Report API provides reports of conversation spaces happening on the GoToConnect platform.\n      It provides long-term storage for Call-Events API and adds extra metadata for non-realtime conversation space information (ex: AI analysis, recordings, voicemails).\n\n      # Call Events Report Summaries\n\n      The Call Events Report Summaries endpoint provides a paginated list of conversation spaces.\n      A call summary is a simplified version of a call events detailed report. It is available to all accounts\n      without extra licenses needed.\n\n      ## Call Events Report Summaries Payload\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n      {\n        \"pageSize\": 250,\n        \"nextPageMarker\": \"a159e8fbea8e53848\",\n        \"items\": [\n          {\n            \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n            \"accountKey\": \"2930718022414574861\",\n            \"callCreated\": \"2022-04-26T18:14:50.147Z\",\n            \"callAnswered\": \"2022-04-26T18:15:00.147Z\",\n            \"callEnded\": \"2022-04-26T18:15:50.147Z\",\n            \"callInitiator\": \"DIRECT\",\n            \"direction\": \"INBOUND\",\n            \"caller\": {\n              \"name\": \"Alice Ashburn\",\n              \"number\": \"+12345678945\",\n              \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n              \"recordingId\": \"39040a62-1956-4474-a68a-fc827849bc7b\",\n              \"type\": {\n                \"value\": \"PHONE_NUMBER\",\n                \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                \"number\": \"+19881234567\",\n                \"name\": \"Sales Phone Number\",\n                \"contact\": {\n                  \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n                }\n              }\n            },\n            \"callerOutcome\": \"NORMAL\",\n            \"participants\": [\n              {\n                \"name\": \"Bob Batherson\",\n                \"number\": \"1015\",\n                \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n                \"recordingId\": \"2e894441-5844-41c5-bd9d-20ac56857ab4\",\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                  \"userId\": \"f55cb8e5-7fee-41fa-9f73-33e98066e077\",\n                  \"userKey\": \"2830558022414876543\"\n                }\n              },\n              {\n                \"name\": \"Standalone device\",\n                \"number\": \"1016\",\n                \"legId\": \"b135705f-4308-449c-9f1a-10259e627842\",\n                \"recordingId\": \"da7e37dc-f246-4018-b267-a573032f674a\",\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"lineId\": \"de5a894c-9cf9-479a-b0d0-8bac04e3df95\"\n                }\n              },\n              {\n                \"name\": \"Bob's Virtual Participant\",\n                \"number\": \"\",\n                \"legId\": \"6cef02f4-566d-47b5-9327-06690cd89a70\",\n                \"recordingId\": \"74800728-b7a0-4e19-a1d6-df6edaf2ed2f\",\n                \"type\": {\n                  \"value\": \"VIRTUAL_PARTICIPANT\",\n                  \"virtualParticipantId\": \"37e5fb305-5ec7-47c4-bf3b-4ee578264314\"\n                }\n              }\n            ],\n            \"aiAnalysis\": {\n              \"sentiment\": \"POSITIVE\",\n              \"topics\": [\n                \"sales\",\n                \"cars\"\n              ],\n              \"summary\": \"The caller asked about what cars were currently on sale, and the agent suggested a model that made the caller very happy.\",\n              \"editedBy\": {\n                \"userId\": \"f55cb8e5-7fee-41fa-9f73-33e98066e077\",\n                \"userKey\": \"2830558022414876543\"\n              },\n              \"flags\": [\n                \"car sale\",\n                \"latest model\"\n              ]\n            }\n          }\n        ]\n      }\n      ```\n\n      </details>\n\n      # Call Events Detailed Report\n\n      The Call Events Detailed Report `/reports/{conversationSpaceId}` is available after a call has ended.\n\n      It includes all the information about a conversation space including the conversationSpaceId, created and ended timestamps,\n      the participants generated and the full sequence of call events for that conversation space.\n\n\n      ## Call Events Detailed Report Payload\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n      {\n        \"callCreated\": \"2022-04-26T18:14:50.147Z\",\n        \"callEnded\": \"2022-04-26T18:32:50.147Z\",\n        \"callInitiator\": \"DIRECT\",\n        \"conversationSpaceId\": \"43643517-5c98-4102-942f-882d86a4a0fa\",\n        \"accountKey\": \"2930718022414574861\",\n        \"direction\": \"INBOUND\",\n        \"associatedConversations\": [\n          \"c6b0e8a1-ec8b-4aac-8aeb-5016c290c176\"\n        ],\n        \"hangupOriginatorId\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n        \"actions\": [\n          {\n            \"timestamp\": \"2022-04-26T18:15:00.000Z\",\n            \"type\": {\n              \"value\": \"KNOWLEDGE_SEARCH\",\n              \"virtualParticipantId\": \"0e7c7407-a862-453f-9764-f8c197858f56\",\n              \"query\": \"How to troubleshoot a car that won't start\",\n              \"items\": [\n                {\n                  \"article\": {\n                    \"id\": 145,\n                    \"name\": \"Common issues related to ignition\"\n                  },\n                  \"collection\": {\n                    \"id\": 35986,\n                    \"name\": \"Customer care\"\n                  }\n                },\n                {\n                  \"article\": {\n                    \"id\": 438,\n                    \"name\": \"Engine issues preventing start during winter\"\n                  },\n                  \"collection\": {\n                    \"id\": 35986,\n                    \"name\": \"Customer care\"\n                  }\n                }\n              ]\n            }\n          },\n          {\n            \"timestamp\": \"2022-04-26T18:15:10.000Z\",\n            \"type\": {\n              \"value\": \"INFO_CAPTURE\",\n              \"virtualParticipantId\": \"0e7c7407-a862-453f-9764-f8c197858f56\",\n              \"form\": {\n                \"id\": \"e3ca578b-bad5-4c19-a1da-e4acc3cd8f2a\",\n                \"name\": \"Registration for a test drive\"\n              }\n            }\n          }\n        ],\n        \"participants\": [\n          {\n            \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n            \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n            \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n            \"type\": {\n              \"value\": \"PHONE_NUMBER\",\n              \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n              \"number\": \"+19881234567\",\n              \"name\": \"Sales Phone Number\",\n              \"caller\": {\n                \"name\": \"Alice Ashburn\",\n                \"number\": \"+12345678945\"\n              },\n              \"contact\": {\n                \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n              }\n            },\n            \"recordings\": [\n              {\n                \"id\": \"39040a62-1956-4474-a68a-fc827849bc7b\",\n                \"startTimestamp\": \"2022-04-26T18:14:50.147Z\",\n                \"pauses\": [\n                  {\n                    \"pauseTimestamp\": \"2022-04-26T18:27:12.907Z\",\n                    \"unpauseTimestamp\": \"2022-04-26T18:27:28.741Z\"\n                  }\n                ],\n                \"transcriptEnabled\": true\n              }\n            ],\n            \"liveTranscripts\": [\n              {\n                \"id\": \"b72c6f2a-6cb2-4dd9-9ee3-62c66f13e802\",\n                \"startTimestamp\": \"2022-04-26T18:14:50.147Z\",\n                \"postCallTranscriptEnabled\": true,\n                \"pauses\": [\n                  {\n                    \"pauseTimestamp\": \"2022-04-26T18:27:12.907Z\",\n                    \"unpauseTimestamp\": \"2022-04-26T18:27:28.741Z\"\n                  }\n                ]\n              }\n            ]\n          },\n          {\n            \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n            \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n            \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n            \"type\": {\n              \"value\": \"LINE\",\n              \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n              \"deviceId\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n              \"extensionNumber\": \"1015\",\n              \"name\": \"Bob Batherson\",\n              \"userId\": \"f55cb8e5-7fee-41fa-9f73-33e98066e077\",\n              \"userKey\": \"2830558022414876543\"\n            }\n          },\n          {\n            \"id\": \"84353130-bbe6-5d8c-840b-0f6c20210a33\",\n            \"originator\": \"9e4a510a-883a-5c91-a2f7-770017dbd57b\",\n            \"legId\": \"e888f7a1-0252-49c4-a79e-9e110068ab1e\",\n            \"type\": {\n              \"value\": \"LINE\",\n              \"lineId\": \"f1fc3834-5e9f-4846-9a7b-0f5705e742b1\",\n              \"deviceId\": \"9b8458bc-5992-4364-818d-35cd1106ad7f\",\n              \"extensionNumber\": \"1016\",\n              \"name\": \"Standalone device\"\n            }\n          },\n          {\n            \"id\": \"7cf886ef-1a1d-5612-b0aa-e6d3f6bf009f\",\n            \"originator\": \"0bc9b9b0-d490-5a85-8304-9778aae33f42\",\n            \"legId\": \"a639f74d-610e-42b3-bede-ddf5210a2da1\",\n            \"type\": {\n              \"value\": \"VIRTUAL_PARTICIPANT\",\n              \"virtualParticipantId\": \"3515fb7e-8893-4651-a9b4-806670103d9a\",\n              \"name\": \"Bob's Virtual Participant\",\n              \"number\": \"\",\n              \"outcome\": \"SUCCESS\",\n              \"callReason\": \"The user had questions concerning a fee in a bill they received last month.\"\n            }\n          }\n        ],\n        \"interactiveVoiceResponseSystems\": [\n          {\n            \"id\": \"715cf2e5-6a9c-44d9-abd1-1fff38017931\",\n            \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n            \"type\": {\n              \"value\": \"CALL_QUEUE\",\n              \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n              \"queueName\": \"Call Queue - Sales\",\n              \"queueType\": \"BASIC\",\n              \"configuredWrapUpDuration\": 0\n            }\n          }\n        ],\n        \"callStates\": [\n          {\n            \"id\": \"e17957a3-c95e-423a-9af9-3179f0386bb2\",\n            \"sequenceNumber\": 5,\n            \"timestamp\": \"2022-04-26T18:14:50.147Z\",\n            \"type\": \"ACTIVE\",\n            \"participants\": [\n              {\n                \"id\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"legId\": \"fefad6f0-2456-4b9a-a712-d7abcb625fdb\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"PHONE_NUMBER\",\n                  \"phoneNumber\": {\n                    \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n                    \"number\": \"+19881234567\",\n                    \"name\": \"Sales Phone Number\",\n                    \"caller\": {\n                      \"name\": \"Alice Ashburn\",\n                      \"number\": \"+12345678945\"\n                    },\n                    \"contact\": {\n                      \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n                    }\n                  }\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"39040a62-1956-4474-a68a-fc827849bc7b\",\n                    \"startTimestamp\": \"2022-04-26T18:14:50.147Z\",\n                    \"pauses\": [\n                      {\n                        \"pauseTimestamp\": \"2022-04-26T18:27:12.907Z\",\n                        \"unpauseTimestamp\": \"2022-04-26T18:27:28.741Z\"\n                      }\n                    ],\n                    \"transcriptEnabled\": true\n                  }\n                ]\n              },\n              {\n                \"id\": \"4be492f1-8e39-42e9-a025-77d1eea5b12a\",\n                \"legId\": \"124bd59e-cad2-4809-b3d7-84447f20605e\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"LINE\",\n                  \"line\": {\n                    \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                    \"deviceId\": \"186e4682-e88b-48a9-973d-6870e0b10a8f\",\n                    \"extensionNumber\": \"1015\",\n                    \"name\": \"Bob Batherson\"\n                  }\n                }\n              },\n              {\n                \"id\": \"7cf886ef-1a1d-5612-b0aa-e6d3f6bf009f\",\n                \"legId\": \"a639f74d-610e-42b3-bede-ddf5210a2da1\",\n                \"originator\": \"0bc9b9b0-d490-5a85-8304-9778aae33f42\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"name\": \"Bob's Virtual Participant\",\n                  \"value\": \"VIRTUAL_PARTICIPANT\",\n                  \"virtualParticipantId\": \"3515fb7e-8893-4651-a9b4-806670103d9a\"\n                }\n              },\n              {\n                \"id\": \"7cf886ef-1a1d-5612-b0aa-e6d3f6bf009f\",\n                \"legId\": \"a639f74d-610e-42b3-bede-ddf5210a2da1\",\n                \"originator\": \"0bc9b9b0-d490-5a85-8304-9778aae33f42\",\n                \"type\": {\n                  \"name\": \"Bob's Virtual Participant\",\n                  \"value\": \"VIRTUAL_PARTICIPANT\",\n                  \"virtualParticipantId\": \"3515fb7e-8893-4651-a9b4-806670103d9a\"\n                },\n                \"recordings\": [\n                  {\n                    \"id\": \"1702a03b-1d90-4ed5-81c9-b6cf9e13d9d9\",\n                    \"startTimestamp\": \"2022-04-26T18:28:01.482Z\",\n                    \"transcriptEnabled\": true\n                  }\n                ],\n                \"status\": {\n                  \"value\": \"DISCONNECTING\"\n                }\n              }\n            ],\n            \"interactiveVoiceResponseSystems\": [\n              {\n                \"id\": \"715cf2e5-6a9c-44d9-abd1-1fff38017931\",\n                \"originator\": \"c2391570-8f23-4a22-86d5-d6ba278e7a33\",\n                \"status\": {\n                  \"value\": \"CONNECTED\"\n                },\n                \"type\": {\n                  \"value\": \"CALL_QUEUE\",\n                  \"queueId\": \"c2d45d9c-da7e-429a-ac4a-71eae15e9609\",\n                  \"queueName\": \"Call Queue - Sales\",\n                  \"queueType\": \"BASIC\",\n                  \"configuredWrapUpDuration\": 0\n                }\n              }\n            ]\n          }\n        ],\n        \"aiAnalysis\": {\n          \"sentiment\": \"POSITIVE\",\n          \"topics\": [\n            \"sales\",\n            \"cars\"\n          ],\n          \"summary\": \"The caller asked about what cars were currently on sale, and the agent suggested a model that made the caller very happy.\",\n          \"editedBy\": {\n            \"userId\": \"f55cb8e5-7fee-41fa-9f73-33e98066e077\",\n            \"userKey\": \"2830558022414876543\"\n          },\n          \"flags\": [\n            \"car sale\",\n            \"latest model\"\n          ]\n        },\n        \"notes\": {\n          \"disposition\": {\n            \"name\": \"Sale completed\",\n            \"category\": \"Garage sales\"\n          },\n          \"note\": \"The caller has mentioned they would like to be contacted next week for a follow-up.\",\n          \"tags\": [\n            {\n              \"name\": \"Follow-up\"\n            },\n            {\n              \"name\": \"Important\"\n            }\n          ]\n        }\n      }\n      ```\n\n      </details>\n\n      ## Interactive Voice Response Systems\n\n      The top level `interactiveVoiceResponseSystems` field aims to provide a summary of the unique interactive voice response systems that the participants interacted with during the conversation. Interactive voice response systems are typically automated non-participant entities like call queues and voicemails.\n      Any interactive voice response system present in the top-level summary field will also be present in the call states, and can be found using its unique identifier to inspect the complete interaction details.\n\n      The [Call Events API](https://developer.goto.com/GoToConnect/#tag/Call-Events-Overview) contains examples showcasing complete interactions involving interactive voice response systems. The Call Events Report API will accurately reflect these interactions in the call states.\n\n      # Examples\n\n      ## Warm Transfer\n\n      1. Customer calls Agent A. Conversation space `11111111-aaaa-1111-aaaa-111111111111` is created.\n      2. Agent A wants to solicit another agent and puts Customer on hold.\n      3. Agent A calls Agent B and Agent B answers the call. See that this call is in conversation space `22222222-bbbb-2222-bbbb-222222222222`.\n      4. Agent A transfers Customer to Agent B (REFER Agent B to Customer).\n      This effectively terminates the separate conversation space between Agent A and Agent B (`22222222-bbbb-2222-bbbb-222222222222`)\n      and makes Agent B join Customer in the initial conversation space (`11111111-aaaa-1111-aaaa-111111111111`).\n\n      You can connect the conversations by inspecting the `associatedConversations` field.\n      The `initiator` conversation space `11111111-aaaa-1111-aaaa-111111111111` will be associated with the `transferrer`\n      conversation `22222222-bbbb-2222-bbbb-222222222222` and vice versa.\n\n      ### Customer Conversation\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n      {\n        \"conversationSpaceId\": \"11111111-aaaa-1111-aaaa-111111111111\",\n        \"callCreated\": \"2023-07-14T15:17:49.270Z\",\n        \"callEnded\": \"2023-07-14T15:21:01.659Z\",\n        \"callInitiator\": \"DIRECT\",\n        \"accountKey\": \"...\",\n        \"direction\": \"INBOUND\",\n        \"associatedConversations\": [\n          \"22222222-bbbb-2222-bbbb-222222222222\"\n        ],\n        \"hangupOriginatorId\": \"...\",\n        \"participants\": [\n          {\n            \"id\": \"...\",\n            \"legId\": \"...\",\n            \"originator\": \"...\",\n            \"recordings\": [],\n            \"type\": {\n              \"value\": \"PHONE_NUMBER\",\n              \"phoneNumberId\": \"...\",\n              \"number\": \"+19881234567\",\n              \"caller\": {\n                \"name\": \"Customer\",\n                \"number\": \"+12345678945\"\n              },\n              \"contact\": {\n                \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n              },\n              \"callProvider\": \"PSTN\"\n            }\n          },\n          {\n            \"id\": \"...\",\n            \"originator\": \"...\",\n            \"legId\": \"...\",\n            \"recordings\": [],\n            \"type\": {\n              \"value\": \"LINE\",\n              \"lineId\": \"...\",\n              \"deviceId\": \"...\",\n              \"extensionNumber\": \"1000\",\n              \"name\": \"Agent A\"\n            }\n          },\n          {\n            \"id\": \"...\",\n            \"originator\": \"...\",\n            \"legId\": \"...\",\n            \"recordings\": [],\n            \"type\": {\n              \"value\": \"LINE\",\n              \"lineId\": \"...\",\n              \"deviceId\": \"...\",\n              \"extensionNumber\": \"1001\",\n              \"name\": \"Agent B\"\n            }\n          }\n        ],\n        \"interactiveVoiceResponseSystems\": [\n          \"...\"\n        ],\n        \"callStates\": [\n          \"...\"\n        ]\n      }\n      ```\n\n      </details>\n\n      ### Agents Conversation\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```json\n      {\n        \"conversationSpaceId\": \"22222222-bbbb-2222-bbbb-222222222222\",\n        \"callCreated\": \"2023-07-14T15:18:01.129Z\",\n        \"callEnded\": \"2023-07-14T15:18:17.78Z\",\n        \"callInitiator\": \"DIRECT\",\n        \"accountKey\": \"...\",\n        \"direction\": \"OUTBOUND\",\n        \"associatedConversations\": [\n          \"11111111-aaaa-1111-aaaa-111111111111\"\n        ],\n        \"hangupOriginatorId\": \"...\",\n        \"participants\": [\n          {\n            \"id\": \"...\",\n            \"originator\": \"...\",\n            \"legId\": \"...\",\n            \"recordings\": [],\n            \"type\": {\n              \"value\": \"LINE\",\n              \"lineId\": \"...\",\n              \"deviceId\": \"...\",\n              \"extensionNumber\": \"1000\",\n              \"name\": \"Agent A\"\n            }\n          },\n          {\n            \"id\": \"...\",\n            \"originator\": \"...\",\n            \"legId\": \"...\",\n            \"recordings\": [],\n            \"type\": {\n              \"value\": \"LINE\",\n              \"lineId\": \"...\",\n              \"deviceId\": \"...\",\n              \"extensionNumber\": \"1001\",\n              \"name\": \"Agent B\"\n            }\n          }\n        ],\n        \"interactiveVoiceResponseSystems\": [\n          \"...\"\n        ],\n        \"callStates\": [\n          \"...\"\n        ]\n      }\n      ```\n\n      </details>\n\n      ## REPORT_SUMMARY_REVISION notifications\n\n      In the following example, every `REPORT_SUMMARY_REVISION` subscriber to any entity present in the report (phone number, line, etc.) will receive an initial notification when the conversation ends, and then\n      an additional one for every asset status update (recording & transcript uploaded) as well as on AI analysis completion.\n\n      All notification events will contain roughly the same payload, but the additional/updated content will always be present in the latest revision. The changes between revisions are highlighted in the diff below.\n\n      <details>\n        <summary>\n          Click to expand\n        </summary>\n\n      ```diff\n      [\n        {\n          \"conversationSpaceId\": \"d22be776-d77f-3b9d-bfb3-7f53db4025a4\",\n          \"accountKey\": \"2930718022414574861\",\n          \"callCreated\": \"2025-03-25T18:56:13.396Z\",\n          \"callAnswered\": \"2025-03-25T18:56:15.217Z\",\n          \"callEnded\": \"2025-03-25T18:56:37.933Z\",\n          \"callInitiator\": \"DIRECT\",\n          \"direction\": \"INBOUND\",\n          \"caller\": {\n            \"name\": \"Alice Ashburn\",\n            \"number\": \"+12345678945\",\n            \"legId\": \"1bfe9a98-444c-455c-a1e4-b678c7a8258b\",\n            \"recording\": {\n              \"id\": \"b21bf348-33ec-452c-9088-3a43c961944e\",\n              \"transcriptEnabled\": true\n            },\n            \"liveTranscript\": {\n              \"id\": \"12849966-69f8-4856-a476-1fb71af12397\",\n              \"postCallTranscriptEnabled\": true\n            },\n            \"type\": {\n              \"value\": \"PHONE_NUMBER\",\n              \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n              \"number\": \"+19881234567\",\n              \"name\": \"Sales Phone Number\",\n              \"contact\": {\n                \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n              },\n              \"callProvider\": \"PSTN\"\n            }\n          },\n          \"callerOutcome\": \"NORMAL\",\n          \"participants\": [\n            {\n              \"name\": \"Bob Batherson\",\n              \"number\": \"1015\",\n              \"legId\": \"a1c24f16-8ac5-4043-874b-2106ca5cfdeb\",\n              \"recording\": {\n                \"id\": \"d8913582-65f7-4419-baaa-72ad0a512af9\",\n                \"transcriptEnabled\": true\n              },\n              \"liveTranscript\": {\n                \"id\": \"a3dd66eb-f2ba-436f-8061-db14ad5453eb\",\n                \"postCallTranscriptEnabled\": true\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"userId\": \"f55cb8e5-7fee-41fa-9f73-33e98066e077\",\n                \"userKey\": \"2830558022414876543\"\n              }\n            }\n          ]\n        },\n        {\n          \"conversationSpaceId\": \"d22be776-d77f-3b9d-bfb3-7f53db4025a4\",\n          \"accountKey\": \"2930718022414574861\",\n          \"callCreated\": \"2025-03-25T18:56:13.396Z\",\n          \"callAnswered\": \"2025-03-25T18:56:15.217Z\",\n          \"callEnded\": \"2025-03-25T18:56:37.933Z\",\n          \"callInitiator\": \"DIRECT\",\n          \"direction\": \"INBOUND\",\n          \"caller\": {\n            \"name\": \"Alice Ashburn\",\n            \"number\": \"+12345678945\",\n            \"legId\": \"1bfe9a98-444c-455c-a1e4-b678c7a8258b\",\n            \"recording\": {\n              \"id\": \"b21bf348-33ec-452c-9088-3a43c961944e\",\n      +       \"uploadedAt\": \"2025-03-25T18:56:38.432Z\",\n              \"transcriptEnabled\": true\n            },\n            \"liveTranscript\": {\n              \"id\": \"12849966-69f8-4856-a476-1fb71af12397\",\n              \"postCallTranscriptEnabled\": true\n            },\n            \"type\": {\n              \"value\": \"PHONE_NUMBER\",\n              \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n              \"number\": \"+19881234567\",\n              \"name\": \"Sales Phone Number\",\n              \"contact\": {\n                \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n              },\n              \"callProvider\": \"PSTN\"\n            }\n          },\n          \"callerOutcome\": \"NORMAL\",\n          \"participants\": [\n            {\n              \"name\": \"Bob Batherson\",\n              \"number\": \"1015\",\n              \"legId\": \"a1c24f16-8ac5-4043-874b-2106ca5cfdeb\",\n              \"recording\": {\n                \"id\": \"d8913582-65f7-4419-baaa-72ad0a512af9\",\n                \"transcriptEnabled\": true\n              },\n              \"liveTranscript\": {\n                \"id\": \"a3dd66eb-f2ba-436f-8061-db14ad5453eb\",\n                \"postCallTranscriptEnabled\": true\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"userId\": \"f55cb8e5-7fee-41fa-9f73-33e98066e077\",\n                \"userKey\": \"2830558022414876543\"\n              }\n            }\n          ]\n        },\n        {\n          \"conversationSpaceId\": \"d22be776-d77f-3b9d-bfb3-7f53db4025a4\",\n          \"accountKey\": \"2930718022414574861\",\n          \"callCreated\": \"2025-03-25T18:56:13.396Z\",\n          \"callAnswered\": \"2025-03-25T18:56:15.217Z\",\n          \"callEnded\": \"2025-03-25T18:56:37.933Z\",\n          \"callInitiator\": \"DIRECT\",\n          \"direction\": \"INBOUND\",\n          \"caller\": {\n            \"name\": \"Alice Ashburn\",\n            \"number\": \"+12345678945\",\n            \"legId\": \"1bfe9a98-444c-455c-a1e4-b678c7a8258b\",\n            \"recording\": {\n              \"id\": \"b21bf348-33ec-452c-9088-3a43c961944e\",\n              \"uploadedAt\": \"2025-03-25T18:56:38.432Z\",\n              \"transcriptEnabled\": true\n            },\n            \"liveTranscript\": {\n              \"id\": \"12849966-69f8-4856-a476-1fb71af12397\",\n              \"postCallTranscriptEnabled\": true,\n      +       \"uploadedAt\": \"2025-03-25T18:56:38.781Z\"\n            },\n            \"type\": {\n              \"value\": \"PHONE_NUMBER\",\n              \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n              \"number\": \"+19881234567\",\n              \"name\": \"Sales Phone Number\",\n              \"contact\": {\n                \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n              },\n              \"callProvider\": \"PSTN\"\n            }\n          },\n          \"callerOutcome\": \"NORMAL\",\n          \"participants\": [\n            {\n              \"name\": \"Bob Batherson\",\n              \"number\": \"1015\",\n              \"legId\": \"a1c24f16-8ac5-4043-874b-2106ca5cfdeb\",\n              \"recording\": {\n                \"id\": \"d8913582-65f7-4419-baaa-72ad0a512af9\",\n                \"transcriptEnabled\": true\n              },\n              \"liveTranscript\": {\n                \"id\": \"a3dd66eb-f2ba-436f-8061-db14ad5453eb\",\n                \"postCallTranscriptEnabled\": true\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"userId\": \"f55cb8e5-7fee-41fa-9f73-33e98066e077\",\n                \"userKey\": \"2830558022414876543\"\n              }\n            }\n          ]\n        },\n        {\n          \"conversationSpaceId\": \"d22be776-d77f-3b9d-bfb3-7f53db4025a4\",\n          \"accountKey\": \"2930718022414574861\",\n          \"callCreated\": \"2025-03-25T18:56:13.396Z\",\n          \"callAnswered\": \"2025-03-25T18:56:15.217Z\",\n          \"callEnded\": \"2025-03-25T18:56:37.933Z\",\n          \"callInitiator\": \"DIRECT\",\n          \"direction\": \"INBOUND\",\n          \"caller\": {\n            \"name\": \"Alice Ashburn\",\n            \"number\": \"+12345678945\",\n            \"legId\": \"1bfe9a98-444c-455c-a1e4-b678c7a8258b\",\n            \"recording\": {\n              \"id\": \"b21bf348-33ec-452c-9088-3a43c961944e\",\n              \"uploadedAt\": \"2025-03-25T18:56:38.432Z\",\n              \"transcriptEnabled\": true\n            },\n            \"liveTranscript\": {\n              \"id\": \"12849966-69f8-4856-a476-1fb71af12397\",\n              \"postCallTranscriptEnabled\": true,\n              \"uploadedAt\": \"2025-03-25T18:56:38.781Z\"\n            },\n            \"type\": {\n              \"value\": \"PHONE_NUMBER\",\n              \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n              \"number\": \"+19881234567\",\n              \"name\": \"Sales Phone Number\",\n              \"contact\": {\n                \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n              },\n              \"callProvider\": \"PSTN\"\n            }\n          },\n          \"callerOutcome\": \"NORMAL\",\n          \"participants\": [\n            {\n              \"name\": \"Bob Batherson\",\n              \"number\": \"1015\",\n              \"legId\": \"a1c24f16-8ac5-4043-874b-2106ca5cfdeb\",\n              \"recording\": {\n                \"id\": \"d8913582-65f7-4419-baaa-72ad0a512af9\",\n      +         \"uploadedAt\": \"2025-03-25T18:56:38.090Z\",\n                \"transcriptEnabled\": true\n              },\n              \"liveTranscript\": {\n                \"id\": \"a3dd66eb-f2ba-436f-8061-db14ad5453eb\",\n                \"postCallTranscriptEnabled\": true\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"userId\": \"f55cb8e5-7fee-41fa-9f73-33e98066e077\",\n                \"userKey\": \"2830558022414876543\"\n              }\n            }\n          ]\n        },\n        {\n          \"conversationSpaceId\": \"d22be776-d77f-3b9d-bfb3-7f53db4025a4\",\n          \"accountKey\": \"2930718022414574861\",\n          \"callCreated\": \"2025-03-25T18:56:13.396Z\",\n          \"callAnswered\": \"2025-03-25T18:56:15.217Z\",\n          \"callEnded\": \"2025-03-25T18:56:37.933Z\",\n          \"callInitiator\": \"DIRECT\",\n          \"direction\": \"INBOUND\",\n          \"caller\": {\n            \"name\": \"Alice Ashburn\",\n            \"number\": \"+12345678945\",\n            \"legId\": \"1bfe9a98-444c-455c-a1e4-b678c7a8258b\",\n            \"recording\": {\n              \"id\": \"b21bf348-33ec-452c-9088-3a43c961944e\",\n              \"uploadedAt\": \"2025-03-25T18:56:38.432Z\",\n              \"transcriptEnabled\": true\n            },\n            \"liveTranscript\": {\n              \"id\": \"12849966-69f8-4856-a476-1fb71af12397\",\n              \"postCallTranscriptEnabled\": true,\n              \"uploadedAt\": \"2025-03-25T18:56:38.781Z\"\n            },\n            \"type\": {\n              \"value\": \"PHONE_NUMBER\",\n              \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n              \"number\": \"+19881234567\",\n              \"name\": \"Sales Phone Number\",\n              \"contact\": {\n                \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n              },\n              \"callProvider\": \"PSTN\"\n            }\n          },\n          \"callerOutcome\": \"NORMAL\",\n          \"participants\": [\n            {\n              \"name\": \"Bob Batherson\",\n              \"number\": \"1015\",\n              \"legId\": \"a1c24f16-8ac5-4043-874b-2106ca5cfdeb\",\n              \"recording\": {\n                \"id\": \"d8913582-65f7-4419-baaa-72ad0a512af9\",\n                \"uploadedAt\": \"2025-03-25T18:56:38.090Z\",\n                \"transcriptEnabled\": true\n              },\n              \"liveTranscript\": {\n                \"id\": \"a3dd66eb-f2ba-436f-8061-db14ad5453eb\",\n                \"postCallTranscriptEnabled\": true,\n      +         \"uploadedAt\": \"2025-03-25T18:56:38.876Z\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"userId\": \"f55cb8e5-7fee-41fa-9f73-33e98066e077\",\n                \"userKey\": \"2830558022414876543\"\n              }\n            }\n          ]\n        },\n        {\n          \"conversationSpaceId\": \"d22be776-d77f-3b9d-bfb3-7f53db4025a4\",\n          \"accountKey\": \"2930718022414574861\",\n          \"callCreated\": \"2025-03-25T18:56:13.396Z\",\n          \"callAnswered\": \"2025-03-25T18:56:15.217Z\",\n          \"callEnded\": \"2025-03-25T18:56:37.933Z\",\n          \"callInitiator\": \"DIRECT\",\n          \"direction\": \"INBOUND\",\n          \"caller\": {\n            \"name\": \"Alice Ashburn\",\n            \"number\": \"+12345678945\",\n            \"legId\": \"1bfe9a98-444c-455c-a1e4-b678c7a8258b\",\n            \"recording\": {\n              \"id\": \"b21bf348-33ec-452c-9088-3a43c961944e\",\n              \"uploadedAt\": \"2025-03-25T18:56:38.432Z\",\n              \"transcriptEnabled\": true\n            },\n            \"liveTranscript\": {\n              \"id\": \"12849966-69f8-4856-a476-1fb71af12397\",\n              \"postCallTranscriptEnabled\": true,\n              \"uploadedAt\": \"2025-03-25T18:56:38.781Z\"\n            },\n            \"type\": {\n              \"value\": \"PHONE_NUMBER\",\n              \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n              \"number\": \"+19881234567\",\n              \"name\": \"Sales Phone Number\",\n              \"contact\": {\n                \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n              },\n              \"callProvider\": \"PSTN\"\n            }\n          },\n          \"callerOutcome\": \"NORMAL\",\n          \"participants\": [\n            {\n              \"name\": \"Bob Batherson\",\n              \"number\": \"1015\",\n              \"legId\": \"a1c24f16-8ac5-4043-874b-2106ca5cfdeb\",\n              \"recording\": {\n                \"id\": \"d8913582-65f7-4419-baaa-72ad0a512af9\",\n                \"uploadedAt\": \"2025-03-25T18:56:38.090Z\",\n                \"transcriptEnabled\": true,\n      +         \"transcriptUploadedAt\": \"2025-03-25T18:56:39.765Z\"\n              },\n              \"liveTranscript\": {\n                \"id\": \"a3dd66eb-f2ba-436f-8061-db14ad5453eb\",\n                \"postCallTranscriptEnabled\": true,\n                \"uploadedAt\": \"2025-03-25T18:56:38.876Z\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"userId\": \"f55cb8e5-7fee-41fa-9f73-33e98066e077\",\n                \"userKey\": \"2830558022414876543\"\n              }\n            }\n          ]\n        },\n        {\n          \"conversationSpaceId\": \"d22be776-d77f-3b9d-bfb3-7f53db4025a4\",\n          \"accountKey\": \"2930718022414574861\",\n          \"callCreated\": \"2025-03-25T18:56:13.396Z\",\n          \"callAnswered\": \"2025-03-25T18:56:15.217Z\",\n          \"callEnded\": \"2025-03-25T18:56:37.933Z\",\n          \"callInitiator\": \"DIRECT\",\n          \"direction\": \"INBOUND\",\n          \"caller\": {\n            \"name\": \"Alice Ashburn\",\n            \"number\": \"+12345678945\",\n            \"legId\": \"1bfe9a98-444c-455c-a1e4-b678c7a8258b\",\n            \"recording\": {\n              \"id\": \"b21bf348-33ec-452c-9088-3a43c961944e\",\n              \"uploadedAt\": \"2025-03-25T18:56:38.432Z\",\n              \"transcriptEnabled\": true,\n              \"transcriptUploadedAt\": \"2025-03-25T18:56:40.123Z\"\n            },\n            \"liveTranscript\": {\n              \"id\": \"12849966-69f8-4856-a476-1fb71af12397\",\n              \"postCallTranscriptEnabled\": true,\n              \"uploadedAt\": \"2025-03-25T18:56:38.781Z\"\n            },\n            \"type\": {\n              \"value\": \"PHONE_NUMBER\",\n              \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n              \"number\": \"+19881234567\",\n              \"name\": \"Sales Phone Number\",\n              \"contact\": {\n                \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n              },\n              \"callProvider\": \"PSTN\"\n            }\n          },\n          \"callerOutcome\": \"NORMAL\",\n          \"participants\": [\n            {\n              \"name\": \"Bob Batherson\",\n              \"number\": \"1015\",\n              \"legId\": \"a1c24f16-8ac5-4043-874b-2106ca5cfdeb\",\n              \"recording\": {\n                \"id\": \"d8913582-65f7-4419-baaa-72ad0a512af9\",\n                \"uploadedAt\": \"2025-03-25T18:56:38.090Z\",\n                \"transcriptEnabled\": true,\n      +         \"transcriptUploadedAt\": \"2025-03-25T18:56:39.765Z\"\n              },\n              \"liveTranscript\": {\n                \"id\": \"a3dd66eb-f2ba-436f-8061-db14ad5453eb\",\n                \"postCallTranscriptEnabled\": true,\n                \"uploadedAt\": \"2025-03-25T18:56:38.876Z\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"userId\": \"f55cb8e5-7fee-41fa-9f73-33e98066e077\",\n                \"userKey\": \"2830558022414876543\"\n              }\n            }\n          ]\n        },\n        {\n          \"conversationSpaceId\": \"d22be776-d77f-3b9d-bfb3-7f53db4025a4\",\n          \"accountKey\": \"2930718022414574861\",\n          \"callCreated\": \"2025-03-25T18:56:13.396Z\",\n          \"callAnswered\": \"2025-03-25T18:56:15.217Z\",\n          \"callEnded\": \"2025-03-25T18:56:37.933Z\",\n          \"callInitiator\": \"DIRECT\",\n          \"direction\": \"INBOUND\",\n          \"caller\": {\n            \"name\": \"Alice Ashburn\",\n            \"number\": \"+12345678945\",\n            \"legId\": \"1bfe9a98-444c-455c-a1e4-b678c7a8258b\",\n            \"recording\": {\n              \"id\": \"b21bf348-33ec-452c-9088-3a43c961944e\",\n              \"uploadedAt\": \"2025-03-25T18:56:38.432Z\",\n              \"transcriptEnabled\": true,\n              \"transcriptUploadedAt\": \"2025-03-25T18:56:40.123Z\"\n            },\n            \"liveTranscript\": {\n              \"id\": \"12849966-69f8-4856-a476-1fb71af12397\",\n              \"postCallTranscriptEnabled\": true,\n              \"uploadedAt\": \"2025-03-25T18:56:38.781Z\"\n            },\n            \"type\": {\n              \"value\": \"PHONE_NUMBER\",\n              \"phoneNumberId\": \"afa67cca-c089-4ac6-a791-95d87cdea7dc\",\n              \"number\": \"+19881234567\",\n              \"name\": \"Sales Phone Number\",\n              \"contact\": {\n                \"id\": \"db5a178e-2111-40b8-bb7a-a9f3171b56fd\"\n              },\n              \"callProvider\": \"PSTN\"\n            }\n          },\n          \"callerOutcome\": \"NORMAL\",\n          \"participants\": [\n            {\n              \"name\": \"Bob Batherson\",\n              \"number\": \"1015\",\n              \"legId\": \"a1c24f16-8ac5-4043-874b-2106ca5cfdeb\",\n              \"recording\": {\n                \"id\": \"d8913582-65f7-4419-baaa-72ad0a512af9\",\n                \"uploadedAt\": \"2025-03-25T18:56:38.090Z\",\n                \"transcriptEnabled\": true,\n                \"transcriptUploadedAt\": \"2025-03-25T18:56:39.765Z\"\n              },\n              \"liveTranscript\": {\n                \"id\": \"a3dd66eb-f2ba-436f-8061-db14ad5453eb\",\n                \"postCallTranscriptEnabled\": true,\n                \"uploadedAt\": \"2025-03-25T18:56:38.876Z\"\n              },\n              \"type\": {\n                \"value\": \"LINE\",\n                \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\n                \"userId\": \"f55cb8e5-7fee-41fa-9f73-33e98066e077\",\n                \"userKey\": \"2830558022414876543\"\n              }\n            }\n          ],\n      +   \"aiAnalysis\": {\n      +     \"sentiment\": \"POSITIVE\",\n      +     \"summary\": \"The caller asked about what cars were currently on sale, and the agent suggested a model that made the caller very happy.\",\n      +     \"topics\": [\n      +       \"sales\",\n      +       \"cars\"\n      +     ],\n      +     \"flags\": [\n      +       \"car sale\",\n      +       \"latest model\"\n      +     ]\n      +   }\n        }\n      ]\n      ```\n\n      </details>\n    x-displayName: Call Events Report Overview\n  - name: Call Parking Overview\n    description: |\n\n      The Call Parking API allows applications to receive notifications about calls parked.<br/>\n\n      A valid authentication token is required to be able to make the API calls. The following scopes are required depending on the endpoint being called:\n\n      # Authentication Scopes\n\n      | Scope | Description |\n      | ------- | ------------- |\n      | call-parking.v1.read | Allows the application to get parked calls for an organization and call permissions for current user |\n      | call-parking.v1.notifications.manage | Allows the application to manage call parking subscriptions |\n\n      # API Usage Guidelines\n\n      This API assumes that clients are implemented in such a way that unknown attributes can be ignored: the addition of new response attributes may occur at any time, for any API response,\n      without prior notice. This is not considered a breach of backward compatibility.\n\n      # Call Park/Unparked Event Notifications\n\n      Subscribing to Call Park/Unparked events requires using a Notification Channel obtained through the\n      [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\n      When using a notification channel, the above-described events will be in the `content` field of the message received\n      on the notification channel. You can find more information about the exact payload in the description of the\n      [Notification Channel's createChannel](https://developer.goto.com/GoToConnect#operation/createChannel) method.\n\n      Once a channel is obtained, the user needs to subscribe to receive those events, more details are provided\n      in the '/subscriptions' endpoint documentation below.\n\n      All notifications respect the following format:\n\n      ```\n\n      {\n        \"source\":\"callparking\",\n        \"type\":\"PARKED\",\n        \"content\": {object}\n      }\n\n      ```\n\n      where\n\n      * `source` will always be `callparking`.\n\n      * `type` indicates the type of notification being sent. Only possible values are `PARKED` and `UNPARKED`.\n\n      * `content` is the object body of whatever the `source` and `type` combination represents.\n\n      ## Call Parked Notifications\n\n      When a call is parked, a notification is sent out to all clients with subscriptions to call parking. <br/><br/>\n\n      That notification has the following structure for new calls parked:\n\n      ```\n\n      {\n        \"source\": \"callparking\",\n        \"type\": \"PARKED\",\n        \"content\": {\n          \"organizationId\": \"86f8c1d8-ae2e-4fb9-933e-345a3eb8388f\",\n          \"parkingSpot\": \"1\",\n          \"callParked\": {\n              \"name\": \"Alice\",\n              \"number\": \"1000\"\n          },\n          \"callParkedBy\": {\n              \"name\": \"Bob\",\n              \"number\": \"1001\",\n              \"userKey\": \"2351328578341\"\n          },\n          \"parkTime\": \"2017-07-21T17:32:28Z\"\n        }\n      }\n\n      ```\n\n\n      where\n\n      * `organizationId` is the identifier for the organization for which the call is being parked.\n\n      * `parkingSpot` is the identifier for the parking spot.\n\n      * `callParked` is the entity representing the call being parked.\n\n      * `callParkedBy` is the entity who parked the call\n\n      * `parkTime` is the timestamp when the call was parked\n\n      ## Call Unparked Notifications\n\n      When a call is unparked, a notification is sent out to all clients with subscriptions to call parking.<br/><br/>\n\n      That notification has the following structure for unparked calls:\n\n      ```\n\n      {\n        \"source\": \"callparking\",\n        \"type\": \"UNPARKED\",\n        \"content\": {\n          \"organizationId\": \"86f8c1d8-ae2e-4fb9-933e-345a3eb8388f\",\n          \"parkingSpot\": \"1\",\n          \"callParked\": {\n              \"name\": \"Alice\",\n              \"number\": \"1000\"\n          },\n          \"callUnparkedBy\": {\n              \"name\": \"Bob\",\n              \"number\": \"1001\",\n              \"userKey\": \"2351328578341\"\n          },\n          \"unparkTime\": \"2017-07-21T17:32:28Z\"\n        }\n      }\n\n      ```\n\n      where\n\n      * `organizationId` is the identifier for the organization for which the call is being unparked.\n\n      * `parkingSpot` is the identifier for the parking spot.\n\n      * `callParked` is the entity representing the call being unparked.\n\n      * `callUnparkedBy` is the entity who unparked the call.\n\n      * `unparkTime` is the timestamp when the call was unparked\n\n      ## Usage limitations\n         This API limits the number of requests which it can receive per user. If the limit is exceeded,\n         a `429` error will be returned.<br /><br />\n    x-displayName: Call Parking Overview\n  - name: Contact Center Analytics Overview\n    description: |\n      This API can be used for accessing contact center historical data, enabling operational insights and external integrations.\n      This API exposes raw, granular contact center historical records for use in external BI/reporting tools or other third-party applications.\n\n      ### Forward Compatibility\n\n      This API may evolve over time. New optional fields may be added to responses, and new enum values may be introduced.\n      We kindly ask that your API client be implemented to gracefully handle unknown fields and unrecognized enum values,\n      so that your integration continues to work seamlessly as the API grows. Deprecated fields will be clearly marked\n      and will remain available for a reasonable transition period before removal.\n\n      ### Authorizations\n\n      To call this API, your token must represent a user who:\n\n      * Is a member of a GoTo organization that has the Contact Center Complete required license.\n      * Has [Super Admin or Admin permissions](https://support.goto.com/connect/help/how-do-i-change-a-users-role?tab=goto_admin)\n\n      ### Authentication Scopes\n\n      `queue-caller.v1.read` must be used when a token is requested from the Authentication API for the Get Queue Caller Details and Historical Queue Metrics endpoints.\n      `cc-analytics.v1.agent-status.read` must be used when a token is requested from the Authentication API for the Get Agent Status endpoint.\n    x-displayName: Contact Center Analytics Overview\n  - name: Fax Overview\n    description: |\n      This API provides a way for users to list, view and delete faxes.\n\n      ### Enable Faxing for a Virtual Fax Machine\n\n      In order to use the Fax APIs, you need to make sure that fax storage is enabled.\n      [How do I enable fax storage?](https://support.goto.com/connect/help/how-do-i-give-a-user-virtual-fax-permissions)\n\n      ### Authentication Scopes\n\n      | Scope | Description |\n      |-------|-------------|\n      | fax.v1.read | Access your faxes |\n      | fax.v1.write | Update or delete faxes |\n      | fax.v1.notifications.manage | Manage your subscriptions |\n\n      ### API Usage Guidelines\n\n      The fax API assumes clients are implemented in such a way that unknown attributes are ignored. The addition of new response attributes may occur at any time, for any API response, without prior notice. This is not considered a break in backward-compatibility.\n\n      ### Fair Use and Rate Limits\n\n      To ensure fair use of the API and to prevent abuse, the following rate limits apply:\n\n      - **Per Organization**: 3,000 faxes sent/day (with up to 1,500/hour).\n\n      Organizations exceeding this limit may experience delays in fax processing and/or blocking of their activity until further analysis. Please implement exponential backoff in your application to handle rate limit errors gracefully.\n\n      - - -\n      # Fax Webhook Notifications\n\n      In order to be able to receive events from the fax API, a webhook will have to be available to receive and process these events.\n      A webhook (also called a web callback) is a way for our services to deliver real time events to an external application. You will need an HTTPS URL for your webhook in order to\n      create a notification channel such that your webhook can be subscribed to events. Learn how to create a notification webhook channel [here](/GoToConnect/#tag/Notification-Channel-Overview).\n\n      When one of the virtual fax machine registered to a webhook receives an event that was subscribed to, a POST request will be made to your\n      webhook containing a notification in the request body.\n\n\n\n      ## Authentication\n\n      This API needs a proper bearer token to validate the user that makes the call.\n\n      When requesting the authentication token, the good scopes for the FAX operations must be specified.\n\n      ## Super Admin Authorization Flow\n\n      A user with [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions) privileges is given permissions on all of the account's virtual fax machines.\n\n      ## Notifications\n\n      All notifications respect the following format:\n      ```json\n      {\n        \"source\":\"FAX\",\n        \"type\":\"NOTIFICATION_TYPE\",\n        \"usage\":\"USAGE_TYPE\",\n        \"timestamp\":\"TIMESTAMP\",\n        \"content\": {object}\n      }\n      ```\n\n        where\n\n        * `source` will always be `FAX`.\n\n        * `type` indicates the type of notification being sent. Possible values are `FAX_RECEIVED`,  `FAX_UPDATED`, `FAX_CREATED`, `FAX_SENT`, `FAX_FAILED`, `FAX_CANCELLED` and `FAX_DELETED`.\n\n        * `usage` indicates the usage type of the notification. Possible values are `ALERT` and `BACKGROUND`.\n\n        * `timestamp` is the timestamp of the notification such as 2020-01-17T15:31:35.245Z.\n\n        * `content` is the object body of whatever the `source` and `type` combination represents. See #/components/schemas/FaxContent\n\n\n      ### FAX_RECEIVED events notifications\n\n      The client will receive a FAX_RECEIVED event when a new incoming fax is added in their history. New faxes are sent as ALERT notifications.\n\n      ```json\n      {\n        \"source\":\"FAX\",\n        \"type\":\"FAX_RECEIVED\",\n        \"usage\":\"ALERT\",\n        \"timestamp\":\"2020-11-10T17:59:07Z\",\n        \"content\":\n        {\n          \"faxId\": \"5097f252-b5f7-45d0-9589-4eb5057e764d\",\n          \"callerIdName\": \"caller name\",\n          \"callerIdNumber\": \"+14385007000\",\n          \"receivedNumber\": \"+15555007070\",\n          \"receivedTime\": \"2019-12-31T23:59:59.999999Z\",\n          \"pageCount\": 3,\n          \"fileSize\": 4000,\n          \"virtualFaxMachineId\": \"b5d96015-cb76-43c5-8770-3f21c615243\",\n          \"read\": false,\n          \"status\": \"received\",\n          \"type\": \"INCOMING\"\n        }\n      }\n      ```\n      ### FAX_UPDATED events notifications\n\n      The client will receive a FAX_UPDATED event when an incoming fax is marked as read or an outgoing fax receives a status change.\n      See the response model of [GetFax](#operation/getFax) for the list of fields.\n      ```json\n      {\n        \"source\":\"FAX\",\n        \"type\":\"FAX_UPDATED\",\n        \"usage\":\"BACKGROUND\",\n        \"timestamp\":\"2020-11-10T17:59:07Z\",\n        \"content\":\n        {\n          \"faxId\": \"5097f252-b5f7-45d0-9589-4eb5057e764d\",\n          \"callerIdName\": \"caller name\",\n          \"callerIdNumber\": \"+14385007000\",\n          \"receivedNumber\": \"+15555007070\",\n          \"receivedTime\": \"2019-12-31T23:59:59.999999Z\",\n          \"pageCount\": 3,\n          \"fileSize\": 4000,\n          \"virtualFaxMachineId\": \"b5d96015-cb76-43c5-8770-3f21c615243\",\n          \"read\": true,\n          \"type\": \"INCOMING\"\n        }\n      }\n      ```\n\n      ```json\n      {\n        \"source\":\"FAX\",\n        \"type\":\"FAX_UPDATED\",\n        \"usage\":\"BACKGROUND\",\n        \"timestamp\":\"2020-11-10T17:59:07Z\",\n        \"content\":\n        {\n          \"faxId\": \"5097f252-b5f7-45d0-9589-4eb5057e764d\",\n          \"callerIdName\": \"caller name\",\n          \"callerIdNumber\": \"+14385007000\",\n          \"receivedNumber\": \"+15555007070\",\n          \"creationTime\": \"2019-12-31T23:59:59.999999Z\",\n          \"lastUpdatedTime\": \"2019-12-31T23:59:59.999999Z\",\n          \"pageCount\": 3,\n          \"virtualFaxMachineId\": \"b5d96015-cb76-43c5-8770-3f21c615243\",\n          \"status\": \"SENDING\",\n          \"type\": \"OUTGOING\",\n          \"userKey\": \"12345678945336\",\n          \"pagesSent\": 1\n        }\n      }\n      ```\n\n      Where status if one of the following (more could be added in the future):\n\n      | Status | Description |\n      | :--- | :--- |\n      | PENDING | The outgoing fax is being processed or is waiting to the scheduled time. |\n      | SENDING | The outgoing fax is being sent to the recipient. |\n      | CANCELLED | The send fax request was canceled. The fax will not be delivered to the recipient. |\n\n\n      ### FAX_CREATED events notifications\n      The client will receive a FAX_CREATED event when a new outgoing fax is created. These events are sent as ALERT notifications. |\n      Note : This event is sent when the fax is created but before processing started. A follow-up FAX_UPDATED event will be sent.\n      It is not necessary to subscribe to this event if ALERTs are not needed.\n\n      ```json\n      {\n        \"source\":\"FAX\",\n        \"type\":\"FAX_CREATED\",\n        \"usage\":\"ALERT\",\n        \"timestamp\":\"2020-11-10T17:59:07Z\",\n        \"content\":\n        {\n          \"faxId\": \"5097f252-b5f7-45d0-9589-4eb5057e764d\",\n          \"callerIdName\": \"caller name\",\n          \"callerIdNumber\": \"+14385007000\",\n          \"receivedNumber\": \"+15555007070\",\n          \"creationTime\": \"2019-12-31T23:59:59.999999Z\",\n          \"lastUpdatedTime\": \"2019-12-31T23:59:59.999999Z\",\n          \"pageCount\": 3,\n          \"virtualFaxMachineId\": \"b5d96015-cb76-43c5-8770-3f21c615243\",\n          \"status\": \"PENDING\",\n          \"type\": \"OUTGOING\",\n          \"userKey\": \"12345678945336\",\n          \"pagesSent\": 0\n        }\n      }\n      ```\n\n      ### FAX_SENT events notifications\n\n      The client will receive a FAX_SENT event when a new outgoing fax is successfully sent to the recipient. These events are sent as ALERT notifications.\n      ```json\n      {\n        \"source\":\"FAX\",\n        \"type\":\"FAX_SENT\",\n        \"usage\":\"ALERT\",\n        \"timestamp\":\"2020-11-10T17:59:07Z\",\n        \"content\":\n        {\n          \"faxId\": \"5097f252-b5f7-45d0-9589-4eb5057e764d\",\n          \"callerIdName\": \"caller name\",\n          \"callerIdNumber\": \"+14385007000\",\n          \"receivedNumber\": \"+15555007070\",\n          \"creationTime\": \"2019-12-31T23:59:59.999999Z\",\n          \"lastUpdatedTime\": \"2019-12-31T23:59:59.999999Z\",\n          \"pageCount\": 3,\n          \"virtualFaxMachineId\": \"b5d96015-cb76-43c5-8770-3f21c615243\",\n          \"status\": \"SENT\",\n          \"type\": \"OUTGOING\",\n          \"userKey\": \"12345678945336\",\n          \"pagesSent\": 3\n        }\n      }\n      ```\n\n      ### FAX_FAILED events notifications\n\n      The client will receive a FAX_FAILED event when sending the fax has failed, exhausting all possible retries. These events are sent as ALERT notifications.\n      ```json\n      {\n        \"source\":\"FAX\",\n        \"type\":\"FAX_FAILED\",\n        \"usage\":\"ALERT\",\n        \"timestamp\":\"2020-11-10T17:59:07Z\",\n        \"content\":\n        {\n          \"faxId\": \"5097f252-b5f7-45d0-9589-4eb5057e764d\",\n          \"callerIdName\": \"caller name\",\n          \"callerIdNumber\": \"+14385007000\",\n          \"receivedNumber\": \"+15555007070\",\n          \"creationTime\": \"2019-12-31T23:59:59.999999Z\",\n          \"lastUpdatedTime\": \"2019-12-31T23:59:59.999999Z\",\n          \"pageCount\": 3,\n          \"virtualFaxMachineId\": \"b5d96015-cb76-43c5-8770-3f21c615243\",\n          \"status\": \"FAILED\",\n          \"errorCode\": \"UNSUPPORTED_ATTACHMENT\",\n          \"type\": \"OUTGOING\",\n          \"userKey\": \"12345678945336\",\n          \"pagesSent\": 0\n        }\n      }\n      ```\n      Where the error is one of the following (more could be added in the future):\n\n      | Error                           | Description |\n      | ------------------------------- | :--- |\n      | UNSUPPORTED_ATTACHMENT          | This fax contains one or more file types that failed conversion for faxing. |\n      | TOO_MANY_PAGES                  | The number of pages in this fax is over the allowed page number limit.|\n      | FAX_QUOTA_BUSTED                | The allowed quota of faxes has been reached. |\n      | DIALING_ERROR                   | There was a server error on the sending side. |\n      | DIALING_ERROR_NUMBER_NOT_FOUND  | The recipient number was not found. |\n      | DIALING_ERROR_NO_ANSWER         | The recipient number did not answer. |\n      | NUMBER_NOT_ALLOWED              | The recipient number does not support faxing. |\n      | SENDING_ERROR                   | Failure while completing the fax transmission within the permitted retries. Some pages might have been sent.|\n      | SENDING_ERROR_ABRUPTLY_ENDED    | Connection was ended on the receiving side for an unknown reason.|\n\n      ### FAX_DELETED events notifications\n\n      The client will receive a FAX_DELETED event when a fax is deleted.\n      ```json\n      {\n        \"source\":\"FAX\",\n        \"type\":\"FAX_DELETED\",\n        \"usage\":\"BACKGROUND\",\n        \"timestamp\":\"2020-11-10T17:59:07Z\",\n        \"content\":\n        {\n          \"faxId\": \"5097f252-b5f7-45d0-9589-4eb5057e764d\"\n        }\n      }\n      ```\n    x-displayName: Fax Overview\n  - name: Messaging Overview\n    description: |\n      The Messaging API allows applications to send, receive and manage messages. Send and receive text messages is only available for the United States and Canada phone numbers\n      at the moment.\n\n\n      ### Enable texting (SMS/MMS) for a Phone Number\n\n      First ensure that texting has been enabled in the Administrative portal for the given user.\n      [How do I set up texting on a phone number?](https://support.goto.com/jive/help/how-do-i-set-up-sms-on-a-phone-number-jive-set-up-sms-phone-number)\n\n      ### API Usage Guidelines\n\n      The messaging API assumes clients are implemented in such a way that unknown attributes are ignored. The addition of new response attributes may occur at any time, for any API response, without prior notice. This is not considered a break in backward-compatibility.\n\n      The messaging API explicitly omits any attributes in its responses for which the value is undefined or `null`. A common example of this is the `nextPageMarker` on paginated list responses which is only included if there are one or more additional pages of data.\n\n      ### Data Privacy\n\n      This set of APIs allows the handling and retrieval of personal data (e.g., SMS conversations\n      and MMS media). Kindly exercise privacy-by-design and take appropriate care and consideration\n      around the privacy and data protection of such personal data.\n\n      - - -\n      # Authentication and Authorization\n\n\n      ## Authentication Scopes\n\n      | Scope | Description |\n      |-------|-------------|\n      | messaging.v1.read | Access your messages and media |\n      | messaging.v1.write | Update or delete messages |\n      | messaging.v1.send | Send messages and media on your behalf |\n      | messaging.v1.notifications.manage | Manage notifications for messages and media |\n\n\n      ## Super Admin Authorization Flow\n\n      A user with [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions) privileges is allowed to act on behalf of another end-user in the same organization.\n\n      To go through this authorization flow, the request needs to include the `userKey` parameter, either as a\n      query parameter (for `GET` requests) or in the provided json body (for `POST` requests).\n\n      The request will fail if an `userKey` is provided and\n      * The user associated with the oauth token does not have `SuperAdmin` rights for the organization associated to the request, or\n      * The user associated with the `userKey` does not have the rights to perform the request.\n\n      For notifications, the super admin user needs to create the subscription using his bearer token\n      and without providing an `userKey`. The `SuperAdmin` must have ownership of the provided\n      notification channel.\n\n      - - -\n      # Messaging Webhook Notifications\n\n      In order to be able to receive events from the Messaging service, a webhook will have to be available to receive and process these events.\n      A webhook (also called a web callback) is a way for our services to deliver real time messaging events to an external application. You will need an HTTPS URL for your webhook in order to\n      create a notification channel such that your webhook can be subscribed to events (see [Receive Incoming Notifications on a Webhook for more details](#section/Use-Case-Examples/Receive-Incoming-Notifications-on-a-Webhook)).\n      Learn how to create a notification webhook channel [here](/GoToConnect/#tag/Notification-Channel-Overview).\n\n      When one of the phone numbers you have registered to a webhook receives an event that was subscribed to, a POST request will be made to your\n      webhook containing a notification in the request body.\n\n      All webhook notifications respect the following format:\n\n      ```\n      {\n        \"source\": \"messaging\",\n        \"type\": \"message\",\n        \"content\": {object}\n      }\n      ```\n\n      Where:\n\n      * `source` will always be `messaging`.\n      * `type` indicates the type of notification being sent. Possible values are `message`,\n      `conversation-update` and `delivery-status`.\n      * `content` is the object body of whatever the `source` and `type` combination represents.\n\n      Our notification service expects to receive an `HTTP 2XX` response from the request. In the case where the response received is a server error (`5XX`),\n      the webhook request will be retried **up to 2 more times** in quick succession before abandoning. In case of an `HTTP 410 Gone`, the webhook will be removed.\n\n\n      ## SMS and MMS Notifications\n\n      When a user sends or receives a message, a notification is sent out to all registered webhooks in order to keep all endpoints in sync.\n\n      These webhook notifications (`OUTGOING_MESSAGE`) have the following structure:\n\n      ```\n      {\n        \"source\": \"messaging\",\n        \"type\": \"message\",\n        \"content\":{\n          \"ownerPhoneNumber\": \"+15145552672\",\n          \"contactPhoneNumbers\": [\n            \"+15145557777\",\n            \"+15145556666\"\n          ],\n          \"authorPhoneNumber\": \"+15145552672\",\n          \"id\": \"iaZAG2KDVTvqBe6hCOqDu\",\n          \"timestamp\": \"2017-07-21T17:32:28.000Z\",\n          \"direction\": \"OUT\",\n          \"deliveryStatuses\": [\n            {\n              \"messageId\": \"iaZAG2KDVTvqBe6hCOqDu\",\n              \"ownerPhoneNumber\": \"+15145554444\",\n              \"contactPhoneNumber\": \"+15145556666\",\n              \"contactPhoneNumbers\": [\"+15145556666\", \"+15145559999\"],\n              \"timestamp\": \"2017-07-21T17:32:31.000Z\",\n              \"deliveryStatusCode\": 5200,\n              \"deliveryStatusDescription\": \"TEMPORARY_DELIVERY_FAILURE\",\n              \"retryable\": true\n            }\n          ],\n          \"body\": \"Hello ...\",\n          \"media\": [\n            {\n              \"id\": \"a861306b-cf44-417e-a4b5-0fc7875f4180\",\n              \"filename\": \"smile.jpg\",\n              \"contentType\": \"image/jpeg\",\n              \"size\":25946\n            }\n          ]\n        }\n      }\n      ```\n\n      Where the `content` field represents the received message as defined with:\n\n      * `ownerPhoneNumber` is the user's phone number in a E164 format.\n      * `contactPhoneNumbers` are the contact's phone numbers in an E164 format.\n      * `authorPhoneNumber` is the author's phone number is an E164 format.\n      * `id` is the unique identifier representing the message.\n      * `timestamp` is when the message was sent or received.\n      * `direction` indicates if this message is inbound or outbound relative to the owner's phone number.\n      * `deliveryStatuses` contains details about failure(s) to deliver the message, if any.\n      * `body` is the message body.\n      * `media` contains details about any included media content in the message.\n\n\n      ## Delivery Status Notifications\n\n      When a message fails to be delivered, a `delivery-status` notification is produced. The message returned by the `GET /messages` API is also updated to include the failed delivery outcome.\n\n      If a message is succesfully delivered, no notification is produced.\n\n      `DELIVERY_STATUS` notifications have the following structure:\n\n      ```\n      {\n        \"source\": \"messaging\",\n        \"type\": \"delivery-status\",\n        \"content\":\n        {\n          \"messageId\": \"4640abc3-2eea-4371-2KDV-TvqBe6hCOqDu\",\n          \"ownerPhoneNumber\": \"+15145554444\",\n          \"contactPhoneNumber\": \"+15145556666\",\n          \"contactPhoneNumbers\": [\"+15145556666\", \"+15145559999\"],\n          \"timestamp\": \"2017-07-21T17:35:28.000Z\",\n          \"deliveryStatusCode\": 4000,\n          \"deliveryStatusDescription\": \"INVALID_DESTINATION\",\n          \"retryable\": false\n        }\n      }\n      ```\n\n      Where:\n\n      * `messageId` is the unique identifier representing the message.\n      * `ownerPhoneNumber` is the sender's phone number in an E164 format.\n      * `contactPhoneNumber` is the contact's phone number in an E164 format for which this delivery status applies to.\n      * `contactPhoneNumbers` are the phone numbers in an E164 format the message was sent to.\n      * `timestamp` is the timestamp of the delivery event.\n      * `retryable` indicates if the client can retry the request and expect a different result.\n      * `deliveryStatusCode` and `deliveryStatusDescription` are one of the following:\n\n      | Code | Description | Additional Details |\n      | :--- | :---: | :--- |\n      | 4000 | INVALID_DESTINATION | Invalid recipient. The recipient phone number may not support text or multimedia messaging (for example, a landline), may not exist or may be otherwise unreachable through messaging. |\n      | 4010 | FORBIDDEN_DESTINATION | Invalid recipient. Messaging to this recipient phone number is forbidden. |\n      | 4020 | UNALLOCATED_DESTINATION | Invalid recipient. The recipient phone number, while a valid number, is not yet assigned to a carrier and the message cannot be sent downstream. |\n      | 4100 | PROVISIONING_ISSUE | Number provisioning changes are in progress for the owner phone number. As a result, messaging is not currently available. This is usually resolved in a matter of a few hours to a few days. |\n      | 4110 | BLOCKED_UNREGISTERED | The source phone number is not registered to a 10DLC campaign. |\n      | 4200 | REJECTED_BY_CARRIER | An upstream carrier has rejected this message due to a policy violation before it reached the recipient. |\n      | 4210 | VOLUMETRIC_VIOLATION | An upstream carrier has rejected this message due to a volumetric violation. |\n      | 4300 | INTERNATIONAL_DENIED | One or more recipients are not in a supported destination due to billing or location restrictions. |\n      | 4400 | TOO_MANY_REQUESTS | The sender has sent too many requests in a given amount of time and needs to back off sending. |\n      | 4500 | OUTSIDE_MESSAGING_SESSION | The message was sent outside of the allowed messaging session. |\n      | 4600 | MEDIA_PROCESSING_ERROR | Failed to process media content. This may occur due to unsupported message type or failure to upload or retrieve media content. |\n      | 5000 | UNKNOWN_SERVER_ERROR | An unknown error has caused the delivery of this message to fail. |\n      | 5100 | DELIVERY_FAILED | The recipient's carrier failed to accept the message for an unknown reason. |\n      | 5200 | TEMPORARY_DELIVERY_FAILURE | An upstream carrier experienced a temporary failure processing the message. A retry may result in a different outcome. |\n\n\n      ### Media (MMS)\n\n      If the outgoing or incoming message was containing media, the notification will contain a `media` field\n\n      ```\n      {\n        \"source\": \"messaging\",\n        \"type\": \"message\",\n        \"content\":{\n          \"ownerPhoneNumber\": \"+15145552672\",\n          \"contactPhoneNumbers\": [\n            \"+15145557777\",\n            \"+15145556666\"\n          ],\n          \"authorPhoneNumber\": \"+15145552672\",\n          \"id\": \"iaZAG2KDVTvqBe6hCOqDu\",\n          \"timestamp\": \"2017-07-21T17:32:28.000Z\",\n          \"direction\": \"OUT\",\n          \"deliveryStatuses\": [],\n          \"body\": \"Hello ...\",\n          \"media\":[\n            {\n              \"id\": \"a861306b-cf44-417e-a4b5-0fc7875f4180\",\n              \"filename\": \"smile.jpg\",\n              \"contentType\": \"image/jpeg\",\n              \"size\":25946\n            }\n          ]\n        }\n      }\n      ```\n\n      Where:\n\n      * `id` is the unique identifier of this media.\n      * `filename` is the filename of the media.\n      * `contentType` is the media type as listed [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types).\n      * `size` is the size of this media, in bytes.\n\n      ## Conversation Update Notifications\n      When a client application updates a conversation (i.e. updates the last message read), the\n      following notification is sent to all other client applications:\n\n      ```\n      {\n        \"source\": \"messaging\",\n        \"type\": \"conversation-update\",\n        \"content\":\n        {\n          \"ownerPhoneNumber\": \"+15145552672\",\n          \"contactPhoneNumbers\": [ \"+15145557777\" ],\n          \"unreadMessagesCount\": 2,\n          \"lastMessageId\": \"a159e8fbea8e53848\",\n          \"lastMessageTimestamp\": \"2017-07-21T17:32:28Z\",\n          \"lastReadMessageId\": \"Gu03qRwFPwVr51tA\",\n          \"lastReadMessageTimestamp\": \"2017-07-21T17:33:33.000Z\",\n          \"deletedTimestamp\": \"2017-08-21T17:32:28Z\"\n        }\n      }\n      ```\n\n      where the `content` field represents the updated conversation digest as defined with\n      - `ownerPhoneNumber` is the user's phone number in a E164 format.\n      - `contactPhoneNumbers` are the contact's phone numbers in E164 format.\n      - `unreadMessagesCount` is the number of unread messages in the conversation.\n      - `lastMessageId` is the unique identifier for the last message in the conversation, whether sent or received.\n      - `lastMessageTimestamp` is the timestamp in ISO 8601 format of the last message in the conversation.\n      - `lastReadMessageId` is the unique identifier representing the last read message.\n      - `lastReadMessageTimestamp` is the timestamp in ISO 8601 format of the last message the user has read.\n      - `deletedTimestamp` is the timestamp in ISO 8601 format when the conversation was deleted. This is only returned when a conversation is deleted.\n\n      - - -\n      # Use Case Examples\n\n      In the following example scenarios, Alice has the phone number +1-555-123-4567 with SMS enabled. The system used by Alice\n      is ready to receive notification on the webhook URL https://mycompany.com/sms-webhook. Her contact Bob has the phone number +1-555-999-8888.\n\n\n      ## Receive Incoming Notifications on a Webhook\n      In this scenario, the system used by Alice will subscribe to events for her phone number so that they are sent to the configured webhook.\n\n      The system first creates a webhook notification channel for Alice with the [Notification Channel API](/GoToConnect/#tag/Notification-Channel-Overview).\n\n      ```\n      curl -X \"POST\" \"https://api.goto.com/notification-channel/v1/channels/alice@example.com\" \\\n        -H \"Content-Type: application/json\" \\\n        -d '{\n          \"channelType\": \"Webhook\",\n          \"webhookChannelData\": {\n            \"webhook\": {\n              \"url\": \"https://mycompany.com/sms-webhook\"\n            }\n          }\n        }' \\\n        -H 'Authorization: Bearer {token}'\n      ```\n\n      The response is an `HTTP 201 Created` response containing the data for the notification channel created:\n\n      ```\n      {\n        \"channelNickname\": \"alice@example.com\",\n        \"channelId\": \"Webhook.AUDR...Irm\",\n        \"webhookChannelData\": {\n          \"webhook\": {\n            \"url\": \"https://mycompany.com/sms-webhook\"\n          },\n          \"channelType\": \"Webhook\"\n        },\n      }\n      ```\n\n      Using the `channelId` value from the response, the system used by Alice creates a subscription for `INCOMING_MESSAGE` and `OUTGOING_MESSAGE`. Note that this action is only required\n      to be done once until the notification channel needs to be changed for example.\n      Check [EventType](#tag/Subscription) for the extensive list of event types available.\n\n      ```\n      curl -X \"POST\" \"https://api.goto.com/messaging/v1/subscriptions\" \\\n        -H \"Content-Type: application/json\" \\\n        -d '{\"ownerPhoneNumber\": \"+15551234567\", \"eventTypes\": [\"INCOMING_MESSAGE\", \"OUTGOING_MESSAGE\"], \"channelId\": \"Webhook.AUDR...Irm\"}' \\\n        -H 'Authorization: Bearer {token}'\n      ```\n\n      Once an event occurs, for example if an incoming SMS is sent to Alice (+1-555-123-4567) from Bob (+1-555-999-8888),\n      a notification is sent to the webhook (https://mycompany.com/sms-webhook). The POST request will contain the notification inside the request. For example:\n\n      ```\n      {\n        \"source\": \"messaging\",\n        \"type\": \"message\",\n        \"content\":{\n          \"ownerPhoneNumber\": \"+15551234567\",\n          \"contactPhoneNumbers\": [\n            \"+15559998888\"\n          ],\n          \"authorPhoneNumber\": \"+15559998888\",\n          \"id\": \"iaZAG2KDVTvqBe6hCOqDu\",\n          \"timestamp\": \"2017-07-21T17:32:28.000Z\",\n          \"direction\": \"IN\",\n          \"deliveryStatuses\": [],\n          \"body\": \"Hello ...\"\n          \"media\": []\n        }\n      }\n      ```\n\n      It is expected that a `2XX` HTTP Response such as an `HTTP 204 No Content` is returned by the web hook for the request once the notification is processed.\n\n\n      ## Sending an SMS\n\n      In this scenario, Alice (+15551234567) sends an SMS to Bob (+15559998888).\n\n      ```\n      curl -X \"POST\" \"https://api.goto.com/messaging/v1/messages\" \\\n        -H \"Content-Type: application/json\" \\\n        -d '{\"ownerPhoneNumber\": \"+15551234567\", \"contactPhoneNumbers\": [ \"+15559998888\" ], \"body\": \"Hi Bob!\"}' \\\n        -H 'Authorization: Bearer {token}'\n      ```\n\n      The response returned is an `HTTP 201 Created` containing the following response:\n\n      ```\n      {\n        \"ownerPhoneNumber\": \"+15551234567\",\n        \"contactPhoneNumbers\": [ \"+15559998888\" ],\n        \"authorPhoneNumber\": \"+15551234567\",\n        \"id\": \"efc90afe-f56f-4df9-b91f-61d9970e6043\",\n        \"timestamp\": \"2019-08-01T19:40:23.019731Z\",\n        \"direction\": \"OUT\",\n        \"deliveryStatuses\": [],\n        \"body\": \"Hi Bob!\",\n        \"media\": []\n      }\n      ```\n\n      If the client was subscribed to the `OUTGOING_MESSAGE` event, a notification will be sent as well.\n\n      ```\n      {\n        \"source\": \"messaging\",\n        \"type\": \"message\",\n        \"content\":\n        {\n          \"ownerPhoneNumber\": \"+15551234567\",\n          \"contactPhoneNumbers\": [ \"+15559998888\" ],\n          \"authorPhoneNumber\": \"+15551234567\",\n          \"authorExternalUserKey\": \"1234567890123456789\",\n          \"id\": \"efc90afe-f56f-4df9-b91f-61d9970e6043\",\n          \"timestamp\": \"2019-08-01T19:40:23.019731Z\",\n          \"direction\": \"OUT\",\n          \"deliveryStatuses\": [],\n          \"body\": \"Hi Bob!\",\n          \"media\": []\n        }\n      }\n      ```\n\n\n      ## Sending Media (MMS)\n\n      In this scenario, Alice (+15551234567) sends a picture and a message to Bob (+15559998888).\n\n      ```\n      curl -J -X POST 'https://api.goto.com/messaging/v1/messages' \\\n            -H \"Content-Type: multipart/form-data\" \\\n            -H \"Accept: application/json\" \\\n            -H \"Authorization: Bearer {token}\" \\\n            -F \"ownerPhoneNumber=+15551234567;type=text/plain\" \\\n            -F \"contactPhoneNumbers=+15559998888;type=text/plain\" \\\n            -F \"body=Hi Bob;type=text/plain\" \\\n            -F \"media=@smile.jpg;type=image/jpeg\"\n      ```\n\n      The response returned is an `HTTP 201 Created` containing the following response:\n\n      ```\n      {\n        \"ownerPhoneNumber\": \"+15551234567\",\n        \"contactPhoneNumbers\": [ \"+15559998888\" ],\n        \"authorPhoneNumber\": \"+15551234567\",\n        \"id\": \"ef69b62c-1b40-4057-b44c-0d726e8a355a\",\n        \"timestamp\": \"2020-10-26T19:14:36.614154Z\",\n        \"direction\": \"OUT\",\n        \"deliveryStatuses\": [],\n        \"body\": \"Hi Bob\",\n        \"media\":[\n          {\n            \"id\": \"a861306b-cf44-417e-a4b5-0fc7875f4180\",\n            \"filename\": \"smile.jpg\",\n            \"contentType\": \"image/jpeg\",\n            \"size\":25946\n          }\n        ]\n      }\n      ```\n\n      If a webhook subscription was subscribed to the `OUTGOING_MESSAGE` event, a notification will be sent as well.\n\n      ```\n      {\n        \"source\": \"messaging\",\n        \"type\": \"message\",\n        \"content\": {\n          \"ownerPhoneNumber\": \"+15551234567\",\n          \"contactPhoneNumbers\": [ \"+15559998888\" ],\n          \"authorPhoneNumber\": \"+15551234567\",\n          \"id\": \"ef69b62c-1b40-4057-b44c-0d726e8a355a\",\n          \"timestamp\": \"2020-10-26T19:14:36.614154Z\",\n          \"direction\": \"OUT\",\n          \"deliveryStatuses\": [],\n          \"body\": \"Hi Bob\",\n          \"media\":[\n            {\n              \"id\": \"a861306b-cf44-417e-a4b5-0fc7875f4180\",\n              \"filename\": \"smile.jpg\",\n              \"contentType\": \"image/jpeg\",\n              \"size\":25946\n            }\n          ]\n        }\n      }\n      ```\n\n\n      ## Receiving a message\n\n      In this scenario, Alice (+15551234567) receives an SMS that was sent by Bob (+15559998888).\n\n      An incoming message will trigger a notification to subscribers of the `INCOMING_MESSAGE` event type for Alice (+15551234567).\n      In this example, the webhook subscribed to that event will receive a request containing the notification:\n\n      ```\n      {\n        \"source\": \"messaging\",\n        \"type\": \"message\",\n        \"content\":\n        {\n          \"ownerPhoneNumber\": \"+15551234567\",\n          \"contactPhoneNumbers\": [ \"+15559998888\" ],\n          \"authorPhoneNumber\": \"+15559998888\",\n          \"id\": \"2404329e-93a5-48f8-91d1-9d07171e60ef\",\n          \"timestamp\": \"2019-08-01T19:40:23.019731Z\",\n          \"direction\": \"IN\",\n          \"deliveryStatuses\": [],\n          \"body\": \"Hello Alice\",\n          \"media\": []\n        }\n      }\n      ```\n\n      Once Alice has read the message, the system *SHOULD* update the conversation to mark the message as read.\n      To update the conversation's last read message, Alice sends a request to the `/update-conversation` endpoint\n      with the information about the conversation and the ID of the last message read.\n      This message ID is the same one that was received in the notification sent to the webhook.\n\n      ```\n      curl -X \"POST\" \"https://api.goto.com/messaging/v1/update-conversation\" \\\n        -H 'Authorization: Bearer {token}' \\\n        -H \"Content-Type: application/json\" \\\n        -d '{\"ownerPhoneNumber\": \"+15551234567\", \"contactPhoneNumbers\": [ \"+15559998888\" ], \"lastReadMessageId\": \"2404329e-93a5-48f8-91d1-9d07171e60ef\"}'\n      ```\n\n      The response for this is an `HTTP 200 OK` response containing the new state of the conversation:\n\n      ```\n      {\n        \"ownerPhoneNumber\": \"+15551234567\",\n        \"contactPhoneNumbers\": [ \"+15559998888\" ],\n        \"unreadMessagesCount\": 0,\n        \"lastReceivedMessageId\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\",\n        \"lastReceivedMessageTimestamp\": \"2019-07-04T18:32:55.100Z\",\n        \"lastReadMessageId\": \"2404329e-93a5-48f8-91d1-9d07171e60ef\",\n        \"lastReadMessageTimestamp\": \"2019-07-04T18:32:55.100Z\"\n      }\n      ```\n\n      The conversation returned shows that the last message received and the last message read correspond to the same message ID and timestamp now.\n\n\n      ### Media\n\n      Suppose that the incoming message was also containing media. Then the notification will be\n\n      ```\n      {\n        \"source\": \"messaging\",\n        \"type\": \"message\",\n        \"content\":\n        {\n          \"ownerPhoneNumber\": \"+15551234567\",\n          \"contactPhoneNumbers\": [ \"+15559998888\" ],\n          \"authorPhoneNumber\": \"+15559998888\",\n          \"id\": \"2404329e-93a5-48f8-91d1-9d07171e60ef\",\n          \"timestamp\": \"2019-08-01T19:40:23.019731Z\",\n          \"direction\": \"IN\",\n          \"deliveryStatuses\": [],\n          \"body\": \"Hello Alice\",\n          \"media\": [\n            {\n              \"id\": \"7a20b1e0-7b97-4c92-906c-d5d2831afba3\",\n              \"filename\": \"smile.jpg\",\n              \"contentType\": \"image/jpeg\",\n              \"size\": 24631\n            }\n          ]\n        }\n      }\n      ```\n\n      To download media, the following can be done:\n\n      ```\n      curl \"https://api.goto.com/messaging/v1/media/7a20b1e0-7b97-4c92-906c-d5d2831afba3\" \\\n        -H 'Authorization: Bearer {token}' --output smile.jpg\n      ```\n\n\n      ## List Media\n\n      Media can be listed by doing:\n\n      ```\n      curl \"https://api.goto.com/messaging/v1/media-metadata?ownerPhoneNumber=%2B15551234567&contactPhoneNumber=%2B15559998888\" \\\n        -H 'Authorization: Bearer {token}'\n      ```\n\n      You will receive the following response:\n\n      ```\n      {\n        \"items\": [\n          {\n            \"id\": \"18b25d27-18c6-4064-b220-19066649615d\",\n            \"filename\": \"smile.jpg\",\n            \"contentType\": \"image/jpeg\",\n            \"size\": 24631,\n            \"messageId\": \"ff534546-cd93-4e82-97d2-3e74077a3e41\",\n            \"messageTime\": \"2020-11-02T21:05:26Z\"\n          }\n        ],\n        \"nextPageMarker\": \"MjAyMC0xMC0yN1QxODoyOTo0MS4\"\n      }\n      ```\n\n      You can then download media as described in the previous section.\n\n\n      ## Finding and Reading New Unread SMS Messages\n\n      In this scenario, Alice retrieves new messages that were stored and are still unread.\n\n      To do so, Alice first makes a request to get the number of unread messages for her phone number +15551234567 using the `/conversations-summary` endpoint.\n\n      ```\n      curl \"https://api.goto.com/messaging/v1/conversations-summary/+15551234567\" \\\n        -H 'Authorization: Bearer {token}'\n      ```\n\n      The response is an `HTTP 200 OK` response containing the number of unread messages:\n\n      ```\n      {\n        \"unreadMessagesCount\": 1\n      }\n      ```\n\n      Alice then retrieves conversations that contain unread messages using the GET `/conversations` endpoint\n      and specifying the `unreadOnly=true` query parameter to only get conversations with unread messages.\n\n      ```\n      curl \"https://api.goto.com/messaging/v1/conversations?ownerPhoneNumber=+15551234567&unreadOnly=true\" \\\n        -H 'Authorization: Bearer {token}'\n      ```\n\n      The response to this request is an `HTTP 200 OK` response containing:\n\n      ```\n      {\n        \"items \": [\n          {\n            \"ownerPhoneNumber\": \"+15551234567\",\n            \"contactPhoneNumbers\": [ \"+15559998888\" ],\n            \"unreadMessagesCount\": 1,\n            \"lastMessageId\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\",\n            \"lastMessageTimestamp\": \"2019-07-04T18:32:55.100Z\",\n            \"lastReadMessageId\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\",\n            \"lastReadMessageTimestamp\": \"2019-07-04T18:32:55.100Z\",\n            \"lastMessage\": { ... }\n          }\n        ]\n      }\n      ```\n\n      In this response, there is only a single conversation that has an unread message. The system\n      then retrieves the messages for that conversation by sending a request to `/messages` and\n      providing Alice's phone number as the owner phone number and the contact phone number for the\n      conversation in the query parameters.\n\n      ```\n      curl \"https://api.goto.com/messaging/v1/messages?ownerPhoneNumber=+15551234567&contactPhoneNumber=+15559998888\" \\\n        -H 'Authorization: Bearer {token}'\n      ```\n\n      The response is an `HTTP 200 OK` response with the most recent messages (which only contains\n      1 message in this example):\n\n      ```\n      {\n        \"items\": [\n          {\n            \"ownerPhoneNumber\": \"+15551234567\",\n            \"contactPhoneNumbers\": [ \"+15559998888\" ],\n            \"authorPhoneNumber\": \"+15551234567\",\n            \"id\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\",\n            \"timestamp\": \"2019-07-04T18:32:55.100Z\",\n            \"direction\": \"IN\",\n            \"deliveryStatuses\": [],\n            \"body \": \"This is the latest message.\",\n            \"media\": []\n          }\n        ]\n      }\n      ```\n\n      Now that this message has been retrieved and read, Alice marks the message as read following\n      the same steps that are done in the previous example see [Receiving a Message](#section/Use-Case-Examples/Receiving-a-message).\n\n      ```\n      curl -X \"POST\" \"https://api.goto.com/messaging/v1/update-conversation\" \\\n        -H 'Authorization: Bearer {token}' \\\n        -H \"Content-Type: application/json\" \\\n        -d '{\"ownerPhoneNumber\": \"+15551234567\", \"contactPhoneNumbers\": [ \"+15559998888\" ], \"lastReadMessageId\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\"}'\n      ```\n\n      This request will return an `HTTP 200 OK` response with the new state of the conversation showing\n      that all messages have been marked as read:\n\n      ```\n      {\n        \"ownerPhoneNumber\": \"+15551234567\",\n        \"contactPhoneNumbers\": [ \"+15559998888\" ],\n        \"unreadMessagesCount\": 0,\n        \"lastMessageId\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\",\n        \"lastMessageTimestamp\": \"2019-07-04T18:32:55.100Z\",\n        \"lastReadMessageId\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\",\n        \"lastReadMessageTimestamp\": \"2019-07-04T18:32:55.100Z\",\n        \"lastMessage\": { ... }\n      }\n      ```\n\n      Additionally, if there is a subscription for the `READ_UPDATE_CONVERSATION` event type, a\n      notification would be sent to the subscribers with the contents of the event. The webhook would\n      then receive a `POST` request with the event:\n\n      ```\n      {\n        \"source\": \"messaging\",\n        \"type\": \"conversation-update\",\n        \"content\": {\n          \"ownerPhoneNumber\": \"+15551234567\",\n          \"contactPhoneNumbers\": [ \"+15559998888\" ],\n          \"unreadMessagesCount\": 0,\n          \"lastMessageId\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\",\n          \"lastMessageTimestamp\": \"2017-07-21T17:32:28Z\",\n          \"lastReadMessageId\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\",\n          \"lastReadMessageTimestamp\": \"2017-07-21T17:32:28Z\",\n          \"deletedTimestamp\": \"2017-08-21T17:32:28Z\"\n        }\n      }\n      ```\n\n      As with all other events sent to a webhook, it is expected that the webhook returns an\n      `HTTP 204 No Content` response.\n\n\n      ## Retrieving SMS conversations and messages\n\n      In this scenario, Alice retrieves up to 100 recently updated conversations and then retrieves\n      the messages in 1 of those conversations.\n\n      First, Alice sends a request to the `/conversations` endpoint and provides query parameters to\n      retrieve the first page with the 50 most recent conversations for her phone number.\n\n      ```\n      curl \"https://api.goto.com/messaging/v1/conversations?ownerPhoneNumber=+15551234567&pageSize=50\" \\\n        -H 'Authorization: Bearer {token}'\n      ```\n\n      The response is an `HTTP 200 OK` with the following content:\n\n      ```\n      {\n        \"nextPageMarker\": \"a159e8fbea8e53848\",\n        \"items\": [\n          {\n            \"ownerPhoneNumber\": \"+15551234567\",\n            \"contactPhoneNumbers\": [ \"+15559998888\" ],\n            \"unreadMessagesCount\": 0,\n            \"lastMessageId\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\",\n            \"lastMessageTimestamp\": \"2019-07-04T18:32:55.100Z\",\n            \"lastReadMessageId\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\",\n            \"lastReadMessageTimestamp\": \"2019-07-04T18:32:55.100Z\",\n            \"lastMessage\": { ... }\n          },\n          {\n            \"ownerPhoneNumber\": \"+15551234567\",\n            \"contactPhoneNumbers\": [ \"+15559997777\" ],\n            \"unreadMessagesCount\": 0,\n            \"lastMessageId\": \"5479545d-cb34-485f-b28b-c1536dd1046d\",\n            \"lastMessageTimestamp\": \"2019-09-04T18:32:55.100Z\",\n            \"lastReadMessageId\": \"5479545d-cb34-485f-b28b-c1536dd1046d\",\n            \"lastReadMessageTimestamp\": \"2019-09-04T18:32:55.100Z\",\n            \"lastMessage\": { ... }\n          },\n          ...\n        ]\n      }\n      ```\n\n      In this response, the array of items was truncated to only show the first 2 items,\n      but let's assume there are 50 items as was requested in the request.\n      The presence of the field `nextPageMarker` value indicates that there is at least 1 more conversation to retrieve.\n\n      To retrieve the next page of results, Alice does another GET request to the `/conversations` endpoint\n      providing the same query parameters as the previous one, but also adds the `pageMarker` query parameter with the value set to the `nextPageMarker` value returned from the previous response.\n\n      ```\n      curl \"https://api.goto.com/messaging/v1/conversations?ownerPhoneNumber=+15551234567&pageSize=50&pageMarker=a159e8fbea8e53848\" \\\n        -H 'Authorization: Bearer {token}'\n      ```\n\n      The response to this request is an `HTTP 200 OK` with the content:\n\n      ```\n      {\n        \"items \": [\n          {\n            \"ownerPhoneNumber\": \"+15551234567\",\n            \"contactPhoneNumbers\": [ \"+15559998888\" ],\n            \"unreadMessagesCount\": 0,\n            \"lastMessageId\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\",\n            \"lastMessageTimestamp\": \"2019-07-04T18:32:55.100Z\",\n            \"lastReadMessageId\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\",\n            \"lastReadMessageTimestamp\": \"2019-07-04T18:32:55.100Z\",\n            \"lastMessage\": { ... }\n          }\n        ]\n      }\n      ```\n\n      The second response has no `nextPageMarker` field indicating that there are no more results to be retrieved.\n      Alice then sends a request to the `/messages` endpoint to retrieve the messages for the conversation between her number +15551234567 and her contact Bob +1555999888.\n\n      ```\n      curl \"https://api.goto.com/messaging/v1/messages?ownerPhoneNumber=+15551234567&contactPhoneNumber=+15559998888\" \\\n        -H 'Authorization: Bearer {token}'\n      ```\n\n      The response is an `HTTP 200 OK` response with the messages in this conversation:\n\n      ```\n      {\n        \"items\": [\n          {\n            \"ownerPhoneNumber\": \"+15551234567\",\n            \"contactPhoneNumbers\": [ \"+15559998888\" ],\n            \"authorPhoneNumber\": \"+15551234567\",\n            \"id\": \"iaZAG2KDVTvqBe6hCOqDu\",\n            \"timestamp\": \"2019-07-04T18:32:55.100Z\",\n            \"direction\": \"IN\",\n            \"deliveryStatuses\": [],\n            \"body \": \"This is the latest message.\",\n            \"media\": []\n          }\n        ]\n      }\n      ```\n\n      There is only 1 message in this conversation but had there been more than the default page size of 50, the field `nextPageMarker` would have been returned.\n      This would allow the retrieval of the next page of messages by providing a `pageMarker` query parameter to the `/messages` endpoint similar to how it was done to retrieve the next page of conversations.\n\n\n      ## Deleting an SMS Message\n\n      In this scenario, Alice deletes the message by `id`.\n\n      To delete the message, Alice sends a `DELETE` request to the `/messages` endpoint and specifies the message `id` in the path.\n\n      ```\n      curl -X \"DELETE\" \"https://api.goto.com/messaging/v1/messages/e7e9ba2e-581e-43a4-a85a-cbd3c1671fe9\" \\\n        -H 'Authorization: Bearer {token}'\n      ```\n\n      The response is an `HTTP 200 OK` showing information about the message now that it has been deleted:\n\n      ```\n      {\n        \"ownerPhoneNumber\": \"+15551234567\",\n        \"contactPhoneNumbers\": [ \"+15559998888\" ],\n        \"authorPhoneNumber\": \"+15551234567\",\n        \"id\": \"iaZAG2KDVTvqBe6hCOqDu\",\n        \"timestamp\": \"2019-07-04T18:32:55.100Z\",\n        \"direction\": \"IN\",\n        \"deletedTimestamp\": \"2019-07-04T18:33:15.834Z\",\n        \"deliveryStatuses\": [],\n        \"media\": []\n      }\n      ```\n\n      The deleted message still has its metadata and additionally has information about its deletion, but the body of the message is now removed.\n\n      Additionally, if there is a subscription for the `DELETED_MESSAGE` event type, a notification would be sent to the subscribers with the contents of the event.\n      The webhook would then receive a `POST` request with the event:\n\n      ```\n      {\n        \"source\": \"messaging\",\n        \"type\": \"message\",\n        \"content\": {\n          \"ownerPhoneNumber\": \"+15551234567\",\n          \"contactPhoneNumbers\": [ \"+15559998888\" ],\n          \"authorPhoneNumber\": \"+15559998888\",\n          \"id\": \"iaZAG2KDVTvqBe6hCOqDu\",\n          \"timestamp\": \"2019-07-04T18:32:55.100Z\",\n          \"direction\": \"IN\",\n          \"deletedTimestamp\": \"2019-07-04T18:32:55.100Z\",\n          \"deliveryStatuses\": [],\n          \"media\": []\n        }\n      }\n      ```\n\n      As with all other events sent to a webhook, it is expected that the webhook return an `HTTP 204 No Content` response.\n\n\n      ## Deleting an SMS Conversation\n\n      In this scenario, Alice deletes the contents of an entire conversation.\n      Alice sends a `DELETE` request to `/conversations` specifying in the query parameters which conversation to delete by providing the owner and contact phone numbers to identify the conversation.\n\n      ```\n      curl -X \"DELETE\" \"https://api.goto.com/messaging/v1/conversations?ownerPhoneNumber=+15551234567&contactPhoneNumber=+15559998888\" \\\n        -H 'Authorization: Bearer {token}'\n      ```\n\n      The response is an `HTTP 204 No Content` to indicate that the conversation is deleted.\n\n      The conversation will no longer have any messages available in it until a new message is sent to or received from that contact.\n      Additionally, if there is a subscription for the `DELETED_CONVERSATION` event type, a notification would be sent to the subscribers with the contents of the event.\n      The webhook would then receive a `POST` request with the event:\n\n      ```\n      {\n        \"source\": \"messaging\",\n        \"type\": \"conversation-update\",\n        \"timestamp\": \"2019-07-04T18:35:12.250Z\",\n        \"content\": {\n          \"ownerPhoneNumber\": \"+15145552672\",\n          \"contactPhoneNumbers\": [ \"+15145557777\" ],\n          \"unreadMessagesCount\": 0,\n          \"lastMessageId\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\",\n          \"lastMessageTimestamp\": \"2019-07-04T18:32:55.100Z\",\n          \"lastReadMessageId\": \"4479f45d-cb34-485f-b28b-c1536dd1046d\",\n          \"lastReadMessageTimestamp\": \"2019-07-04T18:32:55.100Z\",\n          \"deletedTimestamp\": \"2019-07-04T18:35:12.076Z\"\n        }\n      }\n      ```\n\n      As with all other events sent to a webhook, it is expected that the webhook return an `HTTP 204 No Content` response.\n    x-displayName: Messaging Overview\n  - name: Messaging V2 Overview\n    description: |\n      The Messaging API v2 allows applications to send messages across any type of inbox (shared or private)\n      on any supported channels including SMS, WhatsApp, Email, Facebook Messenger, Instagram, and Web Chat.\n\n      ### API Usage Guidelines\n\n      The messaging API assumes clients are implemented in such a way that unknown attributes\n      are ignored. The addition of new response attributes may occur at any time, for any API\n      response, without prior notice. This is not considered a break in backward-compatibility.\n\n      ### Data Privacy\n\n      This set of APIs allows the handling and retrieval of personal data (e.g., messaging\n      conversations and media). Kindly exercise privacy-by-design and take appropriate care and\n      consideration around the privacy and data protection of such personal data.\n\n      ### Supported Channels\n\n      | Channel | `from` Format | `to` Format |\n      |---------|---------------|-------------|\n      | SMS | E.164 phone number starting with `+` (e.g., `+15145551111`) | E.164 phone number (e.g., `+15145552222`) |\n      | WHATSAPP | Numeric-only WhatsApp phone number ID (e.g., `137169456416846`) | E.164 phone number (e.g., `+15145552222`) or BSUID (coming soon) |\n      | EMAIL | Valid email address (e.g., `sender@example.com`) | Valid email address (e.g., `recipient@example.com`) |\n      | FACEBOOK | Page ID | Page-scoped user ID |\n      | INSTAGRAM | Page ID | Page-scoped user ID |\n      | WEB_CHAT | Widget ID | Session identifier |\n\n      ### Channel Capabilities & Limits\n\n      | Feature | SMS | WhatsApp | Facebook | Instagram | Email | Web Chat |\n      |---------|-----|----------|----------|-----------|-------|----------|\n      | **Recipients** | Up to 10 | Exactly 1 | Exactly 1 | Exactly 1 | Exactly 1 | Exactly 1 |\n      | **Outbound-first** | Yes | Yes (template required) | No | No | Yes | No |\n      | **Text + media combined** | Yes | No (one or the other) | No (one or the other) | No (one or the other) | Yes | Yes |\n      | **Max media per message** | Multiple | 1 | 1 | 1 | Multiple | Multiple |\n      | **Template support** | No | Yes | No | No | No | No |\n\n      ### Text Size Limits\n\n      | Limit | SMS | WhatsApp | Facebook | Instagram | Email | Web Chat |\n      |-------|-----|----------|----------|-----------|-------|----------|\n      | **Message body** | 2,048 chars | 4,096 chars | 2,000 chars | 1,000 chars | No limit | No limit |\n      | **Body (with media)** | 1,000 chars | — | — | — | No limit | No limit |\n      | **Caption** | — | 1,024 chars | — | — | — | — |\n      | **Template header** | — | 60 chars | — | — | — | — |\n      | **Template body** | — | 1,024 chars | — | — | — | — |\n      | **Template footer** | — | 60 chars | — | — | — | — |\n      | **Button label** | — | 25 chars | — | — | — | — |\n      | **Quick reply payload** | — | 128 chars | — | — | — | — |\n\n      ### Media File Size Limits\n\n      | Media Type | SMS | WhatsApp | Facebook | Instagram | Email | Web Chat |\n      |------------|-----|----------|----------|-----------|-------|----------|\n      | **Image** | 1 MB per file | 5 MB | 25 MB | 8 MB | No limit | No limit |\n      | **Video** | 1 MB per file | 16 MB | 25 MB | 25 MB | No limit | No limit |\n      | **Audio** | 1 MB per file | 16 MB | 25 MB | — | No limit | No limit |\n      | **Document** | 1 MB per file | 100 MB | 25 MB | — | No limit | No limit |\n      | **Total media** | 2 MB | — | — | — | No limit | No limit |\n\n      ### Supported Media Formats\n\n      | Media Type | SMS | WhatsApp | Facebook | Instagram | Email | Web Chat |\n      |------------|-----|----------|----------|-----------|-------|----------|\n      | **Image** | JPEG, PNG, GIF, BMP, HEIC, TIFF, WebP | JPEG, PNG | JPEG, PNG, GIF | JPEG, PNG, GIF | No restriction | No restriction |\n      | **Video** | MP4, MPEG, MOV, AVI, OGG, WebM, WMV | MP4, 3GPP | MP4, MOV | MP4 | No restriction | No restriction |\n      | **Audio** | MP3, MP4, OGG, FLAC, WAV, AMR, WebM | AAC, MP4, MPEG, AMR, OGG | MP3, WAV, OGG | — | No restriction | No restriction |\n      | **Document** | PDF, RTF, ZIP, TXT, CSV, vCard, etc. | PDF, DOC(X), XLS(X), PPT(X), TXT, etc. | PDF, DOC(X), XLS(X), ZIP, etc. | — | No restriction | No restriction |\n\n      ### WhatsApp Outbound Messaging\n\n      To send outbound WhatsApp messages, the `from` field must contain the Meta WhatsApp\n      phone number ID associated with your WhatsApp Business Account. This is a numeric-only\n      identifier (e.g., `137169456416846`) assigned by Meta to each phone number registered\n      in your WhatsApp Business Account. It is **not** the phone number itself in E.164 format.\n\n      #### Retrieving Your WhatsApp Phone Number ID\n\n      Before sending a WhatsApp message, you need to obtain the Meta phone number ID for the\n      sender. This can be found through the following methods:\n\n      1. **Via the Meta Business Manager**: Log in to your Meta Business Suite at\n         business.facebook.com, navigate to WhatsApp Manager > Phone Numbers. The numeric\n         phone number ID is shown for each registered number (e.g., `137169456416846`).\n\n      2. **Via the Touchpoints API (coming soon)**: A dedicated endpoint will be available\n         to programmatically discover the touchpoints configured for your account, including\n         WhatsApp phone number IDs.\n\n      Use the numeric phone number ID as the `from` field value when sending WhatsApp messages.\n\n      #### WhatsApp Template Messages\n\n      To initiate a conversation on WhatsApp outside of the 24-hour customer service window,\n      you must use a pre-approved message template. Template messages are sent using the\n      `template` request type with the template name and language code specified in the\n      `attributes` field.\n\n      Templates must be approved by Meta before they can be used. You can manage and check\n      template status through the Meta Business Manager. You can also check template status \n      in the GoTo Admin Portal. \n      See [Manage your WhatsApp account](https://support.goto.com/connect/help/manage-your-whatsapp-account).\n\n      #### WhatsApp Privacy Usernames (Coming Soon)\n\n      As WhatsApp rolls out the privacy usernames feature, the contact touchpoint on inbound\n      messages may be a BSUID (Business-Scoped User ID) instead of an E.164 phone number.\n      When that is the case, integrators must use the BSUID as the `to` value when sending\n      a message back to that contact. Integrators should not assume that the `to` field for\n      WhatsApp will always be an E.164 phone number.\n\n      - - -\n      # Authentication and Authorization\n\n      ## Authentication Scopes\n\n      | Scope | Description |\n      |-------|-------------|\n      | messaging.v1.send | Send messages through the API |\n      | messaging.v1.read | Read messages, templates, and media |\n\n      > **Note:** These endpoints accept the same scopes as Messaging API v1.\n      > Existing integrations do not need to re-authorize.\n    x-displayName: Messaging V2 Overview\n  - name: Presence Overview\n    description: |\n\n      You can use the Presence API to obtain and subscribe to presence statuses of users within the calling user's domain(s).\n\n\n      Throughout the API the term *presence* is used to denote aggregated presence information about a particular user in time. This includes and is not limited to `appearance` and `status`. Presence is obtained directly through the `/presence` endpoint or through subscriptions.\n\n      The term *user presence* is used to describe fields that a client of the API can modify in order to induce change to its presence.\n      These fields are altered through the `/user-presence` endpoint.\n\n      ### Presence Fields and their definition\n      | Field | Visibility | Usage |\n      | ------| ---------- | ----- |\n      | appearance | All subscribers | Aggregated result of all sources that could affect a user's presence, which gives information on the user's reachability. With the exception of `DO_NOT_DISTURB`, the appearance doesn't affect call handling (e.g. a user may still be reachable even if `OFFLINE`, `BUSY`, etc ). |\n      | status | All subscribers | Details related to the user's appearance. e.g. The user may be BUSY, but why? |\n      | statusDetails | All subscribers | Extra details related to the user's appearance. e.g. The user may be BUSY and IN_A_CALENDAR_EVENT, but for how long? |\n      | userAgents | All subscribers | List of user agents a user is currently online with |\n      | userAppearance | User's own presence only | Used to force an appearance. It will override any other appearance aggregated from other sources |\n      | userDoNotDisturb | User's own presence only | Used to enable/disable user-wide Do Not Disturb |\n      | userDoNotDisturbExpiration | User's own presence only | Used to set a limit to the duration of the Do Not Disturb. Omitted from responses/notifications if not set |\n      | userStatus | User's own presence only | Used to signal that the user is in a meeting. <br>Automatically expires if not re-applied frequently |\n      | userNote | All subscribers if set | Used by the user to add context to its presence, e.g. \"May be slow to respond\" |\n\n      # Examples\n\n      ## Subscribed to own presence\n\n      When a user is subscribed to their own presence, they will receive extra information relating to their own user-set presence fields.\n\n      Here is an example of a series of presence notifications for a user subscribed to their own presence:\n\n      The user starts being online:\n\n      ```json\n      {\n        \"userKey\": \"6577912271309795852\",\n        \"timestamp\": \"2024-11-14T15:54:42.244960Z\",\n        \"appearance\": \"ONLINE\",\n        \"userAgents\": [\n          {\n            \"name\": \"GoTo\",\n            \"family\": \"WEB\"\n          }\n        ],\n        \"userAppearance\": \"NONE\",\n        \"userDoNotDisturb\": \"NONE\",\n        \"userStatus\": \"NONE\",\n        \"userNote\": \"Working from home\"\n      }\n      ```\n\n      The user then joins a meeting via GotoConnect\n\n      ```json\n       {\n        \"userKey\": \"6577912271309795852\",\n        \"timestamp\": \"2024-11-14T16:00:08.476664Z\",\n        \"appearance\": \"BUSY\",\n        \"userAgents\": [\n          {\n            \"name\": \"GoTo\",\n            \"family\": \"WEB\"\n          }\n        ],\n        \"status\": \"IN_A_MEETING\",\n        \"userAppearance\": \"NONE\",\n        \"userDoNotDisturb\": \"NONE\",\n        \"userStatus\": \"IN_A_MEETING\",\n        \"userNote\": \"Working from home\"\n      }\n\n      ```\n\n      During the meeting, they receive a call:\n\n      ```json\n      {\n        \"userKey\": \"6577912271309795852\",\n        \"timestamp\": \"2024-11-14T15:55:51.239792Z\",\n        \"appearance\": \"BUSY\",\n        \"userAgents\": [\n          {\n            \"name\": \"GoTo\",\n            \"family\": \"WEB\"\n          }\n        ],\n        \"status\": \"IN_A_CALL\",\n        \"userAppearance\": \"NONE\",\n        \"userDoNotDisturb\": \"NONE\",\n        \"userStatus\": \"IN_A_MEETING\",\n        \"userNote\": \"Working from home\"\n      }\n      ```\n\n      Notice how the `IN_A_CALL` status has priority over the `IN_A_MEETING` one.\n\n      ## Subscribed to another user's presence\n\n      When a user is subscribed to another user's presence, the subscribing user\n      has less information about the user being subscribed to.\n      When subscribing to (or requesting) another user's presence, the subscribing\n      user can only see the `appearance`, the `userAgents` and the `status` (if one exists).\n      The `userNote` is only displayed if non-empty.\n\n      ```json\n\n      {\n        \"userKey\": \"924928280309310214\",\n        \"timestamp\": \"2024-11-14T19:11:06.587804Z\",\n        \"appearance\": \"ONLINE\",\n        \"userAgents\": [\n          {\n            \"name\": \"Unknown\",\n            \"family\": \"DESKPHONE\"\n          }\n        ],\n        \"userNote\": \"Working from the office\"\n      }\n\n      ```\n\n      ### Security and authentication\n      The calling user is identified through an `ACCESS_TOKEN` retrieved from OAuth 2.0 API.\n    x-displayName: Presence Overview\n  - name: Notification Channel Overview\n    description: |\n      Provides a set of APIs to enable services to push notifications towards client applications over webhooks. The size limit for all notifications is 1MB. This API should not be used alone. This is a supportive API for APIs like the [Messaging API](/GoToConnect/#tag/Messaging-Overview). For instance, you'll need to manage channels in order to receive messaging notifications.\n      ## API Usage Guidelines\n      This API assumes that clients are implemented in such a way that unknown attributes are ignored. The addition of new response attributes may occur at any time, for any API response, without prior notice. This is not considered a breach of backward compatibility.\n      This API explicitly omits any attribute in its responses for which the value is undefined or `null`. A common example of this is the `nextPageMarker` on paginated list responses which is only included if there are one or more additional pages of data.\n      ## Webhook\n      Only POST webhooks on HTTPS endpoints are supported. Additionally, the URL provided must be reachable via port 443 as other ports are not supported.  When creating a webhook channel, an OPTIONS request will be sent to the provided URI to validate if it's allowing POST requests.\n      If the server returns a 410 Gone or a 404 Not Found on a request, the webhook channel will be automatically deleted. In the case where the response received is a server error (5XX), the webhook request will be retried up to 2 more times in quick succession before abandoning.\n      ### Failures and Retries\n      #### Webhook URL Becoming Invalid\n      If the server returns a 410 Gone or a 404 Not Found on a request, the webhook channel will be marked as unreachable.  The time at which it became unreachable can be found in the `webhookChannelData.unreachableTimestamp` field of the Notification channel response.\n      While a webhook channel is marked as unreachable, notifications will continue to be sent to it. Once a 2xx HTTP response is received, the webhook channel will be marked as reachable again and the `webhookChannelData.unreachableTimestamp` field will be cleared.\n      An unreachable webhook channel will be automatically deleted after a 7 day period.\n      #### Webhook Request Failure\n      In the case where the response received is a server error (5XX), the webhook request will follow the [retry policy](#webhookrequestretrypolicy).\n      #### Webhook Request Timeout\n      A Webhook notification is considered incomplete or timed out if a response is not provided in 4,000 ms or less. In this case, the webhook notification request will follow the [retry policy](#webhookrequestretrypolicy).\n      #### Webhook Request Retry Policy\n      In the event that a webhook request failed, the webhook request will be retried up to 2 more times in quick succession before it is abandoned. When a notification is retried it preserve the Notification Id, so the client can deduplicate the notifications.\n      ### Authorization\n      The channel ownership is based on the user and the OAuth client ID, both are provided via the access token. If for some reason you need to create a new client, for instance to rotate the client secret, ownership would be lost.\n\n      In such a case, reach out to our support team if recreating channels with your new client is not a possibility. Note also that if your previous channel is not deleted, you might receive duplicate notifications if you reuse the same webhook URL, you might want to design accordingly.\n      ### Networking and IP ranges\n      The Notification Channel API will emit calls to webhooks using a variety of IP addresses. Make sure to allow [GoToConnect IP Range Blocks](https://support.goto.com/meeting/help/optimal-firewall-configuration-g2m060010) in your firewall.\n      ### Webhook Notification Signature\n      If a `sharedSecret` is provided upon the creation of a webhook notification channel, published webhook notifications will be signed: the 'Digest', 'Signature-Input' and 'Signature' headers, the latter relying on the shared secret, will be present in the HTTP requests and shall be used to [verify the source of the notifications](https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-message-signatures-05#section-3.2), see this [IETF draft](https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-message-signatures-05) for reference.\n\n      The verification of the signature of a webhook notification can be executed in three steps:\n      1. Verify the content digest.\n      2. Verify the 'Signature-Input' header.\n      3. Verify the signature.\n\n      #### Content Digest Verification\n      To verify the 'Digest' HTTP header (content digest), the verifier shall extract the request body as a byte array, hash the body using the SHA-256 algorithm and encode the resulting hash using `java.util.Base64`. A value computed in such a manner that does not match the value provided by the 'Digest' HTTP header would be an indicator of a corrupted payload.\n\n      The following sample Java code illustrates the process of verifying the content digest.\n      ```java\n      import java.security.MessageDigest;\n      import java.security.NoSuchAlgorithmException;\n      import java.util.Base64;\n      import java.util.Objects;\n\n      public class ContentDigestValidator {\n\n        private ContentDigestValidator() {\n\n          // Helper class\n\n        }\n\n\n        public static boolean isValid(final byte[] body, final String digestHeaderValue) throws NoSuchAlgorithmException {\n\n          final MessageDigest messageDigest = MessageDigest.getInstance(\"SHA-256\");\n\n          final byte[] sha256Digest = messageDigest.digest(body);\n\n          final String computedDigest = \"sha-256=\" + Base64.getEncoder().encodeToString(sha256Digest);\n\n          return Objects.equals(digestHeaderValue, computedDigest);\n\n        }\n\n      }\n      ```\n      #### 'Signature-Input' Header Verification\n      To verify the 'Signature-Input' header, the verifier shall extract the `Signature-Input` HTTP header and verify its value.\n\n      The 'Signature-Input' header shall be formatted as described here: https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-message-signatures-05#section-4.1. For instance, the 'Signature-Input' header that is sent with webhook notifications will have the following format:\n      ```\n      Signature-Input: sig1=(\"@request-target\" \"date\" \"digest\");keyid=\"some-channel-id\";alg=\"hmac-sha256\";created={long epoch};expires={long epoch};nonce={random unique value}\n      ```\n\n      where:\n      - `keyid` shall be the `channelId` of the webhook channel and allow the verifier to retrieve the `sharedSecret` defined at the creation of the channel.\n      - `alg` shall provide the signature algorithm method. In this case, the algorithm shall be \"hmac-sha256\".\n      - `created` shall not be in the future.\n      - `expires` shall not be before `created`.\n      - `nonce` shall be a random unique value generated for this signature.\n      These parameters improve security by ensuring a sufficiently strong algorithm and by avoiding replay or forgery attacks. These are application-specific requirements that can be validated as part of the process described in [the reference IETF draft](https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-message-signatures-05).\n\n      #### Signature Verification\n      The process to verify the signature, described in [the reference IETF draft](https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-message-signatures-05#section-3.2) consists in generating a 'Signature Input String' using the information of the HTTP request, signing said string with the chosen signing algorithm using the key material chosen by the signer and comparing this to the value of the 'Signature' HTTP header.\n\n      The following sample Java code illustrates the process of verifying the signature:\n      ```java\n      import java.nio.charset.StandardCharsets;\n      import java.security.InvalidKeyException;\n      import java.security.NoSuchAlgorithmException;\n      import java.util.ArrayList;\n      import java.util.Arrays;\n      import java.util.Base64;\n      import java.util.List;\n      import java.util.Objects;\n\n      import javax.crypto.Mac;\n      import javax.crypto.spec.SecretKeySpec;\n      import javax.servlet.http.HttpServletRequest;\n\n      public class SignatureValidator\n      {\n\n        private final String sharedSecretKey;\n\n        private final byte[] sharedSecret;\n\n\n        public SignatureValidator(final String webhookChannelId, final String sharedSecret)\n\n        {\n\n          // webhook channel id will be leveraged as secret key (matching the 'keyid' signature parameter)\n\n          this.sharedSecretKey = webhookChannelId;\n\n          this.sharedSecret = sharedSecret.getBytes(StandardCharsets.UTF_8);\n\n        }\n\n        public boolean isValid(final HttpServletRequest request)\n\n            throws NoSuchAlgorithmException, InvalidKeyException\n\n        {\n\n          // Multiple occurrences of headers should be canonicalized as described in\n\n          // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-message-signatures-05#section-2.1.1\n\n          // For simplicity, the following code assumes that there is a single occurrence of the header\n\n          // and a single entry in Dictionary Structured Header (otherwise one would have to loop over the\n\n          // signature identifiers)\n\n          final String[] signatureEntry = request.getHeader(\"Signature\").split(\"=\", 2);\n\n          final String[] signatureInputEntry = request.getHeader(\"Signature-Input\").split(\"=\", 2);\n\n\n          // Match signature identifier\n\n          if (!Objects.equals(signatureEntry[0], signatureInputEntry[0]))\n\n          {\n\n            throw new IllegalArgumentException(\"Non-matching signature identifier\");\n\n          }\n\n\n          // Examine the signature parameters\n\n          final String signatureParameters = signatureInputEntry[1];\n\n\n          // Determine the verification key material for this signature.\n\n          if (!Objects.equals(sharedSecretKey, getStringParameter(signatureParameters, \"keyid\")))\n\n          {\n\n            throw new IllegalArgumentException(\"Key material could not be retrieved\");\n\n          }\n\n\n          if (!Objects.equals(\"hmac-sha256\", getStringParameter(signatureParameters, \"alg\")))\n\n          {\n\n            throw new UnsupportedOperationException(\"This implementation only supports hmac-sha256\");\n\n          }\n\n\n          // Use the received HTTP message and the signature's metadata to recreate the signature input\n\n          final String coveredContentList =\n\n              signatureParameters.substring(0, signatureParameters.indexOf(\";\"));\n\n          if (!coveredContentList.startsWith(\"(\") || !coveredContentList.endsWith(\")\"))\n\n          {\n\n            throw new IllegalArgumentException(\"Invalid format for signature parameters\");\n\n          }\n\n\n          final List<String> signatureInput = new ArrayList<>();\n\n          for (final String contentIdentifier : coveredContentList\n\n              .substring(1, coveredContentList.length() - 1)\n\n              .split(\" \"))\n\n          {\n\n            if (\"\\\"@request-target\\\"\".equals(contentIdentifier))\n\n            {\n\n              signatureInput\n\n                  .add((contentIdentifier + \": \" + request.getMethod() + \" \" + request.getRequestURI()\n\n                      + (request.getQueryString() != null ? \"?\" + request.getQueryString() : \"\"))\n\n                          .toLowerCase());\n\n            }\n\n            else\n\n            {\n\n              signatureInput.add(contentIdentifier + \": \"\n\n                  + request.getHeader(contentIdentifier.substring(1, contentIdentifier.length() - 1)));\n\n            }\n\n          }\n\n          signatureInput.add(\"\\\"@signature-params\\\": \" + signatureParameters);\n\n\n          // Generate the signature using the sharedSecretKey.\n\n          final String algo = \"HMACSHA256\";\n\n          final SecretKeySpec secretKeySpec = new SecretKeySpec(sharedSecret, algo);\n\n          final Mac mac = Mac.getInstance(algo);\n\n          mac.init(secretKeySpec);\n\n          final byte[] signatureBytes =\n\n              mac.doFinal(String.join(\"\\n\", signatureInput).getBytes(StandardCharsets.US_ASCII));\n\n          final String computedSignature = \":\" + Base64.getEncoder().encodeToString(signatureBytes) + \":\";\n\n\n          return Objects.equals(signatureEntry[1], computedSignature);\n\n        }\n\n\n        /**\n\n         * Parses an inner list to retrieve the parameter value associated to the provided key.\n\n         *\n\n         * Example: (\"@request-target\" \"Date\" ...);keyid=\"key-id\";algid=\"alg-id\" -> \"key-id\"\n\n         */\n\n        private String getStringParameter(final String signatureParameters, final String parameterKey)\n\n        {\n\n          final String parameterValue = Arrays.stream(signatureParameters.split(\";\"))\n\n              .filter(signatureParameter -> signatureParameter.startsWith(parameterKey + \"=\"))\n\n              .findAny()\n\n              .orElseThrow(\n\n                  () -> new IllegalArgumentException(\"Missing parameter with key: \" + parameterKey))\n\n              .substring((parameterKey + \"=\").length());\n\n\n          if (!parameterValue.startsWith(\"\\\"\") || !parameterValue.endsWith(\"\\\"\"))\n\n          {\n\n            throw new IllegalArgumentException(\n\n                \"Unexpected format for String parameter with key: \" + parameterKey);\n\n          }\n\n          return parameterValue.substring(1, parameterValue.length() - 1);\n\n        }\n\n      }\n      ```\n      ## WebSocket\n      There is a limitation of 50 opened WebSocket channels for a given user. Any attempt to create an additional WebSocket channel beyond that will result in a 409 response. As such, it is critical for client applications to manage the lifecycle of the channels they create by deleting them as soon as they are no longer needed.\n      The user will receive each notification in this form :\n      ```json\n      {\n        \"event\":\"Notification\",\n        \"eventId\":0,\n        \"timestamp\":\"2019-07-25T17:32:33Z\",\n        \"data\":{\n          \"source\":\"source\",\n          \"type\":\"type\",\n          \"timestamp\":\"2019-07-25T17:32:28Z\",\n          \"contentVersion\":\"1.0\",\n          \"content\":\n          {\n            ...\n          }\n        }\n      }\n      ```\n      Where: <br/>\n      `event` is set to `Notification`.<br/>\n      `eventId` is an identifier representing the event<br/>\n      `timestamp` is the time when the notification is sent on the WebSocket.<br/>\n      #### WebSocket Refresh Required Notification\n\n      The WebSocket channel is about to expire, and should be refreshed to avoid it being deleted.\n      ```json\n      {\n        \"event\":\"Notification\",\n        \"eventId\":154,\n        \"timestamp\":\"2019-07-25T17:32:33Z\",\n        \"data\":\n        {\n         \"source\":\"notification-websocket\",\n         \"type\":\"WEBSOCKET_REFRESH_REQUIRED\",\n         \"timestamp\":\"2021-09-20T17:32:28Z\",\n         \"content\":\n         {\n           \"remainingLifetime\": 120\n         }\n       }\n      }\n      ```\n      The `remainingLifetime` is the time in seconds before the channel is deleted.\n      #### WebSocket Service Is Terminating Notification\n\n      The service instance which currently hosts the WebSocket channel is terminating, and a new channel should be created to replace the current one. The current WebSocket channel will not be deleted before the end of its lifetime, but it will not be possible to refresh it once the service termination has been engaged. The service instance only completes its termination once every WebSocket channel it hosts is gone.\n\n\n      ```json\n      {\n        \"event\":\"Notification\",\n        \"eventId\":263,\n        \"timestamp\":\"2019-07-25T17:32:33Z\",\n        \"data\":\n        {\n          \"source\":\"notification-websocket\",\n          \"type\":\"WEBSOCKET_TO_BE_CLOSED\",\n          \"timestamp\":\"2021-09-20T17:32:28Z\",\n          \"content\":\n          {\n            \"remainingLifetime\": 120\n          }\n        }\n      }\n      ```\n      The `remainingLifetime` is the time in seconds before the channel is deleted.\n      ### WebSocket Keep-Alive\n      The Notification Channel service implements an application-level keep-alive, so that a client can determine the liveliness of their WebSocket connection.  Periodically, the client application can send a `marco` Notification.  The correlationId must not be reused between `marco` requests.\n      That application-level keep-alive is to be used for situations where socket events are not available to the application.  It can be used to detect disconnections faster, rather than relying on TCP timeouts.  It is preferable to rely on the socket events when possible.\n      ```json\n      {\n        \"correlationId\": 1,\n        \"command\": \"marco\"\n      }\n      ```\n      In turn, the service will respond with a `polo` response.\n      ```json\n      {\n        \"code\": 200,\n        \"correlationId\": 1,\n        \"data\": {\n          \"type\": \"polo\",\n          \"receivedTimestamp\": \"2021-09-20T17:32:28.789Z\",\n          \"acknowledgeTimeStamp\": \"2021-09-20T17:32:28.791Z\"\n        },\n        \"error\": {},\n        \"errorModel\": {\n          \"reference\" : \"7GfoXrRHXNtmVN3t1NQR2zkitgTjZ82e\",\n          \"errorCode\": \"BAD_REQUEST\",\n          \"message\": \"WebSocket did not respond as expected\"\n        }\n      }\n      ```\n    x-displayName: Notification Channel Overview\n  - name: Recording Overview\n    description: |\n      **BETA**\n      *This API is in beta phase. Reach out to developer-support@goto.com to get access.*\n      This API provides access to call recording metadata, audio files and transcriptions along with methods to manage subscriptions for recording notifications.\n      ## Permission\n      The user needs to have the 'Access call recordings' permission to use any endpoint of the API. To learn more, please refer to https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-reporting-permissions\n      ## Finding recordingId and transcriptId\n      The recordingId and transcriptId can be found by [subscribing to recording notifications](https://developer.goto.com/GoToConnect/#tag/Recording-Subscriptions/operation/createRecordingSubscription).  Id in `RECORDING_UPLOADED` events are recordingId while id in `RECORDING_TRANSCRIPT_UPLOADED` events are transcriptId.\n      The recordingId for a given leg can also be found in the [call events report](https://developer.goto.com/GoToConnect/#tag/Call-Events-Report/operation/retrieveCallEventsReport).  If the field `transcriptEnabled` is `true`, the same id can be used to fetch a transcript.\n    x-displayName: Recording Overview\n  - name: Web Calls Overview\n    description: |\n      Provides an API to allow users to create a web-based softphone session in\n      order to be able to make and receive calls as well as receive notifications.\n\n      ### Authentication Scopes\n\n      | Scope | Description |\n      |-------|-------------|\n      | webrtc.v1.read | Retrieve information about web calls |\n      | webrtc.v1.write | Perform actions on web calls (such as create, answer...) |\n\n      ### API Usage Guidelines\n\n      This API assumes that clients are implemented in such a way that unknown\n      attributes are ignored. The addition of new response attributes may occur\n      at any time, for any API response, without prior notice. This is not\n      considered a breach of backward compatibility.\n\n      ### Usage limitations\n\n      This API limits the number of requests which it can receive. If the limit is exceeded,\n      a `429` error will be returned.\n\n      ## Getting started\n\n      ### Notification Channel\n\n      In order to be able to receive events from the Web-Calls service, a notification channel with a\n      configured webhook will have to be available to receive and process these events. Refer to the\n      [Notification Channel API](/GoToConnect#tag/Notification-Channel-Overview) for further details.\n      Each notification sent to the user will have the following form:\n\n      ```json\n\n      {\n        \"source\":\"WebRTC\",\n        \"type\":\"incoming\",\n        \"timestamp\": \"2020-04-16T21:18:57.008116-04:00\",\n        \"usage\": \"VOIP\",\n        \"ttl\": \"30\",\n        \"content\": {object}\n      }\n\n      ```\n\n\n      Where:\n\n      * `source` indicates the name of the application sending the notification (always `WebRTC` in this case).\n\n      * `type` indicates the type of notification being sent by that application\n\n      * `timestamp` indicates the time at which the application sent the notification.\n\n      * `usage` indicates the priority of the notification\n\n      * `ttl` indicates the `timeToLive` or `invalidation_time` in seconds that the notification should remain applicable.\n\n      * `content` is the object body of whatever the `source` + `type` combination represents.\n    x-displayName: Web Calls Overview\npaths:\n  /voice-admin/v1/accounts/{accountKey}:\n    get:\n      operationId: voiceAdminGetAccount\n      summary: Get Account\n      tags:\n        - Accounts\n      description: |\n        Get phone-system configuration-related information about an account.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - in: path\n          name: accountKey\n          description: This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\n          required: true\n          schema:\n            type: string\n          example: '1956177422157042821'\n      responses:\n        '200':\n          description: Account information.\n          content:\n            application/json:\n              schema:\n                type: object\n                properties:\n                  extensionDigits:\n                    type: integer\n                    description: The configured length of extensions for the account.\n                required:\n                  - extensionDigits\n                example:\n                  extensionDigits: 4\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/accounts/1956177422157042821'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/voice-admin/v1/accounts/1956177422157042821\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/accounts/1956177422157042821\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/accounts/1956177422157042821');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/accounts/1956177422157042821\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/phone-number-orders:\n    post:\n      summary: Create a Phone Number Order\n      operationId: createOrder\n      tags:\n        - Phone Numbers\n      description: |\n        Only supported in Canada and USA right now.\n        Use this API to start the phone number ordering flow. See the example in the description of the voice admin API to get a view of the full flow.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                accountKey:\n                  type: string\n                  description: Identifier of an account.\n                  example: '1956177422157'\n                areaCode:\n                  type: string\n                  description: The desired area code of the phone number.\n              required:\n                - accountKey\n                - areaCode\n              example:\n                accountKey: '31416'\n                areaCode: '418'\n      responses:\n        '201':\n          description: |\n            The order was created. You can use the ID in the body to get detail about the order.\n          content:\n            application/json:\n              schema:\n                properties:\n                  id:\n                    type: string\n                    description: ID of the phone number order\n                required:\n                  - id\n                example:\n                  id: 94057366-d471-4112-9341-b6066d722801\n        '400':\n          description: |\n            The request has one or more issues. Potential error codes are\n\n            * `INVALID_ACCOUNT_KEY` - The account key is invalid or unknown\n\n            * `INVALID_AREA_CODE` - The given area code is invalid\n\n            * `NO_PHONE_NUMBER_FOUND_FOR_AREA_CODE` - Not able to find a phone number for this area code\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\n                errorCode: INVALID_ACCOUNT_KEY\n                message: The account key is invalid or unknown\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of\n            `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n\n            * `EXCEED_MAX_DIDS_LIMIT` - The organization has reached the maximum number of phone numbers allowed.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voice-admin/v1/phone-number-orders',\n              data: {accountKey: '31416', areaCode: '418'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voice-admin/v1/phone-number-orders \\\n              --header 'content-type: application/json' \\\n              --data '{\"accountKey\":\"31416\",\"areaCode\":\"418\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"accountKey\\\":\\\"31416\\\",\\\"areaCode\\\":\\\"418\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/voice-admin/v1/phone-number-orders\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"accountKey\":\"31416\",\"areaCode\":\"418\"}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/phone-number-orders');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/phone-number-orders\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"accountKey\\\":\\\"31416\\\",\\\"areaCode\\\":\\\"418\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      summary: Get Phone Number Orders\n      operationId: getOrderHistory\n      tags:\n        - Phone Numbers\n      description: |\n        Obtains a paginated list of phone number orders.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - in: query\n          name: accountKey\n          description: This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\n          required: false\n          schema:\n            type: string\n          example: '1956177422157042821'\n        - name: start\n          in: query\n          description: |\n            Defines the initial date to query the phone number orders. \n            If not defined, all phone number orders since the first one will be fetched.\n          required: false\n          schema:\n            type: string\n            format: iso8601\n      responses:\n        '200':\n          description: |\n            List of phone number orders. Will return an empty list if the user doesn't have the permission for the given account\n            or the given account is not found.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          properties:\n                            id:\n                              type: string\n                              description: The unique identifier representing the phone number order\n                            status:\n                              type: string\n                              description: |\n                                The status of the order. `PROCESSING` means that you should poll again later. `COMPLETED` means that your order was processed and you can start\n                                using the phone number ID. `CANCELED` means that your order was forcefully closed before processing completed.\n                              enum:\n                                - PROCESSING\n                                - COMPLETED\n                                - CANCELED\n                            orderDate:\n                              type: string\n                              format: iso8601\n                              description: The date when the phone number order was made.\n                          required:\n                            - id\n                            - status\n                            - orderDate\n                          example:\n                            id: 3952b0c9-85c0-4aca-8ddb-f78a770c2df2\n                            status: COMPLETED\n                            orderDate: '2023-09-25T14:07:24.669486Z'\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/phone-number-orders',\n              params: {accountKey: '1956177422157042821', start: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voice-admin/v1/phone-number-orders?accountKey=1956177422157042821&start=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/phone-number-orders?accountKey=1956177422157042821&start=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/phone-number-orders');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => '1956177422157042821',\n              'start' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/phone-number-orders?accountKey=1956177422157042821&start=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/phone-number-orders/{orderId}:\n    get:\n      summary: Get a Specific Phone Number Order\n      operationId: getOrder\n      tags:\n        - Phone Numbers\n      description: |\n        Use this API to the get status of your phone number order.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` or `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: orderId\n          in: path\n          description: The phone number order's unique identifier.\n          required: true\n          schema:\n            type: string\n      responses:\n        '200':\n          description: Contains the information about your phone number order\n          content:\n            application/json:\n              schema:\n                properties:\n                  id:\n                    type: string\n                    description: The unique identifier representing the phone number order\n                  status:\n                    type: string\n                    description: |\n                      The status of the order. `PROCESSING` means that you should poll again later. `COMPLETED` means that your order was processed and you can start\n                      using the phone number ID. `CANCELED` means that your order was forcefully closed before processing completed.\n                    enum:\n                      - PROCESSING\n                      - COMPLETED\n                      - CANCELED\n                  phoneNumberId:\n                    deprecated: true\n                    type: string\n                    description: The unique identifier representing the phone number\n                  phoneNumberIds:\n                    description: The list of phone number IDs associated to the order\n                    type: array\n                    items:\n                      type: string\n                      description: The unique identifier representing the phone number\n                  orderDate:\n                    type: string\n                    format: iso8601\n                    description: The date when the phone number order was made.\n                required:\n                  - id\n                  - status\n                  - orderDate\n                  - phoneNumberIds\n                example:\n                  id: 3952b0c9-85c0-4aca-8ddb-f78a770c2df2\n                  status: COMPLETED\n                  phoneNumberId: ae165960-2e49-4464-9590-616b3e22bfec\n                  phoneNumberIds:\n                    - ae165960-2e49-4464-9590-616b3e22bfec\n                    - bf276950-2e49-5574-9590-616b3e22bdbd\n                    - be175961-2e49-4564-7510-51653e21bfab\n                  orderDate: '2023-09-25T14:07:24.669486Z'\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/phone-number-orders/%7BorderId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/voice-admin/v1/phone-number-orders/%7BorderId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/phone-number-orders/%7BorderId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/phone-number-orders/%7BorderId%7D');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/phone-number-orders/%7BorderId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/phone-numbers:\n    get:\n      summary: Get phone numbers\n      operationId: getPhoneNumbers\n      description: |\n        Obtains a paginated list of phone numbers in an account.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - in: query\n          name: accountKey\n          description: This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\n          required: false\n          schema:\n            type: string\n          example: '1956177422157042821'\n        - name: pageMarker\n          in: query\n          description: The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n        - name: targetExtensionId\n          in: query\n          description: The target extension's unique identifier.\n          required: false\n          schema:\n            type: string\n        - in: query\n          name: number\n          description: A list of E164-formatted phone numbers. If provided, the API will return only the phone numbers that match the provided numbers.\n          required: false\n          schema:\n            type: array\n            items:\n              type: string\n              description: A E164-formatted phone number.\n              example: '+14155552671'\n      tags:\n        - Phone Numbers\n      responses:\n        '200':\n          description: |\n            List of phone numbers. Will return an empty list if the user doesn't have the permission for the given account\n            or the given account is not found.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          Optional next page marker value. To be used for fetching the next page via the `pageMarker` query parameter. If no more pages are available, then this field will be null.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          properties:\n                            id:\n                              type: string\n                              description: The unique identifier representing the phone number\n                            organizationId:\n                              type: string\n                              description: The unique identifier representing the organization owning the phone number\n                            accountKey:\n                              type: string\n                              description: Identifier of an account.\n                              example: '1956177422157'\n                            number:\n                              type: string\n                              description: An E164-formatted phone number.\n                            name:\n                              type: string\n                              description: The name of this phone number\n                            callerIdName:\n                              type: string\n                              description: |\n                                The name portion of the caller ID. The update functionality of a caller ID name is only permitted for US and Canada regions and it may take up to 14 business days to be updated after a change request is sent.\n                              maxLength: 15\n                            routeTo:\n                              properties:\n                                id:\n                                  type: string\n                                  description: The ID of the extension or phone number to which accepted calls will be routed to\n                                type:\n                                  type: string\n                                  enum:\n                                    - EXTENSION\n                                    - PHONE_NUMBER\n                                  description: |\n                                    The type of destination to which accepted calls will be routed to:\n                                      * `EXTENSION` - Extension\n                                      * `PHONE_NUMBER` - Phone number\n                              required:\n                                - id\n                                - type\n                              example:\n                                id: 458e38ae-f468-11eb-9a03-0242ac130003\n                                type: EXTENSION\n                            billingGroupId:\n                              type: string\n                              description: The unique identifier representing the billing group of the phone number\n                              example: 75bc74f1-1fb6-5daf-bc13-13f24932e3dc\n                            status:\n                              type: string\n                              description: current state of this phone number\n                              enum:\n                                - ACTIVE\n                                - DEACTIVATED\n                          required:\n                            - id\n                            - accountKey\n                            - number\n                            - organizationId\n                            - status\n                          example:\n                            id: 458e38ae-f468-11eb-9a03-0242ac130003\n                            accountKey: '1956177422157042821'\n                            number: '+15145552672'\n                            name: TMBG Dial-A-Song Line\n                            callerIdName: Jawn Dough\n                            routeTo:\n                              id: 458e38ae-f468-11eb-9a03-0242ac130003\n                              type: EXTENSION\n                            billingGroupId: ae165960-2e49-4464-9590-616b3e22bfec\n                            organizationId: c060c1da-19ae-4939-8e84-61bfaf57110f\n                            status: ACTIVE\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of\n            `constraintViolation`s in the response that provide additional\n            details for the following cases:\n\n            * The `pageMarker`, `pageSize`, or `targetExtensionId` is invalid\n            * `accountKey` is missing\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\n                constraintViolations:\n                  - field: accountKey\n                    constraint: REQUIRED\n                  - field: nextPageMarker\n                    constraint: INVALID\n                  - field: pageSize\n                    constraint: INVALID\n                  - field: targetExtensionId\n                    constraint: INVALID\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/phone-numbers',\n              params: {\n                accountKey: '1956177422157042821',\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                targetExtensionId: 'SOME_STRING_VALUE',\n                number: 'SOME_ARRAY_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voice-admin/v1/phone-numbers?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&targetExtensionId=SOME_STRING_VALUE&number=SOME_ARRAY_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/phone-numbers?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&targetExtensionId=SOME_STRING_VALUE&number=SOME_ARRAY_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/phone-numbers');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => '1956177422157042821',\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'targetExtensionId' => 'SOME_STRING_VALUE',\n              'number' => 'SOME_ARRAY_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/phone-numbers?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&targetExtensionId=SOME_STRING_VALUE&number=SOME_ARRAY_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/phone-numbers/{phoneNumberId}:\n    get:\n      summary: Get a specific phone number\n      operationId: getPhoneNumber\n      description: |\n        Get a specific phone number by phone number id.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: phoneNumberId\n          in: path\n          description: The phone number's unique identifier.\n          required: true\n          schema:\n            type: string\n      tags:\n        - Phone Numbers\n      responses:\n        '200':\n          description: The phone number model\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - properties:\n                      id:\n                        type: string\n                        description: The unique identifier representing the phone number\n                      organizationId:\n                        type: string\n                        description: The unique identifier representing the organization owning the phone number\n                      accountKey:\n                        type: string\n                        description: Identifier of an account.\n                        example: '1956177422157'\n                      number:\n                        type: string\n                        description: An E164-formatted phone number.\n                      name:\n                        type: string\n                        description: The name of this phone number\n                      callerIdName:\n                        type: string\n                        description: |\n                          The name portion of the caller ID. The update functionality of a caller ID name is only permitted for US and Canada regions and it may take up to 14 business days to be updated after a change request is sent.\n                        maxLength: 15\n                      routeTo:\n                        properties:\n                          id:\n                            type: string\n                            description: The ID of the extension or phone number to which accepted calls will be routed to\n                          type:\n                            type: string\n                            enum:\n                              - EXTENSION\n                              - PHONE_NUMBER\n                            description: |\n                              The type of destination to which accepted calls will be routed to:\n                                * `EXTENSION` - Extension\n                                * `PHONE_NUMBER` - Phone number\n                        required:\n                          - id\n                          - type\n                        example:\n                          id: 458e38ae-f468-11eb-9a03-0242ac130003\n                          type: EXTENSION\n                      billingGroupId:\n                        type: string\n                        description: The unique identifier representing the billing group of the phone number\n                        example: 75bc74f1-1fb6-5daf-bc13-13f24932e3dc\n                      status:\n                        type: string\n                        description: current state of this phone number\n                        enum:\n                          - ACTIVE\n                          - DEACTIVATED\n                    required:\n                      - id\n                      - accountKey\n                      - number\n                      - organizationId\n                      - status\n                    example:\n                      id: 458e38ae-f468-11eb-9a03-0242ac130003\n                      accountKey: '1956177422157042821'\n                      number: '+15145552672'\n                      name: TMBG Dial-A-Song Line\n                      callerIdName: Jawn Dough\n                      routeTo:\n                        id: 458e38ae-f468-11eb-9a03-0242ac130003\n                        type: EXTENSION\n                      billingGroupId: ae165960-2e49-4464-9590-616b3e22bfec\n                      organizationId: c060c1da-19ae-4939-8e84-61bfaf57110f\n                      status: ACTIVE\n                  - type: object\n                    properties:\n                      smsEnabled:\n                        type: boolean\n                        description: Indicates whether a phone number has texting support enabled.\n                      isBeingPorted:\n                        type: boolean\n                        description: Indicates whether an existing number is in the process of being ported.\n                      campaignStatus:\n                        type: string\n                        nullable: true\n                        enum:\n                          - WAITING\n                          - IN_PROGRESS\n                          - REJECTED\n                          - FAILED\n                          - REGISTERED\n                        description: |\n                          The current status of the campaign on TCR (The Campaign Registry).\n\n                          If the field is not present, the phone number is not assigned to any campaign.\n\n                          Possible values:\n                          - WAITING: Brand registration initiated, but no order has been created on TCR yet.\n                          - IN_PROGRESS: Order created on TCR and pending approval.\n                          - REJECTED: Registration was rejected by TCR. The campaign must be updated and resubmitted.\n                          - FAILED: Registration failed on TCR or provider side, or was canceled by the customer.\n                          - REGISTERED: Campaign successfully registered on TCR.\n                    required:\n                      - smsEnabled\n                      - isBeingPorted\n                    example:\n                      smsEnabled: true\n                      isBeingPorted: true\n                      campaignStatus: IN_PROGRESS\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    patch:\n      operationId: updatePhoneNumber\n      summary: Update a specific phone number\n      description: |\n        Only pass the fields that you want to update. If you want to unset a specific editable field, pass `null`.\n        Note that you cannot unset the `name` field, which is mandatory.\n\n        If you want to set the caller ID name and the name of given phone number, you can provide the following body:\n        ```\n        {\n          \"callerIdName\": \"Jawn Dough\",\n          \"name\": \"TMBG Dial-A-Song Line\"\n        }\n        ```\n\n        If you want to unset the caller ID name, pass the following instead:\n        ```\n        {\n          \"callerIdName\": null\n        }\n        ```\n\n        Moreover, you may set the route to an extension for a given phone number, with the following request body:\n        ```\n        {\n          \"routeTo\": {\n            \"id\": \"458e38ae-f468-11eb-9a03-0242ac130003\",\n            \"type\": \"EXTENSION\"\n          }  \n        }\n        ```\n\n        If you want to unset the route, pass the following instead\n        ```\n        {\n          \"routeTo\": null\n        }\n        ```\n\n        You can provide the following request body to set the billing group id:\n        ```\n        {\n          \"billingGroupId\": \"768e38ae-f468-11eb-9a03-0242ac131234\"\n        }\n        ```\n\n        To unset the billing group id, pass the following:\n        ```\n        {\n          \"billingGroupId\": null\n        }\n        ```\n      parameters:\n        - name: phoneNumberId\n          in: path\n          description: The phone number's unique identifier.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                callerIdName:\n                  type: string\n                  description: |\n                    The name portion of the caller ID. The update functionality of a caller ID name is only permitted for US and Canada regions and it may take up to 14 business days to be updated after a change request is sent.\n                  maxLength: 15\n                name:\n                  type: string\n                  description: |\n                    The name of the phone number.\n                  maxLength: 255\n                routeTo:\n                  properties:\n                    id:\n                      type: string\n                      description: The ID of the extension or phone number to which accepted calls will be routed to\n                    type:\n                      type: string\n                      enum:\n                        - EXTENSION\n                        - PHONE_NUMBER\n                      description: |\n                        The type of destination to which accepted calls will be routed to:\n                          * `EXTENSION` - Extension\n                          * `PHONE_NUMBER` - Phone number\n                  required:\n                    - id\n                    - type\n                  example:\n                    id: 458e38ae-f468-11eb-9a03-0242ac130003\n                    type: EXTENSION\n                billingGroupId:\n                  type: string\n                  description: The unique identifier representing the billing group of the phone number\n                  example: 75bc74f1-1fb6-5daf-bc13-13f24932e3dc\n              example:\n                callerIdName: Jawn Dough\n                name: TMBG Dial-A-Song Line\n                routeTo:\n                  id: 744244a8-d866-45cf-9c6f-8585b1e7e064\n                  type: EXTENSION\n                billingGroupId: 633133b7-d866-45cf-8d5c-7676a1e7e087\n      tags:\n        - Phone Numbers\n      responses:\n        '200':\n          description: The phone number was patched\n          content:\n            application/json:\n              schema:\n                properties:\n                  id:\n                    type: string\n                    description: The unique identifier representing the phone number\n                  organizationId:\n                    type: string\n                    description: The unique identifier representing the organization owning the phone number\n                  accountKey:\n                    type: string\n                    description: Identifier of an account.\n                    example: '1956177422157'\n                  number:\n                    type: string\n                    description: An E164-formatted phone number.\n                  name:\n                    type: string\n                    description: The name of this phone number\n                  callerIdName:\n                    type: string\n                    description: |\n                      The name portion of the caller ID. The update functionality of a caller ID name is only permitted for US and Canada regions and it may take up to 14 business days to be updated after a change request is sent.\n                    maxLength: 15\n                  routeTo:\n                    properties:\n                      id:\n                        type: string\n                        description: The ID of the extension or phone number to which accepted calls will be routed to\n                      type:\n                        type: string\n                        enum:\n                          - EXTENSION\n                          - PHONE_NUMBER\n                        description: |\n                          The type of destination to which accepted calls will be routed to:\n                            * `EXTENSION` - Extension\n                            * `PHONE_NUMBER` - Phone number\n                    required:\n                      - id\n                      - type\n                    example:\n                      id: 458e38ae-f468-11eb-9a03-0242ac130003\n                      type: EXTENSION\n                  billingGroupId:\n                    type: string\n                    description: The unique identifier representing the billing group of the phone number\n                    example: 75bc74f1-1fb6-5daf-bc13-13f24932e3dc\n                  status:\n                    type: string\n                    description: current state of this phone number\n                    enum:\n                      - ACTIVE\n                      - DEACTIVATED\n                required:\n                  - id\n                  - accountKey\n                  - number\n                  - organizationId\n                  - status\n                example:\n                  id: 458e38ae-f468-11eb-9a03-0242ac130003\n                  accountKey: '1956177422157042821'\n                  number: '+15145552672'\n                  name: TMBG Dial-A-Song Line\n                  callerIdName: Jawn Dough\n                  routeTo:\n                    id: 458e38ae-f468-11eb-9a03-0242ac130003\n                    type: EXTENSION\n                  billingGroupId: ae165960-2e49-4464-9590-616b3e22bfec\n                  organizationId: c060c1da-19ae-4939-8e84-61bfaf57110f\n                  status: ACTIVE\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `INVALID_CALLER_ID_NAME` - The given caller ID name is invalid\n            * `INVALID_NAME` - The given extension or phone number name is invalid\n            * `INVALID_ID` - The given extension or phone number ID is invalid\n            * `INVALID_TYPE` - The given route type is invalid\n            * `INVALID_BILLING_GROUP_ID` - The given billing group ID is invalid\n            * `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_CALLER_ID_NAME\n                message: The caller ID name is invalid.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: The given phone number ID is invalid and the resource could not be found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D',\n              data: {\n                callerIdName: 'Jawn Dough',\n                name: 'TMBG Dial-A-Song Line',\n                routeTo: {id: '744244a8-d866-45cf-9c6f-8585b1e7e064', type: 'EXTENSION'},\n                billingGroupId: '633133b7-d866-45cf-8d5c-7676a1e7e087'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D \\\n              --header 'content-type: application/json' \\\n              --data '{\"callerIdName\":\"Jawn Dough\",\"name\":\"TMBG Dial-A-Song Line\",\"routeTo\":{\"id\":\"744244a8-d866-45cf-9c6f-8585b1e7e064\",\"type\":\"EXTENSION\"},\"billingGroupId\":\"633133b7-d866-45cf-8d5c-7676a1e7e087\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"callerIdName\\\":\\\"Jawn Dough\\\",\\\"name\\\":\\\"TMBG Dial-A-Song Line\\\",\\\"routeTo\\\":{\\\"id\\\":\\\"744244a8-d866-45cf-9c6f-8585b1e7e064\\\",\\\"type\\\":\\\"EXTENSION\\\"},\\\"billingGroupId\\\":\\\"633133b7-d866-45cf-8d5c-7676a1e7e087\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PATCH\", \"/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"callerIdName\":\"Jawn Dough\",\"name\":\"TMBG Dial-A-Song Line\",\"routeTo\":{\"id\":\"744244a8-d866-45cf-9c6f-8585b1e7e064\",\"type\":\"EXTENSION\"},\"billingGroupId\":\"633133b7-d866-45cf-8d5c-7676a1e7e087\"}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"callerIdName\\\":\\\"Jawn Dough\\\",\\\"name\\\":\\\"TMBG Dial-A-Song Line\\\",\\\"routeTo\\\":{\\\"id\\\":\\\"744244a8-d866-45cf-9c6f-8585b1e7e064\\\",\\\"type\\\":\\\"EXTENSION\\\"},\\\"billingGroupId\\\":\\\"633133b7-d866-45cf-8d5c-7676a1e7e087\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/phone-numbers/{phoneNumberId}/permissions:\n    get:\n      operationId: getPermissions\n      summary: Get Permissions\n      tags:\n        - Phone Numbers\n      description: |\n        Get a list of users assigned to the given phone number and their permissions. \n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: phoneNumberId\n          in: path\n          description: The phone number's unique identifier.\n          required: true\n          schema:\n            type: string\n      responses:\n        '200':\n          description: |\n            List of users assigned to the given phone number and their permissions.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          properties:\n                            userKey:\n                              type: string\n                              description: The ID of the user assigned to the given phone number.\n                            permissions:\n                              type: array\n                              description: |\n                                List of permissions of the given user for the given phone number. Potential values:\n                                * TEXTING - The user is allowed to send/receive SMS on the given phone number.\n                                * INSTANT_RESPONSE - The user is allowed to manage an instant response on the given phone number.\n                                * OUTBOUND_CALLER_ID - The user is allowed to select the given number as outgoing caller ID.\n                              items:\n                                type: string\n                                enum:\n                                  - TEXTING\n                                  - INSTANT_RESPONSE\n                                  - OUTBOUND_CALLER_ID\n                          required:\n                            - userKey\n                            - permissions\n                          example:\n                            userKey: '14521558'\n                            permissions:\n                              - TEXTING\n                              - INSTANT_RESPONSE\n                              - OUTBOUND_CALLER_ID\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    post:\n      operationId: addPermissions\n      summary: Add Permissions\n      tags:\n        - Phone Numbers\n      description: |\n        Add permissions to a user for the given phone number. \n        For instance, if you want to enable texting for a user, you can provide the the following payload:\n\n        ```\n        {\n          \"userKey\": \"123456\", \n          \"permissions\": [\"TEXTING\"]\n        }\n        ```\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: phoneNumberId\n          in: path\n          description: The phone number's unique identifier.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                userKey:\n                  type: string\n                  description: ID of the user for which we want to update permissions\n                permissions:\n                  type: array\n                  description: |\n                    Permissions to add to the user. Potential values:\n                    * TEXTING is to allow a user to send/receive SMS on the given phone number\n                    * INSTANT_RESPONSE is to allow a user to manage an instant response on the given phone number. The user must have TEXTING permission to manage instant response.\n                    * OUTBOUND_CALLER_ID is to allow a user to select the given number as outgoing caller ID\n                  items:\n                    type: string\n                    enum:\n                      - TEXTING\n                      - INSTANT_RESPONSE\n                      - OUTBOUND_CALLER_ID\n              required:\n                - userKey\n                - permissions\n              example:\n                userKey: '14521558'\n                permissions:\n                  - TEXTING\n                  - INSTANT_RESPONSE\n                  - OUTBOUND_CALLER_ID\n      responses:\n        '204':\n          description: |\n            The permissions were added for the given user.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `INVALID_USER_KEY` - The user key is invalid.\n            * `INVALID_PERMISSION` - The permission is invalid.\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n            * `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request.\n            * `SMS_NOT_SUPPORTED` - The SMS feature is not supported for the given phone number.\n            * `TEXTING_PERMISSION_REQUIRED` - The user must have TEXTING permission to manage instant response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_USER_KEY\n                message: The user key is invalid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions',\n              data: {\n                userKey: '14521558',\n                permissions: ['TEXTING', 'INSTANT_RESPONSE', 'OUTBOUND_CALLER_ID']\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions \\\n              --header 'content-type: application/json' \\\n              --data '{\"userKey\":\"14521558\",\"permissions\":[\"TEXTING\",\"INSTANT_RESPONSE\",\"OUTBOUND_CALLER_ID\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"userKey\\\":\\\"14521558\\\",\\\"permissions\\\":[\\\"TEXTING\\\",\\\"INSTANT_RESPONSE\\\",\\\"OUTBOUND_CALLER_ID\\\"]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"userKey\":\"14521558\",\"permissions\":[\"TEXTING\",\"INSTANT_RESPONSE\",\"OUTBOUND_CALLER_ID\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"userKey\\\":\\\"14521558\\\",\\\"permissions\\\":[\\\"TEXTING\\\",\\\"INSTANT_RESPONSE\\\",\\\"OUTBOUND_CALLER_ID\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/phone-numbers/{phoneNumberId}/permissions/{userKey}:\n    delete:\n      operationId: deletePermissions\n      summary: Remove Permissions\n      tags:\n        - Phone Numbers\n      description: |\n        Remove ALL permissions from a user for the given phone number. \n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: phoneNumberId\n          in: path\n          description: The phone number's unique identifier.\n          required: true\n          schema:\n            type: string\n        - name: userKey\n          in: path\n          description: The unique user key.\n          required: true\n          schema:\n            type: string\n          example: '311416'\n      responses:\n        '204':\n          description: |\n            The permissions were removed for the given user.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions/311416'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions/311416\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions/311416\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions/311416');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/phone-numbers/%7BphoneNumberId%7D/permissions/311416\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/extensions:\n    post:\n      summary: Creates an extension\n      operationId: createExtension\n      description: |\n        Create an extension. \n        Only direct extensions are supported for creation at this time.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      tags:\n        - Extension\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                name:\n                  type: string\n                  description: The extension name.\n                  example: Human Resources\n                accountKey:\n                  type: string\n                  description: Identifier of an account.\n                  example: '1956177422157042821'\n                number:\n                  type: string\n                  description: |\n                    The unique identifier representing the extension by organization. The number should match with the organization max extension number size. The number passed cannot already exist.\n                  example: '1545'\n                omitFromDirectories:\n                  type: boolean\n                  description: Disables the extension ability to appear in the listing directories of the given PBX.\n                  default: false\n                  example: false\n                omitFromAutoAttendants:\n                  type: boolean\n                  description: Disables the extension from the auto attendants functionalities\n                  default: false\n                  example: false\n                sharedAppearance:\n                  type: boolean\n                  description: |\n                    Allows to share the extension (line only) on multiple phones to facilitate call monitoring and hand-off. You will only need to enable sharing of your line.  If you share your line with another person, you will lose a degree of privacy.\n                  default: false\n                  example: true\n              required:\n                - name\n                - accountKey\n                - number\n                - omitFromDirectories\n                - omitFromAutoAttendants\n      responses:\n        '201':\n          description: The extension was created\n          content:\n            application/json:\n              schema:\n                properties:\n                  id:\n                    type: string\n                    description: The extension id.\n                  accountKey:\n                    type: string\n                    description: Identifier of an account.\n                  name:\n                    type: string\n                    description: The extension name.\n                  number:\n                    type: string\n                    description: |\n                      The unique identifier representing the extension by organization.\n                  omitFromDirectories:\n                    type: boolean\n                    description: Disables the extension ability to appear in the listing directories of the given PBX.\n                  omitFromAutoAttendants:\n                    type: boolean\n                    description: Disables the extension from the auto attendants functionalities\n                    default: false\n                    example: false\n                  organizationId:\n                    type: string\n                    description: The unique identifier representing the organization owning the phone number\n                  sharedAppearance:\n                    type: boolean\n                    description: |\n                      Allows to share the extension (line only) on multiple phones to facilitate call monitoring and hand-off. You will only need to enable sharing of your line.  If you share your line with another person, you will lose a degree of privacy.\n                    default: false\n                    example: true\n                  extensionRegion:\n                    type: string\n                    description: The extension's region (country) code `(non case-sensitive)`\n                    enum:\n                      - US\n                      - MX\n                      - BR\n                      - CA\n                      - GB\n                      - DE\n                      - ES\n                      - FR\n                      - RO\n                      - IE\n                      - AU\n                      - BE\n                      - HR\n                      - PL\n                      - SE\n                      - LV\n                      - IL\n                      - SG\n                    example: US\n                  language:\n                    type: string\n                    description: The language as a RFC-1766 representation `(non case-sensitive)``\n                    enum:\n                      - en-US\n                      - de-DE\n                      - es-ES\n                      - fr-FR\n                      - pt-BR\n                      - fr-CA\n                      - es-MX\n                    example: pt-BR\n                  type:\n                    type: string\n                    description: The type of the extension\n                    enum:\n                      - DIRECT_EXTENSION\n                      - CALL_QUEUE\n                      - CONFERENCE_BRIDGE\n                      - DIAL_PLAN\n                      - RING_GROUP\n                      - SHARED_VOICEMAIL\n                      - VIRTUAL_FAX\n                required:\n                  - id\n                  - accountKey\n                  - name\n                  - number\n                  - omitFromDirectories\n                  - organizationId\n                  - type\n                  - extensionRegion\n                  - language\n                example:\n                  id: 12ed21de-9be4-4ca7-85d2-0f2356cacc83\n                  accountKey: '1956177422157042821'\n                  name: Human Resources\n                  number: '1545'\n                  omitFromDirectories: false\n                  omitFromAutoAttendants: false\n                  organizationId: 01597581-dc94-8f38-161b-000100420002\n                  sharedAppearance: false\n                  type: DIRECT_EXTENSION\n                  extensionRegion: BR\n                  language: pt-BR\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `INVALID_ACCOUNT_KEY` - The account key is unknown or invalid\n            * `INVALID_NAME` - Name is invalid\n            * `INVALID_NUMBER` - Extension number is invalid, or has invalid length for this organization.\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n            * `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_ACCOUNT_KEY\n                message: The account key is unknown or invalid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '409':\n          description: |\n            Potential error codes: * `NUMBER_EXISTS` - the extension number already exists in the account\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voice-admin/v1/extensions',\n              data: {\n                name: 'Human Resources',\n                accountKey: '1956177422157042821',\n                number: '1545',\n                omitFromDirectories: false,\n                omitFromAutoAttendants: false,\n                sharedAppearance: true\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voice-admin/v1/extensions \\\n              --header 'content-type: application/json' \\\n              --data '{\"name\":\"Human Resources\",\"accountKey\":\"1956177422157042821\",\"number\":\"1545\",\"omitFromDirectories\":false,\"omitFromAutoAttendants\":false,\"sharedAppearance\":true}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"name\\\":\\\"Human Resources\\\",\\\"accountKey\\\":\\\"1956177422157042821\\\",\\\"number\\\":\\\"1545\\\",\\\"omitFromDirectories\\\":false,\\\"omitFromAutoAttendants\\\":false,\\\"sharedAppearance\\\":true}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/voice-admin/v1/extensions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"name\":\"Human Resources\",\"accountKey\":\"1956177422157042821\",\"number\":\"1545\",\"omitFromDirectories\":false,\"omitFromAutoAttendants\":false,\"sharedAppearance\":true}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/extensions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/extensions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"name\\\":\\\"Human Resources\\\",\\\"accountKey\\\":\\\"1956177422157042821\\\",\\\"number\\\":\\\"1545\\\",\\\"omitFromDirectories\\\":false,\\\"omitFromAutoAttendants\\\":false,\\\"sharedAppearance\\\":true}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      summary: Get extensions\n      description: |\n        Obtains a paginated list of extensions in an account.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - in: query\n          name: accountKey\n          description: This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\n          required: false\n          schema:\n            type: string\n          example: '1956177422157042821'\n        - name: pageMarker\n          in: query\n          description: The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n        - in: query\n          name: type\n          description: If specified, this parameter filter the search to only include the provided types.\n          required: false\n          schema:\n            type: array\n            items:\n              type: string\n              description: The type of the extension\n              enum:\n                - DIRECT_EXTENSION\n                - CALL_QUEUE\n                - CONFERENCE_BRIDGE\n                - DIAL_PLAN\n                - RING_GROUP\n                - SHARED_VOICEMAIL\n                - VIRTUAL_FAX\n          example:\n            - VIRTUAL_FAX\n            - DIRECT_EXTENSION\n      tags:\n        - Extension\n      responses:\n        '200':\n          description: |\n            List of extensions. Will return an empty list if the user doesn't have the permission for the given account\n            or the given account is not found.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          Optional next page marker value. To be used for fetching the next page via the `pageMarker` query parameter. If no more pages are available, then this field will be null.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          properties:\n                            id:\n                              type: string\n                              description: The extension id.\n                            accountKey:\n                              type: string\n                              description: Identifier of an account.\n                            name:\n                              type: string\n                              description: The extension name.\n                            number:\n                              type: string\n                              description: |\n                                The unique identifier representing the extension by organization.\n                            omitFromDirectories:\n                              type: boolean\n                              description: Disables the extension ability to appear in the listing directories of the given PBX.\n                            omitFromAutoAttendants:\n                              type: boolean\n                              description: Disables the extension from the auto attendants functionalities\n                              default: false\n                              example: false\n                            organizationId:\n                              type: string\n                              description: The unique identifier representing the organization owning the phone number\n                            sharedAppearance:\n                              type: boolean\n                              description: |\n                                Allows to share the extension (line only) on multiple phones to facilitate call monitoring and hand-off. You will only need to enable sharing of your line.  If you share your line with another person, you will lose a degree of privacy.\n                              default: false\n                              example: true\n                            extensionRegion:\n                              type: string\n                              description: The extension's region (country) code `(non case-sensitive)`\n                              enum:\n                                - US\n                                - MX\n                                - BR\n                                - CA\n                                - GB\n                                - DE\n                                - ES\n                                - FR\n                                - RO\n                                - IE\n                                - AU\n                                - BE\n                                - HR\n                                - PL\n                                - SE\n                                - LV\n                                - IL\n                                - SG\n                              example: US\n                            language:\n                              type: string\n                              description: The language as a RFC-1766 representation `(non case-sensitive)``\n                              enum:\n                                - en-US\n                                - de-DE\n                                - es-ES\n                                - fr-FR\n                                - pt-BR\n                                - fr-CA\n                                - es-MX\n                              example: pt-BR\n                            type:\n                              type: string\n                              description: The type of the extension\n                              enum:\n                                - DIRECT_EXTENSION\n                                - CALL_QUEUE\n                                - CONFERENCE_BRIDGE\n                                - DIAL_PLAN\n                                - RING_GROUP\n                                - SHARED_VOICEMAIL\n                                - VIRTUAL_FAX\n                          required:\n                            - id\n                            - accountKey\n                            - name\n                            - number\n                            - omitFromDirectories\n                            - organizationId\n                            - type\n                            - extensionRegion\n                            - language\n                          example:\n                            id: 12ed21de-9be4-4ca7-85d2-0f2356cacc83\n                            accountKey: '1956177422157042821'\n                            name: Human Resources\n                            number: '1545'\n                            omitFromDirectories: false\n                            omitFromAutoAttendants: false\n                            organizationId: 01597581-dc94-8f38-161b-000100420002\n                            sharedAppearance: false\n                            type: DIRECT_EXTENSION\n                            extensionRegion: BR\n                            language: pt-BR\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of\n            `constraintViolation`s in the response that provide additional\n            details for the following cases:\n\n            * The `pageMarker` or `pageSize` is invalid\n            * `accountKey` is missing\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\n                constraintViolations:\n                  - field: accountKey\n                    constraint: REQUIRED\n                  - field: nextPageMarker\n                    constraint: INVALID\n                  - field: pageSize\n                    constraint: INVALID\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `CONCURRENT_MODIFICATION` - Entities were modified while processing the request. Please retry your request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/extensions',\n              params: {\n                accountKey: '1956177422157042821',\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                type: 'VIRTUAL_FAX,DIRECT_EXTENSION'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voice-admin/v1/extensions?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&type=VIRTUAL_FAX%2CDIRECT_EXTENSION'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/extensions?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&type=VIRTUAL_FAX%2CDIRECT_EXTENSION\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/extensions');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => '1956177422157042821',\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'type' => 'VIRTUAL_FAX,DIRECT_EXTENSION'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/extensions?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&type=VIRTUAL_FAX%2CDIRECT_EXTENSION\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/extensions/{extensionId}:\n    get:\n      summary: Get a specific extension\n      operationId: getExtension\n      description: |\n        Get details about a specific extension.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: extensionId\n          in: path\n          description: The extension's unique identifier.\n          required: true\n          schema:\n            type: string\n      tags:\n        - Extension\n      responses:\n        '200':\n          description: The extension model\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - properties:\n                      id:\n                        type: string\n                        description: The extension id.\n                      accountKey:\n                        type: string\n                        description: Identifier of an account.\n                      name:\n                        type: string\n                        description: The extension name.\n                      number:\n                        type: string\n                        description: |\n                          The unique identifier representing the extension by organization.\n                      omitFromDirectories:\n                        type: boolean\n                        description: Disables the extension ability to appear in the listing directories of the given PBX.\n                      omitFromAutoAttendants:\n                        type: boolean\n                        description: Disables the extension from the auto attendants functionalities\n                        default: false\n                        example: false\n                      organizationId:\n                        type: string\n                        description: The unique identifier representing the organization owning the phone number\n                      sharedAppearance:\n                        type: boolean\n                        description: |\n                          Allows to share the extension (line only) on multiple phones to facilitate call monitoring and hand-off. You will only need to enable sharing of your line.  If you share your line with another person, you will lose a degree of privacy.\n                        default: false\n                        example: true\n                      extensionRegion:\n                        type: string\n                        description: The extension's region (country) code `(non case-sensitive)`\n                        enum:\n                          - US\n                          - MX\n                          - BR\n                          - CA\n                          - GB\n                          - DE\n                          - ES\n                          - FR\n                          - RO\n                          - IE\n                          - AU\n                          - BE\n                          - HR\n                          - PL\n                          - SE\n                          - LV\n                          - IL\n                          - SG\n                        example: US\n                      language:\n                        type: string\n                        description: The language as a RFC-1766 representation `(non case-sensitive)``\n                        enum:\n                          - en-US\n                          - de-DE\n                          - es-ES\n                          - fr-FR\n                          - pt-BR\n                          - fr-CA\n                          - es-MX\n                        example: pt-BR\n                      type:\n                        type: string\n                        description: The type of the extension\n                        enum:\n                          - DIRECT_EXTENSION\n                          - CALL_QUEUE\n                          - CONFERENCE_BRIDGE\n                          - DIAL_PLAN\n                          - RING_GROUP\n                          - SHARED_VOICEMAIL\n                          - VIRTUAL_FAX\n                    required:\n                      - id\n                      - accountKey\n                      - name\n                      - number\n                      - omitFromDirectories\n                      - organizationId\n                      - type\n                      - extensionRegion\n                      - language\n                    example:\n                      id: 12ed21de-9be4-4ca7-85d2-0f2356cacc83\n                      accountKey: '1956177422157042821'\n                      name: Human Resources\n                      number: '1545'\n                      omitFromDirectories: false\n                      omitFromAutoAttendants: false\n                      organizationId: 01597581-dc94-8f38-161b-000100420002\n                      sharedAppearance: false\n                      type: DIRECT_EXTENSION\n                      extensionRegion: BR\n                      language: pt-BR\n                  - type: object\n                    properties:\n                      assignedPrimaryUserKey:\n                        type: string\n                        description: Assigned primary user on the given extension.\n                      assignedSecondaryUserKeys:\n                        type: array\n                        description: List of users keys assigned as secondary extension.\n                        items:\n                          type: string\n                      callerId:\n                        type: object\n                        description: Outbound caller ID configuration for the extension.\n                        properties:\n                          useDefault:\n                            type: boolean\n                            description: Flag indicating whether to use the organization's default outbound caller ID. If true, the extension uses the organization default caller ID. If false, use the phone number specified in `phoneNumberId`.\n                          phoneNumberId:\n                            type: string\n                            description: The phone number ID to use as caller ID when `useDefault` is false. This field is only applicable when `useDefault` is false.\n                    example:\n                      assignedPrimaryUserKey: '3141631416'\n                      assignedSecondaryUserKeys:\n                        - '3141631417'\n                        - '3141631418'\n                      callerId:\n                        useDefault: false\n                        phoneNumberId: 98765432-abcd-1234-5678-9abcdef01234\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/extensions/%7BextensionId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      operationId: deleteExtension\n      summary: Delete a specific extension\n      description: |\n        Delete a specific extension by `extensionId`.\n        Delete extensions at your own risk. For instance, if there are some voicemails associated to the extension,  the voicemails will be lost. If the extension is part of a dial plan, redirected phone number or any other  association, the associated objects will need to be updated. This also allows the deletion of dial plans,  ring groups, virtual fax, shared voicemail and conference bridges which cannot be recovered.\n        ### Authentication Scopes\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: extensionId\n          in: path\n          description: The extension's unique identifier.\n          required: true\n          schema:\n            type: string\n      tags:\n        - Extension\n      responses:\n        '204':\n          description: Extension deleted successfully\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: The given extension ID is invalid and the resource could not be found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/voice-admin/v1/extensions/%7BextensionId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    patch:\n      operationId: updateExtension\n      summary: Update a specific extension\n      description: |\n        Only pass the fields that you want to update.\n        Only direct extensions (lines) are supported for update at this time.\n        If you want to set the number for a given extension, you can use the following body:\n\n        ```\n        {\n          \"number\": \"1234\"\n        }\n        ```\n\n        If you want to set the name, you can use:\n\n        ```\n        {\n          \"name\": \"Software Engineering\"\n        }\n        ```\n\n        You are also able to update the following properties in batch or individually\n\n        ```\n        {\n          \"omitFromDirectories\": true,\n          \"omitFromAutoAttendants\": true,\n          \"sharedAppearance\": false\n        }\n        ```\n\n        If you want to assign a user primary extension:\n\n        ```\n        {\n          \"assignedPrimaryUserKey\": \"3141631416\"\n        }\n        ```\n\n        NOTE: There can be only one primary extension per user.\n        Hence, if you try to assign a primary extension to a user that already has one, you will get an HTTP 409 response such as follows:\n        ```\n          {\"errorCode\":\"USER_ALREADY_HAS_PRIMARY_EXTENSION\",\"message\":\"Given user key [3141631416] on account [1956177422157042821], already assigned to extension [12ed21de-9be4-4ca7-85d2-0f2356cacc83]\",\"reference\":\"713e0461-22a8-4892-885a-f2d0bea4475a\"}\n        ```\n\n        To proceed with this modification, you need to unassign the primary extension of this user first, by sending the following request body:\n        ```\n        PATCH /extensions/12ed21de-9be4-4ca7-85d2-0f2356cacc83\n        {\n          \"assignedPrimaryUserKey\": null\n        }\n        ```\n\n        Ensure that a primary user is set before assigning a secondary user.\n        When secondary users are assigned to an extension without a primary user already being set \n        secondary users may be promoted to primary based on the licensing, current user extension configuration, \n        and previous interactions of the secondary users.\n\n        Situations to be considered are:\n        * When initially setting users for an extension\n        * When removing a primary user from an extension\n        * When replacing one primary user with another\n\n        If you want to assign a user secondary extension:\n\n        ```\n        {\n          \"assignedSecondaryUserKeys\": [\"3141631416\"]\n        }\n        ```\n\n        Or you could also assign it to a list of users:\n\n        ```\n        {\n          \"assignedSecondaryUserKeys\": [\"3141631417\", \"3141631418\"]\n        }\n        ```\n      parameters:\n        - name: extensionId\n          in: path\n          description: The extension's unique identifier.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                name:\n                  type: string\n                  description: The extension name.\n                  example: Human Resources\n                number:\n                  type: string\n                  description: |\n                    The unique identifier representing the extension by organization. The number should match with the organization max extension number size. The number passed cannot already exist.\n                  example: '1545'\n                omitFromDirectories:\n                  type: boolean\n                  description: Disables the extension ability to appear in the listing directories of the given PBX.\n                  default: false\n                  example: false\n                omitFromAutoAttendants:\n                  type: boolean\n                  description: Disables the extension from the auto attendants functionalities\n                  default: false\n                  example: false\n                sharedAppearance:\n                  type: boolean\n                  description: |\n                    Allows to share the extension (line only) on multiple phones to facilitate call monitoring and hand-off. You will only need to enable sharing of your line.  If you share your line with another person, you will lose a degree of privacy.\n                  default: false\n                  example: true\n                assignedPrimaryUserKey:\n                  type: string\n                  description: Assigned user on the given extension. The user must belong to the account. There can be only one primary extension per user.\n                assignedSecondaryUserKeys:\n                  description: |\n                    Assigned users on the given extension as secondary. The users must belong to the account. If a user is currently primary on the extension,\n                    it can't be added as secondary.\n                  type: array\n                  items:\n                    type: string\n                language:\n                  type: string\n                  description: The language as a RFC-1766 representation `(non case-sensitive)``\n                  enum:\n                    - en-US\n                    - de-DE\n                    - es-ES\n                    - fr-FR\n                    - pt-BR\n                    - fr-CA\n                    - es-MX\n                  example: pt-BR\n                extensionRegion:\n                  type: string\n                  description: The extension's region (country) code `(non case-sensitive)`\n                  enum:\n                    - US\n                    - MX\n                    - BR\n                    - CA\n                    - GB\n                    - DE\n                    - ES\n                    - FR\n                    - RO\n                    - IE\n                    - AU\n                    - BE\n                    - HR\n                    - PL\n                    - SE\n                    - LV\n                    - IL\n                    - SG\n                  example: US\n                callerId:\n                  type: object\n                  description: Outbound caller ID configuration for the extension.\n                  properties:\n                    useDefault:\n                      type: boolean\n                      description: Flag indicating whether to use the organization's default outbound caller ID. If true, the extension uses the organization default caller ID. If false, `phoneNumberId` must be provided to specify which phone number to use as caller ID.\n                    phoneNumberId:\n                      type: string\n                      description: The phone number ID to use as caller ID. This field must be set when `useDefault` is false.\n              example:\n                name: Software Engineering\n                number: '1234'\n                omitFromDirectories: true\n                omitFromAutoAttendants: true\n                sharedAppearance: false\n                assignedPrimaryUserKey: '3141631416'\n                assignedSecondaryUserKeys:\n                  - '3141631417'\n                  - '3141631418'\n                extensionRegion: BR\n                language: pt-BR\n                callerId:\n                  useDefault: false\n                  phoneNumberId: 98765432-abcd-1234-5678-9abcdef01234\n      tags:\n        - Extension\n      responses:\n        '200':\n          description: |\n            The extension was patched.\n            The fields `assignedPrimaryUserKey` and `assignedSecondaryUserKeys` are only returned,\n            if they are passed in the request body.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - properties:\n                      id:\n                        type: string\n                        description: The extension id.\n                      accountKey:\n                        type: string\n                        description: Identifier of an account.\n                      name:\n                        type: string\n                        description: The extension name.\n                      number:\n                        type: string\n                        description: |\n                          The unique identifier representing the extension by organization.\n                      omitFromDirectories:\n                        type: boolean\n                        description: Disables the extension ability to appear in the listing directories of the given PBX.\n                      omitFromAutoAttendants:\n                        type: boolean\n                        description: Disables the extension from the auto attendants functionalities\n                        default: false\n                        example: false\n                      organizationId:\n                        type: string\n                        description: The unique identifier representing the organization owning the phone number\n                      sharedAppearance:\n                        type: boolean\n                        description: |\n                          Allows to share the extension (line only) on multiple phones to facilitate call monitoring and hand-off. You will only need to enable sharing of your line.  If you share your line with another person, you will lose a degree of privacy.\n                        default: false\n                        example: true\n                      extensionRegion:\n                        type: string\n                        description: The extension's region (country) code `(non case-sensitive)`\n                        enum:\n                          - US\n                          - MX\n                          - BR\n                          - CA\n                          - GB\n                          - DE\n                          - ES\n                          - FR\n                          - RO\n                          - IE\n                          - AU\n                          - BE\n                          - HR\n                          - PL\n                          - SE\n                          - LV\n                          - IL\n                          - SG\n                        example: US\n                      language:\n                        type: string\n                        description: The language as a RFC-1766 representation `(non case-sensitive)``\n                        enum:\n                          - en-US\n                          - de-DE\n                          - es-ES\n                          - fr-FR\n                          - pt-BR\n                          - fr-CA\n                          - es-MX\n                        example: pt-BR\n                      type:\n                        type: string\n                        description: The type of the extension\n                        enum:\n                          - DIRECT_EXTENSION\n                          - CALL_QUEUE\n                          - CONFERENCE_BRIDGE\n                          - DIAL_PLAN\n                          - RING_GROUP\n                          - SHARED_VOICEMAIL\n                          - VIRTUAL_FAX\n                    required:\n                      - id\n                      - accountKey\n                      - name\n                      - number\n                      - omitFromDirectories\n                      - organizationId\n                      - type\n                      - extensionRegion\n                      - language\n                    example:\n                      id: 12ed21de-9be4-4ca7-85d2-0f2356cacc83\n                      accountKey: '1956177422157042821'\n                      name: Human Resources\n                      number: '1545'\n                      omitFromDirectories: false\n                      omitFromAutoAttendants: false\n                      organizationId: 01597581-dc94-8f38-161b-000100420002\n                      sharedAppearance: false\n                      type: DIRECT_EXTENSION\n                      extensionRegion: BR\n                      language: pt-BR\n                  - type: object\n                    properties:\n                      assignedPrimaryUserKey:\n                        type: string\n                        description: Assigned primary user on the given extension.\n                      assignedSecondaryUserKeys:\n                        type: array\n                        description: List of users keys assigned as secondary extension.\n                        items:\n                          type: string\n                      callerId:\n                        type: object\n                        description: Outbound caller ID configuration for the extension.\n                        properties:\n                          useDefault:\n                            type: boolean\n                            description: Flag indicating whether to use the organization's default outbound caller ID. If true, the extension uses the organization default caller ID. If false, use the phone number specified in `phoneNumberId`.\n                          phoneNumberId:\n                            type: string\n                            description: The phone number ID to use as caller ID when `useDefault` is false. This field is only applicable when `useDefault` is false.\n                    example:\n                      assignedPrimaryUserKey: '3141631416'\n                      assignedSecondaryUserKeys:\n                        - '3141631417'\n                        - '3141631418'\n                      callerId:\n                        useDefault: false\n                        phoneNumberId: 98765432-abcd-1234-5678-9abcdef01234\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `INVALID_ID` - The given extension or phone number ID is invalid\n            * `INVALID_NAME` - Name is invalid.\n            * `INVALID_NUMBER` - Extension number is invalid, or has invalid length for this organization.\n            * `INVALID_USER_KEY` - The user key is invalid or not found on the account of the extension.\n            * `INVALID_EXTENSION_REGION` - The given extension region is invalid or has an invalid length.\n            * `INVALID_LANGUAGE` - The provided language is invalid or has an invalid format.\n                        \n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n            * `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request.\n            * `INVALID_EXTENSION_ASSIGNMENT` - Cannot assign a single extension as both primary and secondary for a user.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_NUMBER\n                message: Extension number is invalid, or has invalid length for this organization.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: The given extension ID is invalid and the resource could not be found.\n        '409':\n          description: |\n            Potential error codes: * `NUMBER_EXISTS` - The extension number already exists for given account. * `USER_ALREADY_HAS_PRIMARY_EXTENSION` - Given user key [`:userKey`] on account [`:accountKey`], already assigned to extension [`:extensionId`]\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NUMBER_EXISTS\n                message: The extension number already exists for given account.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D',\n              data: {\n                name: 'Software Engineering',\n                number: '1234',\n                omitFromDirectories: true,\n                omitFromAutoAttendants: true,\n                sharedAppearance: false,\n                assignedPrimaryUserKey: '3141631416',\n                assignedSecondaryUserKeys: ['3141631417', '3141631418'],\n                extensionRegion: 'BR',\n                language: 'pt-BR',\n                callerId: {useDefault: false, phoneNumberId: '98765432-abcd-1234-5678-9abcdef01234'}\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D \\\n              --header 'content-type: application/json' \\\n              --data '{\"name\":\"Software Engineering\",\"number\":\"1234\",\"omitFromDirectories\":true,\"omitFromAutoAttendants\":true,\"sharedAppearance\":false,\"assignedPrimaryUserKey\":\"3141631416\",\"assignedSecondaryUserKeys\":[\"3141631417\",\"3141631418\"],\"extensionRegion\":\"BR\",\"language\":\"pt-BR\",\"callerId\":{\"useDefault\":false,\"phoneNumberId\":\"98765432-abcd-1234-5678-9abcdef01234\"}}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"name\\\":\\\"Software Engineering\\\",\\\"number\\\":\\\"1234\\\",\\\"omitFromDirectories\\\":true,\\\"omitFromAutoAttendants\\\":true,\\\"sharedAppearance\\\":false,\\\"assignedPrimaryUserKey\\\":\\\"3141631416\\\",\\\"assignedSecondaryUserKeys\\\":[\\\"3141631417\\\",\\\"3141631418\\\"],\\\"extensionRegion\\\":\\\"BR\\\",\\\"language\\\":\\\"pt-BR\\\",\\\"callerId\\\":{\\\"useDefault\\\":false,\\\"phoneNumberId\\\":\\\"98765432-abcd-1234-5678-9abcdef01234\\\"}}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PATCH\", \"/voice-admin/v1/extensions/%7BextensionId%7D\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"name\":\"Software Engineering\",\"number\":\"1234\",\"omitFromDirectories\":true,\"omitFromAutoAttendants\":true,\"sharedAppearance\":false,\"assignedPrimaryUserKey\":\"3141631416\",\"assignedSecondaryUserKeys\":[\"3141631417\",\"3141631418\"],\"extensionRegion\":\"BR\",\"language\":\"pt-BR\",\"callerId\":{\"useDefault\":false,\"phoneNumberId\":\"98765432-abcd-1234-5678-9abcdef01234\"}}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"name\\\":\\\"Software Engineering\\\",\\\"number\\\":\\\"1234\\\",\\\"omitFromDirectories\\\":true,\\\"omitFromAutoAttendants\\\":true,\\\"sharedAppearance\\\":false,\\\"assignedPrimaryUserKey\\\":\\\"3141631416\\\",\\\"assignedSecondaryUserKeys\\\":[\\\"3141631417\\\",\\\"3141631418\\\"],\\\"extensionRegion\\\":\\\"BR\\\",\\\"language\\\":\\\"pt-BR\\\",\\\"callerId\\\":{\\\"useDefault\\\":false,\\\"phoneNumberId\\\":\\\"98765432-abcd-1234-5678-9abcdef01234\\\"}}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/extensions/{extensionId}/find-me-follow-me:\n    get:\n      summary: Get find-me/follow-me for a specific extension\n      operationId: getExtensionFindMeFollowMe\n      description: |\n        Get all Find me/Follow me data for a specific extension.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: extensionId\n          in: path\n          description: The extension's unique identifier.\n          required: true\n          schema:\n            type: string\n      tags:\n        - Extension\n      responses:\n        '200':\n          description: The extension find me / follow me\n          content:\n            application/json:\n              schema:\n                properties:\n                  ringSteps:\n                    type: array\n                    items:\n                      properties:\n                        passThruCallerId:\n                          type: boolean\n                          description: For call steps that dial outside of the organization, pass through the original Caller ID, otherwise, the line's Caller ID settings will be used.\n                        timeout:\n                          type: integer\n                          description: This is used to determine for how long (in seconds) extensions/external numbers will ring simultaneously.\n                        items:\n                          type: array\n                          items:\n                            description: On ring, send to.\n                            properties:\n                              extensionId:\n                                type: string\n                                description: The extension ID for unanswered calls to be forwarded to. Required if `externalNumber` is undefined.\n                              externalNumber:\n                                type: string\n                                description: An E164-formatted external phone number for unanswered calls to be forwarded to. Required if `extensionId` is undefined.\n                            example:\n                              extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                              externalNumber: '+15145552672'\n                      required:\n                        - passThruCallerId\n                        - timeout\n                      example:\n                        passThruCallerId: true\n                        timeout: 20\n                example:\n                  ringSteps:\n                    - passThruCallerId: false\n                      timeout: 20\n                      items:\n                        - extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                          externalNumber: '+15145552672'\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    patch:\n      summary: Update find-me/follow-me for a specific extension\n      operationId: updateExtensionFindMeFollowMe\n      description: |\n        Update Find me/Follow me data for a specific extension.\n        This endpoint should be used for setting up the fields for the following use cases:\n          - If no answer, send to.\n          - If call fails, send to.\n\n        Only pass the fields that you want to update.\n        If you want to forward unanswered calls to an external phone number, you can use the following request body:\n\n        ```\n        {\n          \"finalStep\": {\n            \"action\": \"EXTERNAL_NUMBER\",\n            \"externalNumber\": \"+15145552672\"\n          }\n        }\n        ```\n\n        If you want to forward unanswered calls to an extension, you can use:\n\n        ```\n        {\n          \"finalStep\": {\n            \"action\": \"EXTENSION\",\n            \"extensionId\": \"458e38ae-f468-11eb-9a03-0242ac130003\"\n          }\n        }\n        ```\n\n        You can also forward failed calls to either an extension\n\n        ```\n        {\n          \"unavailableStep\": {\n            \"extensionId\": \"458e38ae-f468-11eb-9a03-0242ac130003\"\n          }\n        }\n        ```\n\n        Or an external phone number:\n\n        ```\n        {\n          \"unavailableStep\": {\n            \"externalNumber\": \"+15145552672\"\n          }\n        }\n        ```\n\n        Finally, you can also unset the value of the `unavailableStep` field by sending `null`:\n\n        ```\n        {\n          \"unavailableStep\": null\n        }\n        ```\n        <br>\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: extensionId\n          in: path\n          description: The extension's unique identifier.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                unavailableStep:\n                  type: object\n                  properties:\n                    extensionId:\n                      type: string\n                      description: The extension ID for unanswered calls to be forwarded to.\n                    externalNumber:\n                      type: string\n                      description: An E164-formatted external phone number for unanswered calls to be forwarded to.\n                finalStep:\n                  type: object\n                  required:\n                    - action\n                  properties:\n                    action:\n                      type: string\n                      description: If no answer, send to.\n                      enum:\n                        - VOICEMAIL\n                        - EXTENSION\n                        - EXTERNAL_NUMBER\n                        - TRANSFERER\n                        - HANG_UP\n                    extensionId:\n                      type: string\n                      description: The extension ID for failed calls to be forwarded to.\n                    externalNumber:\n                      type: string\n                      description: An E164-formatted external phone number for failed calls to be forwarded to.\n              example:\n                unavailableStep:\n                  extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                  externalNumber: '+15145552672'\n                finalStep:\n                  action: EXTENSION\n                  extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                  externalNumber: '+15145552672'\n      tags:\n        - Extension\n      responses:\n        '200':\n          description: The extension find-me/follow-me information was updated successfully.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - properties:\n                      unavailableStep:\n                        type: object\n                        properties:\n                          extensionId:\n                            type: string\n                            description: The extension ID for unanswered calls to be forwarded to.\n                          externalNumber:\n                            type: string\n                            description: An E164-formatted external phone number for unanswered calls to be forwarded to.\n                      finalStep:\n                        type: object\n                        required:\n                          - action\n                        properties:\n                          action:\n                            type: string\n                            description: If no answer, send to.\n                            enum:\n                              - VOICEMAIL\n                              - EXTENSION\n                              - EXTERNAL_NUMBER\n                              - TRANSFERER\n                              - HANG_UP\n                          extensionId:\n                            type: string\n                            description: The extension ID for failed calls to be forwarded to.\n                          externalNumber:\n                            type: string\n                            description: An E164-formatted external phone number for failed calls to be forwarded to.\n                    example:\n                      unavailableStep:\n                        extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                        externalNumber: '+15145552672'\n                      finalStep:\n                        action: EXTENSION\n                        extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                        externalNumber: '+15145552672'\n                  - type: object\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `INVALID_DESTINATION` - Cannot set both an extension and an external phone number as destination.\n            * `INVALID_EXTENSION_ID` - The given extension ID [`:extensionId`] is invalid.\n            * `INVALID_NUMBER` - The given external phone number [`:externalNumber`] is invalid.\n            * `INVALID_ACTION` - The given action is invalid | Cannot set either extension or external phone number for given action [`:action`].\n            * `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_EXTENSION_ID\n                message: The given extension ID is invalid.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me',\n              data: {\n                unavailableStep: {\n                  extensionId: '458e38ae-f468-11eb-9a03-0242ac130003',\n                  externalNumber: '+15145552672'\n                },\n                finalStep: {\n                  action: 'EXTENSION',\n                  extensionId: '458e38ae-f468-11eb-9a03-0242ac130003',\n                  externalNumber: '+15145552672'\n                }\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me \\\n              --header 'content-type: application/json' \\\n              --data '{\"unavailableStep\":{\"extensionId\":\"458e38ae-f468-11eb-9a03-0242ac130003\",\"externalNumber\":\"+15145552672\"},\"finalStep\":{\"action\":\"EXTENSION\",\"extensionId\":\"458e38ae-f468-11eb-9a03-0242ac130003\",\"externalNumber\":\"+15145552672\"}}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"unavailableStep\\\":{\\\"extensionId\\\":\\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\\"externalNumber\\\":\\\"+15145552672\\\"},\\\"finalStep\\\":{\\\"action\\\":\\\"EXTENSION\\\",\\\"extensionId\\\":\\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\\"externalNumber\\\":\\\"+15145552672\\\"}}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PATCH\", \"/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"unavailableStep\":{\"extensionId\":\"458e38ae-f468-11eb-9a03-0242ac130003\",\"externalNumber\":\"+15145552672\"},\"finalStep\":{\"action\":\"EXTENSION\",\"extensionId\":\"458e38ae-f468-11eb-9a03-0242ac130003\",\"externalNumber\":\"+15145552672\"}}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"unavailableStep\\\":{\\\"extensionId\\\":\\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\\"externalNumber\\\":\\\"+15145552672\\\"},\\\"finalStep\\\":{\\\"action\\\":\\\"EXTENSION\\\",\\\"extensionId\\\":\\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\\"externalNumber\\\":\\\"+15145552672\\\"}}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/extensions/{extensionId}/find-me-follow-me/ring-steps:\n    put:\n      summary: Update find-me/follow-me ring steps for a specific extension\n      operationId: putExtensionFindMeFollowMe\n      description: |\n        Update Find me/Follow me ring steps for a specific extension.\n        This endpoint should be used for setting up the fields for the following use cases:\n          - On ring, send to.\n\n        If you want to forward incoming calls to another extension, you can use the following request body:\n\n        ```\n        {\n          \"ringSteps\": [\n            {\n              \"passThruCallerId\": false,\n              \"timeout\": 20,\n              \"items\": [\n                {\n                  \"extensionId\": \"458e38ae-f468-11eb-9a03-0242ac130003\"\n                }\n              ]\n            }\n          ]\n        }\n        ```\n\n        If you want to forward incoming calls to both another extension and an external phone number, you can use:\n\n        ```\n        {\n          \"ringSteps\": [\n            {\n              \"passThruCallerId\": false,\n              \"timeout\": 20,\n              \"items\": [\n                {\n                  \"extensionId\": \"458e38ae-f468-11eb-9a03-0242ac130003\"\n                },\n                {\n                  \"externalNumber\": \"+15145552672\"\n                }\n              ]\n            }\n          ]\n        }\n        ```\n\n        You can also set multiple ring steps for incoming calls:\n\n        ```\n        {\n          \"ringSteps\": [\n            {\n              \"passThruCallerId\": false,\n              \"timeout\": 20,\n              \"items\": [\n                {\n                  \"extensionId\": \"458e38ae-f468-11eb-9a03-0242ac130003\"\n                },\n                {\n                  \"externalNumber\": \"+15145552672\"\n                }\n              ]\n            },\n            {\n              \"passThruCallerId\": false,\n              \"timeout\": 20,\n              \"items\": [\n                {\n                  \"extensionId\": \"12ed21de-9be4-4ca7-85d2-0f2356cacc83\"\n                },\n                {\n                  \"externalNumber\": \"+12345678901\"\n                }\n              ]\n            }\n          ]\n        }\n        ```\n\n        Finally, you can unset the value of the `ringSteps` field by sending an empty array:\n\n        ```\n        {\n          \"ringSteps\": []\n        }\n        ```\n        <br>\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: extensionId\n          in: path\n          description: The extension's unique identifier.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                ringSteps:\n                  type: array\n                  items:\n                    properties:\n                      passThruCallerId:\n                        type: boolean\n                        description: For call steps that dial outside of the organization, pass through the original Caller ID, otherwise, the line's Caller ID settings will be used.\n                      timeout:\n                        type: integer\n                        description: This is used to determine for how long (in seconds) extensions/external numbers will ring simultaneously.\n                      items:\n                        type: array\n                        items:\n                          description: On ring, send to.\n                          properties:\n                            extensionId:\n                              type: string\n                              description: The extension ID for unanswered calls to be forwarded to. Required if `externalNumber` is undefined.\n                            externalNumber:\n                              type: string\n                              description: An E164-formatted external phone number for unanswered calls to be forwarded to. Required if `extensionId` is undefined.\n                          example:\n                            extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                            externalNumber: '+15145552672'\n                    required:\n                      - passThruCallerId\n                      - timeout\n                    example:\n                      passThruCallerId: true\n                      timeout: 20\n              example:\n                ringSteps:\n                  - passThruCallerId: false\n                    timeout: 20\n                    items:\n                      - extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                        externalNumber: '+15145552672'\n      tags:\n        - Extension\n      responses:\n        '200':\n          description: The extension find-me/follow-me information was updated successfully.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - properties:\n                      ringSteps:\n                        type: array\n                        items:\n                          properties:\n                            passThruCallerId:\n                              type: boolean\n                              description: For call steps that dial outside of the organization, pass through the original Caller ID, otherwise, the line's Caller ID settings will be used.\n                            timeout:\n                              type: integer\n                              description: This is used to determine for how long (in seconds) extensions/external numbers will ring simultaneously.\n                            items:\n                              type: array\n                              items:\n                                description: On ring, send to.\n                                properties:\n                                  extensionId:\n                                    type: string\n                                    description: The extension ID for unanswered calls to be forwarded to. Required if `externalNumber` is undefined.\n                                  externalNumber:\n                                    type: string\n                                    description: An E164-formatted external phone number for unanswered calls to be forwarded to. Required if `extensionId` is undefined.\n                                example:\n                                  extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                                  externalNumber: '+15145552672'\n                          required:\n                            - passThruCallerId\n                            - timeout\n                          example:\n                            passThruCallerId: true\n                            timeout: 20\n                    example:\n                      ringSteps:\n                        - passThruCallerId: false\n                          timeout: 20\n                          items:\n                            - extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                              externalNumber: '+15145552672'\n                  - type: object\n                    properties:\n                      extensionId:\n                        type: string\n                        description: The ID of the updated extension.\n                    required:\n                      - extensionId\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `INVALID_TIMEOUT` - Maximum timeout value is 999.\n            * `INVALID_DESTINATION` - Cannot set both an extension and an external phone number as destination for the same ring item.\n            * `INVALID_EXTENSION_ID` - The given extension ID [`:extensionId`] is invalid.\n            * `INVALID_NUMBER` - The given external phone number [`:externalNumber`] is invalid.\n            * `RING_STEPS_QUANTITY_EXCEEDED` - The number of elements in the list exceeds the maximum allowed number of 50 elements.\n            * `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_EXTENSION_ID\n                message: The given extension ID is invalid.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PUT',\n              url: 'https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me/ring-steps',\n              data: {\n                ringSteps: [\n                  {\n                    passThruCallerId: false,\n                    timeout: 20,\n                    items: [\n                      {\n                        extensionId: '458e38ae-f468-11eb-9a03-0242ac130003',\n                        externalNumber: '+15145552672'\n                      }\n                    ]\n                  }\n                ]\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PUT \\\n              --url https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me/ring-steps \\\n              --header 'content-type: application/json' \\\n              --data '{\"ringSteps\":[{\"passThruCallerId\":false,\"timeout\":20,\"items\":[{\"extensionId\":\"458e38ae-f468-11eb-9a03-0242ac130003\",\"externalNumber\":\"+15145552672\"}]}]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"ringSteps\\\":[{\\\"passThruCallerId\\\":false,\\\"timeout\\\":20,\\\"items\\\":[{\\\"extensionId\\\":\\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\\"externalNumber\\\":\\\"+15145552672\\\"}]}]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PUT\", \"/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me/ring-steps\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"ringSteps\":[{\"passThruCallerId\":false,\"timeout\":20,\"items\":[{\"extensionId\":\"458e38ae-f468-11eb-9a03-0242ac130003\",\"externalNumber\":\"+15145552672\"}]}]}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me/ring-steps');\n            $request->setRequestMethod('PUT');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/find-me-follow-me/ring-steps\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Put.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"ringSteps\\\":[{\\\"passThruCallerId\\\":false,\\\"timeout\\\":20,\\\"items\\\":[{\\\"extensionId\\\":\\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\\"externalNumber\\\":\\\"+15145552672\\\"}]}]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/extensions/{extensionId}/voicemail:\n    patch:\n      summary: Update voicemail for a specific extension\n      operationId: updateExtensionVoicemail\n      description: |\n        Update voicemail settings for a specific extension.\n\n        Only pass the fields that you want to update.\n        If you want to set the time zone for given extension voicemail, you can use the following request body:\n\n        ```\n        {\n          \"timeZone\": \"America/New_York\"\n        }\n        ```\n\n        If you want to set the voicemail password, you can use:\n\n        ```\n        {\n          \"password\": \"9876\"\n        }\n        ```\n\n        If you want to enable access to an extension voicemail without a password, you can pass:\n\n        ```\n        {\n          \"allowAccessWithoutPassword\": true\n        }\n        ```\n\n        If you want to allow callers to review their recorded messages and enable voicemail messages transcriptions:\n\n        ```\n        {\n          \"allowMessageReview\": true,\n          \"transcriptionEnabled\": true\n        }\n        ```\n\n        If you want callers who press 0 to be transferred to an operator extension, you can pass:\n\n        ```\n        {\n          \"allowEscapeToOperator\": true,\n          \"operatorExtensionId\": \"458e38ae-f468-11eb-9a03-0242ac130003\"\n        }\n        ```\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: extensionId\n          in: path\n          description: The extension's unique identifier.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                timeZone:\n                  type: string\n                  description: The time zone to use, e.g. for voicemail message dates.\n                  example: America/New_York\n                password:\n                  type: string\n                  description: The dial string (`[0-9*+#]*`) a user uses as the password to log in.\n                  default: '0000'\n                  pattern: '[0-9*+#]*'\n                  example: '0000'\n                allowAccessWithoutPassword:\n                  type: boolean\n                  default: false\n                  description: Whether this voicemail box allows access without a password.\n                  example: false\n                allowEscapeToOperator:\n                  type: boolean\n                  default: false\n                  description: If true, someone dialing this voicemail box may press 0 to be transferred to an extension specified by `operatorExtensionId`.\n                  example: true\n                allowMessageReview:\n                  type: boolean\n                  default: false\n                  description: Whether someone leaving a message in this box may review their message after recording.\n                  example: true\n                operatorExtensionId:\n                  type: string\n                  description: The ID of the extension to use when `allowEscapeToOperator` is true.\n                  example: 458e38ae-f468-11eb-9a03-0242ac130003\n                transcriptionEnabled:\n                  type: boolean\n                  default: false\n                  description: Whether this box will transcribe voicemail messages.\n                  example: true\n      tags:\n        - Extension\n      responses:\n        '200':\n          description: The extension voicemail settings were updated successfully.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - properties:\n                      timeZone:\n                        type: string\n                        description: The time zone to use, e.g. for voicemail message dates.\n                        example: America/New_York\n                      password:\n                        type: string\n                        description: The dial string (`[0-9*+#]*`) a user uses as the password to log in.\n                        default: '0000'\n                        pattern: '[0-9*+#]*'\n                        example: '0000'\n                      allowAccessWithoutPassword:\n                        type: boolean\n                        default: false\n                        description: Whether this voicemail box allows access without a password.\n                        example: false\n                      allowEscapeToOperator:\n                        type: boolean\n                        default: false\n                        description: If true, someone dialing this voicemail box may press 0 to be transferred to an extension specified by `operatorExtensionId`.\n                        example: true\n                      allowMessageReview:\n                        type: boolean\n                        default: false\n                        description: Whether someone leaving a message in this box may review their message after recording.\n                        example: true\n                      operatorExtensionId:\n                        type: string\n                        description: The ID of the extension to use when `allowEscapeToOperator` is true.\n                        example: 458e38ae-f468-11eb-9a03-0242ac130003\n                      transcriptionEnabled:\n                        type: boolean\n                        default: false\n                        description: Whether this box will transcribe voicemail messages.\n                        example: true\n                  - type: object\n                    properties:\n                      extensionId:\n                        type: string\n                        description: The ID of the updated extension.\n                        example: 458e38ae-f468-11eb-9a03-0242ac130003\n                    required:\n                      - extensionId\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `INVALID_TIME_ZONE` - Given time zone ID is invalid.\n            * `INVALID_PASSWORD` - The password is invalid.\n            * `INVALID_EXTENSION_ID` - The given extension ID [`:extensionId`] is invalid.\n            * `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_EXTENSION_ID\n                message: The given extension ID is invalid.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/voicemail',\n              data: {\n                timeZone: 'America/New_York',\n                password: '0000',\n                allowAccessWithoutPassword: false,\n                allowEscapeToOperator: true,\n                allowMessageReview: true,\n                operatorExtensionId: '458e38ae-f468-11eb-9a03-0242ac130003',\n                transcriptionEnabled: true\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/voicemail \\\n              --header 'content-type: application/json' \\\n              --data '{\"timeZone\":\"America/New_York\",\"password\":\"0000\",\"allowAccessWithoutPassword\":false,\"allowEscapeToOperator\":true,\"allowMessageReview\":true,\"operatorExtensionId\":\"458e38ae-f468-11eb-9a03-0242ac130003\",\"transcriptionEnabled\":true}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"timeZone\\\":\\\"America/New_York\\\",\\\"password\\\":\\\"0000\\\",\\\"allowAccessWithoutPassword\\\":false,\\\"allowEscapeToOperator\\\":true,\\\"allowMessageReview\\\":true,\\\"operatorExtensionId\\\":\\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\\"transcriptionEnabled\\\":true}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PATCH\", \"/voice-admin/v1/extensions/%7BextensionId%7D/voicemail\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"timeZone\":\"America/New_York\",\"password\":\"0000\",\"allowAccessWithoutPassword\":false,\"allowEscapeToOperator\":true,\"allowMessageReview\":true,\"operatorExtensionId\":\"458e38ae-f468-11eb-9a03-0242ac130003\",\"transcriptionEnabled\":true}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/voicemail');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/extensions/%7BextensionId%7D/voicemail\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"timeZone\\\":\\\"America/New_York\\\",\\\"password\\\":\\\"0000\\\",\\\"allowAccessWithoutPassword\\\":false,\\\"allowEscapeToOperator\\\":true,\\\"allowMessageReview\\\":true,\\\"operatorExtensionId\\\":\\\"458e38ae-f468-11eb-9a03-0242ac130003\\\",\\\"transcriptionEnabled\\\":true}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/virtual-faxes:\n    post:\n      operationId: createVirtualFax\n      summary: Creates a Virtual Fax\n      tags:\n        - Virtual Faxes\n      description: |\n        Creates a virtual fax machine. Virtual fax machines are used to send and receive faxes via the [Fax API](/GoToConnect#tag/Faxes).\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                name:\n                  type: string\n                  description: The human descriptive name of the virtual fax.\n                  maxLength: 255\n                  minLength: 1\n                  example: Fax Records\n                accountKey:\n                  type: string\n                  description: Identifier of an account to which this virtual fax should be associated.\n                  example: '1234567890'\n              required:\n                - name\n                - accountKey\n      responses:\n        '201':\n          description: |\n            Returns an object containing the ID of the created virtual fax object.\n          content:\n            application/json:\n              schema:\n                properties:\n                  id:\n                    type: string\n                    description: The unique identifier of the virtual fax.\n                    example: 161ce07c-df26-4b74-8c7d-9907b4d6e959\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of\n            `errorCode` values in the response that provide additional details.\n\n            * `INVALID_NAME` - The virtual fax name is invalid.\n\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n\n            * `INVALID_ACCOUNT_KEY` - The account key is invalid, unknown.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_NAME\n                message: The virtual fax name is invalid.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voice-admin/v1/virtual-faxes',\n              data: {name: 'Fax Records', accountKey: '1234567890'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voice-admin/v1/virtual-faxes \\\n              --header 'content-type: application/json' \\\n              --data '{\"name\":\"Fax Records\",\"accountKey\":\"1234567890\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"name\\\":\\\"Fax Records\\\",\\\"accountKey\\\":\\\"1234567890\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/voice-admin/v1/virtual-faxes\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"name\":\"Fax Records\",\"accountKey\":\"1234567890\"}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/virtual-faxes');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/virtual-faxes\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"name\\\":\\\"Fax Records\\\",\\\"accountKey\\\":\\\"1234567890\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/shared-voicemails:\n    post:\n      operationId: createSharedVoicemail\n      summary: Creates a Shared Voicemail\n      tags:\n        - Shared Voicemail\n      description: |\n        Creates a shared voicemail.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                name:\n                  type: string\n                  description: The human descriptive name of the shared voicemail.\n                  maxLength: 255\n                  minLength: 1\n                  example: Sales Inquiries\n                extensionNumber:\n                  type: string\n                  description: The unique dialable extension of the shared voicemail.\n                  example: '1002'\n                accountKey:\n                  type: string\n                  description: Identifier of an account to which this voicemail should be associated.\n                  example: '1234567890'\n              required:\n                - name\n                - accountKey\n      responses:\n        '201':\n          description: |\n            Returns an object containing the ID of the created shared voicemail object.\n          content:\n            application/json:\n              schema:\n                properties:\n                  id:\n                    type: string\n                    description: The unique identifier of the shared voicemail.\n                    example: 161ce07c-df26-4b74-8c7d-9907b4d6e959\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of\n            `errorCode` values in the response that provide additional details.\n\n            * `INVALID_NAME` - The shared voicemail name is invalid.\n\n            * `INVALID_EXTENSION` - The extension number is invalid.\n\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n\n            * `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request.\n\n            * `INVALID_ACCOUNT_KEY` - The account key is invalid, unknown.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_ACCOUNT_KEY\n                message: Account Key is invalid, unknown.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '409':\n          description: |\n            The request has one or more issues.  The API returns a number of\n            `errorCode` values in the response that provide additional details.\n\n            * `CONFLICTING_EXTENSION` - The extension number is already used.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: CONFLICTING_EXTENSION\n                message: The extension number is already used.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voice-admin/v1/shared-voicemails',\n              data: {name: 'Sales Inquiries', extensionNumber: '1002', accountKey: '1234567890'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voice-admin/v1/shared-voicemails \\\n              --header 'content-type: application/json' \\\n              --data '{\"name\":\"Sales Inquiries\",\"extensionNumber\":\"1002\",\"accountKey\":\"1234567890\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"name\\\":\\\"Sales Inquiries\\\",\\\"extensionNumber\\\":\\\"1002\\\",\\\"accountKey\\\":\\\"1234567890\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/voice-admin/v1/shared-voicemails\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"name\":\"Sales Inquiries\",\"extensionNumber\":\"1002\",\"accountKey\":\"1234567890\"}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/shared-voicemails');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/shared-voicemails\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"name\\\":\\\"Sales Inquiries\\\",\\\"extensionNumber\\\":\\\"1002\\\",\\\"accountKey\\\":\\\"1234567890\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/shared-voicemails/{sharedVoicemailId}:\n    get:\n      operationId: getSharedVoicemail\n      summary: Get a specific Shared Voicemail\n      tags:\n        - Shared Voicemail\n      description: |\n        Get details about a specific shared voicemail.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: sharedVoicemailId\n          in: path\n          description: The unique identifier of the shared voicemail.\n          required: true\n          schema:\n            type: string\n      responses:\n        '200':\n          description: |\n            Returns an object containing the detailed information about a shared voicemail.\n          content:\n            application/json:\n              schema:\n                properties:\n                  name:\n                    type: string\n                    description: The name of the shared voicemail extension.\n                    example: Human Resources\n                  extensionNumber:\n                    type: string\n                    description: A digit string (`[0-9]{3,7}`) representing this shared voicemail extension number.\n                    example: '1545'\n                  interceptIncomingFaxes:\n                    type: boolean\n                    description: Indicates whether this line will detect and intercept incoming faxes.\n                    example: false\n                  allowMessageReview:\n                    type: boolean\n                    description: Indicates whether someone leaving a message in this shared voicemail box may review their message after recording.\n                    example: true\n                  sendEmailNotification:\n                    type: boolean\n                    description: Indicates whether this shared voicemail box will send an email when it receives a message.\n                    example: true\n                  emailNotificationEmailAddresses:\n                    type: array\n                    description: List of email addresses to which this shared voicemail box send email notifications if `sendEmailNotification` is true.\n                    items:\n                      type: string\n                    example:\n                      - my-first-email@goto.com\n                      - my-backup-email@goto.com\n                  attachMessageToEmailNotification:\n                    type: boolean\n                    description: Indicates whether this shared voicemail box will attach the message's sound file to the sent email if `sendEmailNotification` is true.\n                    example: true\n                  transcriptionEnabled:\n                    type: boolean\n                    description: Indicates whether this shared voicemail box will transcribe and attach an incoming voicemail's audio to the sent email when `sendEmailNotification` is true.\n                    example: true\n                  deleteMessageAfterEmailingNotification:\n                    type: boolean\n                    description: Indicates whether this shared voicemail box will delete a message after emailing if `sendEmailNotification` is true.\n                    example: true\n                  attachedMessageFormat:\n                    type: string\n                    description: The media format of the attached file if `attachMessageToEmailNotification` is true.\n                    enum:\n                      - WAV\n                      - WAV49\n                      - MP3\n                    example: WAV\n                  sayMessageDuration:\n                    type: boolean\n                    description: Indicates whether a message's duration will play before each message.\n                    example: true\n                  sayMessageCallerId:\n                    type: boolean\n                    description: Indicates whether a message's caller ID will play before each message.\n                    example: false\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/shared-voicemails/%7BsharedVoicemailId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/voice-admin/v1/shared-voicemails/%7BsharedVoicemailId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/shared-voicemails/%7BsharedVoicemailId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/shared-voicemails/%7BsharedVoicemailId%7D');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/shared-voicemails/%7BsharedVoicemailId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    patch:\n      operationId: updateSharedVoicemail\n      summary: Updates a Shared Voicemail\n      tags:\n        - Shared Voicemail\n      description: |\n        Updates a shared voicemail.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: sharedVoicemailId\n          in: path\n          description: The unique identifier of the shared voicemail.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                name:\n                  type: string\n                  description: The name of the shared voicemail extension.\n                  example: Human Resources\n                extensionNumber:\n                  type: string\n                  description: A digit string (`[0-9]{3,7}`) representing this shared voicemail extension number.\n                  example: '1545'\n                interceptIncomingFaxes:\n                  type: boolean\n                  description: Indicates whether this line will detect and intercept incoming faxes.\n                  example: false\n                allowMessageReview:\n                  type: boolean\n                  description: Indicates whether someone leaving a message in this shared voicemail box may review their message after recording.\n                  example: true\n                sendEmailNotification:\n                  type: boolean\n                  description: Indicates whether this shared voicemail box will send an email when it receives a message.\n                  example: true\n                emailNotificationEmailAddresses:\n                  type: array\n                  description: List of email addresses to which this shared voicemail box send email notifications if `sendEmailNotification` is true.\n                  items:\n                    type: string\n                  example:\n                    - my-first-email@goto.com\n                    - my-backup-email@goto.com\n                attachMessageToEmailNotification:\n                  type: boolean\n                  description: Indicates whether this shared voicemail box will attach the message's sound file to the sent email if `sendEmailNotification` is true.\n                  example: true\n                transcriptionEnabled:\n                  type: boolean\n                  description: Indicates whether this shared voicemail box will transcribe and attach an incoming voicemail's audio to the sent email when `sendEmailNotification` is true.\n                  example: true\n                deleteMessageAfterEmailingNotification:\n                  type: boolean\n                  description: Indicates whether this shared voicemail box will delete a message after emailing if `sendEmailNotification` is true.\n                  example: true\n                attachedMessageFormat:\n                  type: string\n                  description: The media format of the attached file if `attachMessageToEmailNotification` is true.\n                  enum:\n                    - WAV\n                    - WAV49\n                    - MP3\n                  example: WAV\n                sayMessageDuration:\n                  type: boolean\n                  description: Indicates whether a message's duration will play before each message.\n                  example: true\n                sayMessageCallerId:\n                  type: boolean\n                  description: Indicates whether a message's caller ID will play before each message.\n                  example: false\n      responses:\n        '200':\n          description: |\n            Returns an object containing the detailed information about the updated shared voicemail.\n          content:\n            application/json:\n              schema:\n                properties:\n                  name:\n                    type: string\n                    description: The name of the shared voicemail extension.\n                    example: Human Resources\n                  extensionNumber:\n                    type: string\n                    description: A digit string (`[0-9]{3,7}`) representing this shared voicemail extension number.\n                    example: '1545'\n                  interceptIncomingFaxes:\n                    type: boolean\n                    description: Indicates whether this line will detect and intercept incoming faxes.\n                    example: false\n                  allowMessageReview:\n                    type: boolean\n                    description: Indicates whether someone leaving a message in this shared voicemail box may review their message after recording.\n                    example: true\n                  sendEmailNotification:\n                    type: boolean\n                    description: Indicates whether this shared voicemail box will send an email when it receives a message.\n                    example: true\n                  emailNotificationEmailAddresses:\n                    type: array\n                    description: List of email addresses to which this shared voicemail box send email notifications if `sendEmailNotification` is true.\n                    items:\n                      type: string\n                    example:\n                      - my-first-email@goto.com\n                      - my-backup-email@goto.com\n                  attachMessageToEmailNotification:\n                    type: boolean\n                    description: Indicates whether this shared voicemail box will attach the message's sound file to the sent email if `sendEmailNotification` is true.\n                    example: true\n                  transcriptionEnabled:\n                    type: boolean\n                    description: Indicates whether this shared voicemail box will transcribe and attach an incoming voicemail's audio to the sent email when `sendEmailNotification` is true.\n                    example: true\n                  deleteMessageAfterEmailingNotification:\n                    type: boolean\n                    description: Indicates whether this shared voicemail box will delete a message after emailing if `sendEmailNotification` is true.\n                    example: true\n                  attachedMessageFormat:\n                    type: string\n                    description: The media format of the attached file if `attachMessageToEmailNotification` is true.\n                    enum:\n                      - WAV\n                      - WAV49\n                      - MP3\n                    example: WAV\n                  sayMessageDuration:\n                    type: boolean\n                    description: Indicates whether a message's duration will play before each message.\n                    example: true\n                  sayMessageCallerId:\n                    type: boolean\n                    description: Indicates whether a message's caller ID will play before each message.\n                    example: false\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of\n            `errorCode` values in the response that provide additional details.\n\n            * `INVALID_NAME` - The shared voicemail name is invalid.\n\n            * `INVALID_EXTENSION` - The extension number is invalid.\n\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n\n            * `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request.\n\n            * `INVALID_ATTACHED_MESSAGE_FORMAT` - The attached message format is invalid.\n\n            * `INVALID_NOTIFICATION_EMAIL_ADDRESS` - The notification email address is invalid.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_ACCOUNT_KEY\n                message: Account Key is invalid, unknown.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: |\n            The request has one or more issues.  The API returns a number of\n            `errorCode` values in the response that provide additional details.\n\n            * `CONFLICTING_EXTENSION` - The extension number is already used.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: CONFLICTING_EXTENSION\n                message: The extension number is already used.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/voice-admin/v1/shared-voicemails/%7BsharedVoicemailId%7D',\n              data: {\n                name: 'Human Resources',\n                extensionNumber: '1545',\n                interceptIncomingFaxes: false,\n                allowMessageReview: true,\n                sendEmailNotification: true,\n                emailNotificationEmailAddresses: ['my-first-email@goto.com', 'my-backup-email@goto.com'],\n                attachMessageToEmailNotification: true,\n                transcriptionEnabled: true,\n                deleteMessageAfterEmailingNotification: true,\n                attachedMessageFormat: 'WAV',\n                sayMessageDuration: true,\n                sayMessageCallerId: false\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url https://api.goto.com/voice-admin/v1/shared-voicemails/%7BsharedVoicemailId%7D \\\n              --header 'content-type: application/json' \\\n              --data '{\"name\":\"Human Resources\",\"extensionNumber\":\"1545\",\"interceptIncomingFaxes\":false,\"allowMessageReview\":true,\"sendEmailNotification\":true,\"emailNotificationEmailAddresses\":[\"my-first-email@goto.com\",\"my-backup-email@goto.com\"],\"attachMessageToEmailNotification\":true,\"transcriptionEnabled\":true,\"deleteMessageAfterEmailingNotification\":true,\"attachedMessageFormat\":\"WAV\",\"sayMessageDuration\":true,\"sayMessageCallerId\":false}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"name\\\":\\\"Human Resources\\\",\\\"extensionNumber\\\":\\\"1545\\\",\\\"interceptIncomingFaxes\\\":false,\\\"allowMessageReview\\\":true,\\\"sendEmailNotification\\\":true,\\\"emailNotificationEmailAddresses\\\":[\\\"my-first-email@goto.com\\\",\\\"my-backup-email@goto.com\\\"],\\\"attachMessageToEmailNotification\\\":true,\\\"transcriptionEnabled\\\":true,\\\"deleteMessageAfterEmailingNotification\\\":true,\\\"attachedMessageFormat\\\":\\\"WAV\\\",\\\"sayMessageDuration\\\":true,\\\"sayMessageCallerId\\\":false}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PATCH\", \"/voice-admin/v1/shared-voicemails/%7BsharedVoicemailId%7D\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"name\":\"Human Resources\",\"extensionNumber\":\"1545\",\"interceptIncomingFaxes\":false,\"allowMessageReview\":true,\"sendEmailNotification\":true,\"emailNotificationEmailAddresses\":[\"my-first-email@goto.com\",\"my-backup-email@goto.com\"],\"attachMessageToEmailNotification\":true,\"transcriptionEnabled\":true,\"deleteMessageAfterEmailingNotification\":true,\"attachedMessageFormat\":\"WAV\",\"sayMessageDuration\":true,\"sayMessageCallerId\":false}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/shared-voicemails/%7BsharedVoicemailId%7D');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/shared-voicemails/%7BsharedVoicemailId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"name\\\":\\\"Human Resources\\\",\\\"extensionNumber\\\":\\\"1545\\\",\\\"interceptIncomingFaxes\\\":false,\\\"allowMessageReview\\\":true,\\\"sendEmailNotification\\\":true,\\\"emailNotificationEmailAddresses\\\":[\\\"my-first-email@goto.com\\\",\\\"my-backup-email@goto.com\\\"],\\\"attachMessageToEmailNotification\\\":true,\\\"transcriptionEnabled\\\":true,\\\"deleteMessageAfterEmailingNotification\\\":true,\\\"attachedMessageFormat\\\":\\\"WAV\\\",\\\"sayMessageDuration\\\":true,\\\"sayMessageCallerId\\\":false}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/devices:\n    get:\n      operationId: getDevices\n      summary: Get devices\n      description: |\n        Obtains a paginated list of devices in an account.\n        Note that Business Continuity and GoTo Room devices are not returned by this API right now.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - in: query\n          name: accountKey\n          description: This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\n          required: false\n          schema:\n            type: string\n          example: '1956177422157042821'\n        - name: pageMarker\n          in: query\n          description: The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n      tags:\n        - Devices\n      responses:\n        '200':\n          description: |\n            List of devices. Will return an empty list if the user doesn't have the permission for the given account\n            or the given account is not found.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          Optional next page marker value. To be used for fetching the next page via the `pageMarker` query parameter. If no more pages are available, then this field will be null.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          properties:\n                            id:\n                              type: string\n                              description: The device id.\n                            name:\n                              type: string\n                              description: The device name.\n                            modelName:\n                              type: string\n                              description: The device model name.\n                            assignedUserKey:\n                              type: string\n                              description: The ID of the user to assign to this device.\n                            macAddress:\n                              type: string\n                              description: The MAC address of this device. Specified upon creation, and read-only thereafter.\n                          required:\n                            - id\n                            - macAddress\n                          example:\n                            id: 12ed21de-9be4-4ca7-85d2-0f2356cacc83\n                            name: John's Desk Phone\n                            modelName: 480i\n                            assignedUserKey: '12984612948621'\n                            macAddress: 00005e0053af\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of\n            `constraintViolation`s in the response that provide additional\n            details for the following cases:\n\n            * The `pageMarker` or `pageSize` is invalid\n            * `accountKey` is missing\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\n                constraintViolations:\n                  - field: accountKey\n                    constraint: REQUIRED\n                  - field: nextPageMarker\n                    constraint: INVALID\n                  - field: pageSize\n                    constraint: INVALID\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/devices',\n              params: {\n                accountKey: '1956177422157042821',\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voice-admin/v1/devices?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/devices?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/devices');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => '1956177422157042821',\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/devices?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    post:\n      operationId: createDevice\n      summary: Create a device\n      description: |\n        Creates a new device in an account.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                name:\n                  type: string\n                  description: The human descriptive device name.\n                  maxLength: 255\n                  minLength: 1\n                accountKey:\n                  type: string\n                  description: Identifier of an account to which this device should be associated.\n                modelId:\n                  type: string\n                  description: The device model id. This ID must exist under `/device-models` endpoint.\n                macAddress:\n                  type: string\n                  description: The MAC address of this device. Specified upon creation, and read-only thereafter.\n              required:\n                - name\n                - accountKey\n                - modelId\n                - macAddress\n              example:\n                name: John's Desk Phone\n                modelId: aastra.480i\n                macAddress: 00005e0053af\n                accountKey: '1956177422157042821'\n      tags:\n        - Devices\n      responses:\n        '201':\n          description: |\n            The device was created.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - properties:\n                      id:\n                        type: string\n                        description: The device id.\n                      name:\n                        type: string\n                        description: The device name.\n                      modelId:\n                        type: string\n                        description: The device model id.\n                      macAddress:\n                        type: string\n                        description: The MAC address of this device.\n                    required:\n                      - id\n                      - name\n                      - modelId\n                      - macAddress\n                    example:\n                      id: 12ed21de-9be4-4ca7-85d2-0f2356cacc83\n                      name: John's Desk Phone\n                      modelId: aastra.480i\n                      macAddress: 00005e0053af\n                  - type: object\n                    properties:\n                      accountKey:\n                        type: string\n                        description: Identifier of an account.\n                        example: '1956177422157'\n                    required:\n                      - accountKey\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of\n            `errorCode` values in the response that provide additional details.\n\n            * `INVALID_NAME` - The device name is invalid.\n\n            * `INVALID_MODEL` - The model ID is invalid.\n\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n\n            * `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request.\n\n            * `MALFORMED_MAC_ADDRESS` - The mac address is malformed.\n\n            * `INVALID_ACCOUNT_KEY` - The account key is invalid, unknown.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_NAME\n                message: Device name is invalid, or has invalid length.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '409':\n          description: |\n            Potential error codes: * `MAC_ADDRESS_EXISTS` - The device mac address already exists for given account.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: MAC_ADDRESS_EXISTS\n                message: The device mac address already exists for given account.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voice-admin/v1/devices',\n              data: {\n                name: 'John\\'s Desk Phone',\n                modelId: 'aastra.480i',\n                macAddress: '00005e0053af',\n                accountKey: '1956177422157042821'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voice-admin/v1/devices \\\n              --header 'content-type: application/json' \\\n              --data '{\"name\":\"John'\\''s Desk Phone\",\"modelId\":\"aastra.480i\",\"macAddress\":\"00005e0053af\",\"accountKey\":\"1956177422157042821\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"name\\\":\\\"John's Desk Phone\\\",\\\"modelId\\\":\\\"aastra.480i\\\",\\\"macAddress\\\":\\\"00005e0053af\\\",\\\"accountKey\\\":\\\"1956177422157042821\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/voice-admin/v1/devices\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"name\":\"John's Desk Phone\",\"modelId\":\"aastra.480i\",\"macAddress\":\"00005e0053af\",\"accountKey\":\"1956177422157042821\"}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/devices');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/devices\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"name\\\":\\\"John's Desk Phone\\\",\\\"modelId\\\":\\\"aastra.480i\\\",\\\"macAddress\\\":\\\"00005e0053af\\\",\\\"accountKey\\\":\\\"1956177422157042821\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/devices/{deviceId}:\n    get:\n      operationId: getDevice\n      summary: Get a specific device\n      description: |\n        Get details about a specific device.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: deviceId\n          in: path\n          description: The device's unique identifier.\n          required: true\n          schema:\n            type: string\n      tags:\n        - Devices\n      responses:\n        '200':\n          description: A brief information set about a device, which includes device ID and license key.\n          content:\n            application/json:\n              schema:\n                properties:\n                  id:\n                    type: string\n                    description: The device id.\n                  licenseKey:\n                    type: string\n                    description: The key of the license assigned to this device. More details about licenses here [https://developer.goto.com/admin#operation/Get%20Licenses](https://developer.goto.com/admin#operation/Get%20Licenses).\n                  locationId:\n                    description: The location's unique identifier.\n                    type: string\n                  status:\n                    type: string\n                    description: |\n                      Available status:\n                        * `HEALTHY` - The device is READY and call quality is great.\n                        * `READY` - The device is operational with a desired configuration.\n                        * `NEED_ATTENTION` - The device is not in a desired state, but should function.\n                        * `CRITICAL` - The device likely won't work as intended.\n                        * `UNAVAILABLE` - We are currently unable to determine the state of the device. E.g. device is offline\n                    enum:\n                      - HEALTHY\n                      - READY\n                      - NEED_ATTENTION\n                      - CRITICAL\n                      - UNAVAILABLE\n                required:\n                  - id\n                  - status\n                example:\n                  id: 12ed21de-9be4-4ca7-85d2-0f2356cacc83\n                  licenseKey: '896518965461657741'\n                  status: READY\n                  locationId: '10244121839485354'\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/devices/%7BdeviceId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    patch:\n      summary: Update a device\n      operationId: updateDevice\n      description: |\n        Update a device. \n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n\n        Only pass the fields that you want to update.\n\n        If you want to set the name for a given device, you can use the following body:\n\n        ```\n        {\n          \"name\": \"John Mayer\"\n        }\n        ```\n\n        If you want to assign a user to a device, do the following:\n\n        ```\n        {\n          \"assignedUserKey\": \"3141631416\"\n        }\n        ```\n\n        Note that you can't pass fields other than `assignedUserKey` when this one is provided.\n\n        If you want to set the license, you can use:\n\n        ```\n        {\n          \"licenseKey\": \"896518965461657741\"\n        }\n        ```\n\n        It is important to note that licenses can only be assigned to standalone devices,\n        and users can only be assigned to user devices. If you try to assign a user to a\n        standalone device or assign a license to a user device, you will get a\n        `INVALID_DEVICE_TYPE` bad request error.\n\n        Also, note that you cannot assign a user or a license to a device along with other field updates. \n        For example, you cannot assign a user and update the device name at the same request, or assign a user and a license at the same request.\n        If you try, you will get an `ASSIGNMENTS_MUST_BE_ALONE` bad request error.\n\n        Any license changes take time to propagate through the platform and may not be immediately reflected in the device.\n      tags:\n        - Devices\n      parameters:\n        - name: deviceId\n          in: path\n          description: The device's unique identifier.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                name:\n                  type: string\n                  description: The human descriptive device name. This attribute cannot be unset.\n                  maxLength: 255\n                  minLength: 1\n                assignedUserKey:\n                  type: string\n                  description: Assigned user on the given device. The user must belong to the account. The device must be a user device, not a standalone device. This field must be passed alone.\n                licenseKey:\n                  type: string\n                  description: The key of the license to be assigned to the device. More details about licenses here [https://developer.goto.com/admin#operation/Get%20Licenses](https://developer.goto.com/admin#operation/Get%20Licenses).\n              example:\n                name: Gregor's Desk Phone 2\n                licenseKey: '896518965461657741'\n      responses:\n        '200':\n          description: The device was updated\n          content:\n            application/json:\n              schema:\n                properties:\n                  id:\n                    type: string\n                    description: The device id.\n                  name:\n                    type: string\n                    description: The device name.\n                  modelId:\n                    type: string\n                    description: The device model id.\n                  macAddress:\n                    type: string\n                    description: The MAC address of this device.\n                  assignedUserKey:\n                    type: string\n                    description: Assigned user on the given device.\n                  licenseKey:\n                    type: string\n                    description: The key of the license assigned to this device. More details about licenses here [https://developer.goto.com/admin#operation/Get%20Licenses](https://developer.goto.com/admin#operation/Get%20Licenses).\n                required:\n                  - id\n                  - name\n                  - modelId\n                  - macAddress\n                example:\n                  id: 12ed21de-9be4-4ca7-85d2-0f2356cacc83\n                  name: John's Desk Phone\n                  modelId: aastra.480i\n                  macAddress: 00005e0053af\n                  licenseKey: '896518965461657741'\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `INVALID_NAME` - Name is invalid\n            * `INVALID_LICENSE_KEY` - The license key is invalid.\n            * `LICENSE_FULL` - The license has no remaining capacity.\n            * `INVALID_DEVICE_TYPE` - License cannot be assigned to a user device | User cannot be assigned to a standalone device.\n            * `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n            * `INVALID_DEVICE_LICENSE` - The license is not applicable to standalone devices.\n            * `INVALID_USER_LICENSE` - The user has none or more than one license and the operation is not supported in these cases\n            * `INVALID_USER_FOR_ACCOUNT` - The user key is not found for the given device account\n            * `INVALID_USER_KEY` - The user key is invalid\n            * `ASSIGNMENTS_MUST_BE_ALONE` - License or user assignment must be alone in the request body\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_NAME\n                message: Name is invalid.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource. A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: The given device ID is invalid and the resource could not be found.\n        '409':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `LICENSE_CONFLICT` - The device has an existing license association.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: LICENSE_CONFLICT\n                message: The device has an existing license association.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D',\n              data: {name: 'Gregor\\'s Desk Phone 2', licenseKey: '896518965461657741'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D \\\n              --header 'content-type: application/json' \\\n              --data '{\"name\":\"Gregor'\\''s Desk Phone 2\",\"licenseKey\":\"896518965461657741\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"name\\\":\\\"Gregor's Desk Phone 2\\\",\\\"licenseKey\\\":\\\"896518965461657741\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PATCH\", \"/voice-admin/v1/devices/%7BdeviceId%7D\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"name\":\"Gregor's Desk Phone 2\",\"licenseKey\":\"896518965461657741\"}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"name\\\":\\\"Gregor's Desk Phone 2\\\",\\\"licenseKey\\\":\\\"896518965461657741\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/devices/{deviceId}/reboot:\n    post:\n      summary: Reboot a device\n      operationId: rebootDevice\n      description: |\n        Reboot a device. \n\n        The selected device must support the feature and be `online` to make appropriate use of this API.   \n\n        In the event that the device is either `offline` or that it does not support the functionality, the request will be returned successfully without being processed.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      tags:\n        - Devices\n      parameters:\n        - name: deviceId\n          in: path\n          description: The device's unique identifier.\n          required: true\n          schema:\n            type: string\n      responses:\n        '202':\n          description: The device is being rebooted.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource. A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: The given device ID is invalid and the resource could not be found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/reboot'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/reboot\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"POST\", \"/voice-admin/v1/devices/%7BdeviceId%7D/reboot\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/reboot');\n            $request->setRequestMethod('POST');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/reboot\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/devices/{deviceId}/resync:\n    post:\n      summary: Resync a device\n      operationId: resyncDevice\n      description: |\n        Resync a device. \n\n        The selected device must support the feature and be `online` to make appropriate use of this API.   \n\n        In the event that the device is either `offline` or that it does not support the functionality, the request will be returned successfully without being processed.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      tags:\n        - Devices\n      parameters:\n        - name: deviceId\n          in: path\n          description: The device's unique identifier.\n          required: true\n          schema:\n            type: string\n      responses:\n        '202':\n          description: The device is being resynchronized.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: The specified resource does not exist or the requesting principal does not have the ability to modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: The given device ID is invalid and the resource could not be found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/resync'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/resync\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"POST\", \"/voice-admin/v1/devices/%7BdeviceId%7D/resync\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/resync');\n            $request->setRequestMethod('POST');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/resync\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/devices/{deviceId}/buttons-configuration:\n    get:\n      operationId: getDeviceButtonConfiguration\n      summary: Get device button configuration for a specific device\n      description: |\n        Get device button configuration data for a specific device.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: deviceId\n          in: path\n          description: The device's unique identifier.\n          required: true\n          schema:\n            type: string\n      tags:\n        - Devices\n      responses:\n        '200':\n          description: The device button configuration list.\n          content:\n            application/json:\n              schema:\n                properties:\n                  items:\n                    type: array\n                    items:\n                      properties:\n                        type:\n                          type: string\n                          enum:\n                            - SPEED_DIAL\n                            - MONITORED_EXTENSION\n                            - MULTICAST_PAGING\n                            - LINE\n                            - ON_PHONE_DEFINED\n                            - LINE_SILENT\n                            - BUDDY_WATCH\n                            - CALL_PARK\n                          description: |\n                            The button type:\n                              * `SPEED_DIAL` - Allows you to add an internal extension or an external phone number as a speed dial.\n                              * `MONITORED_EXTENSION` - Allows you to add an internal extension or an external phone number as a speed dial that can be monitored visually using the light icon next to the button.\n                              * `MULTICAST_PAGING` - Broadcast messages to a specific paging realm.\n                              * `LINE` - Allows you to choose a primary or secondary direct extension. Lines cannot be duplicated on a single phone.\n                              * `ON_PHONE_DEFINED` - Allows the phone to have functionality manually assigned to the button that cannot be overwritten by provisioning.\n                              * `LINE_SILENT` - Allows you to choose a primary or secondary direct extension. Lines cannot be duplicated on a single phone. There will be no audible ring on this button.\n                              * `BUDDY_WATCH` - Allows you to add an internal extension or an external phone number as a speed dial that can be monitored visually using the light icon next to the button. For Polycom devices only.\n                              * `CALL_PARK` - Assigns the button as a call parking spot to park calls to with presence monitoring.\n                        position:\n                          type: integer\n                          description: The zero-based position of where this button appears in the group. Each button within a group must have a unique position.\n                        label:\n                          type: string\n                          maxLength: 255\n                          description: The button label to be displayed on the phone. This label is either the extension name or a custom label defined by the user.\n                        extensionId:\n                          type: string\n                          description: The referenced extension ID.\n                      required:\n                        - type\n                        - position\n                        - label\n                      example:\n                        type: SPEED_DIAL\n                        position: 0\n                        label: Human Resources\n                        extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                example:\n                  - type: LINE\n                    position: 0\n                    label: Finance\n                    extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                  - type: SPEED_DIAL\n                    position: 1\n                    label: Human Resources\n                    extensionId: 12ed21de-9be4-4ca7-85d2-0f2356cacc83\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/buttons-configuration'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/buttons-configuration\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/devices/%7BdeviceId%7D/buttons-configuration\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/buttons-configuration');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/buttons-configuration\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    put:\n      operationId: updateDeviceButtonConfiguration\n      summary: Update device button configuration for a specific device\n      description: |\n        Set a button configuration list for a specific device.\n\n        Your payload must contain the whole desired button configuration list for the device.\n\n        If you want to set the list of button configuration for the given device, you can provide the following body:\n\n        ```\n        {\n          \"items\": [\n            {\n              \"position\": 0,\n              \"type\": \"SPEED_DIAL\",\n              \"extensionId\": \"458e38ae-f468-11eb-9a03-0242ac130003\"\n            },\n            {\n              \"position\": 2,\n              \"type\": \"LINE\",\n              \"extensionId\": \"818cdba0-e609-4f68-b139-d58585c3a811\"\n            }\n          ]\n        }\n        ```\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: deviceId\n          in: path\n          description: The device's unique identifier.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                items:\n                  type: array\n                  items:\n                    properties:\n                      type:\n                        type: string\n                        enum:\n                          - SPEED_DIAL\n                          - MONITORED_EXTENSION\n                          - MULTICAST_PAGING\n                          - LINE\n                          - ON_PHONE_DEFINED\n                          - LINE_SILENT\n                          - BUDDY_WATCH\n                          - CALL_PARK\n                        description: |\n                          The button type:\n                            * `SPEED_DIAL` - Allows you to add an internal extension or an external phone number as a speed dial.\n                            * `MONITORED_EXTENSION` - Allows you to add an internal extension or an external phone number as a speed dial that can be monitored visually using the light icon next to the button.\n                            * `MULTICAST_PAGING` - Broadcast messages to a specific paging realm.\n                            * `LINE` - Allows you to choose a primary or secondary direct extension. Lines cannot be duplicated on a single phone.\n                            * `ON_PHONE_DEFINED` - Allows the phone to have functionality manually assigned to the button that cannot be overwritten by provisioning.\n                            * `LINE_SILENT` - Allows you to choose a primary or secondary direct extension. Lines cannot be duplicated on a single phone. There will be no audible ring on this button.\n                            * `BUDDY_WATCH` - Allows you to add an internal extension or an external phone number as a speed dial that can be monitored visually using the light icon next to the button. For Polycom devices only.\n                            * `CALL_PARK` - Assigns the button as a call parking spot to park calls to with presence monitoring.\n                      position:\n                        type: integer\n                        description: The zero-based position of where this button appears in the group. Each button within a group must have a unique position.\n                      label:\n                        type: string\n                        maxLength: 255\n                        description: The button label to be displayed on the phone. This label is either the extension name or a custom label defined by the user.\n                      extensionId:\n                        type: string\n                        description: The referenced extension ID.\n                    required:\n                      - type\n                      - position\n                      - label\n                    example:\n                      type: SPEED_DIAL\n                      position: 0\n                      label: Human Resources\n                      extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n              example:\n                - type: LINE\n                  position: 0\n                  label: Finance\n                  extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                - type: SPEED_DIAL\n                  position: 1\n                  label: Human Resources\n                  extensionId: 12ed21de-9be4-4ca7-85d2-0f2356cacc83\n      tags:\n        - Devices\n      responses:\n        '200':\n          description: The device button configuration list has been updated with the accepted buttons.\n          content:\n            application/json:\n              schema:\n                properties:\n                  items:\n                    type: array\n                    items:\n                      properties:\n                        type:\n                          type: string\n                          enum:\n                            - SPEED_DIAL\n                            - MONITORED_EXTENSION\n                            - MULTICAST_PAGING\n                            - LINE\n                            - ON_PHONE_DEFINED\n                            - LINE_SILENT\n                            - BUDDY_WATCH\n                            - CALL_PARK\n                          description: |\n                            The button type:\n                              * `SPEED_DIAL` - Allows you to add an internal extension or an external phone number as a speed dial.\n                              * `MONITORED_EXTENSION` - Allows you to add an internal extension or an external phone number as a speed dial that can be monitored visually using the light icon next to the button.\n                              * `MULTICAST_PAGING` - Broadcast messages to a specific paging realm.\n                              * `LINE` - Allows you to choose a primary or secondary direct extension. Lines cannot be duplicated on a single phone.\n                              * `ON_PHONE_DEFINED` - Allows the phone to have functionality manually assigned to the button that cannot be overwritten by provisioning.\n                              * `LINE_SILENT` - Allows you to choose a primary or secondary direct extension. Lines cannot be duplicated on a single phone. There will be no audible ring on this button.\n                              * `BUDDY_WATCH` - Allows you to add an internal extension or an external phone number as a speed dial that can be monitored visually using the light icon next to the button. For Polycom devices only.\n                              * `CALL_PARK` - Assigns the button as a call parking spot to park calls to with presence monitoring.\n                        position:\n                          type: integer\n                          description: The zero-based position of where this button appears in the group. Each button within a group must have a unique position.\n                        label:\n                          type: string\n                          maxLength: 255\n                          description: The button label to be displayed on the phone. This label is either the extension name or a custom label defined by the user.\n                        extensionId:\n                          type: string\n                          description: The referenced extension ID.\n                      required:\n                        - type\n                        - position\n                        - label\n                      example:\n                        type: SPEED_DIAL\n                        position: 0\n                        label: Human Resources\n                        extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                example:\n                  - type: LINE\n                    position: 0\n                    label: Finance\n                    extensionId: 458e38ae-f468-11eb-9a03-0242ac130003\n                  - type: SPEED_DIAL\n                    position: 1\n                    label: Human Resources\n                    extensionId: 12ed21de-9be4-4ca7-85d2-0f2356cacc83\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `INVALID_OPERATION_FOR_DEVICE` - Device button configuration is only permitted on provisioned devices.\n            * `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable\n            * `UNSUPPORTED_BUTTON_TYPE` - A type provided in the configuration list is invalid or not supported.\n            * `INVALID_EXTENSION_ID` - An extension ID provided in the configuration list is invalid.\n            * `INVALID_POSITION` - A position provided in the configuration list is invalid.\n            * `TOO_MANY_BUTTONS` - Maximum number of buttons exceeded.\n            * `INVALID_LABEL` - A label provided in the configuration list is invalid.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                message: Bad Request\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PUT',\n              url: 'https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/buttons-configuration',\n              data: [\n                {\n                  type: 'LINE',\n                  position: 0,\n                  label: 'Finance',\n                  extensionId: '458e38ae-f468-11eb-9a03-0242ac130003'\n                },\n                {\n                  type: 'SPEED_DIAL',\n                  position: 1,\n                  label: 'Human Resources',\n                  extensionId: '12ed21de-9be4-4ca7-85d2-0f2356cacc83'\n                }\n              ]\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PUT \\\n              --url https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/buttons-configuration \\\n              --header 'content-type: application/json' \\\n              --data '[{\"type\":\"LINE\",\"position\":0,\"label\":\"Finance\",\"extensionId\":\"458e38ae-f468-11eb-9a03-0242ac130003\"},{\"type\":\"SPEED_DIAL\",\"position\":1,\"label\":\"Human Resources\",\"extensionId\":\"12ed21de-9be4-4ca7-85d2-0f2356cacc83\"}]'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"[{\\\"type\\\":\\\"LINE\\\",\\\"position\\\":0,\\\"label\\\":\\\"Finance\\\",\\\"extensionId\\\":\\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"},{\\\"type\\\":\\\"SPEED_DIAL\\\",\\\"position\\\":1,\\\"label\\\":\\\"Human Resources\\\",\\\"extensionId\\\":\\\"12ed21de-9be4-4ca7-85d2-0f2356cacc83\\\"}]\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PUT\", \"/voice-admin/v1/devices/%7BdeviceId%7D/buttons-configuration\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('[{\"type\":\"LINE\",\"position\":0,\"label\":\"Finance\",\"extensionId\":\"458e38ae-f468-11eb-9a03-0242ac130003\"},{\"type\":\"SPEED_DIAL\",\"position\":1,\"label\":\"Human Resources\",\"extensionId\":\"12ed21de-9be4-4ca7-85d2-0f2356cacc83\"}]');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/buttons-configuration');\n            $request->setRequestMethod('PUT');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/devices/%7BdeviceId%7D/buttons-configuration\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Put.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"[{\\\"type\\\":\\\"LINE\\\",\\\"position\\\":0,\\\"label\\\":\\\"Finance\\\",\\\"extensionId\\\":\\\"458e38ae-f468-11eb-9a03-0242ac130003\\\"},{\\\"type\\\":\\\"SPEED_DIAL\\\",\\\"position\\\":1,\\\"label\\\":\\\"Human Resources\\\",\\\"extensionId\\\":\\\"12ed21de-9be4-4ca7-85d2-0f2356cacc83\\\"}]\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/device-models:\n    get:\n      operationId: getDeviceModels\n      summary: Get Device Models\n      description: |\n        Obtains a paginated list of available device models.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: pageMarker\n          in: query\n          description: The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n      tags:\n        - Devices\n      responses:\n        '200':\n          description: |\n            List of available device models.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          Optional next page marker value. To be used for fetching the next page via the `pageMarker` query parameter. If no more pages are available, then this field will be null.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          properties:\n                            id:\n                              type: string\n                              description: The device model ID.\n                            name:\n                              type: string\n                              description: The device model name.\n                          required:\n                            - id\n                            - name\n                          example:\n                            id: aastra.480i\n                            name: 480i\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of\n            `constraintViolation`s in the response that provide additional\n            details for the following cases:\n\n            * The `pageMarker` or `pageSize` is invalid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/device-models',\n              params: {pageMarker: 'SOME_STRING_VALUE', pageSize: 'SOME_INTEGER_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voice-admin/v1/device-models?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/device-models?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/device-models');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/device-models?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/locations:\n    get:\n      operationId: getLocations\n      summary: Get Locations\n      description: |\n        Obtains a paginated list of available locations (both emergency and non-emergency).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - in: query\n          name: accountKey\n          description: This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\n          required: false\n          schema:\n            type: string\n          example: '1956177422157042821'\n        - name: pageMarker\n          in: query\n          description: The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n      tags:\n        - Locations\n      responses:\n        '200':\n          description: |\n            List of available locations. Will return an empty list if the user doesn't have the permission \n            for the given account or the given account is not found.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          Optional next page marker value. To be used for fetching the next page via the `pageMarker` query parameter. If no more pages are available, then this field will be null.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          properties:\n                            id:\n                              type: string\n                              description: The location identifier key.\n                            name:\n                              properties:\n                                name:\n                                  type: string\n                                  description: The name of the location.\n                            address:\n                              description: The address of the location.\n                              type: object\n                              properties:\n                                line1:\n                                  type: string\n                                  description: The first line of the location address.\n                                line2:\n                                  type: string\n                                  description: The second line of the location address.\n                                city:\n                                  type: string\n                                  description: The location city.\n                                state:\n                                  type: string\n                                  description: The location state.\n                                postalCode:\n                                  type: string\n                                  description: The postal code or ZIP code for this location.\n                                country:\n                                  type: string\n                                  description: The location country. ISO 3166-1 alpha-2, two-letter country code format.\n                              example:\n                                line1: 320 Summer St\n                                line2: ''\n                                city: Boston\n                                state: MA\n                                postalCode: '02210'\n                                country: US\n                            usedForEmergencyServices:\n                              properties:\n                                usedForEmergencyServices:\n                                  type: boolean\n                                  description: Indicates whether this location is used or not to propagate address and callback phone number information to emergency services. If true, then `callbackPhoneNumber` will always be present.\n                            callbackPhoneNumber:\n                              description: The callback phone number for this location.\n                              type: object\n                              properties:\n                                number:\n                                  type: string\n                                  description: The callback phone number in E164 format.\n                                  format: e164\n                              example:\n                                number: '+15145552672'\n                          required:\n                            - id\n                            - name\n                            - address\n                            - usedForEmergencyServices\n                          example:\n                            id: '3333'\n                            name: GoTo Headquarters\n                            address:\n                              line1: 320 Summer St\n                              line2: ''\n                              city: Boston\n                              state: MA\n                              postalCode: '02210'\n                              country: US\n                            usedForEmergencyServices: true\n                            callbackPhoneNumber:\n                              number: '+15145552672'\n        '400':\n          description: |\n            The request could not be completed due to missing mandatory fields. This API \n            returns a number of `constraintViolation`s in the response that provide additional\n            details for the following cases:\n\n            * The `pageMarker` or `pageSize` is invalid\n            * `accountKey` is missing\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\n                constraintViolations:\n                  - field: accountKey\n                    constraint: REQUIRED\n                  - field: pageMarker\n                    constraint: INVALID\n                  - field: pageSize\n                    constraint: INVALID\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/locations',\n              params: {\n                accountKey: '1956177422157042821',\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voice-admin/v1/locations?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/locations?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/locations');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => '1956177422157042821',\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/locations?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    post:\n      operationId: createLocation\n      summary: Create a Location\n      description: |\n        Creates a new non-emergency Location for an account.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                name:\n                  type: string\n                  description: The name of the location.\n                address:\n                  description: The address of the location.\n                  type: object\n                  properties:\n                    line1:\n                      type: string\n                      description: The first line of the location address.\n                    line2:\n                      type: string\n                      description: The second line of the location address.\n                    city:\n                      type: string\n                      description: The location city.\n                    state:\n                      type: string\n                      description: The location state.\n                    postalCode:\n                      type: string\n                      description: The postal code or ZIP code for this location.\n                    country:\n                      type: string\n                      description: The location country. ISO 3166-1 alpha-2, two-letter country code format.\n                  example:\n                    line1: 320 Summer St\n                    line2: ''\n                    city: Boston\n                    state: MA\n                    postalCode: '02210'\n                    country: US\n                accountKey:\n                  type: string\n                  description: Identifier of an account to which this location should be associated.\n              required:\n                - name\n                - address\n                - accountKey\n              example:\n                name: GoTo Headquarters\n                address:\n                  line1: 320 Summer St\n                  line2: ''\n                  city: Boston\n                  state: MA\n                  postalCode: '02210'\n                  country: US\n                accountKey: '1956177422157042821'\n      tags:\n        - Locations\n      responses:\n        '201':\n          description: |\n            The location was created.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - properties:\n                      id:\n                        type: string\n                        description: The location identifier key.\n                      name:\n                        type: string\n                        description: The name of the location.\n                      address:\n                        description: The address of the location.\n                        type: object\n                        properties:\n                          line1:\n                            type: string\n                            description: The first line of the location address.\n                          line2:\n                            type: string\n                            description: The second line of the location address.\n                          city:\n                            type: string\n                            description: The location city.\n                          state:\n                            type: string\n                            description: The location state.\n                          postalCode:\n                            type: string\n                            description: The postal code or ZIP code for this location.\n                          country:\n                            type: string\n                            description: The location country. ISO 3166-1 alpha-2, two-letter country code format.\n                        example:\n                          line1: 320 Summer St\n                          line2: ''\n                          city: Boston\n                          state: MA\n                          postalCode: '02210'\n                          country: US\n                      usedForEmergencyServices:\n                        type: boolean\n                        description: Indicates whether this location is used for emergency services. Will always be false for now.\n                    required:\n                      - id\n                      - name\n                      - address\n                      - usedForEmergencyServices\n                    example:\n                      id: '3333'\n                      name: GoTo Headquarters\n                      address:\n                        line1: 320 Summer St\n                        line2: ''\n                        city: Boston\n                        state: MA\n                        postalCode: '02210'\n                        country: US\n                      usedForEmergencyServices: false\n                  - type: object\n                    properties:\n                      accountKey:\n                        type: string\n                        description: Identifier of an account.\n                        example: '1956177422157'\n                    required:\n                      - accountKey\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of\n            `errorCode` values in the response that provide additional details.\n\n            * `BAD_REQUEST` - The request is invalid\n\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n\n            * `INVALID_ACCOUNT_KEY` - The account key is unknown or invalid.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                message: Bad Request\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voice-admin/v1/locations',\n              data: {\n                name: 'GoTo Headquarters',\n                address: {\n                  line1: '320 Summer St',\n                  line2: '',\n                  city: 'Boston',\n                  state: 'MA',\n                  postalCode: '02210',\n                  country: 'US'\n                },\n                accountKey: '1956177422157042821'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voice-admin/v1/locations \\\n              --header 'content-type: application/json' \\\n              --data '{\"name\":\"GoTo Headquarters\",\"address\":{\"line1\":\"320 Summer St\",\"line2\":\"\",\"city\":\"Boston\",\"state\":\"MA\",\"postalCode\":\"02210\",\"country\":\"US\"},\"accountKey\":\"1956177422157042821\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"name\\\":\\\"GoTo Headquarters\\\",\\\"address\\\":{\\\"line1\\\":\\\"320 Summer St\\\",\\\"line2\\\":\\\"\\\",\\\"city\\\":\\\"Boston\\\",\\\"state\\\":\\\"MA\\\",\\\"postalCode\\\":\\\"02210\\\",\\\"country\\\":\\\"US\\\"},\\\"accountKey\\\":\\\"1956177422157042821\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/voice-admin/v1/locations\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"name\":\"GoTo Headquarters\",\"address\":{\"line1\":\"320 Summer St\",\"line2\":\"\",\"city\":\"Boston\",\"state\":\"MA\",\"postalCode\":\"02210\",\"country\":\"US\"},\"accountKey\":\"1956177422157042821\"}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/locations');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/locations\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"name\\\":\\\"GoTo Headquarters\\\",\\\"address\\\":{\\\"line1\\\":\\\"320 Summer St\\\",\\\"line2\\\":\\\"\\\",\\\"city\\\":\\\"Boston\\\",\\\"state\\\":\\\"MA\\\",\\\"postalCode\\\":\\\"02210\\\",\\\"country\\\":\\\"US\\\"},\\\"accountKey\\\":\\\"1956177422157042821\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/locations/{locationId}:\n    delete:\n      operationId: deleteLocation\n      summary: Delete a location\n      description: |\n        Removes the specified non-emergency location.\n        Note that all users and devices assigned to the location will automatically be unassigned.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: locationId\n          in: path\n          description: The location's unique identifier.\n          required: true\n          schema:\n            type: string\n      tags:\n        - Locations\n      responses:\n        '204':\n          description: The location has been deleted.\n        '400':\n          description: |\n            The request cannot be processed. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNSUPPORTED_LOCATION_TYPE` - Will be returned if the client tries to delete an emergency location eg. if `usedForEmergencyServices` is true on the given location.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNSUPPORTED_LOCATION_TYPE\n                message: The location type is not supported for this action\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/voice-admin/v1/locations/%7BlocationId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    patch:\n      operationId: updateLocation\n      summary: Update a Location\n      description: |\n        Update a specific location general settings.\n\n        Only non-emergency locations can be updated for now.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: locationId\n          in: path\n          description: The location's unique identifier.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                name:\n                  type: string\n                  description: The name of the location.\n                address:\n                  description: The address of the location.\n                  type: object\n                  properties:\n                    line1:\n                      type: string\n                      description: The first line of the location address.\n                    line2:\n                      type: string\n                      description: The second line of the location address.\n                    city:\n                      type: string\n                      description: The location city.\n                    state:\n                      type: string\n                      description: The location state.\n                    postalCode:\n                      type: string\n                      description: The postal code or ZIP code for this location.\n                    country:\n                      type: string\n                      description: The location country. ISO 3166-1 alpha-2, two-letter country code format.\n                  example:\n                    line1: 320 Summer St\n                    line2: ''\n                    city: Boston\n                    state: MA\n                    postalCode: '02210'\n                    country: US\n              example:\n                name: GoTo Headquarters\n                address:\n                  line1: 320 Summer St\n                  line2: ''\n                  city: Boston\n                  state: MA\n                  postalCode: '02210'\n                  country: US\n      tags:\n        - Locations\n      responses:\n        '200':\n          description: The location general settings has been updated.\n          content:\n            application/json:\n              schema:\n                properties:\n                  id:\n                    type: string\n                    description: The location identifier key.\n                  name:\n                    type: string\n                    description: The name of the location.\n                  address:\n                    description: The address of the location.\n                    type: object\n                    properties:\n                      line1:\n                        type: string\n                        description: The first line of the location address.\n                      line2:\n                        type: string\n                        description: The second line of the location address.\n                      city:\n                        type: string\n                        description: The location city.\n                      state:\n                        type: string\n                        description: The location state.\n                      postalCode:\n                        type: string\n                        description: The postal code or ZIP code for this location.\n                      country:\n                        type: string\n                        description: The location country. ISO 3166-1 alpha-2, two-letter country code format.\n                    example:\n                      line1: 320 Summer St\n                      line2: ''\n                      city: Boston\n                      state: MA\n                      postalCode: '02210'\n                      country: US\n                  usedForEmergencyServices:\n                    type: boolean\n                    description: Indicates whether this location is used with emergency services. Will always be false for now.\n                  accountKey:\n                    type: string\n                    description: Identifier of an account.\n                    example: '1956177422157'\n                required:\n                  - id\n                  - name\n                  - address\n                  - usedForEmergencyServices\n                  - accountKey\n                example:\n                  id: '3333'\n                  name: GoTo Headquarters\n                  address:\n                    line1: 320 Summer St\n                    line2: ''\n                    city: Boston\n                    state: MA\n                    postalCode: '02210'\n                    country: US\n                  usedForEmergencyServices: false\n                  accountKey: '1956177422157'\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `BAD_REQUEST` - The request is invalid\n            * `MISSING_MANDATORY_FIELDS` - One mandatory field is missing in your request\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable\n            * `UNSUPPORTED_LOCATION_TYPE` - Will be returned if the client tries to update an emergency location eg. if `usedForEmergencyServices` is true on the given location.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                message: Bad Request\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D',\n              data: {\n                name: 'GoTo Headquarters',\n                address: {\n                  line1: '320 Summer St',\n                  line2: '',\n                  city: 'Boston',\n                  state: 'MA',\n                  postalCode: '02210',\n                  country: 'US'\n                }\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D \\\n              --header 'content-type: application/json' \\\n              --data '{\"name\":\"GoTo Headquarters\",\"address\":{\"line1\":\"320 Summer St\",\"line2\":\"\",\"city\":\"Boston\",\"state\":\"MA\",\"postalCode\":\"02210\",\"country\":\"US\"}}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"name\\\":\\\"GoTo Headquarters\\\",\\\"address\\\":{\\\"line1\\\":\\\"320 Summer St\\\",\\\"line2\\\":\\\"\\\",\\\"city\\\":\\\"Boston\\\",\\\"state\\\":\\\"MA\\\",\\\"postalCode\\\":\\\"02210\\\",\\\"country\\\":\\\"US\\\"}}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PATCH\", \"/voice-admin/v1/locations/%7BlocationId%7D\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"name\":\"GoTo Headquarters\",\"address\":{\"line1\":\"320 Summer St\",\"line2\":\"\",\"city\":\"Boston\",\"state\":\"MA\",\"postalCode\":\"02210\",\"country\":\"US\"}}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"name\\\":\\\"GoTo Headquarters\\\",\\\"address\\\":{\\\"line1\\\":\\\"320 Summer St\\\",\\\"line2\\\":\\\"\\\",\\\"city\\\":\\\"Boston\\\",\\\"state\\\":\\\"MA\\\",\\\"postalCode\\\":\\\"02210\\\",\\\"country\\\":\\\"US\\\"}}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/locations/{locationId}/users:\n    get:\n      operationId: getUsersForLocation\n      summary: Get Users for Location\n      description: |\n        Obtains a paginated list of users for a given location.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: locationId\n          in: path\n          description: The location's unique identifier.\n          required: true\n          schema:\n            type: string\n        - name: pageMarker\n          in: query\n          description: The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n      tags:\n        - Locations\n      responses:\n        '200':\n          description: |\n            List of users for the given location. Will return a 404 if the user doesn't have the permission \n            for the given location or the given location is not found.\n          content:\n            application/json:\n              schema:\n                type: object\n                properties:\n                  items:\n                    type: array\n                    items:\n                      properties:\n                        userKey:\n                          type: string\n                          description: The unique user key.\n                      example:\n                        userKey: '311416'\n        '400':\n          description: |\n            * The `pageMarker` is invalid\n            * The `pageSize` is invalid\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\n                constraintViolations:\n                  - field: pageMarker\n                    constraint: INVALID\n                  - field: pageSize\n                    constraint: INVALID\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/users',\n              params: {pageMarker: 'SOME_STRING_VALUE', pageSize: 'SOME_INTEGER_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/users?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/locations/%7BlocationId%7D/users?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/users');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/users?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    post:\n      operationId: assignUserToLocation\n      summary: Assign User to a Location\n      description: |\n        Assign a user to a specific location.\n\n        * A user can only be assigned to a single location.\n\n        * If a user is already assigned to a location and is requested to be assigned to another one, \n        the user will be unassigned from that location first and then assigned to the new location.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: locationId\n          in: path\n          description: The location's unique identifier.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                userKey:\n                  type: string\n                  description: The unique user key.\n              example:\n                userKey: '311416'\n      tags:\n        - Locations\n      responses:\n        '200':\n          description: |\n            The list of users assigned for the given location has been updated.\n          content:\n            application/json:\n              schema:\n                description: A collection that contains a single result.\n                allOf:\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          properties:\n                            userKey:\n                              type: string\n                              description: The unique user key.\n                          example:\n                            userKey: '311416'\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `INVALID_USER_KEY` - The user key is invalid\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_USER_KEY\n                message: The user key is invalid.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/users',\n              data: {userKey: '311416'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/users \\\n              --header 'content-type: application/json' \\\n              --data '{\"userKey\":\"311416\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"userKey\\\":\\\"311416\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/voice-admin/v1/locations/%7BlocationId%7D/users\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"userKey\":\"311416\"}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/users');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/users\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"userKey\\\":\\\"311416\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/locations/{locationId}/users/{userKey}:\n    delete:\n      operationId: removeUserFromLocation\n      summary: Remove Assigned User from a Location\n      description: |\n        Removes an assigned user from a specific location.\n\n        * Users that are assigned to emergency locations cannot be removed.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: locationId\n          in: path\n          description: The location's unique identifier.\n          required: true\n          schema:\n            type: string\n        - name: userKey\n          in: path\n          description: The unique user key.\n          required: true\n          schema:\n            type: string\n          example: '311416'\n      tags:\n        - Locations\n      responses:\n        '204':\n          description: The user has been removed from location.\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNSUPPORTED_LOCATION_TYPE` - Will be returned if the client tries to remove a resource from an emergency location eg. if `usedForEmergencyServices` is true on the given location.\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNSUPPORTED_LOCATION_TYPE\n                message: Emergency location assignment cannot be deleted\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/users/311416'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/users/311416\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/voice-admin/v1/locations/%7BlocationId%7D/users/311416\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/users/311416');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/users/311416\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/locations/{locationId}/devices:\n    get:\n      operationId: getDevicesForLocation\n      summary: Get Devices for Location\n      description: |\n        Obtains a paginated list of devices assigned to a given location.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: locationId\n          in: path\n          description: The location's unique identifier.\n          required: true\n          schema:\n            type: string\n        - name: pageMarker\n          in: query\n          description: The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n      tags:\n        - Locations\n      responses:\n        '200':\n          description: |\n            List of devices assigned to the given location. Will return a 404 if the user doesn't have the permission \n            for the given location or the given location is not found.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          Optional next page marker value. To be used for fetching the next page via the `pageMarker` query parameter. If no more pages are available, then this field will be null.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          properties:\n                            id:\n                              type: string\n                              description: The device unique identifier.\n                              example: 74ac74f0-1cb6-4daf-bc13-52f12932e3eb\n        '400':\n          description: |\n            * The `pageMarker` is invalid\n            * The `pageSize` is invalid\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\n                constraintViolations:\n                  - field: pageMarker\n                    constraint: INVALID\n                  - field: pageSize\n                    constraint: INVALID\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/devices',\n              params: {pageMarker: 'SOME_STRING_VALUE', pageSize: 'SOME_INTEGER_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/devices?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/locations/%7BlocationId%7D/devices?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/devices');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/devices?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    post:\n      operationId: assignDeviceToLocation\n      summary: Assign Device to a Location\n      description: |\n        Assign a device to a specific location.\n\n        * A device may only be assigned to a single location.\n\n        * If a device is already assigned to a location and is requested to be assigned to another one, \n        the device will be unassigned from that location first and then assigned to the new location.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: locationId\n          in: path\n          description: The location's unique identifier.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                deviceId:\n                  type: string\n                  description: The unique device id.\n              example:\n                deviceId: 983ca2ee-aac8-4dd1-a944-bedeb5885d5f\n      tags:\n        - Locations\n      responses:\n        '200':\n          description: |\n            The list of devices assigned for the given location has been updated.\n          content:\n            application/json:\n              schema:\n                description: A collection that contains a single result.\n                allOf:\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          properties:\n                            id:\n                              type: string\n                              description: The device unique identifier.\n                              example: 74ac74f0-1cb6-4daf-bc13-52f12932e3eb\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `INVALID_DEVICE_ID` - The device id is invalid\n            * `BAD_REQUEST` - Missing or invalid mandatory fields in the request\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_DEVICE_ID | BAD_REQUEST\n                message: The device key is invalid. | \"Provided parameter(s) must be valid\"\n                constraintViolations:\n                  - field: deviceId\n                    constraint: REQUIRED\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/devices',\n              data: {deviceId: '983ca2ee-aac8-4dd1-a944-bedeb5885d5f'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/devices \\\n              --header 'content-type: application/json' \\\n              --data '{\"deviceId\":\"983ca2ee-aac8-4dd1-a944-bedeb5885d5f\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"deviceId\\\":\\\"983ca2ee-aac8-4dd1-a944-bedeb5885d5f\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/voice-admin/v1/locations/%7BlocationId%7D/devices\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"deviceId\":\"983ca2ee-aac8-4dd1-a944-bedeb5885d5f\"}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/devices');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/devices\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"deviceId\\\":\\\"983ca2ee-aac8-4dd1-a944-bedeb5885d5f\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/locations/{locationId}/devices/{deviceId}:\n    delete:\n      operationId: removeDeviceFromLocation\n      summary: Remove Assigned Device from a Location\n      description: |\n        Removes an assigned device from a specific location.\n\n        * Devices that are assigned to emergency locations cannot be removed.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: locationId\n          in: path\n          description: The location's unique identifier.\n          required: true\n          schema:\n            type: string\n        - name: deviceId\n          in: path\n          description: The device's unique identifier.\n          required: true\n          schema:\n            type: string\n      tags:\n        - Locations\n      responses:\n        '204':\n          description: The device has been removed from location.\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNSUPPORTED_LOCATION_TYPE_OPERATION` - Will be returned if the client tries to remove a resource from an emergency location eg. if `usedForEmergencyServices` is true on the given location.\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNSUPPORTED_LOCATION_TYPE_OPERATION\n                message: Resources cannot be removed from an emergency location.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/devices/%7BdeviceId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/devices/%7BdeviceId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/voice-admin/v1/locations/%7BlocationId%7D/devices/%7BdeviceId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/devices/%7BdeviceId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/locations/%7BlocationId%7D/devices/%7BdeviceId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/billing-groups:\n    get:\n      operationId: getBillingGroups\n      summary: Get Billing Groups\n      description: |\n        Obtains a paginated list of available billing groups.\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - in: query\n          name: accountKey\n          description: This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\n          required: false\n          schema:\n            type: string\n          example: '1956177422157042821'\n        - name: pageMarker\n          in: query\n          description: The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n      tags:\n        - Billing Groups\n      responses:\n        '200':\n          description: |\n            List of available billing groups. Will return an empty list if the user doesn't have the permission \n            for the given account or the given account is not found.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          Optional next page marker value. To be used for fetching the next page via the `pageMarker` query parameter. If no more pages are available, then this field will be null.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          properties:\n                            id:\n                              type: string\n                              description: The billing group unique identifier.\n                            name:\n                              type: string\n                              description: The name of the billing group.\n                          required:\n                            - id\n                            - name\n                          example:\n                            id: 12ed21de-9be4-4ca7-85d2-0f2356cacc83\n                            name: GoTo Billing Group\n        '400':\n          description: |\n            The request could not be completed due to missing mandatory fields. This API \n            returns a number of `constraintViolation`s in the response that provide additional\n            details for the following cases:\n\n            * The `pageMarker` or `pageSize` is invalid\n            * `accountKey` is missing\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\n                constraintViolations:\n                  - field: accountKey\n                    constraint: INVALID\n                  - field: pageMarker\n                    constraint: INVALID\n                  - field: pageSize\n                    constraint: INVALID\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n             \n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET) the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/billing-groups',\n              params: {\n                accountKey: '1956177422157042821',\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voice-admin/v1/billing-groups?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/billing-groups?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/billing-groups');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => '1956177422157042821',\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/billing-groups?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/call-queues:\n    get:\n      operationId: getCallQueues\n      summary: Get Call Queues\n      tags:\n        - Call Queues\n      description: |\n        Retrieve a list of call queues with the details.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - in: query\n          name: accountKey\n          description: This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\n          required: false\n          schema:\n            type: string\n          example: '1956177422157042821'\n        - name: pageMarker\n          in: query\n          description: The opaque identifier representing a valid marker for the desired page. The returned `nextPageMarker` from a paginated collection is normally used here to fetch the next page. Default to first page when not provided.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n      responses:\n        '200':\n          description: |\n            List of call queues and their details.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          Optional next page marker value. To be used for fetching the next page via the `pageMarker` query parameter. If no more pages are available, then this field will be null.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          properties:\n                            id:\n                              type: string\n                              description: The call queue ID.\n                            extensionNumber:\n                              type: string\n                              description: The extension number.\n                            name:\n                              type: string\n                              description: The call queue name.\n                            type:\n                              type: string\n                              description: |\n                                The string enum type. \n                                - BASIC: Represents a basic type.\n                                - ICR: Represents an intelligent call routing type.\n                              enum:\n                                - BASIC\n                                - ICR\n                          required:\n                            - id\n                            - extensionNumber\n                            - name\n                            - type\n                          example:\n                            id: 899da65f-3d82-4e1b-b285-354a14b4b0f0\n                            extensionNumber: '1234'\n                            name: Call Queue\n                            type: BASIC\n        '400':\n          description: |\n            The request could not be completed due to missing mandatory fields. This API \n            returns a number of `constraintViolation`s in the response that provide additional\n            details for the following cases:\n\n            * The `pageMarker` or `pageSize` is invalid\n            * `accountKey` is missing\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\n                constraintViolations:\n                  - field: accountKey\n                    constraint: REQUIRED\n                  - field: pageMarker\n                    constraint: INVALID\n                  - field: pageSize\n                    constraint: INVALID\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/call-queues',\n              params: {\n                accountKey: '1956177422157042821',\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voice-admin/v1/call-queues?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/call-queues?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/call-queues');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => '1956177422157042821',\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/call-queues?accountKey=1956177422157042821&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/call-queues/{callQueueId}/users:\n    post:\n      operationId: loginUserToCallQueue\n      summary: Log a User into a Specific Call Queue\n      tags:\n        - Call Queues\n      description: |\n        Log in a user to the call queue.\n        The user must be active for the request to be valid.\n        This will link the user's primary extension to the call queue. Incoming calls will be taken from the GoTo app only.\n        *ALL devices assigned to the user will be logged into the call queue.*\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: callQueueId\n          in: path\n          description: The call queue's unique identifier.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              properties:\n                userKey:\n                  type: string\n                  description: The unique user key.\n              required:\n                - userKey\n              example:\n                userKey: '5277010418967541911'\n      responses:\n        '204':\n          description: The user was logged in to the call queue\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `INVALID_USER_KEY` - The user key is invalid.\n            * `NOT_FOUND_DEVICES` -  Unable to find devices associated for the given request.\n            * `NOT_FOUND_LINES` - Unable to find lines associated for the given request.\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n            * `CALL_QUEUE_USER_LOGIN_FAILED` - The user could not be logged to the call queue.\n            * `CALL_QUEUE_USER_LIMIT` - Maximum number of logged users into the call queue has been reached.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_USER_KEY\n                message: The user key is invalid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voice-admin/v1/call-queues/%7BcallQueueId%7D/users',\n              data: {userKey: '5277010418967541911'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voice-admin/v1/call-queues/%7BcallQueueId%7D/users \\\n              --header 'content-type: application/json' \\\n              --data '{\"userKey\":\"5277010418967541911\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"userKey\\\":\\\"5277010418967541911\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/voice-admin/v1/call-queues/%7BcallQueueId%7D/users\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"userKey\":\"5277010418967541911\"}');\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/call-queues/%7BcallQueueId%7D/users');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/call-queues/%7BcallQueueId%7D/users\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"userKey\\\":\\\"5277010418967541911\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      operationId: getCallQueueLoggedInUsers\n      summary: Get Users Logged-In for a Specific Call Queue\n      tags:\n        - Call Queues\n      description: |\n        Obtains a paginated list of users logged in for a given call queue.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: callQueueId\n          in: path\n          description: The call queue's unique identifier.\n          required: true\n          schema:\n            type: string\n      responses:\n        '200':\n          description: |\n            List of users assigned to the given call queue.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          properties:\n                            userKey:\n                              type: string\n                              description: The unique user key.\n                          required:\n                            - userKey\n                          example:\n                            userKey: '5277010418967541911'\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/call-queues/%7BcallQueueId%7D/users'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/voice-admin/v1/call-queues/%7BcallQueueId%7D/users\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/call-queues/%7BcallQueueId%7D/users\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/call-queues/%7BcallQueueId%7D/users');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/call-queues/%7BcallQueueId%7D/users\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/call-queues/{callQueueId}/users/{userKey}:\n    delete:\n      operationId: logoutUserFromCallQueue\n      summary: Log a User out of a Specific Call Queue\n      tags:\n        - Call Queues\n      description: |\n        Log out a user out of the call queue.\n        The user must be active for the request to be valid.\n        This will unlink the user's primary extension from the call queue. The user will no longer receive calls from this call queue.\n        *ALL devices assigned to the user will be logged out of the call queue.*\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: callQueueId\n          in: path\n          description: The call queue's unique identifier.\n          required: true\n          schema:\n            type: string\n        - name: userKey\n          in: path\n          description: The unique user key.\n          required: true\n          schema:\n            type: string\n      responses:\n        '204':\n          description: The user was logged in to the call queue\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `INVALID_USER_KEY` - The user key is invalid.\n            * `NOT_FOUND_DEVICES` -  Unable to find devices associated for the given request.\n            * `NOT_FOUND_LINES` - Unable to find lines associated for the given request.\n            * `MALFORMED_REQUEST` - The request is malformed and not interpretable.\n            * `CALL_QUEUE_USER_LOGOUT_FAILED` - The user could not be logged out from the call queue.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_USER_KEY\n                message: The user key is invalid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/voice-admin/v1/call-queues/%7BcallQueueId%7D/users/%7BuserKey%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/voice-admin/v1/call-queues/%7BcallQueueId%7D/users/%7BuserKey%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/voice-admin/v1/call-queues/%7BcallQueueId%7D/users/%7BuserKey%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/call-queues/%7BcallQueueId%7D/users/%7BuserKey%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/call-queues/%7BcallQueueId%7D/users/%7BuserKey%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voice-admin/v1/sms-registrations:\n    get:\n      operationId: getSmsRegistrations\n      summary: Get SMS Registrations\n      tags:\n        - SMS Registrations\n      description: |\n        Get details about the SMS registrations linked to a given account.\n\n        To use this API, the authenticated user must be an [admin](https://support.goto.com/connect/help/how-do-i-give-a-user-and-user-group-admin-permissions) \n        or [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions).\n\n        ### Authentication Scopes\n\n        `voice-admin.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - in: query\n          name: accountKey\n          description: This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\n          required: false\n          schema:\n            type: string\n          example: '1956177422157042821'\n      responses:\n        '200':\n          description: |\n            List of SMS registrations and their details.\n          content:\n            application/json:\n              schema:\n                type: object\n                properties:\n                  items:\n                    type: array\n                    items:\n                      properties:\n                        brandStatus:\n                          type: string\n                          description: |\n                            The status of the SMS brand.\n                          enum:\n                            - FAILED\n                            - IN_PROGRESS\n                            - WAITING\n                            - REJECTED\n                            - REGISTERED\n                        campaignStatus:\n                          type: string\n                          description: |\n                            The status of the SMS campaign.\n                          enum:\n                            - FAILED\n                            - IN_PROGRESS\n                            - WAITING\n                            - REJECTED\n                            - REGISTERED\n                      required:\n                        - brandStatus\n                      example:\n                        campaignStatus: REGISTERED\n                        brandStatus: REGISTERED\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of\n            `errorCode` values in the response that provide additional details.\n\n            * `INVALID_ACCOUNT_KEY` - The account key is invalid or is missing.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: INVALID_ACCOUNT_KEY\n                message: Invalid account key [123456789].\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voice-admin/v1/sms-registrations',\n              params: {accountKey: '1956177422157042821'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voice-admin/v1/sms-registrations?accountKey=1956177422157042821'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voice-admin/v1/sms-registrations?accountKey=1956177422157042821\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voice-admin/v1/sms-registrations');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => '1956177422157042821'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voice-admin/v1/sms-registrations?accountKey=1956177422157042821\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voicemail/v1/voicemailboxes:\n    get:\n      summary: |\n        Get voicemail boxes\n      description: |\n        Returns the IDs of the voicemail boxes which the user can access.\n\n        Can be optionally filtered by extension number to which the voicemail box belongs. If no \n        extension number is specified, all the voicemail boxes the user can access will be returned.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.voicemails.read` must be used when a token is requested from the Authentication API.\n\n        ### Example request\n\n        ```\n        curl -X GET \\\n          \"https://api.goto.com/voicemail/v1/voicemailboxes?accountKey=2930718022414574861&extensionNumber=1243\" \\\n          -H 'Authorization: Bearer {auth-token}'\n        ```\n\n        A `400 Bad Request` is returned if the `accountKey` is missing.  \n        A `403 Forbidden` is returned if the user doesn't have access to either the `accountKey` \n        or the `extensionNumber`.\n      operationId: fetchVoicemailbox\n      tags:\n        - Voicemailbox\n      parameters:\n        - name: organizationId\n          in: query\n          description: |\n            The ID of the organization associated with the voicemailbox.\n          schema:\n            type: string\n        - name: accountKey\n          in: query\n          description: |\n            The account key associated with the voicemailbox.\n          schema:\n            type: string\n        - name: extensionNumber\n          in: query\n          description: |\n            The extension number of the user in the organization.\n          required: false\n          schema:\n            type: string\n        - name: pageMarker\n          in: query\n          description: |\n            The returned nextPageMarker from a Paginated Collection is used here to fetch the starting \n            item for the paginated result.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n      responses:\n        '200':\n          description: The list of voicemail boxes accessible by the user.\n          content:\n            application/json:\n              schema:\n                description: List of voicemailboxes segmented by page.\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned \n                      results. This collection uses a string based page marker as value to fetch the next result \n                      page.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          The next page marker value, to be used for fetching the next page via the PageMarker \n                          query parameter.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        description: List of voicemailboxes.\n                        type: array\n                        items:\n                          type: object\n                          description: |\n                            The voicemailbox of the user.\n                          properties:\n                            voicemailboxId:\n                              description: The ID of the voicemailbox.\n                              type: string\n                              example: 606d12ff-9482-4ff0-8971-95133ffc47d1\n                            organizationId:\n                              description: The ID of the organization associated with this voicemailbox.\n                              type: string\n                              example: be342206-96ac-482b-bd2d-5fb317e7daa1\n                            accountKey:\n                              description: The account key associated with this voicemailbox.\n                              type: string\n                              example: '2930718022414574861'\n                            extensionNumber:\n                              description: The extension number associated with this voicemailbox.\n                              type: string\n                              example: '1243'\n                            lastUpdatedTimestamp:\n                              description: Last timestamp that the voicemailbox was modified.\n                              type: string\n                              format: date-time\n                            newMessageCount:\n                              description: Number of new messages in the voicemailbox.\n                              type: integer\n                              minimum: 0\n                              example: 0\n                            readMessageCount:\n                              description: Number of read messages in the voicemailbox.\n                              type: integer\n                              minimum: 0\n                              example: 0\n                          required:\n                            - voicemailboxId\n                            - organizationId\n                            - accountKey\n                            - extensionNumber\n                            - lastUpdatedTimestamp\n                            - newMessageCount\n                            - readMessageCount\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voicemail/v1/voicemailboxes',\n              params: {\n                organizationId: 'SOME_STRING_VALUE',\n                accountKey: 'SOME_STRING_VALUE',\n                extensionNumber: 'SOME_STRING_VALUE',\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voicemail/v1/voicemailboxes?organizationId=SOME_STRING_VALUE&accountKey=SOME_STRING_VALUE&extensionNumber=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voicemail/v1/voicemailboxes?organizationId=SOME_STRING_VALUE&accountKey=SOME_STRING_VALUE&extensionNumber=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/voicemailboxes');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'organizationId' => 'SOME_STRING_VALUE',\n              'accountKey' => 'SOME_STRING_VALUE',\n              'extensionNumber' => 'SOME_STRING_VALUE',\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/voicemailboxes?organizationId=SOME_STRING_VALUE&accountKey=SOME_STRING_VALUE&extensionNumber=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voicemail/v1/voicemailboxes/{voicemailboxId}/voicemails:\n    parameters:\n      - in: path\n        name: voicemailboxId\n        description: |\n          The ID of the voicemailbox to query.\n        required: true\n        schema:\n          type: string\n    get:\n      summary: |\n        Get voicemails\n      description: |\n        Returns the voicemails belonging to the supplied voicemail box ID.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.voicemails.read` must be used when a token is requested from the Authentication API.\n\n        ### Example request\n\n        ```\n        curl -X GET \\\n          https://api.goto.com/voicemail/v1/voicemailboxes/606d12ff-9482-4ff0-8971-95133ffc47d1/voicemails \\\n          -H 'Authorization: Bearer {auth-token}'\n        ```\n      operationId: fetchVoicemails\n      tags:\n        - Voicemail\n      parameters:\n        - name: page\n          in: query\n          description: |\n            The zero-based integer page index from a PageableCollection that is used to fetch the \n            corresponding page from the paginated result.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 0\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n        - name: status\n          in: query\n          description: |\n            The status of the voicemail.\n          required: false\n          schema:\n            description: |\n              Status of a voicemail entity.\n              This field can contain any of these values:\n                - NEW: A voicemail was created or unread.\n                - READ: A voicemail was read or unarchived.\n                - DELETED: A voicemail was deleted.\n            type: string\n            enum:\n              - NEW\n              - READ\n              - DELETED\n            example: NEW\n        - name: sort\n          in: query\n          description: |\n            Sorts the list of voicemails by the given fields. Prefix with an ordering command, either\n            `+` for ascending or `-` for descending.\n\n            Accepted sort values are:\n            - `timestamp`\n            - `status`\n          required: false\n          schema:\n            type: string\n            default: +timestamp\n      responses:\n        '200':\n          description: The list of voicemails in a user voicemailbox.\n          content:\n            application/json:\n              schema:\n                description: List of voicemails segmented by page.\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned \n                      results. This collection uses a zero-based index as the page number, a pageSize value as the \n                      maximum number of values returned in a single page and a matchesTotal value to specify the \n                      total number of items returned by the query.\n                    properties:\n                      page:\n                        type: integer\n                        description: The zero-based integer that represents the index of the page in the response.\n                        example: 0\n                      pageSize:\n                        type: integer\n                        description: The page size used in the response.\n                        example: 10\n                      matchesTotal:\n                        type: integer\n                        description: The number of items from the collection that match the given query.\n                        example: 100\n                  - type: object\n                    properties:\n                      items:\n                        description: List of voicemails.\n                        type: array\n                        items:\n                          type: object\n                          description: |\n                            A voicemail associated with a user voicemailbox.\n                          properties:\n                            voicemailId:\n                              description: The ID of the voicemail.\n                              type: string\n                              example: djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\n                            voicemailboxId:\n                              description: The ID of the voicemailbox.\n                              type: string\n                              example: 606d12ff-9482-4ff0-8971-95133ffc47d1\n                            organizationId:\n                              description: The ID of the organization associated with this voicemailbox.\n                              type: string\n                              example: be342206-96ac-482b-bd2d-5fb317e7daa1\n                            accountKey:\n                              description: The account key associated with this voicemailbox.\n                              type: string\n                              example: '2930718022414574861'\n                            externalUserKey:\n                              description: The unique external user key associated with this voicemailbox.\n                              type: string\n                              example: '5435428342435765436'\n                            extensionName:\n                              description: The name of the extension associated with this voicemailbox.\n                              example: Bob Jones\n                            extensionNumber:\n                              description: The extension number associated with this voicemailbox.\n                              type: string\n                              example: '1243'\n                            calledNumber:\n                              description: |\n                                The called number associated with this voicemail. Either the called phone number when \n                                the call is coming from an external source, or the extension number when the call is \n                                internal.\n                              type: string\n                              example: 123-456-7890\n                            callerName:\n                              description: The caller name associated with this voicemail.\n                              type: string\n                              example: John Doe\n                            callerNumber:\n                              description: The caller number associated with this voicemail.\n                              type: string\n                              example: '1003'\n                            legId:\n                              description: The leg ID of the call during which this voicemail was left\n                              type: string\n                              example: 229e8710-409a-40fa-908c-de647f66298a\n                            durationMs:\n                              description: The duration in milliseconds associated with this voicemail.\n                              type: integer\n                              minimum: 0\n                              example: 1500\n                            timestamp:\n                              description: Received timestamp of the voicemail.\n                              type: string\n                              format: date-time\n                            originalTimestamp:\n                              description: |\n                                Timestamp of when the voicemail was originally left. It will be different of the  timestamp if the voicemail was forwarded.\n                              type: string\n                              format: date-time\n                            status:\n                              description: |\n                                Status of a voicemail entity.\n                                This field can contain any of these values:\n                                  - NEW: A voicemail was created or unread.\n                                  - READ: A voicemail was read or unarchived.\n                                  - DELETED: A voicemail was deleted.\n                              type: string\n                              enum:\n                                - NEW\n                                - READ\n                                - DELETED\n                              example: NEW\n                            transcriptionStatus:\n                              description: Status of voicemail transcription.\n                              type: string\n                              enum:\n                                - FAILED\n                                - IN_PROGRESS\n                                - NOT_FOUND\n                                - NO_AUDIO\n                                - SUCCESS\n                                - NOT_INITIATED\n                              example: SUCCESS\n                            forwardFrom:\n                              description: |\n                                The list of extension/user that forward the voicemail up to this voicemailbox. The list is ordered from oldest to newest forwarder.\n                              type: array\n                              items:\n                                description: |\n                                  The source forward\n                                type: object\n                                properties:\n                                  extensionName:\n                                    description: The source extension name\n                                    type: string\n                                  extensionNumber:\n                                    description: The source extension number\n                                    type: string\n                                  forwarderUserKey:\n                                    description: The user that forwarded the voicemail\n                                    type: string\n                                  timestamp:\n                                    description: The voicemail forwarded time\n                                    type: string\n                                    format: date-time\n                            forwardTo:\n                              description: |\n                                The list of extension that the voicemail was forwarded to.\n                              type: array\n                              items:\n                                description: |\n                                  The destination of the forward\n                                type: object\n                                properties:\n                                  extensionName:\n                                    description: The destination extension name\n                                    type: string\n                                  extensionNumber:\n                                    description: The destination extension number\n                                    type: string\n                                  forwarderUserKey:\n                                    description: The user that forwarded the voicemail\n                                    type: string\n                                  timestamp:\n                                    description: The voicemail forwarded time\n                                    type: string\n                                    format: date-time\n                          required:\n                            - voicemailId\n                            - voicemailboxId\n                            - organizationId\n                            - accountKey\n                            - callerNumber\n                            - durationMs\n                            - timestamp\n                            - status\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voicemail/v1/voicemailboxes/%7BvoicemailboxId%7D/voicemails',\n              params: {\n                page: 'SOME_INTEGER_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                status: 'NEW',\n                sort: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voicemail/v1/voicemailboxes/%7BvoicemailboxId%7D/voicemails?page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&status=NEW&sort=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voicemail/v1/voicemailboxes/%7BvoicemailboxId%7D/voicemails?page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&status=NEW&sort=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/voicemailboxes/%7BvoicemailboxId%7D/voicemails');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'page' => 'SOME_INTEGER_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'status' => 'NEW',\n              'sort' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/voicemailboxes/%7BvoicemailboxId%7D/voicemails?page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&status=NEW&sort=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    patch:\n      summary: |\n        Update properties of multiple voicemails\n      description: |\n        Allows a user to update voicemail properties in batches.\n\n        The primary use case is for a user to move voicemail/s to their specified destination\n        folder/s.\n\n        Operation will be denied (404) if the user is not the owner of the mailbox or a super admin\n        or (403) if the user's token doesn't have sufficient privileges to hit the endpoint.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.voicemails.write` must be used when a token is requested from the Authentication API.\n\n        ### Example request\n\n        ```\n        curl -X PATCH \\\n          https://api.goto.com/voicemail/v1/voicemailboxes/606d12ff-9482-4ff0-8971-95133ffc47d1/voicemails \\\n          -H 'Authorization: Bearer {auth-token}'\n          -H 'Content-Type: application/json' \\\n          -d '[{\"id\": \"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\", \"objectProperties\": [{\"name\": \"status\", \"value\": \"READ\"}]}]'\n        ```\n\n        At this point only READ & NEW are supported as the voicemail Status. DELETED is not\n        supported.\n\n        A `404` is returned if the user doesn't have access to the `voicemailboxId`.\n      operationId: patchVoicemails\n      tags:\n        - Voicemail\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: array\n              items:\n                properties:\n                  id:\n                    type: string\n                    description: The voicemail's unique identifier\n                    example: my-voicemail-id\n                  objectProperties:\n                    type: array\n                    items:\n                      properties:\n                        name:\n                          type: string\n                          default: status\n                          enum:\n                            - status\n                        value:\n                          type: string\n                          default: READ\n                          enum:\n                            - READ\n                            - NEW\n                      type: object\n      responses:\n        '207':\n          description: The list of voicemailIds along with their status & errors.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: JSON containing result of each voicemail\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      description: Result of the operation on a single voicemail\n                      properties:\n                        voicemailId:\n                          type: string\n                        status:\n                          type: string\n                          enum:\n                            - FAILED\n                            - NOT_FOUND\n                            - SUCCESS\n                          description: |\n                            Status of the requested operation:\n                              - `FAILED` - Operation failed\n                              - `NOT_FOUND` - Voicemail with the provided id is not found\n                              - `SUCCESS` - Operation succeeded\n                          example: SUCCESS\n                        error:\n                          type: string\n                          description: Description of the error\n                      required:\n                        - voicemailId\n                        - status\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/voicemail/v1/voicemailboxes/%7BvoicemailboxId%7D/voicemails',\n              data: [{id: 'my-voicemail-id', objectProperties: [{name: 'status', value: 'READ'}]}]\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url https://api.goto.com/voicemail/v1/voicemailboxes/%7BvoicemailboxId%7D/voicemails \\\n              --header 'content-type: application/json' \\\n              --data '[{\"id\":\"my-voicemail-id\",\"objectProperties\":[{\"name\":\"status\",\"value\":\"READ\"}]}]'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"[{\\\"id\\\":\\\"my-voicemail-id\\\",\\\"objectProperties\\\":[{\\\"name\\\":\\\"status\\\",\\\"value\\\":\\\"READ\\\"}]}]\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PATCH\", \"/voicemail/v1/voicemailboxes/%7BvoicemailboxId%7D/voicemails\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('[{\"id\":\"my-voicemail-id\",\"objectProperties\":[{\"name\":\"status\",\"value\":\"READ\"}]}]');\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/voicemailboxes/%7BvoicemailboxId%7D/voicemails');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/voicemailboxes/%7BvoicemailboxId%7D/voicemails\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"[{\\\"id\\\":\\\"my-voicemail-id\\\",\\\"objectProperties\\\":[{\\\"name\\\":\\\"status\\\",\\\"value\\\":\\\"READ\\\"}]}]\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voicemail/v1/voicemails/{voicemailId}:\n    parameters:\n      - in: path\n        name: voicemailId\n        description: |\n          The ID of the voicemail to query.\n        required: true\n        schema:\n          type: string\n    get:\n      summary: |\n        Fetch a voicemail in a user voicemailbox.\n      description: |\n        Allow a user to get a voicemail identified by a specific voicemail ID.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.voicemails.read` must be used when a token is requested from the Authentication API.\n\n        ### Example request\n\n        ```\n        curl -X GET \\\n          https://api.goto.com/voicemail/v1/voicemails/djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU3 \\\n          -H 'Authorization: Bearer {auth-token}'\n        ```\n\n        A `404` is returned if the user doesn't have access to the `voicemailId`.\n      operationId: getVoicemail\n      tags:\n        - Voicemail\n      responses:\n        '200':\n          description: |\n            Successfully retrieved the voicemail associated to voicemailId\n          content:\n            application/json:\n              schema:\n                type: object\n                description: |\n                  A voicemail associated with a user voicemailbox.\n                properties:\n                  voicemailId:\n                    description: The ID of the voicemail.\n                    type: string\n                    example: djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\n                  voicemailboxId:\n                    description: The ID of the voicemailbox.\n                    type: string\n                    example: 606d12ff-9482-4ff0-8971-95133ffc47d1\n                  organizationId:\n                    description: The ID of the organization associated with this voicemailbox.\n                    type: string\n                    example: be342206-96ac-482b-bd2d-5fb317e7daa1\n                  accountKey:\n                    description: The account key associated with this voicemailbox.\n                    type: string\n                    example: '2930718022414574861'\n                  externalUserKey:\n                    description: The unique external user key associated with this voicemailbox.\n                    type: string\n                    example: '5435428342435765436'\n                  extensionName:\n                    description: The name of the extension associated with this voicemailbox.\n                    example: Bob Jones\n                  extensionNumber:\n                    description: The extension number associated with this voicemailbox.\n                    type: string\n                    example: '1243'\n                  calledNumber:\n                    description: |\n                      The called number associated with this voicemail. Either the called phone number when \n                      the call is coming from an external source, or the extension number when the call is \n                      internal.\n                    type: string\n                    example: 123-456-7890\n                  callerName:\n                    description: The caller name associated with this voicemail.\n                    type: string\n                    example: John Doe\n                  callerNumber:\n                    description: The caller number associated with this voicemail.\n                    type: string\n                    example: '1003'\n                  legId:\n                    description: The leg ID of the call during which this voicemail was left\n                    type: string\n                    example: 229e8710-409a-40fa-908c-de647f66298a\n                  durationMs:\n                    description: The duration in milliseconds associated with this voicemail.\n                    type: integer\n                    minimum: 0\n                    example: 1500\n                  timestamp:\n                    description: Received timestamp of the voicemail.\n                    type: string\n                    format: date-time\n                  originalTimestamp:\n                    description: |\n                      Timestamp of when the voicemail was originally left. It will be different of the  timestamp if the voicemail was forwarded.\n                    type: string\n                    format: date-time\n                  status:\n                    description: |\n                      Status of a voicemail entity.\n                      This field can contain any of these values:\n                        - NEW: A voicemail was created or unread.\n                        - READ: A voicemail was read or unarchived.\n                        - DELETED: A voicemail was deleted.\n                    type: string\n                    enum:\n                      - NEW\n                      - READ\n                      - DELETED\n                    example: NEW\n                  transcriptionStatus:\n                    description: Status of voicemail transcription.\n                    type: string\n                    enum:\n                      - FAILED\n                      - IN_PROGRESS\n                      - NOT_FOUND\n                      - NO_AUDIO\n                      - SUCCESS\n                      - NOT_INITIATED\n                    example: SUCCESS\n                  forwardFrom:\n                    description: |\n                      The list of extension/user that forward the voicemail up to this voicemailbox. The list is ordered from oldest to newest forwarder.\n                    type: array\n                    items:\n                      description: |\n                        The source forward\n                      type: object\n                      properties:\n                        extensionName:\n                          description: The source extension name\n                          type: string\n                        extensionNumber:\n                          description: The source extension number\n                          type: string\n                        forwarderUserKey:\n                          description: The user that forwarded the voicemail\n                          type: string\n                        timestamp:\n                          description: The voicemail forwarded time\n                          type: string\n                          format: date-time\n                  forwardTo:\n                    description: |\n                      The list of extension that the voicemail was forwarded to.\n                    type: array\n                    items:\n                      description: |\n                        The destination of the forward\n                      type: object\n                      properties:\n                        extensionName:\n                          description: The destination extension name\n                          type: string\n                        extensionNumber:\n                          description: The destination extension number\n                          type: string\n                        forwarderUserKey:\n                          description: The user that forwarded the voicemail\n                          type: string\n                        timestamp:\n                          description: The voicemail forwarded time\n                          type: string\n                          format: date-time\n                required:\n                  - voicemailId\n                  - voicemailboxId\n                  - organizationId\n                  - accountKey\n                  - callerNumber\n                  - durationMs\n                  - timestamp\n                  - status\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voicemail/v1/voicemails/%7BvoicemailId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      summary: |\n        Delete a voicemail\n      description: |\n        Deletes a voicemail identified by `voicemailId`.\n\n        Operation will be denied if the user is not the owner of the mailbox or a super admin.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.voicemails.write` must be used when a token is requested from the Authentication API.\n\n        ### Example request\n\n        ```\n        curl -X DELETE \\\n          https://api.goto.com/voicemail/v1/voicemails/djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0 \\\n          -H 'Authorization: Bearer {auth-token}'\n        ```\n\n        A `404` is returned if the user doesn't have access to the `voicemailId`.\n      operationId: deleteVoicemail\n      tags:\n        - Voicemail\n      responses:\n        '204':\n          description: Successfully removed the voicemail.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The resource corresponding to the `voicemailId` does not exist or the principal \n            represented by the supplied token is not authorized to view the resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/voicemail/v1/voicemails/%7BvoicemailId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    patch:\n      summary: |\n        Update properties of a given voicemail.\n      description: |\n        Allows a user to update voicemail properties.\n\n        The primary use case is for a user to update voicemail status from new to read & vice versa.\n\n        Operation will be denied (404) if the user is not the owner of the mailbox or a super admin \n        or (403) if the user's token doesn't have sufficient privileges to hit the endpoint.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.voicemails.write` must be used when a token is requested from the Authentication API.\n\n        ### Example request\n\n        ```\n        curl -X PATCH \\\n          https://api.goto.com/voicemail/v1/voicemails/djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0 \\\n          -H 'Authorization: Bearer {auth-token}'\n          -H 'Content-Type: application/json' \\\n          -d '{[{\"name\": \"status\", \"value\": \"READ\"}]}'\n        ```\n\n        At this point only READ & NEW are supported as the voicemail Status. DELETED is not supported.  \n        A `404` is returned if the user doesn't have access to the `voicemailboxId`.\n      operationId: updateVoicemail\n      tags:\n        - Voicemail\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: array\n              items:\n                properties:\n                  name:\n                    type: string\n                    default: status\n                    enum:\n                      - status\n                  value:\n                    type: string\n                    default: READ\n                    enum:\n                      - READ\n                      - NEW\n                type: object\n      responses:\n        '204':\n          description: Successfully updated the voicemail.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D',\n              data: [{name: 'status', value: 'READ'}]\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D \\\n              --header 'content-type: application/json' \\\n              --data '[{\"name\":\"status\",\"value\":\"READ\"}]'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"[{\\\"name\\\":\\\"status\\\",\\\"value\\\":\\\"READ\\\"}]\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PATCH\", \"/voicemail/v1/voicemails/%7BvoicemailId%7D\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('[{\"name\":\"status\",\"value\":\"READ\"}]');\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"[{\\\"name\\\":\\\"status\\\",\\\"value\\\":\\\"READ\\\"}]\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voicemail/v1/voicemails/{voicemailId}/mediacontent:\n    parameters:\n      - in: path\n        name: voicemailId\n        description: |\n          The ID of the voicemail to query.\n        required: true\n        schema:\n          type: string\n    get:\n      summary: |\n        Get voicemail media content\n      description: |\n        Returns the media (audio) of a voicemail identified by `voicemailId`.\n\n        Operation will be denied if the user is not the owner of the mailbox or a super admin.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.voicemails.read` must be used when a token is requested from the Authentication API.\n\n        ### Accept Header\n\n        Providing the `Accept: audio/mpeg` header will return the media content in binary encoding. If this header is not provided, the media will be Base64 encoded in the response.\n\n        ### Example request\n\n        ```\n        curl -X GET \\\n          https://api.goto.com/voicemail/v1/voicemails/djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0/mediacontent \\\n          -H 'Authorization: Bearer {auth-token}' \\\n          -H 'Accept: audio/mpeg'\n        ```\n      operationId: getVoicemailMediaContent\n      tags:\n        - Voicemail\n      responses:\n        '200':\n          description: |\n            Successfully retrieved the media content associated to `voicemailId`\n          content:\n            audio/mpeg:\n              schema:\n                type: string\n                format: byte\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The resource corresponding to the `voicemailId` does not exist or the principal \n            represented by the supplied token is not authorized to view the resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D/mediacontent'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D/mediacontent\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voicemail/v1/voicemails/%7BvoicemailId%7D/mediacontent\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D/mediacontent');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D/mediacontent\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voicemail/v1/voicemails/{voicemailId}/forward:\n    parameters:\n      - in: path\n        name: voicemailId\n        description: |\n          The ID of the voicemail to forward.\n        required: true\n        schema:\n          type: string\n    post:\n      summary: |\n        Forward the voicemail to the specified extensions\n      description: |\n        Forward the voicemail to the specified extensions\n\n        Operation will be denied if the user is not the owner of the voicemail or a super admin.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.voicemails.write` must be used when a token is requested from the Authentication API.\n\n        ### Example request to forward the voicemail to 3 extensions\n\n        ```\n        curl -X POST 'https://api.goto.com/voicemail/v1/voicemails/djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0/forward' \\\n          -H 'Content-Type: application/json' \\\n          -d '{\"extensionNumbers\": [\"1002\", \"4005\", \"7009\"]}' \\\n          -H 'Authorization: Bearer {token}'\n        ```\n\n        The response to this request is an HTTP 200 OK with the content:\n\n        ```\n        {\n          \"items\": [\n            {\n              \"extensionNumber\": \"1002\",\n              \"status\": \"SUCCESS\",\n              \"forwardTo\": {\n                \"extensionNumber\": \"1002\",\n                \"extensionName\": \"Bob's extension\",\n                \"forwarderUserKey\": \"2930718022414574861\",\n                \"timestamp\": \"2020-11-17T18:31:35.245Z\"\n              }\n            },\n            {\n              \"extensionNumber\": \"4005\",\n              \"status\": \"NOT_FOUND\"\n            }\n            {\n              \"extensionNumber\": \"7009\",\n              \"status\": \"FAILED\"\n            },\n          ]\n        }\n        ```\n      operationId: forwardVoicemail\n      tags:\n        - Voicemail\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Request to forward a voicemail to multiple extensions\n              properties:\n                extensionNumbers:\n                  type: array\n                  minItems: 1\n                  maxItems: 20\n                  uniqueItems: true\n                  items:\n                    type: string\n      responses:\n        '200':\n          description: |\n            The list of voicemail forwards.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: JSON containing result of each voicemail forward\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      title: Forward status\n                      required:\n                        - extensionNumber\n                        - status\n                      properties:\n                        extensionNumber:\n                          type: string\n                          description: extension number\n                          example: '2748'\n                        status:\n                          description: Status of the voicemail forward.\n                          type: string\n                          enum:\n                            - SUCCESS\n                            - FAILED\n                            - NOT_FOUND\n                          example: SUCCESS\n                        forwardTo:\n                          description: |\n                            The destination of the forward\n                          type: object\n                          properties:\n                            extensionName:\n                              description: The destination extension name\n                              type: string\n                            extensionNumber:\n                              description: The destination extension number\n                              type: string\n                            forwarderUserKey:\n                              description: The user that forwarded the voicemail\n                              type: string\n                            timestamp:\n                              description: The voicemail forwarded time\n                              type: string\n                              format: date-time\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D/forward',\n              data: {extensionNumbers: ['string']}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D/forward \\\n              --header 'content-type: application/json' \\\n              --data '{\"extensionNumbers\":[\"string\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"extensionNumbers\\\":[\\\"string\\\"]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/voicemail/v1/voicemails/%7BvoicemailId%7D/forward\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"extensionNumbers\":[\"string\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D/forward');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D/forward\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"extensionNumbers\\\":[\\\"string\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voicemail/v1/voicemails:\n    parameters:\n      - in: query\n        name: id\n        description: |\n          Id(s) of the voicemail(s) to delete.\n        required: true\n        schema:\n          type: string\n    delete:\n      summary: |\n        Delete multiple voicemails.\n      description: |\n        Allows a user to delete multiple voicemails identified by a list of voicemail ids.\n\n        The user must be the owner of the voicemailbox which contains the voicemail to be able\n        to delete the voicemail. A user is an owner of voicemailboxes which belongs to the \n        extensions to which the user is assigned, as well as any shared voicemailboxes assigned to \n        those extensions.\n\n        A super admin can delete voicemails in any voicemailbox.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.voicemails.write` must be used when a token is requested from the Authentication API.\n\n        ### Example request\n\n        ```\n        curl -X DELETE \\\n          https://api.goto.com/voicemail/v1/voicemails?id=djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU3 \\\n          &id=bn76YUA4OEMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIVOWA5\n          -H 'Authorization: Bearer {auth-token}'\n        ```\n      operationId: deleteMultipleVoicemail\n      tags:\n        - Voicemail\n      responses:\n        '200':\n          description: Request completed. See individual results.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: JSON containing result of each voicemail\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      description: Result of the operation on a single voicemail\n                      properties:\n                        voicemailId:\n                          type: string\n                        status:\n                          type: string\n                          enum:\n                            - FAILED\n                            - NOT_FOUND\n                            - SUCCESS\n                          description: |\n                            Status of the requested operation:\n                              - `FAILED` - Operation failed\n                              - `NOT_FOUND` - Voicemail with the provided id is not found\n                              - `SUCCESS` - Operation succeeded\n                          example: SUCCESS\n                        error:\n                          type: string\n                          description: Description of the error\n                      required:\n                        - voicemailId\n                        - status\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/voicemail/v1/voicemails',\n              params: {id: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url 'https://api.goto.com/voicemail/v1/voicemails?id=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/voicemail/v1/voicemails?id=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/voicemails');\n            $request->setRequestMethod('DELETE');\n            $request->setQuery(new http\\QueryString([\n              'id' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/voicemails?id=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voicemail/v1/subscriptions:\n    post:\n      summary: |\n        Create a subscription\n      description: |\n        Creates a subscription for the user. The user must first create a notification channel by \n        using the Notification Channel API. The user will be able to receive notifications for the \n        voicemailbox requested after subscribing. Operation will be denied if the user is not the \n        owner of the mailbox or a super admin.\n\n        The subscription allows notifications to be sent to the notification channel with the \n        provided notification channel ID. Notifications would be received only if the user is the \n        owner of the mailbox or a super admin. Only 1 subscription per voicemailbox can exist at a \n        time for a given user's channel ID. When a new subscription is created for a combination\n        of channel ID and voicemailbox ID that already has a subscription, a 409 Conflict will be \n        returned.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n      operationId: createVoicemailSubscription\n      tags:\n        - Voicemail Subscription\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: |\n                Information required to create a subscription for the voicemail service in order to receive\n                events.\n              properties:\n                channelId:\n                  description: The notification channel ID\n                  type: string\n                  example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                voicemailboxId:\n                  description: The ID of the voicemailbox.\n                  type: string\n                  example: 606d12ff-9482-4ff0-8971-95133ffc47d1\n                events:\n                  type: array\n                  items:\n                    description: |\n                      Event that can be subscribe on.\n                        - \"NEW_VOICEMAIL\" : Receive an alert when a new voicemail is added inside the voicemailbox.\n                        - \"VOICEMAIL_UPDATED\" : An update was done to a voicemail in the voicemailbox.\n                        - \"VOICEMAIL_DELETED\" : A voicemail was deleted in the voicemailbox.\n                        - \"TRANSCRIPTION_COMPLETED\" : A voicemail transcription is completed.\n                    type: string\n                    enum:\n                      - NEW_VOICEMAIL\n                      - VOICEMAIL_UPDATED\n                      - VOICEMAIL_DELETED\n                      - TRANSCRIPTION_COMPLETED\n                  minItems: 1\n                  uniqueItems: true\n              required:\n                - channelId\n                - voicemailboxId\n                - events\n        description: Data required to create a subscription to receive Voicemail events.\n        required: true\n      responses:\n        '201':\n          description: The successfully created subscription.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: |\n                  A subscription for the voicemail service. This is required in order to be able to receive \n                  notifications for the voicemailbox events.\n                properties:\n                  id:\n                    type: string\n                    description: Unique identifier for the subscription. Provided by the server.\n                  channelId:\n                    description: The notification channel ID associated to this subscription.\n                    type: string\n                    example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                  externalUserKey:\n                    type: string\n                    description: |\n                      `externalUserKey` that is associated to the subscription.\n                  organizationId:\n                    description: The ID of the organization associated with the user.\n                    type: string\n                    example: 9d1ab3a2-c84c-4776-9478-339ef6b06fd4\n                  accountKey:\n                    description: The account key associated with the voicemailbox.\n                    type: string\n                    example: '2930718022414574861'\n                  voicemailboxId:\n                    description: The ID of the voicemailbox.\n                    type: string\n                    example: 606d12ff-9482-4ff0-8971-95133ffc47d1\n                  events:\n                    type: array\n                    items:\n                      description: |\n                        Event that can be subscribe on.\n                          - \"NEW_VOICEMAIL\" : Receive an alert when a new voicemail is added inside the voicemailbox.\n                          - \"VOICEMAIL_UPDATED\" : An update was done to a voicemail in the voicemailbox.\n                          - \"VOICEMAIL_DELETED\" : A voicemail was deleted in the voicemailbox.\n                          - \"TRANSCRIPTION_COMPLETED\" : A voicemail transcription is completed.\n                      type: string\n                      enum:\n                        - NEW_VOICEMAIL\n                        - VOICEMAIL_UPDATED\n                        - VOICEMAIL_DELETED\n                        - TRANSCRIPTION_COMPLETED\n                required:\n                  - id\n                  - channelId\n                  - externalUserKey\n                  - organizationId\n                  - accountKey\n                  - voicemailboxId\n                  - events\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voicemail/v1/subscriptions',\n              data: {\n                channelId: 'cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76',\n                voicemailboxId: '606d12ff-9482-4ff0-8971-95133ffc47d1',\n                events: ['NEW_VOICEMAIL']\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voicemail/v1/subscriptions \\\n              --header 'content-type: application/json' \\\n              --data '{\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\"voicemailboxId\":\"606d12ff-9482-4ff0-8971-95133ffc47d1\",\"events\":[\"NEW_VOICEMAIL\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\\"voicemailboxId\\\":\\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\\"events\\\":[\\\"NEW_VOICEMAIL\\\"]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/voicemail/v1/subscriptions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\"voicemailboxId\":\"606d12ff-9482-4ff0-8971-95133ffc47d1\",\"events\":[\"NEW_VOICEMAIL\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/subscriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/subscriptions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\\"voicemailboxId\\\":\\\"606d12ff-9482-4ff0-8971-95133ffc47d1\\\",\\\"events\\\":[\\\"NEW_VOICEMAIL\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      summary: Get subscriptions\n      description: |\n        Obtains the list of subscription details of the user.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n      operationId: getPagedVoicemailSubscriptionList\n      parameters:\n        - name: pageMarker\n          in: query\n          description: |\n            The returned nextPageMarker from a Paginated Collection is used here to fetch the starting \n            item for the paginated result.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n        - name: organizationId\n          in: query\n          description: |\n            The ID of the organization associated with the voicemailbox.\n          schema:\n            type: string\n        - name: accountKey\n          in: query\n          description: |\n            The account key associated with the voicemailbox.\n          schema:\n            type: string\n      tags:\n        - Voicemail Subscription\n      responses:\n        '200':\n          description: The subscription list\n          content:\n            application/json:\n              schema:\n                description: List of Subscriptions segmented by page.\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned \n                      results. This collection uses a string based page marker as value to fetch the next result \n                      page.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          The next page marker value, to be used for fetching the next page via the PageMarker \n                          query parameter.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        description: List of Subscriptions.\n                        type: array\n                        items:\n                          type: object\n                          description: |\n                            A subscription for the voicemail service. This is required in order to be able to receive \n                            notifications for the voicemailbox events.\n                          properties:\n                            id:\n                              type: string\n                              description: Unique identifier for the subscription. Provided by the server.\n                            channelId:\n                              description: The notification channel ID associated to this subscription.\n                              type: string\n                              example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                            externalUserKey:\n                              type: string\n                              description: |\n                                `externalUserKey` that is associated to the subscription.\n                            organizationId:\n                              description: The ID of the organization associated with the user.\n                              type: string\n                              example: 9d1ab3a2-c84c-4776-9478-339ef6b06fd4\n                            accountKey:\n                              description: The account key associated with the voicemailbox.\n                              type: string\n                              example: '2930718022414574861'\n                            voicemailboxId:\n                              description: The ID of the voicemailbox.\n                              type: string\n                              example: 606d12ff-9482-4ff0-8971-95133ffc47d1\n                            events:\n                              type: array\n                              items:\n                                description: |\n                                  Event that can be subscribe on.\n                                    - \"NEW_VOICEMAIL\" : Receive an alert when a new voicemail is added inside the voicemailbox.\n                                    - \"VOICEMAIL_UPDATED\" : An update was done to a voicemail in the voicemailbox.\n                                    - \"VOICEMAIL_DELETED\" : A voicemail was deleted in the voicemailbox.\n                                    - \"TRANSCRIPTION_COMPLETED\" : A voicemail transcription is completed.\n                                type: string\n                                enum:\n                                  - NEW_VOICEMAIL\n                                  - VOICEMAIL_UPDATED\n                                  - VOICEMAIL_DELETED\n                                  - TRANSCRIPTION_COMPLETED\n                          required:\n                            - id\n                            - channelId\n                            - externalUserKey\n                            - organizationId\n                            - accountKey\n                            - voicemailboxId\n                            - events\n        '400':\n          description: |\n            The `pageMarker` or `pageSize` is invalid.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: pageMarker\n                    constraint: INVALID\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voicemail/v1/subscriptions',\n              params: {\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                organizationId: 'SOME_STRING_VALUE',\n                accountKey: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voicemail/v1/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&organizationId=SOME_STRING_VALUE&accountKey=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voicemail/v1/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&organizationId=SOME_STRING_VALUE&accountKey=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/subscriptions');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'organizationId' => 'SOME_STRING_VALUE',\n              'accountKey' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&organizationId=SOME_STRING_VALUE&accountKey=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voicemail/v1/subscriptions/{subscriptionId}:\n    parameters:\n      - name: subscriptionId\n        in: path\n        description: The subscription's unique identifier.\n        required: true\n        schema:\n          type: string\n    delete:\n      summary: Delete a subscription\n      description: |\n        Deletes a user's subscription associated with the given subscription ID.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n      operationId: deleteVoicemailSubscription\n      tags:\n        - Voicemail Subscription\n      responses:\n        '204':\n          description: Successfully removed the subscription.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The provided `subscriptionId` doesn't exist or the subscription doesn't belong to the \n            provided user defined by the authorization token.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/voicemail/v1/subscriptions/%7BsubscriptionId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/voicemail/v1/subscriptions/%7BsubscriptionId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/voicemail/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/subscriptions/%7BsubscriptionId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voicemail/v1/organization-subscriptions:\n    post:\n      summary: |\n        Create an organization subscription\n      description: |\n        Creates a subscription for the user. The user must first create a notification channel by \n        using the [Notification Channel API](/GoToConnect#tag/Channels). The user \n        will be able to receive notifications for all voicemailboxes of the organization after \n        subscribing. Operation will be denied if the user is not a super admin.\n\n        The subscription allows notifications to be sent to the notification channel with the \n        provided notification channel ID. Notifications would be received only if the user is the\n        owner of the channel. Only 1 subscription per account key (organization) can exist at a time\n        for a given user's channel ID. \n\n        ### Authentication Scopes\n\n        `voicemail.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n      operationId: createVoicemailOrganizationSubscription\n      tags:\n        - Voicemail Subscription\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: |\n                Information required to create an organization subscription for the voicemail service in \n                order to receive events.\n              properties:\n                channelId:\n                  description: The notification channel ID\n                  type: string\n                  example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                accountKey:\n                  description: The account key associated with the voicemailbox.\n                  type: string\n                  example: '2930718022414574861'\n                organizationId:\n                  description: The ID of the organization associated with the user.\n                  type: string\n                  example: 9d1ab3a2-c84c-4776-9478-339ef6b06fd4\n                events:\n                  type: array\n                  items:\n                    description: |\n                      Event that can be subscribe on.\n                        - \"NEW_VOICEMAIL\" : Receive an alert when a new voicemail is added inside the voicemailbox.\n                        - \"VOICEMAIL_UPDATED\" : An update was done to a voicemail in the voicemailbox.\n                        - \"VOICEMAIL_DELETED\" : A voicemail was deleted in the voicemailbox.\n                        - \"TRANSCRIPTION_COMPLETED\" : A voicemail transcription is completed.\n                    type: string\n                    enum:\n                      - NEW_VOICEMAIL\n                      - VOICEMAIL_UPDATED\n                      - VOICEMAIL_DELETED\n                      - TRANSCRIPTION_COMPLETED\n                  minItems: 1\n                  uniqueItems: true\n              required:\n                - channelId\n                - accountKey\n                - events\n        description: Data required to create a subscription to receive Voicemail events.\n        required: true\n      responses:\n        '201':\n          description: The successfully created subscription.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: |\n                  A subscription for the voicemail service. This is required in order to be able to receive \n                  notifications for the voicemailbox events.\n                properties:\n                  id:\n                    type: string\n                    description: Unique identifier for the subscription. Provided by the server.\n                  channelId:\n                    description: The notification channel ID associated to this subscription.\n                    type: string\n                    example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                  userKey:\n                    type: string\n                    description: |\n                      `userKey` that is associated to the subscription.\n                  organizationId:\n                    description: The ID of the organization associated with the user.\n                    type: string\n                    example: 9d1ab3a2-c84c-4776-9478-339ef6b06fd4\n                  accountKey:\n                    description: The account key associated with the voicemailbox.\n                    type: string\n                    example: '2930718022414574861'\n                  events:\n                    type: array\n                    items:\n                      description: |\n                        Event that can be subscribe on.\n                          - \"NEW_VOICEMAIL\" : Receive an alert when a new voicemail is added inside the voicemailbox.\n                          - \"VOICEMAIL_UPDATED\" : An update was done to a voicemail in the voicemailbox.\n                          - \"VOICEMAIL_DELETED\" : A voicemail was deleted in the voicemailbox.\n                          - \"TRANSCRIPTION_COMPLETED\" : A voicemail transcription is completed.\n                      type: string\n                      enum:\n                        - NEW_VOICEMAIL\n                        - VOICEMAIL_UPDATED\n                        - VOICEMAIL_DELETED\n                        - TRANSCRIPTION_COMPLETED\n                required:\n                  - id\n                  - channelId\n                  - userKey\n                  - organizationId\n                  - accountKey\n                  - events\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voicemail/v1/organization-subscriptions',\n              data: {\n                channelId: 'cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76',\n                accountKey: '2930718022414574861',\n                organizationId: '9d1ab3a2-c84c-4776-9478-339ef6b06fd4',\n                events: ['NEW_VOICEMAIL']\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/voicemail/v1/organization-subscriptions \\\n              --header 'content-type: application/json' \\\n              --data '{\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\"accountKey\":\"2930718022414574861\",\"organizationId\":\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\",\"events\":[\"NEW_VOICEMAIL\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\\"accountKey\\\":\\\"2930718022414574861\\\",\\\"organizationId\\\":\\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\",\\\"events\\\":[\\\"NEW_VOICEMAIL\\\"]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/voicemail/v1/organization-subscriptions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\"accountKey\":\"2930718022414574861\",\"organizationId\":\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\",\"events\":[\"NEW_VOICEMAIL\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/organization-subscriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/organization-subscriptions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\\"accountKey\\\":\\\"2930718022414574861\\\",\\\"organizationId\\\":\\\"9d1ab3a2-c84c-4776-9478-339ef6b06fd4\\\",\\\"events\\\":[\\\"NEW_VOICEMAIL\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      summary: Get organization subscriptions\n      description: |\n        Obtains the list of organization subscription details of the user.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n      operationId: getPagedVoicemailOrganizationSubscriptionList\n      parameters:\n        - name: pageMarker\n          in: query\n          description: |\n            The returned nextPageMarker from a Paginated Collection is used here to fetch the starting \n            item for the paginated result.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n        - name: organizationId\n          in: query\n          description: |\n            The ID of the organization associated with the voicemailbox.\n          schema:\n            type: string\n        - name: accountKey\n          in: query\n          description: |\n            The account key associated with the voicemailbox.\n          schema:\n            type: string\n      tags:\n        - Voicemail Subscription\n      responses:\n        '200':\n          description: The subscription list\n          content:\n            application/json:\n              schema:\n                description: List of Subscriptions segmented by page.\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned \n                      results. This collection uses a string based page marker as value to fetch the next result \n                      page.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          The next page marker value, to be used for fetching the next page via the PageMarker \n                          query parameter.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        description: List of Subscriptions.\n                        type: array\n                        items:\n                          type: object\n                          description: |\n                            A subscription for the voicemail service. This is required in order to be able to receive \n                            notifications for the voicemailbox events.\n                          properties:\n                            id:\n                              type: string\n                              description: Unique identifier for the subscription. Provided by the server.\n                            channelId:\n                              description: The notification channel ID associated to this subscription.\n                              type: string\n                              example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                            userKey:\n                              type: string\n                              description: |\n                                `userKey` that is associated to the subscription.\n                            organizationId:\n                              description: The ID of the organization associated with the user.\n                              type: string\n                              example: 9d1ab3a2-c84c-4776-9478-339ef6b06fd4\n                            accountKey:\n                              description: The account key associated with the voicemailbox.\n                              type: string\n                              example: '2930718022414574861'\n                            events:\n                              type: array\n                              items:\n                                description: |\n                                  Event that can be subscribe on.\n                                    - \"NEW_VOICEMAIL\" : Receive an alert when a new voicemail is added inside the voicemailbox.\n                                    - \"VOICEMAIL_UPDATED\" : An update was done to a voicemail in the voicemailbox.\n                                    - \"VOICEMAIL_DELETED\" : A voicemail was deleted in the voicemailbox.\n                                    - \"TRANSCRIPTION_COMPLETED\" : A voicemail transcription is completed.\n                                type: string\n                                enum:\n                                  - NEW_VOICEMAIL\n                                  - VOICEMAIL_UPDATED\n                                  - VOICEMAIL_DELETED\n                                  - TRANSCRIPTION_COMPLETED\n                          required:\n                            - id\n                            - channelId\n                            - userKey\n                            - organizationId\n                            - accountKey\n                            - events\n        '400':\n          description: |\n            The `pageMarker` or `pageSize` is invalid.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: pageMarker\n                    constraint: INVALID\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voicemail/v1/organization-subscriptions',\n              params: {\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                organizationId: 'SOME_STRING_VALUE',\n                accountKey: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voicemail/v1/organization-subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&organizationId=SOME_STRING_VALUE&accountKey=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voicemail/v1/organization-subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&organizationId=SOME_STRING_VALUE&accountKey=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/organization-subscriptions');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'organizationId' => 'SOME_STRING_VALUE',\n              'accountKey' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/organization-subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&organizationId=SOME_STRING_VALUE&accountKey=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voicemail/v1/organization-subscriptions/{subscriptionId}:\n    parameters:\n      - name: subscriptionId\n        in: path\n        description: The subscription's unique identifier.\n        required: true\n        schema:\n          type: string\n    delete:\n      summary: Delete an organization subscription\n      description: |\n        Deletes a user's organization subscription associated with the given subscription ID.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n      operationId: deleteVoicemailOrganizationSubscription\n      tags:\n        - Voicemail Subscription\n      responses:\n        '204':\n          description: Successfully removed the subscription.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The provided `subscriptionId` doesn't exist or the subscription doesn't belong to the \n            provided user defined by the authorization token.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/voicemail/v1/organization-subscriptions/%7BsubscriptionId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/voicemail/v1/organization-subscriptions/%7BsubscriptionId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/voicemail/v1/organization-subscriptions/%7BsubscriptionId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/organization-subscriptions/%7BsubscriptionId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/organization-subscriptions/%7BsubscriptionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voicemail/v1/voicemails/{voicemailId}/transcription:\n    parameters:\n      - in: path\n        name: voicemailId\n        description: |\n          The ID of the voicemail to query.\n        required: true\n        schema:\n          type: string\n      - name: showArchived\n        in: query\n        description: Deleted voicemails are kept in the system for 36 hours before being permanently deleted. This flag allows you to see the deleted voicemails.\n        required: false\n        schema:\n          type: boolean\n          default: false\n    get:\n      summary: |\n        Get transcription\n      description: |\n        Get the transcription for the voicemail id provided.\n\n        Operation will be denied if the user is not the owner of the voicemail or a super admin.\n\n        **The transcription feature needs to be turned on via the admin portal for transcriptions \n        to be available.  \n        See [How to turn on transcriptions](https://support.goto.com/connect/help/how-do-i-enable-voicemail-transcription) \n        for more details.**\n\n        ### Authentication Scopes\n\n        `voicemail.v1.voicemails.read` must be used when a token is requested from the Authentication API.\n\n        ### Example request\n\n        ```\n        curl -X GET 'https://api.goto.com/voicemail/v1/voicemails/djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0/transcription' -H 'Authorization: Bearer {ACCESS_TOKEN}'\n        ```\n\n        The response to this request is an HTTP 200 OK with the content:\n\n        ```\n          {\n            \"id\": \"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\",\n            \"text\": \"Please call me back.\",\n            \"status\": \"SUCCESS\"\n          }\n        ```\n      operationId: getTranscription\n      tags:\n        - Transcription\n      responses:\n        '200':\n          description: The voicemail transcription.\n          content:\n            application/json:\n              schema:\n                type: object\n                title: Transcription of the Voicemail Message\n                required:\n                  - id\n                  - status\n                  - text\n                properties:\n                  id:\n                    type: string\n                    description: Id of the voicemail message\n                    example: djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU3\n                  text:\n                    type: string\n                    description: Transcription of the voicemail message\n                    example: please call me back.\n                  status:\n                    description: Status of voicemail transcription.\n                    type: string\n                    enum:\n                      - FAILED\n                      - IN_PROGRESS\n                      - NOT_FOUND\n                      - NO_AUDIO\n                      - SUCCESS\n                      - NOT_INITIATED\n                    example: SUCCESS\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D/transcription',\n              params: {showArchived: 'SOME_BOOLEAN_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D/transcription?showArchived=SOME_BOOLEAN_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/voicemail/v1/voicemails/%7BvoicemailId%7D/transcription?showArchived=SOME_BOOLEAN_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D/transcription');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'showArchived' => 'SOME_BOOLEAN_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/voicemails/%7BvoicemailId%7D/transcription?showArchived=SOME_BOOLEAN_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /voicemail/v1/transcriptions:\n    post:\n      summary: |\n        Request voicemails transcription.\n      description: |\n        Get the transcription for all the voicemail ids provided.\n\n        Operation will be denied if the user is not the owner of the transcriptions or a super admin.\n\n        ### Authentication Scopes\n\n        `voicemail.v1.voicemails.read` must be used when a token is requested from the Authentication API.\n\n        ### Example request to get transcription of 3 voicemails\n\n        ```\n        curl -X \"POST\" \"https://api.goto.com/voicemail/v1/transcriptions\" \\\n          -H \"Content-Type: application/json\" \\\n          -d '[ \"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\", \n          \"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU3\", \n          \"djE6MDE1NGJhZDAtNWQzNS1jMjY4LTg4ODUtMDAwMTAwNDIwMDA3L0hBQ0tBVEhPTl8yMDIwX1NTUENBUF9CRVRBLzdlNDU1M2ZkLWFhM2ItNDU2MS1hYzM0LWM0NjRlNGJiZTQ0ZQ\" ]' \\\n          -H 'Authorization: Bearer {token}'\n        ```\n\n        The response to this request is an HTTP 200 OK with the content:\n\n        ```\n        {\n          \"items\": [\n            {\n              \"id\": \"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU0\",\n              \"text\": \"Please call me back.\",\n              \"status\": \"SUCCESS\"\n            },\n            {\n              \"id\": \"djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU3\",\n              \"text\": \"\"\n              \"status\": \"NOT_FOUND\"\n            },\n            {\n              \"id\": \"djE6MDE1NGJhZDAtNWQzNS1jMjY4LTg4ODUtMDAwMTAwNDIwMDA3L0hBQ0tBVEhPTl8yMDIwX1NTUENBUF9CRVRBLzdlNDU1M2ZkLWFhM2ItNDU2MS1hYzM0LWM0NjRlNGJiZTQ0ZQ\",\n              \"text\": \"\"\n              \"status\": \"NO_AUDIO\"\n            }\n          ]\n        }\n        ```\n\n        In this response one of the transcription Status is \"NOT_FOUND\" which means transcription\n        for the voicemail id is not found. The transcription status \"NO_AUDIO\" means caller left no\n        recognizable audio.\n      operationId: getTranscriptions\n      tags:\n        - Transcription\n      parameters:\n        - name: showArchived\n          in: query\n          description: Deleted voicemails are kept in the system for 36 hours before being permanently deleted. This flag allows you to see the deleted voicemails.\n          required: false\n          schema:\n            type: boolean\n            default: false\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              properties:\n                voicemailIds:\n                  type: array\n                  minItems: 1\n                  maxItems: 10\n                  uniqueItems: true\n                  items:\n                    type: string\n              description: List of voicemail Ids to query for transcription.\n        required: true\n      responses:\n        '200':\n          description: The list of voicemail transcriptions.\n          content:\n            application/json:\n              schema:\n                type: array\n                items:\n                  type: object\n                  title: Transcription of the Voicemail Message\n                  required:\n                    - id\n                    - status\n                    - text\n                  properties:\n                    id:\n                      type: string\n                      description: Id of the voicemail message\n                      example: djE6YzA4ODMzNWYtOTgxZS00MGM1LTliOTktOTZkZjA1M2Q0ZjYwL0NDVFJMX1ZPSUNFTUFJTC83N2U1OGFjOC1lODM4LTQxOWUtYTA3NC0xYmNiZjMzMjY0ZWEvNDE3ZTU1NjQtMmUzNy00ZTJiLWEwODQtNzg0OGQwMmIxNWU3\n                    text:\n                      type: string\n                      description: Transcription of the voicemail message\n                      example: please call me back.\n                    status:\n                      description: Status of voicemail transcription.\n                      type: string\n                      enum:\n                        - FAILED\n                        - IN_PROGRESS\n                        - NOT_FOUND\n                        - NO_AUDIO\n                        - SUCCESS\n                        - NOT_INITIATED\n                      example: SUCCESS\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/voicemail/v1/transcriptions',\n              params: {showArchived: 'SOME_BOOLEAN_VALUE'},\n              data: {voicemailIds: ['string']}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url 'https://api.goto.com/voicemail/v1/transcriptions?showArchived=SOME_BOOLEAN_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"voicemailIds\":[\"string\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"voicemailIds\\\":[\\\"string\\\"]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/voicemail/v1/transcriptions?showArchived=SOME_BOOLEAN_VALUE\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"voicemailIds\":[\"string\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/voicemail/v1/transcriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setQuery(new http\\QueryString([\n              'showArchived' => 'SOME_BOOLEAN_VALUE'\n            ]));\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/voicemail/v1/transcriptions?showArchived=SOME_BOOLEAN_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"voicemailIds\\\":[\\\"string\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /users/v1/users:\n    get:\n      summary: List Users of an Account (Organization)\n      tags:\n        - Users\n      description: |\n        To use this API, the authenticated user must be a [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions) or have the [configure pbx](https://support.goto.com/connect/help/what-permissions-are-available) permission.\n\n        This API will return all the users including their lines of the given account (organization).\n\n        ### Authentication Scopes\n        `users.v1.lines.read` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ###### Load Users of an Account (Organization)\n        ```\n        curl 'https://api.goto.com/users/v1/users?accountKey={accountKey}' -H 'Authorization: Bearer {ACCESS_TOKEN}'\n        ```\n        ###### Load Next Page\n        The presence of the field `nextPageMarker` in the response indicates that eventually there are more users to retrieve.\n        ```\n        curl 'https://api.goto.com/users/v1/users?accountKey={accountKey}&pageMarker={nextPageMarker}'\\\n        -H 'Authorization: Bearer {ACCESS_TOKEN}'\n        ```\n      parameters:\n        - in: query\n          name: accountKey\n          description: This is the key of the account (organization). The [Admin API](/admin#tag/Me) can be used to find account keys.\n          required: true\n          schema:\n            type: string\n        - name: pageMarker\n          in: query\n          description: The opaque identifier representing a valid marker for the desired page. Default to first page when not provided.\n          required: false\n          schema:\n            type: string\n      responses:\n        '200':\n          description: All users of the given account.\n          content:\n            application/json:\n              schema:\n                type: object\n                title: Users\n                required:\n                  - items\n                properties:\n                  items:\n                    type: array\n                    description: |\n                      Users of the given account. The array will be empty on the following cases:\n                      * the `accountKey` doesn't exist or the authenticated user can't access this account\n                      * there is no result for the given `pageMarker`.\n                    items:\n                      type: object\n                      required:\n                        - userKey\n                        - userId\n                        - lines\n                      properties:\n                        userKey:\n                          type: string\n                          description: This is the identity key of the user associated to the line. This is not an email. The same user key can be in multiple accounts (organization).\n                          example: '31416'\n                        userId:\n                          type: string\n                          description: The unique ID of the user within the account (organization). The same ID can't be in multiple accounts.\n                          example: 2c422c4b-3d10-4d10-8325-dc0ccdfd97a8\n                        lines:\n                          type: array\n                          description: |\n                            List of lines. This will be empty if the user doesn't have assigned lines.\n                          items:\n                            title: Line\n                            type: object\n                            description: |\n                              A line is a representation of a dialable interface, capable of making and receiving calls.\n                            required:\n                              - id\n                              - name\n                              - number\n                              - primary\n                              - accountKey\n                              - organization\n                            properties:\n                              id:\n                                type: string\n                                description: The unique identifier of the line. Use this identifier for call actions like initiating a call.\n                                example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                              name:\n                                type: string\n                                description: The name of the line as defined in the administration portal.\n                                example: Front desk\n                              number:\n                                type: string\n                                description: |\n                                  The extension number of the line as set in the administration portal.\n                                example: '1234'\n                              primary:\n                                type: boolean\n                                default: false\n                                description: Determines if this association is the user's primary extension. Users are limited to one primary extension.\n                                example: true\n                              region:\n                                type: string\n                                enum:\n                                  - US\n                                  - MX\n                                  - BR\n                                  - CA\n                                  - GB\n                                  - DE\n                                  - ES\n                                  - FR\n                                  - RO\n                                  - IE\n                                  - AU\n                                  - BE\n                                  - HR\n                                  - PL\n                                  - SE\n                                  - LV\n                                  - IL\n                                  - HU\n                                  - FI\n                                  - SG\n                                description: |\n                                  The specified region code of the line.\n                                example: US\n                              accountKey:\n                                type: string\n                                description: This is the key of the account (organization).\n                                example: '1956177422157'\n                              organization:\n                                title: Organization\n                                type: object\n                                description: |\n                                  The organization object contains information about your organization where this line belongs.\n                                required:\n                                  - id\n                                  - name\n                                properties:\n                                  id:\n                                    type: string\n                                    description: The unique identifier of your organization.\n                                    example: f9d449ad-99b6-4105-985a-399cb1b29c41\n                                  name:\n                                    type: string\n                                    description: This the name of your organization.\n                                    example: My Company\n                  nextPageMarker:\n                    type: string\n                    description: |\n                      The next page marker value, to be used for fetching the next page via the `pageMarker` query parameter.\n                    example: '1'\n        '400':\n          description: |\n            The request has one of the following issues\n              - The `accountKey` is missing.\n              - The `pageMarker` is invalid.\n\n            `BAD_REQUEST` will be returned as the `errorCode`.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                message: The pageMarker is invalid.\n        '401':\n          description: |\n            You have provided an invalid token.\n            You should expect an `errorCode` with value `INVALID_TOKEN`, `EXPIRED_TOKEN` or `UNSUPPORTED_SCHEME`.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                INVALID_TOKEN:\n                  summary: Invalid Token\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: INVALID_TOKEN\n                    message: The supplied authentication token is not valid.\n                EXPIRED_TOKEN:\n                  summary: Expired Token\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: EXPIRED_TOKEN\n                    message: The supplied authentication token is expired.\n                UNSUPPORTED_SCHEME:\n                  summary: Unsupported scheme.\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNSUPPORTED_SCHEME\n                    message: The supplied authentication scheme is unsupported.\n        '403':\n          description: You are not authorized to do the specified operation for the given user.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                '403':\n                  summary: Authorization Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                    message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: An error occurred on the server or downstream while processing the request. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                '500':\n                  summary: Server Side Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNKNOWN_ERROR\n                    message: An unknown error ocurred\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/users/v1/users',\n              params: {accountKey: 'SOME_STRING_VALUE', pageMarker: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/users/v1/users?accountKey=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/users/v1/users?accountKey=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/users/v1/users');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => 'SOME_STRING_VALUE',\n              'pageMarker' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/users/v1/users?accountKey=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /users/v1/lines:\n    get:\n      summary: List my lines\n      tags:\n        - Lines\n      description: |\n        Returns a collection of lines associated with the authenticated user (`ACCESS_TOKEN` owner).\n        ### Authentication Scopes\n        `users.v1.lines.read` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl 'https://api.goto.com/users/v1/lines' -H 'Authorization: Bearer {ACCESS_TOKEN}'\n        ```\n      responses:\n        '200':\n          description: All lines of the authenticated user\n          content:\n            application/json:\n              schema:\n                type: object\n                title: Lines\n                required:\n                  - items\n                properties:\n                  items:\n                    type: array\n                    description: Lines of the authenticated user. Will be empty if the authenticated user does not have any assigned lines.\n                    items:\n                      title: Line\n                      type: object\n                      description: |\n                        A line is a representation of a dialable interface, capable of making and receiving calls.\n                      required:\n                        - id\n                        - name\n                        - number\n                        - primary\n                        - accountKey\n                        - organization\n                      properties:\n                        id:\n                          type: string\n                          description: The unique identifier of the line. Use this identifier for call actions like initiating a call.\n                          example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                        name:\n                          type: string\n                          description: The name of the line as defined in the administration portal.\n                          example: Front desk\n                        number:\n                          type: string\n                          description: |\n                            The extension number of the line as set in the administration portal.\n                          example: '1234'\n                        primary:\n                          type: boolean\n                          default: false\n                          description: Determines if this association is the user's primary extension. Users are limited to one primary extension.\n                          example: true\n                        region:\n                          type: string\n                          enum:\n                            - US\n                            - MX\n                            - BR\n                            - CA\n                            - GB\n                            - DE\n                            - ES\n                            - FR\n                            - RO\n                            - IE\n                            - AU\n                            - BE\n                            - HR\n                            - PL\n                            - SE\n                            - LV\n                            - IL\n                            - HU\n                            - FI\n                            - SG\n                          description: |\n                            The specified region code of the line.\n                          example: US\n                        accountKey:\n                          type: string\n                          description: This is the key of the account (organization).\n                          example: '1956177422157'\n                        organization:\n                          title: Organization\n                          type: object\n                          description: |\n                            The organization object contains information about your organization where this line belongs.\n                          required:\n                            - id\n                            - name\n                          properties:\n                            id:\n                              type: string\n                              description: The unique identifier of your organization.\n                              example: f9d449ad-99b6-4105-985a-399cb1b29c41\n                            name:\n                              type: string\n                              description: This the name of your organization.\n                              example: My Company\n        '401':\n          description: |\n            You have provided an invalid token.\n            You should expect an `errorCode` with value `INVALID_TOKEN`, `EXPIRED_TOKEN` or `UNSUPPORTED_SCHEME`.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                INVALID_TOKEN:\n                  summary: Invalid Token\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: INVALID_TOKEN\n                    message: The supplied authentication token is not valid.\n                EXPIRED_TOKEN:\n                  summary: Expired Token\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: EXPIRED_TOKEN\n                    message: The supplied authentication token is expired.\n                UNSUPPORTED_SCHEME:\n                  summary: Unsupported scheme.\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNSUPPORTED_SCHEME\n                    message: The supplied authentication scheme is unsupported.\n        '403':\n          description: You are not authorized to do the specified operation for the given user.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                '403':\n                  summary: Authorization Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                    message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: An error occurred on the server or downstream while processing the request. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                '500':\n                  summary: Server Side Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNKNOWN_ERROR\n                    message: An unknown error ocurred\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {method: 'GET', url: 'https://api.goto.com/users/v1/lines'};\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/users/v1/lines\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/users/v1/lines\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/users/v1/lines');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/users/v1/lines\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /users/v1/users/{userKey}/lines:\n    get:\n      summary: List the lines of a specific user\n      tags:\n        - Lines\n      description: |\n        Returns a collection of lines for the specified `userKey`. The `userKey` matches the one from the [Admin API](https://developer.goto.com/admin).\n        ### Security\n        The authenticated user (`ACCESS_TOKEN` owner) should be the same as `userKey` or should be [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions) of the organization in which the user identified by `userKey` belongs.\n        ### Authentication Scopes\n        `users.v1.lines.read` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl 'https://api.goto.com/users/v1/users/6586528897936948237/lines' \\ -H 'Authorization: Bearer {ACCESS_TOKEN}'\n        ```\n      parameters:\n        - in: path\n          name: userKey\n          description: This is the key (or email) of the specified user. Using email is deprecated.\n          required: true\n          schema:\n            type: string\n      responses:\n        '200':\n          description: All lines defined for a user.\n          content:\n            application/json:\n              schema:\n                type: object\n                title: Lines\n                required:\n                  - items\n                properties:\n                  items:\n                    type: array\n                    description: Lines of the given user. Will be empty if the user does not have any assigned lines.\n                    items:\n                      title: Line\n                      type: object\n                      description: |\n                        A line is a representation of a dialable interface, capable of making and receiving calls.\n                      required:\n                        - id\n                        - name\n                        - number\n                        - primary\n                        - accountKey\n                        - organization\n                      properties:\n                        id:\n                          type: string\n                          description: The unique identifier of the line. Use this identifier for call actions like initiating a call.\n                          example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                        name:\n                          type: string\n                          description: The name of the line as defined in the administration portal.\n                          example: Front desk\n                        number:\n                          type: string\n                          description: |\n                            The extension number of the line as set in the administration portal.\n                          example: '1234'\n                        primary:\n                          type: boolean\n                          default: false\n                          description: Determines if this association is the user's primary extension. Users are limited to one primary extension.\n                          example: true\n                        region:\n                          type: string\n                          enum:\n                            - US\n                            - MX\n                            - BR\n                            - CA\n                            - GB\n                            - DE\n                            - ES\n                            - FR\n                            - RO\n                            - IE\n                            - AU\n                            - BE\n                            - HR\n                            - PL\n                            - SE\n                            - LV\n                            - IL\n                            - HU\n                            - FI\n                            - SG\n                          description: |\n                            The specified region code of the line.\n                          example: US\n                        accountKey:\n                          type: string\n                          description: This is the key of the account (organization).\n                          example: '1956177422157'\n                        organization:\n                          title: Organization\n                          type: object\n                          description: |\n                            The organization object contains information about your organization where this line belongs.\n                          required:\n                            - id\n                            - name\n                          properties:\n                            id:\n                              type: string\n                              description: The unique identifier of your organization.\n                              example: f9d449ad-99b6-4105-985a-399cb1b29c41\n                            name:\n                              type: string\n                              description: This the name of your organization.\n                              example: My Company\n        '401':\n          description: |\n            You have provided an invalid token.\n            You should expect an `errorCode` with value `INVALID_TOKEN`, `EXPIRED_TOKEN` or `UNSUPPORTED_SCHEME`.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                INVALID_TOKEN:\n                  summary: Invalid Token\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: INVALID_TOKEN\n                    message: The supplied authentication token is not valid.\n                EXPIRED_TOKEN:\n                  summary: Expired Token\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: EXPIRED_TOKEN\n                    message: The supplied authentication token is expired.\n                UNSUPPORTED_SCHEME:\n                  summary: Unsupported scheme.\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNSUPPORTED_SCHEME\n                    message: The supplied authentication scheme is unsupported.\n        '403':\n          description: You are not authorized to do the specified operation for the given user.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                '403':\n                  summary: Authorization Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                    message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: The specified resource does not exist or cannot be seen.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                '404':\n                  summary: Not Found Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: NOT_FOUND\n                    message: Not Found\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: An error occurred on the server or downstream while processing the request. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                '500':\n                  summary: Server Side Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNKNOWN_ERROR\n                    message: An unknown error ocurred\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {method: 'GET', url: 'https://api.goto.com/users/v1/users/%7BuserKey%7D/lines'};\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/users/v1/users/%7BuserKey%7D/lines\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/users/v1/users/%7BuserKey%7D/lines\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/users/v1/users/%7BuserKey%7D/lines');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/users/v1/users/%7BuserKey%7D/lines\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /users/v1/me:\n    get:\n      summary: Get my Goto Connect setup\n      tags:\n        - Me\n      description: |\n        Use this API to have an overview of the settings associated to the current user. Here the current user is defined as the principal defined in the access token.\n        ### Authentication Scopes\n        `users.v1.read` must be used when a token is requested from the Authentication API.\n      responses:\n        '200':\n          description: My GoTo Connect setup\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - items\n                properties:\n                  items:\n                    type: array\n                    description: GoToConnect setup per Account\n                    items:\n                      type: object\n                      required:\n                        - accountKey\n                        - outboundPhoneNumbers\n                      properties:\n                        accountKey:\n                          type: string\n                          description: The account key\n                          example: '31416'\n                        outboundPhoneNumbers:\n                          type: array\n                          description: Phone numbers that can be used to override outbound caller ID in Calls V2 API for instance. These are the phone numbers the user has permission to use for caller ID override.\n                          items:\n                            type: object\n                            required:\n                              - id\n                              - number\n                            properties:\n                              id:\n                                type: string\n                                description: The phone number ID\n                                example: ed4ab409-dfc4-4b04-a39d-4e70416f498c\n                              number:\n                                type: string\n                                description: The phone number in E164 format\n                                example: '+14155552671'\n        '401':\n          description: |\n            You have provided an invalid token.\n            You should expect an `errorCode` with value `INVALID_TOKEN`, `EXPIRED_TOKEN` or `UNSUPPORTED_SCHEME`.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                INVALID_TOKEN:\n                  summary: Invalid Token\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: INVALID_TOKEN\n                    message: The supplied authentication token is not valid.\n                EXPIRED_TOKEN:\n                  summary: Expired Token\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: EXPIRED_TOKEN\n                    message: The supplied authentication token is expired.\n                UNSUPPORTED_SCHEME:\n                  summary: Unsupported scheme.\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNSUPPORTED_SCHEME\n                    message: The supplied authentication scheme is unsupported.\n        '403':\n          description: You are not authorized to do the specified operation for the given user.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                '403':\n                  summary: Authorization Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                    message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: An error occurred on the server or downstream while processing the request. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                '500':\n                  summary: Server Side Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNKNOWN_ERROR\n                    message: An unknown error ocurred\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {method: 'GET', url: 'https://api.goto.com/users/v1/me'};\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/users/v1/me\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/users/v1/me\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/users/v1/me');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/users/v1/me\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /calls/v2/calls:\n    post:\n      summary: Initiate a call\n      tags:\n        - Click To Call\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              required:\n                - dialString\n                - from\n              properties:\n                dialString:\n                  type: string\n                  format: string\n                  description: The number to dial\n                  example: (866) 768-5429\n                from:\n                  type: object\n                  title: CallRequestFrom\n                  description: Object providing information as to which line the call should initiate from.\n                  required:\n                    - lineId\n                  properties:\n                    lineId:\n                      type: string\n                      description: The `lineId` to use as an initiator. `lineId` can be retrieved from the Users API.\n                      example: 014ce388-da2c-d120-88f9-000100320002\n                autoAnswer:\n                  type: boolean\n                  description: If true, the call to the line will be answered automatically when possible\n                  default: false\n                phoneNumberId:\n                  type: string\n                  format: uuid\n                  description: The Phone Number identifier to be used to place an outbound call\n        description: Information to initiate a phone call.\n        required: true\n      description: |\n        The calls resource enables you to programmatically initiate a phone call. First, the API queues the request,\n        a return code of 202 means that the request was successfully queued - we typically process the request within milliseconds.\n        Next, we process your request in two phases. First we initiate a call to the line identified by `from.lineId`. If this call is answered,\n        a call is then initiated to `dialString`. A common use of this API is to implement click-to-call functionality in applications by initiating\n        a call from a GoToConnect line to the targeted phone number.\n\n        To initiate a call on the line defined at `from.lineId`, make a request with the following body :\n\n        ```json\n          {\n            \"dialString\": \"(866) 768-5429\",\n            \"from\": {\n              \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\"\n            }\n          }\n        ```\n\n        When the call is answered on the line defined at `from.lineId`, a new call is initiated to `(866) 768-5429`.\n        ### Intercom\n        When the  \"autoAnswer\" boolean is set to true, the call to the line identified by the lineId will be answered automatically when possible (the Intercom feature needs to be enabled on the line and the instructions to do so are available here: https://support.goto.com/connect/help/how-do-i-intercom-a-line-or-ring-group-gotoconnect-intercom-line-ring-group).  \n        By default, all newly created lines should have this feature enabled.  \n\n        This feature is intended to work with a single device connected and will not work properly in some situations. \n        The limitations include, but are not limited to, when a Ring Group or Call Queue is provided in the lineId. Another current limitation is when multiple devices are connected simultaneously, in which case multiple calls to the destination can be made at once. For the best user experience, this field should be used when a single device selected with the lineId exists. \n\n        The GoTo desktop application is considered a device that will be available to answer automatically the initiated call if possible. \n        ### Caller-id\n        The `phoneNumberId` parameter specifies which phone number will be displayed as the caller ID when initiating an outbound call. Only phone numbers belonging to the organization can be used as caller ID. To get a list of the available phone numbers in the account, use the phone numbers API.\n        ### Security\n        The authorization to initiate a call on a specific line is determined by the provided `ACCESS_TOKEN`. Lines from the authenticated user will be available for initiating a call. The authenticated user can only use authorized caller IDs when initiating outbound calls.\n        Also, if the current user is a [super admin](https://support.goto.com/connect/help/how-do-i-give-a-user-user-group-super-admin-permissions-gotoconnect-give-super-admin-permissions)  of the organization, all lines of the organization will be available for initiating a call.  Note that if a super admin is associated to a device and a request is done on a line associated with this device, all devices associated to  this line will ring, not only the one of the super admin. That same user is also allowed to use any of the organization's phone numbers as caller ID to place outbound calls.\n\n        ### Authentication Scopes\n        `calls.v2.initiate` must be used when a token is requested from the Authentication API.\n\n        ### Example Interaction with curl\n        ```\n        curl -XPOST 'https://api.goto.com/calls/v2/calls'          \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'                \\\n          -H 'Content-Type: application/json'                      \\\n          -d '{                                                    \\\n                \"dialString\": \"(866) 768-5429\",                    \\\n                \"from\": {                                          \\\n                  \"lineId\": \"99be59bc-edfc-4c62-a73f-06087ec2fe00\" \\\n                }                                                  \\\n              }'\n        ```\n      responses:\n        '202':\n          description: Your request was successfully queued for processing.\n          content:\n            application/json:\n              schema:\n                type: object\n                properties:\n                  initiatorId:\n                    type: string\n                    description: Unique call ID allowing related call requests to be associated with a 'conversation' or unique call from the caller-callee perspective within the Call-Events API.\n                    example: 014ce388-da2c-d120-88f9-000100320002\n        '400':\n          description: |\n            The request has one/or more of these issues:\n              - `dialString` is missing or has a phone number that could not be parsed.\n              - `from.lineId` is missing or malformed.\n              - `phoneNumberId` is present and malformed.\n\n            You should expect an `errorCode` with value `CONSTRAINT_VIOLATION` whenever a 400 status code is returned.\n            Fields with issues will be specified in `constraintViolations[].field`.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - allOf:\n                      - allOf:\n                          - type: object\n                            required:\n                              - reference\n                              - errorCode\n                            properties:\n                              reference:\n                                type: string\n                                description: A unique identifier used to lookup the error on internal systems.\n                              errorCode:\n                                type: string\n                                description: A machine readable identifier of the error type.\n                              message:\n                                type: string\n                                description: A human readable message describing the issue.\n                            example:\n                              reference: jhkasdf89hjn3298fs\n                              errorCode: CONSTRAINT_VIOLATION\n                              message: Invalid data was provided\n                          - type: object\n                            title: ConstraintViolationError\n                            required:\n                              - constraintViolations\n                            properties:\n                              constraintViolations:\n                                type: array\n                                items:\n                                  type: object\n                                  required:\n                                    - field\n                                    - constraint\n                                  properties:\n                                    field:\n                                      type: string\n                                      description: Constraint violation target field name.\n                                    constraint:\n                                      type: string\n                                      description: A machine readable identifier of the constraint violation type.\n                                  example:\n                                    field: name\n                                    constraint: MAX_LENGTH\n                example:\n                  reference: jhkaa4f89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n                  constraintViolations:\n                    - field: dialString\n                      constraint: REQUIRED_FIELD\n        '401':\n          description: |\n            You have provided an invalid token.\n            You should expect an `errorCode` with value `INVALID_TOKEN`, `EXPIRED_TOKEN` or `UNSUPPORTED_SCHEME`.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                example:\n                  reference: ouQSNIv6jO59JtCCQbod9pH2ThLelXYK\n                  errorCode: AUTHN_UNSUPPORTED_SCHEME\n                  message: The supplied authentication scheme is unsupported.\n              examples:\n                INVALID_TOKEN:\n                  summary: Invalid Token\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: INVALID_TOKEN\n                    message: The supplied authentication token is not valid.\n                EXPIRED_TOKEN:\n                  summary: Expired Token\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: EXPIRED_TOKEN\n                    message: The supplied authentication token is expired.\n                UNSUPPORTED_SCHEME:\n                  summary: Unsupported scheme.\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNSUPPORTED_SCHEME\n                    message: The supplied authentication scheme is unsupported.\n        '403':\n          description: |\n            You are not authorized to do the specified operation for the given user.\n\n            You should expect an `errorCode` with value `AUTHZ_INSUFFICIENT_SCOPE`.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                example:\n                  reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                  errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                  message: |\n                    The scopes granted to the supplied token are insufficient to perform the requested action  or the request supplied no token.\n              examples:\n                AUTHZ_INSUFFICIENT_SCOPE:\n                  summary: Authorization Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                    message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The request has one of the following issues\n              - The `from.lineId` could not be found.\n              - The `from.lineId` is not assigned to any device.\n              - The given line associated with `from.lineId` is not associated to the authenticated user.\n              - The `phoneNumberId`, if provided, does not exist or does not belong to the authenticated user's organization.\n\n            You should expect an `errorCode` with value `NOT_FOUND` whenever a 404 status code is returned.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                example:\n                  reference: jhkaa4f89hjn3298fs\n                  errorCode: NOT_FOUND\n                  message: The client sent a `lineId` that could not be found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: An error occurred on the server or downstream while processing the request. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                UNKNOWN_ERROR:\n                  summary: Server Side Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNKNOWN_ERROR\n                    message: An unknown error ocurred\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/calls/v2/calls',\n              data: {\n                dialString: '(866) 768-5429',\n                from: {lineId: '014ce388-da2c-d120-88f9-000100320002'},\n                autoAnswer: false,\n                phoneNumberId: '8e9ce3fb-4d22-4fe3-baa7-b7892dd942d7'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/calls/v2/calls \\\n              --header 'content-type: application/json' \\\n              --data '{\"dialString\":\"(866) 768-5429\",\"from\":{\"lineId\":\"014ce388-da2c-d120-88f9-000100320002\"},\"autoAnswer\":false,\"phoneNumberId\":\"8e9ce3fb-4d22-4fe3-baa7-b7892dd942d7\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"dialString\\\":\\\"(866) 768-5429\\\",\\\"from\\\":{\\\"lineId\\\":\\\"014ce388-da2c-d120-88f9-000100320002\\\"},\\\"autoAnswer\\\":false,\\\"phoneNumberId\\\":\\\"8e9ce3fb-4d22-4fe3-baa7-b7892dd942d7\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/calls/v2/calls\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"dialString\":\"(866) 768-5429\",\"from\":{\"lineId\":\"014ce388-da2c-d120-88f9-000100320002\"},\"autoAnswer\":false,\"phoneNumberId\":\"8e9ce3fb-4d22-4fe3-baa7-b7892dd942d7\"}');\n\n            $request->setRequestUrl('https://api.goto.com/calls/v2/calls');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/calls/v2/calls\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"dialString\\\":\\\"(866) 768-5429\\\",\\\"from\\\":{\\\"lineId\\\":\\\"014ce388-da2c-d120-88f9-000100320002\\\"},\\\"autoAnswer\\\":false,\\\"phoneNumberId\\\":\\\"8e9ce3fb-4d22-4fe3-baa7-b7892dd942d7\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /v2/session:\n    post:\n      summary: DEPRECATED. Creates a new session\n      description: |\n        **DEPRECATED:** see [Deprecation Notice](/GoToConnect/#tag/Real-time-Overview)\n        Creates a new `session` used to manage subscriptions.\n\n        ### Example Interaction with curl\n        ```\n        curl 'https://realtime.jive.com/v2/session' -XPOST -H 'Authorization: Bearer {ACCESS_TOKEN}'\n        ```\n      deprecated: true\n      tags:\n        - Realtime Sessions\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              properties:\n                channelId:\n                  type: string\n                  description: ID of a notification channel obtained through the [notification api](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\n                  example: a742e74f-7537-414f-a6e1-12a3d4f03ef6\n        description: The `channel id` which will be used to create the `session`. If not set, a websocket connection will be created.\n      responses:\n        '201':\n          description: Links describing the newly created session.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: The referential properties describing the session.\n                required:\n                  - self\n                  - subscriptions\n                properties:\n                  self:\n                    type: string\n                    format: url\n                    description: A reference to the `session`.\n                    example: https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\n                  ws:\n                    type: string\n                    format: uri\n                    description: A reference to the WebSocket used to receive real time state updates. Only present if notification channel was not used to create the session.\n                    example: wss://realtime.jive.com/ws/v2/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\n                  subscriptions:\n                    type: string\n                    format: url\n                    description: A reference to the resource used for managing `subscription`s within the session.\n                    example: https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3/subscriptions\n        '400':\n          description: |\n            There was an error with the request. Details based on the `errorCode` field.\n\n            * `TOO_MANY_SESSION` Too many sessions with active websocket connections or alive notification channels.\n\n            * `CHANNEL_LIFETIME_TOO_LONG` The provided notification channel has lifetime more than 7 days.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: CHANNEL_LIFETIME_TOO_LONG\n                message: Channel lifetime too long.\n        '401':\n          description: You have provided an invalid token.\n        '403':\n          description: |\n            There was an error with the provided token. Details based on the `errorCode` field.\n\n            * `UNAUTHORIZED` You have not provided any token.\n\n            * `OWNER_MISMATCH` The provided channel's owner does not match the provided token.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: OWNER_MISMATCH\n                message: The provided channel's owner does not match the provided token.\n        '409':\n          description: |\n            Conflict based on the `errorCode` field.\n            * `UNIQUE_CHANNEL_ID` Session with this `channel id` already exists.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNIQUE_CHANNEL_ID\n                message: Session with this channel id already exists.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://realtime.jive.com/v2/session',\n              data: {channelId: 'a742e74f-7537-414f-a6e1-12a3d4f03ef6'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://realtime.jive.com/v2/session \\\n              --header 'content-type: application/json' \\\n              --data '{\"channelId\":\"a742e74f-7537-414f-a6e1-12a3d4f03ef6\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"realtime.jive.com\")\n\n            payload = \"{\\\"channelId\\\":\\\"a742e74f-7537-414f-a6e1-12a3d4f03ef6\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/v2/session\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"channelId\":\"a742e74f-7537-414f-a6e1-12a3d4f03ef6\"}');\n\n            $request->setRequestUrl('https://realtime.jive.com/v2/session');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://realtime.jive.com/v2/session\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"channelId\\\":\\\"a742e74f-7537-414f-a6e1-12a3d4f03ef6\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://realtime.jive.com\n  /v2/session/{sessionId}:\n    get:\n      summary: DEPRECATED. Returns an existing session\n      description: |\n        **DEPRECATED:** see [Deprecation Notice](/GoToConnect/#tag/Real-time-Overview)\n        Returns the `session` with ID `sessionId`.\n\n        ### Example Interaction with curl\n        ```\n        curl 'https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3' -H 'Authorization: Bearer {ACCESS_TOKEN}'\n        ```\n      deprecated: true\n      tags:\n        - Realtime Sessions\n      parameters:\n        - in: path\n          name: sessionId\n          description: The ID of the session to return\n          required: true\n          schema:\n            type: string\n      responses:\n        '200':\n          description: The requested `session`.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - id\n                  - links\n                  - activeSubscriptions\n                properties:\n                  id:\n                    type: string\n                    description: The ID of this `session`.\n                    example: 4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\n                  links:\n                    type: object\n                    description: The referential properties describing the session.\n                    required:\n                      - self\n                      - subscriptions\n                    properties:\n                      self:\n                        type: string\n                        format: url\n                        description: A reference to the `session`.\n                        example: https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\n                      ws:\n                        type: string\n                        format: uri\n                        description: A reference to the WebSocket used to receive real time state updates. Only present if notification channel was not used to create the session.\n                        example: wss://realtime.jive.com/ws/v2/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\n                      subscriptions:\n                        type: string\n                        format: url\n                        description: A reference to the resource used for managing `subscription`s within the session.\n                        example: https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3/subscriptions\n                  activeSubscriptions:\n                    type: object\n                    description: A map of subscription IDs to the `subscription` for that subscription ID.\n                    additionalProperties:\n                      type: object\n                      required:\n                        - id\n                        - type\n                        - entity\n                      properties:\n                        id:\n                          type: string\n                          description: A client-defined identifier, unique within the scope of the containing `session`, for this `subscription`.\n                          example: elisha\n                        type:\n                          type: string\n                          enum:\n                            - dialog\n                          description: The type of the subscription.\n                          example: dialog\n                        entity:\n                          type: object\n                          title: RealtimeSessionSubscriptionEntity\n                          required:\n                            - id\n                            - type\n                            - account\n                          properties:\n                            id:\n                              type: string\n                              description: The ID of the resource type defined in the `type` field.\n                              example: 4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\n                            type:\n                              type: string\n                              enum:\n                                - line.v2\n                              description: The resource type to subscribe to.\n                              example: line.v2\n                            account:\n                              type: string\n                              description: The ID of the `organization` to which the resource type and ID defined by `type` and `id`, respectively, belong\n                              example: f9d449ad-99b6-4105-985a-399cb1b29c41\n        '401':\n          description: You have provided an invalid token.\n        '403':\n          description: You are not authorized to view the requested `session`.\n        '404':\n          description: You requested a `session` that does not exist.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {method: 'GET', url: 'https://realtime.jive.com/v2/session/%7BsessionId%7D'};\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://realtime.jive.com/v2/session/%7BsessionId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"realtime.jive.com\")\n\n            conn.request(\"GET\", \"/v2/session/%7BsessionId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://realtime.jive.com/v2/session/%7BsessionId%7D');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://realtime.jive.com/v2/session/%7BsessionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://realtime.jive.com\n  /v2/session/{sessionId}/subscriptions:\n    post:\n      summary: DEPRECATED. Adds additional subscriptions to a session\n      description: |\n        **DEPRECATED:** see [Deprecation Notice](/GoToConnect/#tag/Real-time-Overview)\n        Adds additional `subscriptions` to the session with session ID `sessionId`.  This operation allows you to specify\n        one or more `subscriptions` at once. The real time API defines a `subscription` in terms of a subscription type, a\n        resource type, a resource type specific ID, and your organization ID. In this example, you create a\n        `subscription` with type `dialog`, a fancy way to say call state, to the resource of type `line.v2` with\n        ID `99be59bc-edfc-4c62-a73f-06087ec2fe00` under the organization with ID `f9d449ad-99b6-4105-985a-399cb1b29c41`.\n        The `subscription`'s ID is \"elisha\".\n\n        ### Example Interaction with curl\n        ```\n         curl 'https://realtime.jive.com/v2/session/4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3/subscriptions' -X POST -H 'Authorization: Bearer {ACCESS_TOKEN}' -H 'Content-Type: application/json' \\\n         -d '\\\n         [\\\n           {\\\n             \"id\":\"elisha\",\\\n             \"type\":\"dialog\",\\\n             \"entity\": {\\\n               \"id\":\"99be59bc-edfc-4c62-a73f-06087ec2fe00\",\\\n               \"type\":\"line.v2\",\\\n               \"account\":\"f9d449ad-99b6-4105-985a-399cb1b29c41\"\\\n             }\\\n           }\\\n         ]'\n        ```\n\n        As shown below, the returned response contains the requested subscription `id`s as field names with their\n        values being either `true` or `false` depending on whether or not the `subscription` was successful. If the\n        request contained multiple `subscription`s, the response contains a key value pair for each requested `subscription`.\n        Some possible reasons for a `false` response might be that you aren't authorized to subscribe to the particular\n        resource or you tried to subscribe to the same resource more than once within the same `session`.\n        ```\n        {\n          \"elisha\": true\n        }\n        ```\n        *Note:* when using a Notification Channel sometimes you will get a response code `202 Accepted` without response body. This means that Realtime API couldn't process your request immediately, but your subscriptions will be created in a short while, typically within a few seconds. You can check your subscriptions by querying your session.\n      deprecated: true\n      tags:\n        - Realtime Sessions\n      parameters:\n        - in: path\n          name: sessionId\n          description: The ID of the session to add the requested `subscriptions` to\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: array\n              items:\n                type: object\n                required:\n                  - id\n                  - type\n                  - entity\n                properties:\n                  id:\n                    type: string\n                    description: A client-defined identifier, unique within the scope of the containing `session`, for this `subscription`.\n                    example: elisha\n                  type:\n                    type: string\n                    enum:\n                      - dialog\n                    description: The type of the subscription.\n                    example: dialog\n                  entity:\n                    type: object\n                    title: RealtimeSessionSubscriptionEntity\n                    required:\n                      - id\n                      - type\n                      - account\n                    properties:\n                      id:\n                        type: string\n                        description: The ID of the resource type defined in the `type` field.\n                        example: 4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\n                      type:\n                        type: string\n                        enum:\n                          - line.v2\n                        description: The resource type to subscribe to.\n                        example: line.v2\n                      account:\n                        type: string\n                        description: The ID of the `organization` to which the resource type and ID defined by `type` and `id`, respectively, belong\n                        example: f9d449ad-99b6-4105-985a-399cb1b29c41\n        description: The requested `subscriptions` to add to the `session`.\n        required: true\n      responses:\n        '202':\n          description: Realtime API received your subscription request, and they will be processed soon.\n        '207':\n          description: |\n            The requested subscription ids as field names with their values being either `true` or `false` depending on\n            whether or not the `subscription` was successful. If the request contained multiple subscriptions, the\n            response contains a key value pair for each requested `subscription`. Some possible reasons for a `false`\n            response might be that you are authorized to subscribe to the particular resource or you tried to subscribe\n            to the same resource more than once within the same `session`.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: A map of subscription IDs to the boolean result indicating if a `subscription` was successfully added to the `session`.\n                additionalProperties:\n                  type: boolean\n                example:\n                  elisha: true\n        '400':\n          description: You have not provided any subscription.\n        '401':\n          description: You have provided an invalid token.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://realtime.jive.com/v2/session/%7BsessionId%7D/subscriptions',\n              data: [\n                {\n                  id: 'elisha',\n                  type: 'dialog',\n                  entity: {\n                    id: '4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3',\n                    type: 'line.v2',\n                    account: 'f9d449ad-99b6-4105-985a-399cb1b29c41'\n                  }\n                }\n              ]\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://realtime.jive.com/v2/session/%7BsessionId%7D/subscriptions \\\n              --header 'content-type: application/json' \\\n              --data '[{\"id\":\"elisha\",\"type\":\"dialog\",\"entity\":{\"id\":\"4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\",\"type\":\"line.v2\",\"account\":\"f9d449ad-99b6-4105-985a-399cb1b29c41\"}}]'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"realtime.jive.com\")\n\n            payload = \"[{\\\"id\\\":\\\"elisha\\\",\\\"type\\\":\\\"dialog\\\",\\\"entity\\\":{\\\"id\\\":\\\"4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\\"type\\\":\\\"line.v2\\\",\\\"account\\\":\\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\"}}]\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/v2/session/%7BsessionId%7D/subscriptions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('[{\"id\":\"elisha\",\"type\":\"dialog\",\"entity\":{\"id\":\"4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\",\"type\":\"line.v2\",\"account\":\"f9d449ad-99b6-4105-985a-399cb1b29c41\"}}]');\n\n            $request->setRequestUrl('https://realtime.jive.com/v2/session/%7BsessionId%7D/subscriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://realtime.jive.com/v2/session/%7BsessionId%7D/subscriptions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"[{\\\"id\\\":\\\"elisha\\\",\\\"type\\\":\\\"dialog\\\",\\\"entity\\\":{\\\"id\\\":\\\"4m1egos8MCo3Ia46nJxWFaLOz4eKM6V3\\\",\\\"type\\\":\\\"line.v2\\\",\\\"account\\\":\\\"f9d449ad-99b6-4105-985a-399cb1b29c41\\\"}}]\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://realtime.jive.com\n  /call-reports/v1/reports/phone-number-activity:\n    get:\n      tags:\n        - Phone Number Activity\n      summary: Phone Number Activity Summary\n      description: |\n        Returns a summary of phone number activity consisting of a result set of phone numbers and their associated metrics. Phone Numbers are direct inward dial (DID) numbers configured in your GoToConnect organization.\n\n        ### Examples of interaction with curl\n        ```\n        curl 'https://api.goto.com/call-reports/v1/reports/phone-number-activity?startTime=2018-10-08T00%3A00%3A00&endTime=2018-10-14T23%3A59%3A59'\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'\n\n        ```\n      parameters:\n        - in: query\n          name: organizationId\n          description: ID of the organization. Mandatory if the user defined by the access token belongs to more than one organization. Otherwise the user's single organization will be taken.\n          example: 0127d974-f9f3-0704-2dee-000100422009\n          schema:\n            type: string\n        - in: query\n          name: accountKey\n          description: This is the key of the account (organization). The [Admin API](/admin) can be used to find account keys. This is an alternative to the organization ID since there is a one to one mapping between both values. `organizationId` will be taken over `accountKey` if both are provided.\n          example: '3141592653589793238'\n          schema:\n            type: string\n        - name: startTime\n          in: query\n          description: The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n          required: true\n        - name: endTime\n          description: The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\n          in: query\n          required: true\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n        - name: page\n          in: query\n          description: Zero-based integer representing the page desired\n          required: false\n          schema:\n            type: integer\n            format: int32\n            default: 0\n        - name: pageSize\n          in: query\n          description: Maximum number of items returned in a page. The largest supported page size is 10000.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 10000\n            default: 100\n        - name: q\n          in: query\n          required: false\n          description: |\n            The query string used to conduct a fuzzy search on the  `phoneNumberName` and `phoneNumber` properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\n          explode: true\n          schema:\n            type: array\n            items:\n              type: string\n        - name: sort\n          in: query\n          schema:\n            type: array\n            items:\n              type: string\n              description: The name of the response field to sort by, prefixed with a '+' or '-' to indicate ascending sorting and descending sorting, respectively.\n              default: '-totalDuration'\n              enum:\n                - '-totalCallVolume'\n                - +totalCallVolume\n                - '-inboundCallVolume'\n                - +inboundCallVolume\n                - '-outboundCallVolume'\n                - +outboundCallVolume\n                - '-totalDuration'\n                - +totalDuration\n                - '-inboundDuration'\n                - +inboundDuration\n                - '-outboundDuration'\n                - +outboundDuration\n                - '-totalAverageDuration'\n                - +totalAverageDuration\n      responses:\n        '200':\n          description: A list of documents containing phone number information as well as the aggregated summary according to the applied filters and in the sorted order.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - items\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      required:\n                        - dataValues\n                        - name\n                        - alternativeNames\n                        - number\n                      properties:\n                        alternativePhoneNumberNames:\n                          description: All names that have been recorded for this phone number during the reporting time frame\n                          type: array\n                          items:\n                            type: string\n                          example:\n                            - GoToConnect\n                            - LogMeIn\n                        phoneNumberId:\n                          description: The ID of the phone number in the organization. This ID is globally unique.\n                          type: string\n                          format: uuid\n                          example: f0db9c4f-1117-45c0-a5ea-2f751983421d\n                        phoneNumberName:\n                          description: The name of the number as seen for the last time\n                          type: string\n                          example: My Company\n                        phoneNumber:\n                          description: |\n                            The number as seen by the platform. Users must not make assumptions about the formatting of this field as we cannot guarantee that it will properly sanitized to any standard format like e.164.\n                          type: string\n                          example: '4379967123'\n                        dataValues:\n                          type: object\n                          description: Data values aggregated by metric\n                          required:\n                            - inboundVolume\n                            - inboundDuration\n                            - outboundVolume\n                            - outboundDuration\n                            - averageDuration\n                            - volume\n                            - totalDuration\n                          properties:\n                            inboundVolume:\n                              description: Total inbound call volume in number of calls\n                              type: integer\n                            inboundDuration:\n                              description: Total inbound call volume duration expressed in milliseconds\n                              type: integer\n                            outboundVolume:\n                              description: Total outbound call volume in number of calls\n                              type: integer\n                            outboundDuration:\n                              description: Total outbound call volume duration expressed in milliseconds\n                              type: integer\n                            averageDuration:\n                              description: Average call duration expressed in milliseconds.  This is calculated as `totalDuration` divided by the number of calls with duration > 0 milliseconds.\n                              type: integer\n                            volume:\n                              description: Total call volume in number of calls\n                              type: integer\n                            totalDuration:\n                              description: Total call volume duration expressed in milliseconds\n                              type: integer\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n            * MANDATORY_ORGANIZATION_ID - organizationId must be set\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: fddsfj20hf2ihsusl\n                errorCode: BAD_REQUEST\n                message: Invalid Request.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            This will be returned if the given organization ID was not found or the given user is not authorized to check reports for this organization.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-reports/v1/reports/phone-number-activity',\n              params: {\n                organizationId: '0127d974-f9f3-0704-2dee-000100422009',\n                accountKey: '3141592653589793238',\n                startTime: '2020-01-01T00:01:00Z',\n                endTime: '2020-01-01T00:01:00Z',\n                page: 'SOME_INTEGER_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                q: 'SOME_ARRAY_VALUE',\n                sort: 'SOME_ARRAY_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/call-reports/v1/reports/phone-number-activity?organizationId=0127d974-f9f3-0704-2dee-000100422009&accountKey=3141592653589793238&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-reports/v1/reports/phone-number-activity?organizationId=0127d974-f9f3-0704-2dee-000100422009&accountKey=3141592653589793238&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-reports/v1/reports/phone-number-activity');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'organizationId' => '0127d974-f9f3-0704-2dee-000100422009',\n              'accountKey' => '3141592653589793238',\n              'startTime' => '2020-01-01T00:01:00Z',\n              'endTime' => '2020-01-01T00:01:00Z',\n              'page' => 'SOME_INTEGER_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'q' => 'SOME_ARRAY_VALUE',\n              'sort' => 'SOME_ARRAY_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-reports/v1/reports/phone-number-activity?organizationId=0127d974-f9f3-0704-2dee-000100422009&accountKey=3141592653589793238&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-reports/v1/reports/phone-number-activity/{phoneNumberId}:\n    get:\n      tags:\n        - Phone Number Activity\n      summary: Phone Number Activity Details\n      description: |\n        Returns activity records for a specific phone number defined in your GoToConnect organization for the time frame specified.\n        ### Examples of interaction with curl\n        ```\n        curl 'https://api.goto.com/call-reports/v1/reports/phone-number-activity/{phoneNumberId}?startTime=2018-10-08T00%3A00%3A00&endTime=2018-10-14T23%3A59%3A59'\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'\n        ```\n      parameters:\n        - name: phoneNumberId\n          in: path\n          required: true\n          description: Phone Number ID as listed on `/reports/phone-number-activity`\n          example: 5976d1ac-a106-4dd0-9b42-ecd41cd294cf\n          schema:\n            type: string\n            format: uuid\n        - in: query\n          name: organizationId\n          description: ID of the organization. Mandatory if the user defined by the access token belongs to more than one organization. Otherwise the user's single organization will be taken.\n          example: 0127d974-f9f3-0704-2dee-000100422009\n          schema:\n            type: string\n        - in: query\n          name: accountKey\n          description: This is the key of the account (organization). The [Admin API](/admin) can be used to find account keys. This is an alternative to the organization ID since there is a one to one mapping between both values. `organizationId` will be taken over `accountKey` if both are provided.\n          example: '3141592653589793238'\n          schema:\n            type: string\n        - name: startTime\n          in: query\n          description: The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n          required: true\n        - name: endTime\n          description: The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\n          in: query\n          required: true\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n        - name: page\n          in: query\n          description: Zero-based integer representing the page desired\n          required: false\n          schema:\n            type: integer\n            format: int32\n            default: 0\n        - name: pageSize\n          in: query\n          description: Maximum number of items returned in a page. The largest supported page size is 10000.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 10000\n            default: 100\n        - name: q\n          in: query\n          required: false\n          description: |\n            The query string used to conduct a fuzzy search on the  `callee.name`, `callee.number`, `caller.name`, and `caller.number`  properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\n          explode: true\n          schema:\n            type: array\n            items:\n              type: string\n        - name: sort\n          in: query\n          schema:\n            type: array\n            items:\n              type: string\n              description: The name of the response field to sort by, prefixed with a '+' or '-' to indicate ascending sorting and descending sorting, respectively. The `to` and `from` fields will sort by the caller and callee attributes.\n              default: '-answerTime'\n              enum:\n                - '-answerTime'\n                - +answerTime\n                - '-direction'\n                - +direction\n                - '-disposition'\n                - +disposition\n                - '-duration'\n                - +duration\n                - '-endTime'\n                - +endTime\n                - '-from'\n                - +from\n                - '-startTime'\n                - +startTime\n                - '-to'\n                - +to\n      responses:\n        '200':\n          description: A list of documents containing inbound and outbound calls details where the given phone number is the caller or the callee, according to the applied filters and in the sorted order.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - items\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      required:\n                        - direction\n                        - disposition\n                        - duration\n                        - endTime\n                        - caller\n                        - startTime\n                        - callee\n                      properties:\n                        answerTime:\n                          description: The UTC Timezone ISO-8601 formatted timestamp in which the call was answered. The value is null if the call was not answered.\n                          type: string\n                          format: date-time\n                        endTime:\n                          description: The UTC Timezone ISO-8601 formatted timestamp in which the call was ended\n                          type: string\n                          format: date-time\n                        startTime:\n                          description: The UTC Timezone ISO-8601 formatted timestamp in which the call was started\n                          type: string\n                          format: date-time\n                        direction:\n                          description: |\n                            The direction of the call from the perspective of the GoToConnect system. INBOUND if the callee is one of your GoToConnect phone numbers. OUTBOUND if the caller is one of your GoToConnect phone numbers.\n                          type: string\n                          enum:\n                            - INBOUND\n                            - OUTBOUND\n                        disposition:\n                          description: |\n                            The Q.850 disposition code as described in the standard located [here](https://www.itu.int/rec/T-REC-Q.850/en)\n                          type: integer\n                          example: 16\n                        duration:\n                          description: The total duration of the call in milliseconds\n                          type: integer\n                          example: 900\n                        caller:\n                          type: object\n                          description: The caller name and number\n                          properties:\n                            name:\n                              type: string\n                              example: Alice\n                            number:\n                              type: string\n                              example: '8015551234'\n                        callee:\n                          type: object\n                          description: The callee name and number\n                          properties:\n                            name:\n                              type: string\n                              example: Bob\n                            number:\n                              type: string\n                              example: '8015556890'\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n            * MANDATORY_ORGANIZATION_ID - organizationId must be set\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: fddsfj20hf2ihsusl\n                errorCode: BAD_REQUEST\n                message: Invalid Request.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-reports/v1/reports/phone-number-activity/5976d1ac-a106-4dd0-9b42-ecd41cd294cf',\n              params: {\n                organizationId: '0127d974-f9f3-0704-2dee-000100422009',\n                accountKey: '3141592653589793238',\n                startTime: '2020-01-01T00:01:00Z',\n                endTime: '2020-01-01T00:01:00Z',\n                page: 'SOME_INTEGER_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                q: 'SOME_ARRAY_VALUE',\n                sort: 'SOME_ARRAY_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/call-reports/v1/reports/phone-number-activity/5976d1ac-a106-4dd0-9b42-ecd41cd294cf?organizationId=0127d974-f9f3-0704-2dee-000100422009&accountKey=3141592653589793238&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-reports/v1/reports/phone-number-activity/5976d1ac-a106-4dd0-9b42-ecd41cd294cf?organizationId=0127d974-f9f3-0704-2dee-000100422009&accountKey=3141592653589793238&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-reports/v1/reports/phone-number-activity/5976d1ac-a106-4dd0-9b42-ecd41cd294cf');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'organizationId' => '0127d974-f9f3-0704-2dee-000100422009',\n              'accountKey' => '3141592653589793238',\n              'startTime' => '2020-01-01T00:01:00Z',\n              'endTime' => '2020-01-01T00:01:00Z',\n              'page' => 'SOME_INTEGER_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'q' => 'SOME_ARRAY_VALUE',\n              'sort' => 'SOME_ARRAY_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-reports/v1/reports/phone-number-activity/5976d1ac-a106-4dd0-9b42-ecd41cd294cf?organizationId=0127d974-f9f3-0704-2dee-000100422009&accountKey=3141592653589793238&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-reports/v1/reports/caller-activity:\n    get:\n      tags:\n        - Caller Activity\n      summary: Caller Activity Summary\n      description: |\n        Returns a summary of caller activity consisting of a result set of an array of numbers and their associated metrics. A caller number is a phone number not necesseraly defined within your GoToConnect organization.\n\n        ### Examples of interaction with curl\n        ```\n        curl 'https://api.goto.com/call-reports/v1/reports/caller-activity?startTime=2018-10-08T00%3A00%3A00&endTime=2018-10-14T23%3A59%3A59'\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'\n          \n        ```\n      parameters:\n        - in: query\n          name: organizationId\n          description: ID of the organization. Mandatory if the user defined by the access token belongs to more than one organization. Otherwise the user's single organization will be taken.\n          example: 0127d974-f9f3-0704-2dee-000100422009\n          schema:\n            type: string\n        - name: startTime\n          in: query\n          description: The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n          required: true\n        - name: endTime\n          description: The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\n          in: query\n          required: true\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n        - name: page\n          in: query\n          description: Zero-based integer representing the page desired\n          required: false\n          schema:\n            type: integer\n            format: int32\n            default: 0\n        - name: pageSize\n          in: query\n          description: Maximum number of items returned in a page. The largest supported page size is 10000.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 10000\n            default: 100\n        - name: q\n          in: query\n          required: false\n          description: |\n            The query string used to conduct a fuzzy search on the  `callee.name`, `callee.number`, `caller.name`, and `caller.number`  properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\n          explode: true\n          schema:\n            type: array\n            items:\n              type: string\n        - name: sort\n          in: query\n          schema:\n            type: array\n            items:\n              type: string\n              description: The name of the response field to sort by, prefixed with a '+' or '-' to indicate ascending sorting and descending sorting, respectively.\n              default: '-totalDuration'\n              enum:\n                - '-totalCallVolume'\n                - +totalCallVolume\n                - '-inboundCallVolume'\n                - +inboundCallVolume\n                - '-outboundCallVolume'\n                - +outboundCallVolume\n                - '-totalDuration'\n                - +totalDuration\n                - '-inboundDuration'\n                - +inboundDuration\n                - '-outboundDuration'\n                - +outboundDuration\n                - '-totalAverageDuration'\n                - +totalAverageDuration\n        - name: callerNumbers\n          in: query\n          required: false\n          schema:\n            type: array\n            items:\n              type: string\n              description: An optional list of caller numbers on which to filter when returning results. Summary results whose number field does not match any value in this list will be omitted.\n      responses:\n        '200':\n          description: A list of documents containing caller information as well as the aggregated summary according to the applied filters and in the sorted order.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - items\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      required:\n                        - dataValues\n                        - alternativeNames\n                        - name\n                        - number\n                      properties:\n                        alternativePhoneNumberNames:\n                          description: All names that have been recorded for this phone number during the reporting time frame\n                          type: array\n                          items:\n                            type: string\n                          example:\n                            - GoToConnect\n                            - LogMeIn\n                        name:\n                          description: The name of the number as seen for the last time\n                          type: string\n                          example: My Company\n                        number:\n                          description: |\n                            The number as seen by the platform. Users must not make assumptions about the formatting of this field as we cannot guarantee that it will be properly sanitized to any standard format like e.164.\n                          type: string\n                          example: '4379967123'\n                        dataValues:\n                          type: object\n                          description: Data values aggregated by metric\n                          required:\n                            - inboundVolume\n                            - inboundDuration\n                            - outboundVolume\n                            - outboundDuration\n                            - averageDuration\n                            - volume\n                            - totalDuration\n                          properties:\n                            inboundVolume:\n                              description: Total inbound call volume in number of calls\n                              type: integer\n                            inboundDuration:\n                              description: Total inbound call volume duration expressed in milliseconds\n                              type: integer\n                            outboundVolume:\n                              description: Total outbound call volume in number of calls\n                              type: integer\n                            outboundDuration:\n                              description: Total outbound call volume duration expressed in milliseconds\n                              type: integer\n                            averageDuration:\n                              description: Average call duration expressed in milliseconds.  This is calculated as `totalDuration` divided by the number of calls with duration > 0 milliseconds.\n                              type: integer\n                            volume:\n                              description: Total call volume in number of calls\n                              type: integer\n                            totalDuration:\n                              description: Total call volume duration expressed in milliseconds\n                              type: integer\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n            * MANDATORY_ORGANIZATION_ID - organizationId must be set\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: fddsfj20hf2ihsusl\n                errorCode: BAD_REQUEST\n                message: Invalid Request.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            This will be returned if the given organization ID was not found or the given user is not authorized to check reports for this organization.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-reports/v1/reports/caller-activity',\n              params: {\n                organizationId: '0127d974-f9f3-0704-2dee-000100422009',\n                startTime: '2020-01-01T00:01:00Z',\n                endTime: '2020-01-01T00:01:00Z',\n                page: 'SOME_INTEGER_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                q: 'SOME_ARRAY_VALUE',\n                sort: 'SOME_ARRAY_VALUE',\n                callerNumbers: 'SOME_ARRAY_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/call-reports/v1/reports/caller-activity?organizationId=0127d974-f9f3-0704-2dee-000100422009&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE&callerNumbers=SOME_ARRAY_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-reports/v1/reports/caller-activity?organizationId=0127d974-f9f3-0704-2dee-000100422009&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE&callerNumbers=SOME_ARRAY_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-reports/v1/reports/caller-activity');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'organizationId' => '0127d974-f9f3-0704-2dee-000100422009',\n              'startTime' => '2020-01-01T00:01:00Z',\n              'endTime' => '2020-01-01T00:01:00Z',\n              'page' => 'SOME_INTEGER_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'q' => 'SOME_ARRAY_VALUE',\n              'sort' => 'SOME_ARRAY_VALUE',\n              'callerNumbers' => 'SOME_ARRAY_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-reports/v1/reports/caller-activity?organizationId=0127d974-f9f3-0704-2dee-000100422009&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE&callerNumbers=SOME_ARRAY_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-reports/v1/reports/caller-activity/{callerNumber}:\n    get:\n      tags:\n        - Caller Activity\n      summary: Caller Activity Details\n      description: |\n        Returns records of caller activity for a specific caller number. A caller number is a phone number not necesseraly defined within your GoToConnect organization.\n        ### Examples of interaction with curl\n        ```\n        curl 'https://api.goto.com/call-reports/v1/reports/caller-activity/{callerNumber}?startTime=2018-10-08T00%3A00%3A00&endTime=2018-10-14T23%3A59%3A59'\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'\n\n        ```\n      parameters:\n        - name: callerNumber\n          in: path\n          required: true\n          description: Caller phone number as returned on `reports/caller-activity`\n          example: '437996817'\n          schema:\n            type: string\n        - in: query\n          name: organizationId\n          description: ID of the organization. Mandatory if the user defined by the access token belongs to more than one organization. Otherwise the user's single organization will be taken.\n          example: 0127d974-f9f3-0704-2dee-000100422009\n          schema:\n            type: string\n        - name: startTime\n          in: query\n          description: The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n          required: true\n        - name: endTime\n          description: The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\n          in: query\n          required: true\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n        - name: page\n          in: query\n          description: Zero-based integer representing the page desired\n          required: false\n          schema:\n            type: integer\n            format: int32\n            default: 0\n        - name: pageSize\n          in: query\n          description: Maximum number of items returned in a page. The largest supported page size is 10000.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 10000\n            default: 100\n        - name: q\n          in: query\n          required: false\n          description: |\n            The query string used to conduct a fuzzy search on the  `phoneNumberName` and `phoneNumber` properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\n          explode: true\n          schema:\n            type: array\n            items:\n              type: string\n        - name: sort\n          in: query\n          schema:\n            type: array\n            items:\n              type: string\n              description: The name of the response field to sort by, prefixed with a '+' or '-' to indicate ascending sorting and descending sorting, respectively. The `to` and `from` fields will sort by the caller and callee attributes.\n              default: '-answerTime'\n              enum:\n                - '-answerTime'\n                - +answerTime\n                - '-direction'\n                - +direction\n                - '-disposition'\n                - +disposition\n                - '-duration'\n                - +duration\n                - '-endTime'\n                - +endTime\n                - '-from'\n                - +from\n                - '-startTime'\n                - +startTime\n                - '-to'\n                - +to\n      responses:\n        '200':\n          description: A list of documents containing caller call activity according to the applied filters and in the sorted order.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - items\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      required:\n                        - direction\n                        - disposition\n                        - duration\n                        - endTime\n                        - caller\n                        - startTime\n                        - callee\n                      properties:\n                        answerTime:\n                          description: The UTC Timezone ISO-8601 formatted timestamp in which the call was answered. The value is null if the call was not answered.\n                          type: string\n                          format: date-time\n                        endTime:\n                          description: The UTC Timezone ISO-8601 formatted timestamp in which the call was ended\n                          type: string\n                          format: date-time\n                        startTime:\n                          description: The UTC Timezone ISO-8601 formatted timestamp in which the call was started\n                          type: string\n                          format: date-time\n                        direction:\n                          description: |\n                            The direction of the call from the perspective of the GoToConnect system. INBOUND if the callee is one of your GoToConnect phone numbers. OUTBOUND if the caller is one of your GoToConnect phone numbers.\n                          type: string\n                          enum:\n                            - INBOUND\n                            - OUTBOUND\n                        disposition:\n                          description: |\n                            The Q.850 disposition code as described in the standard located [here](https://www.itu.int/rec/T-REC-Q.850/en)\n                          type: integer\n                          example: 16\n                        duration:\n                          description: The total duration of the call in milliseconds\n                          type: integer\n                          example: 900\n                        caller:\n                          type: object\n                          description: The caller name and number\n                          properties:\n                            name:\n                              type: string\n                              example: Alice\n                            number:\n                              type: string\n                              example: '8015551234'\n                        callee:\n                          type: object\n                          description: The callee name and number\n                          properties:\n                            name:\n                              type: string\n                              example: Bob\n                            number:\n                              type: string\n                              example: '8015556890'\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n            * MANDATORY_ORGANIZATION_ID - organizationId must be set\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: fddsfj20hf2ihsusl\n                errorCode: BAD_REQUEST\n                message: Invalid Request.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-reports/v1/reports/caller-activity/437996817',\n              params: {\n                organizationId: '0127d974-f9f3-0704-2dee-000100422009',\n                startTime: '2020-01-01T00:01:00Z',\n                endTime: '2020-01-01T00:01:00Z',\n                page: 'SOME_INTEGER_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                q: 'SOME_ARRAY_VALUE',\n                sort: 'SOME_ARRAY_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/call-reports/v1/reports/caller-activity/437996817?organizationId=0127d974-f9f3-0704-2dee-000100422009&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-reports/v1/reports/caller-activity/437996817?organizationId=0127d974-f9f3-0704-2dee-000100422009&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-reports/v1/reports/caller-activity/437996817');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'organizationId' => '0127d974-f9f3-0704-2dee-000100422009',\n              'startTime' => '2020-01-01T00:01:00Z',\n              'endTime' => '2020-01-01T00:01:00Z',\n              'page' => 'SOME_INTEGER_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'q' => 'SOME_ARRAY_VALUE',\n              'sort' => 'SOME_ARRAY_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-reports/v1/reports/caller-activity/437996817?organizationId=0127d974-f9f3-0704-2dee-000100422009&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-reports/v1/reports/user-activity:\n    get:\n      tags:\n        - User Activity\n      summary: User Activity Summary\n      description: |\n        Returns a summary of user activity consisting of a result set of users and their associated metrics.\n        ### Examples of interaction with curl\n        ```\n        curl 'https://api.goto.com/call-reports/v1/reports/user-activity?startTime=2018-10-08T00%3A00%3A00&endTime=2018-10-14T23%3A59%3A59'\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'\n\n        ```\n      parameters:\n        - in: query\n          name: organizationId\n          description: ID of the organization. Mandatory if the user defined by the access token belongs to more than one organization. Otherwise the user's single organization will be taken.\n          example: 0127d974-f9f3-0704-2dee-000100422009\n          schema:\n            type: string\n        - name: startTime\n          in: query\n          description: The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n          required: true\n        - name: endTime\n          description: The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\n          in: query\n          required: true\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n        - name: page\n          in: query\n          description: Zero-based integer representing the page desired\n          required: false\n          schema:\n            type: integer\n            format: int32\n            default: 0\n        - name: pageSize\n          in: query\n          description: Maximum number of items returned in a page. The largest supported page size is 10000.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 10000\n            default: 100\n        - name: q\n          in: query\n          required: false\n          description: |\n            The query string used to conduct a fuzzy search on the  `userName`. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\n          explode: true\n          schema:\n            type: array\n            items:\n              type: string\n        - name: userIds\n          in: query\n          description: An optional list of User IDs on which to filter when returning results. Summary results whose userId field does not match any value in this list will be omitted.\n          required: false\n          schema:\n            type: array\n            items:\n              type: string\n        - name: sort\n          in: query\n          schema:\n            type: array\n            items:\n              type: string\n              description: The name of the response field to sort by, prefixed with a '+' or '-' to indicate ascending sorting and descending sorting, respectively.\n              default: '-totalDuration'\n              enum:\n                - '-userName'\n                - +userName\n                - '-totalCallVolume'\n                - +totalCallVolume\n                - '-inboundCallVolume'\n                - +inboundCallVolume\n                - '-outboundCallVolume'\n                - +outboundCallVolume\n                - '-totalDuration'\n                - +totalDuration\n                - '-inboundDuration'\n                - +inboundDuration\n                - '-outboundDuration'\n                - +outboundDuration\n                - '-totalAverageDuration'\n                - +totalAverageDuration\n      responses:\n        '200':\n          description: A list of documents containing user information as well as aggregated summary numbers according to the applied filters and in the sorted order.  The list of users are users with call activity during the reporting time frame, not necessarily users currently defined in the GoToConnect Admin Portal.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - items\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      required:\n                        - dataValues\n                        - userId\n                        - userName\n                      properties:\n                        userId:\n                          description: The ID of the user in the organization.\n                          type: string\n                          format: uuid\n                          example: f0db9c4f-1117-45c0-a5ea-2f751983421d\n                        userAlternativeNames:\n                          description: |\n                            All the names recorded for this user during the reporting time frame\n                          type: array\n                          items:\n                            type: string\n                            example: John D.\n                        userName:\n                          description: User's full name\n                          type: string\n                          example: John Doe\n                        dataValues:\n                          type: object\n                          description: Data values aggregated by metric\n                          required:\n                            - inboundVolume\n                            - inboundDuration\n                            - outboundVolume\n                            - outboundDuration\n                            - averageDuration\n                            - volume\n                            - totalDuration\n                          properties:\n                            inboundVolume:\n                              description: Total inbound call volume in number of calls\n                              type: integer\n                            inboundDuration:\n                              description: Total inbound call volume duration expressed in milliseconds\n                              type: integer\n                            outboundVolume:\n                              description: Total outbound call volume in number of calls\n                              type: integer\n                            outboundDuration:\n                              description: Total outbound call volume duration expressed in milliseconds\n                              type: integer\n                            averageDuration:\n                              description: Average call duration expressed in milliseconds.  This is calculated as `totalDuration` divided by the number of calls with duration > 0 milliseconds.\n                              type: integer\n                            volume:\n                              description: Total call volume in number of calls\n                              type: integer\n                            totalDuration:\n                              description: Total call volume duration expressed in milliseconds\n                              type: integer\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n            * MANDATORY_ORGANIZATION_ID - organizationId must be set\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: fddsfj20hf2ihsusl\n                errorCode: BAD_REQUEST\n                message: Invalid Request.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            This will be returned if the given organization ID was not found or the given user is not authorized to check reports for this organization.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-reports/v1/reports/user-activity',\n              params: {\n                organizationId: '0127d974-f9f3-0704-2dee-000100422009',\n                startTime: '2020-01-01T00:01:00Z',\n                endTime: '2020-01-01T00:01:00Z',\n                page: 'SOME_INTEGER_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                q: 'SOME_ARRAY_VALUE',\n                userIds: 'SOME_ARRAY_VALUE',\n                sort: 'SOME_ARRAY_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/call-reports/v1/reports/user-activity?organizationId=0127d974-f9f3-0704-2dee-000100422009&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&userIds=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-reports/v1/reports/user-activity?organizationId=0127d974-f9f3-0704-2dee-000100422009&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&userIds=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-reports/v1/reports/user-activity');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'organizationId' => '0127d974-f9f3-0704-2dee-000100422009',\n              'startTime' => '2020-01-01T00:01:00Z',\n              'endTime' => '2020-01-01T00:01:00Z',\n              'page' => 'SOME_INTEGER_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'q' => 'SOME_ARRAY_VALUE',\n              'userIds' => 'SOME_ARRAY_VALUE',\n              'sort' => 'SOME_ARRAY_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-reports/v1/reports/user-activity?organizationId=0127d974-f9f3-0704-2dee-000100422009&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&userIds=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-reports/v1/reports/user-activity/{userId}:\n    get:\n      tags:\n        - User Activity\n      summary: User Activity Details\n      description: |\n        Returns records of user activity for a specific user\n\n        ### Examples of interaction with curl\n        ```\n        curl 'https://api.goto.com/call-reports/v1/reports/user-activity/{USER_ID}?startTime=2018-10-08T00%3A00%3A00&endTime=2018-10-14T23%3A59%3A59' \n          -H 'Authorization: Bearer {ACCESS_TOKEN}'\n\n        ```\n      parameters:\n        - name: userId\n          in: path\n          required: true\n          description: User ID as listed on `/reports/user-activity`\n          example: 5976d1ac-a106-4dd0-9b42-ecd41cd294cf\n          schema:\n            type: string\n            format: uuid\n        - in: query\n          name: organizationId\n          description: ID of the organization. Mandatory if the user defined by the access token belongs to more than one organization. Otherwise the user's single organization will be taken.\n          example: 0127d974-f9f3-0704-2dee-000100422009\n          schema:\n            type: string\n        - name: startTime\n          in: query\n          description: The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n          required: true\n        - name: endTime\n          description: The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\n          in: query\n          required: true\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n        - name: page\n          in: query\n          description: Zero-based integer representing the page desired\n          required: false\n          schema:\n            type: integer\n            format: int32\n            default: 0\n        - name: pageSize\n          in: query\n          description: Maximum number of items returned in a page. The largest supported page size is 10000.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 10000\n            default: 100\n        - name: q\n          in: query\n          required: false\n          description: |\n            The query string used to conduct a fuzzy search on the  `callee.number`, `caller.name`, and `caller.number`  properties. Any of these properties which match the provided query  `q` will be included in the result set. Any which do not,  will not be included.\n          explode: true\n          schema:\n            type: array\n            items:\n              type: string\n        - name: sort\n          in: query\n          schema:\n            type: array\n            items:\n              type: string\n              description: The name of the response field to sort by, prefixed with a '+' or '-' to indicate ascending sorting and descending sorting, respectively.\n              default: '-answerTime'\n              enum:\n                - '-answerTime'\n                - +answerTime\n                - '-direction'\n                - +direction\n                - '-disposition'\n                - +disposition\n                - '-duration'\n                - +duration\n                - '-endTime'\n                - +endTime\n                - '-from'\n                - +from\n                - '-startTime'\n                - +startTime\n                - '-to'\n                - +to\n      responses:\n        '200':\n          description: |\n            A list of documents containing user call activity according to the applied filters and in the sorted order.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - items\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      required:\n                        - answerTime\n                        - direction\n                        - disposition\n                        - duration\n                        - endTime\n                        - caller\n                        - startTime\n                        - callee\n                      properties:\n                        answerTime:\n                          description: The UTC Timezone ISO-8601 formatted timestamp in which the call was answered. The value is null if the call was not answered.\n                          type: string\n                          format: date-time\n                        endTime:\n                          description: The UTC Timezone ISO-8601 formatted timestamp in which the call was ended\n                          type: string\n                          format: date-time\n                        startTime:\n                          description: The UTC Timezone ISO-8601 formatted timestamp in which the call was started\n                          type: string\n                          format: date-time\n                        direction:\n                          description: |\n                            The direction of the call from the perspective of the GoToConnect system. INBOUND if the callee is one of your GoToConnect phone numbers. OUTBOUND if the caller is one of your GoToConnect phone numbers.\n                          type: string\n                          enum:\n                            - INBOUND\n                            - OUTBOUND\n                        disposition:\n                          description: |\n                            The Q.850 disposition code as described in the standard located [here](https://www.itu.int/rec/T-REC-Q.850/en)\n                          type: integer\n                          example: 16\n                        duration:\n                          description: The total duration of the call in milliseconds\n                          type: integer\n                          example: 900\n                        caller:\n                          type: object\n                          description: The caller name and number\n                          properties:\n                            name:\n                              type: string\n                              example: Alice\n                            number:\n                              type: string\n                              example: '8015551234'\n                        callee:\n                          type: object\n                          description: The callee name and number\n                          properties:\n                            name:\n                              type: string\n                              example: Bob\n                            number:\n                              type: string\n                              example: '8015556890'\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n            * MANDATORY_ORGANIZATION_ID - organizationId must be set\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: fddsfj20hf2ihsusl\n                errorCode: BAD_REQUEST\n                message: Invalid Request.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-reports/v1/reports/user-activity/5976d1ac-a106-4dd0-9b42-ecd41cd294cf',\n              params: {\n                organizationId: '0127d974-f9f3-0704-2dee-000100422009',\n                startTime: '2020-01-01T00:01:00Z',\n                endTime: '2020-01-01T00:01:00Z',\n                page: 'SOME_INTEGER_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                q: 'SOME_ARRAY_VALUE',\n                sort: 'SOME_ARRAY_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/call-reports/v1/reports/user-activity/5976d1ac-a106-4dd0-9b42-ecd41cd294cf?organizationId=0127d974-f9f3-0704-2dee-000100422009&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-reports/v1/reports/user-activity/5976d1ac-a106-4dd0-9b42-ecd41cd294cf?organizationId=0127d974-f9f3-0704-2dee-000100422009&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-reports/v1/reports/user-activity/5976d1ac-a106-4dd0-9b42-ecd41cd294cf');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'organizationId' => '0127d974-f9f3-0704-2dee-000100422009',\n              'startTime' => '2020-01-01T00:01:00Z',\n              'endTime' => '2020-01-01T00:01:00Z',\n              'page' => 'SOME_INTEGER_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'q' => 'SOME_ARRAY_VALUE',\n              'sort' => 'SOME_ARRAY_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-reports/v1/reports/user-activity/5976d1ac-a106-4dd0-9b42-ecd41cd294cf?organizationId=0127d974-f9f3-0704-2dee-000100422009&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&page=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&q=SOME_ARRAY_VALUE&sort=SOME_ARRAY_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-history/v1/calls:\n    get:\n      summary: Call History Details\n      tags:\n        - Call History\n      description: |\n        Returns the call history for user of the access token, or the requested user if specified.\n        The `accountKey` is required in all cases to specify which account to request from.\n        Requesting the history of another user requires super admin permissions.\n\n        When requesting the history of another user, the response will include the fields `userKey`\n        and `accountKey` identifying that user.\n\n        The `extension` parameter can be used to filter results to one or more extensions. If\n        absent, the history of all the user's extensions is returned.\n\n        This should be only used for initial pulling.\n        Use a subscription instead if real-time history updates are needed.\n\n        Unanswered calls can be identified by their absent `answerTime`.\n\n        ### Authentication Scopes\n\n        `cr.v1.read` must be used when a token is requested from the Authentication API.\n\n\n        ### Examples of interaction with curl\n\n        Call History Details\n\n        ```\n        curl -XGET 'https://api.goto.com/call-history/v1/calls?startTime=2018-10-08T00%3A00%3A00&endTime=2018-10-14T23%3A59%3A59'  \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'\n        ```\n\n        Response\n\n        ```\n        {\n          \"items\": [\n            {\n              \"originatorId\": \"cf04466e-d6d5-4e22-8442-b610eb409057-1620140713.703369\",\n              \"legId\": \"2300903e-9d46-4734-a05b-1d12082aa696-1620140713.703371\",\n              \"caller\": {\n                \"name\": \"caller name 1\",\n                \"number\": \"1100\"\n              },\n              \"callee\": {\n                \"name\": \"caller name 2\",\n                \"number\": \"1000\"\n              },\n              \"direction\": \"OUTBOUND\",\n              \"startTime\": \"2021-05-04T15:05:13.557221Z\",\n              \"duration\": 0,\n              \"hangupCause\": 16\n            },\n            {\n              \"originatorId\": \"cf04466e-d6d5-4e22-8442-b610eb409057-1620140713.703369\",\n              \"legId\": \"cf04466e-d6d5-4e22-8442-b610eb409057-1620140713.703369\",\n              \"caller\": {\n                \"name\": \"caller name 2\",\n                \"number\": \"1100\"\n              },\n              \"callee\": {\n                \"number\": \"1000\"\n              },\n              \"direction\": \"INBOUND\",\n              \"startTime\": \"2021-05-04T15:05:13.225602Z\",\n              \"answerTime\": \"2021-05-04T15:05:33.598879Z\",\n              \"duration\": 155718,\n              \"hangupCause\": 0\n            },\n            {\n              \"originatorId\": \"c316aa10-8d4e-4864-8e8d-2bdc5fc5ac4a-1620140708.703301\",\n              \"legId\": \"c316aa10-8d4e-4864-8e8d-2bdc5fc5ac4a-1620140708.703301\",\n              \"caller\": {\n                \"name\": \"caller name 2\",\n                \"number\": \"1100\"\n              },\n              \"callee\": {\n                \"number\": \"9235\"\n              },\n              \"direction\": \"INBOUND\",\n              \"startTime\": \"2021-05-04T15:05:08.118018Z\",\n              \"duration\": 0,\n              \"hangupCause\": 1\n            }\n          ],\n          \"nextPageMarker\": \"90b2053f-d66c-4929-a227-e9602e3265ae\",\n          \"pageSize\": 100\n        }\n        ```\n\n\n        ### How pagination works\n\n        To start a query, first call this endpoint without a `pageMarker` and optionally set the\n        `pageSize` to the number of items you want per page (for example, `10`).\n        The presence of `nextPageMarker` in a response indicates that more results are available to\n        be fetched. To obtain further pages, send a new request with the `pageMarker` parameter set\n        to the value of `nextPageMarker`.\n\n        Once you reach the end of the result set, no results will be returned.\n      operationId: getCallHistory\n      parameters:\n        - in: query\n          name: userKey\n          description: |\n            Identifier of a user. Can be found via the Admin API on the /accounts/.../users endpoint.\n          schema:\n            type: string\n        - in: query\n          name: accountKey\n          description: |\n            Identifier of an account. Can be found via the Admin API on the /me endpoint.\n          required: true\n          schema:\n            type: string\n          example: '12345678'\n        - name: startTime\n          in: query\n          description: The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n          required: false\n        - name: endTime\n          description: The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\n          in: query\n          required: false\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n        - name: pageMarker\n          in: query\n          description: The opaque identifier representing a valid marker for the desired page. Default to first page when not provided.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: Maximum number of items returned in a page\n          required: false\n          schema:\n            type: integer\n            format: int32\n            default: 100\n        - name: extension\n          in: query\n          description: Extensions for which to query the call history\n          required: false\n          explode: true\n          schema:\n            type: array\n            items:\n              type: string\n            minItems: 1\n            maxItems: 100\n            uniqueItems: true\n      responses:\n        '200':\n          description: |\n            List of grouped items belonging to the requested user that occurred\n            between the requested start time and end time.\n\n            This list of items, when combined together, form calls and all items related to the same call will be grouped under the same interaction id.\n\n            These items will be sorted in reverse chronological order based on the `startTime` field.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - items\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      description: |\n                        Call History item corresponding to a single event (call)\n                      required:\n                        - originatorId\n                        - legId\n                        - caller\n                        - callee\n                        - direction\n                        - startTime\n                        - duration\n                        - hangupCause\n                      properties:\n                        originatorId:\n                          description: common Id grouping the items for a single interaction (call)\n                          type: string\n                          example: dd90b71b-4d0b-4e4d-ad03-ebf8c6728311-1563304741.6043\n                        legId:\n                          description: This item's globally unique id\n                          type: string\n                          example: dd90b71b-4d0b-4e4d-ad03-ebf8c6728311-1563304741.6043\n                        caller:\n                          type: object\n                          description: The caller name and number. Either one can be missing when unavailable.\n                          properties:\n                            name:\n                              type: string\n                              example: Alice\n                            number:\n                              type: string\n                              example: '1000'\n                        callee:\n                          type: object\n                          description: The callee name and number. Either one can be missing when unavailable.\n                          properties:\n                            name:\n                              type: string\n                              example: Bob\n                            number:\n                              type: string\n                              example: '1001'\n                        direction:\n                          description: The direction of this call's leg, from the system's perspective.\n                          type: string\n                          enum:\n                            - INBOUND\n                            - OUTBOUND\n                        startTime:\n                          description: The ISO-8601 formatted timestamp at which this call's leg was started. The date is in UTC.\n                          type: string\n                          format: date-time\n                        answerTime:\n                          description: The ISO-8601 formatted timestamp, in UTC, at which this call's leg was answered, if it was answered. Otherwise the field is absent.\n                          type: string\n                          format: date-time\n                        duration:\n                          description: The total duration of this call's leg, in milliseconds.\n                          type: integer\n                          example: 900\n                        hangupCause:\n                          description: |\n                            The Q.850 disposition code as described in the standard located [here](https://www.itu.int/rec/T-REC-Q.850/en)\n                          type: integer\n                          example: 16\n                        userKey:\n                          type: string\n                          example: '589663315'\n                        accountKey:\n                          type: string\n                          example: '311416'\n                        ownerPhoneNumber:\n                          description: |\n                            The user's phone number, which is an E164-formatted phone number, that was used if making or receiving a call from PSTN.\n                          type: string\n                          example: '+15552345678'\n                  nextPageMarker:\n                    type: string\n                    description: |\n                      The next page marker value, to be used for fetching the next page via the `pageMarker` query parameter.\n                    example: 90b2053f-d66c-4929-a227-e9602e3265ae\n                  pageSize:\n                    type: integer\n                    description: |\n                      The page size used in the response.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of\n            `errorCode` values in the response that provide additional details.\n\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '502':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-history/v1/calls',\n              params: {\n                userKey: 'SOME_STRING_VALUE',\n                accountKey: '12345678',\n                startTime: '2020-01-01T00:01:00Z',\n                endTime: '2020-01-01T00:01:00Z',\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                extension: 'SOME_ARRAY_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/call-history/v1/calls?userKey=SOME_STRING_VALUE&accountKey=12345678&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&extension=SOME_ARRAY_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-history/v1/calls?userKey=SOME_STRING_VALUE&accountKey=12345678&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&extension=SOME_ARRAY_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-history/v1/calls');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'userKey' => 'SOME_STRING_VALUE',\n              'accountKey' => '12345678',\n              'startTime' => '2020-01-01T00:01:00Z',\n              'endTime' => '2020-01-01T00:01:00Z',\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'extension' => 'SOME_ARRAY_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-history/v1/calls?userKey=SOME_STRING_VALUE&accountKey=12345678&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&extension=SOME_ARRAY_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-history/v1/subscriptions:\n    post:\n      summary: Create a Call History subscription\n      tags:\n        - Call History Subscription\n      description: |\n        Create a call history subscription for the specified account of the specified users.\n        If no user key is specified, the currently logged-in user is used.\n        The `accountKey` is required in all cases to specify which account to request from.\n        The endpoint responds with 409 when a duplicate subscription would be created with the same `channelId`, `accountKey` and `userKey`.\n        If no `extensions` parameter is specified, all the user's extensions will be monitored.\n        It is not allowed to filter by extensions when multiple `userKey` are specified.\n\n        **Creating a new subscription, differing only by the extensions, will conflict.\n        You must delete the old subscription first.**\n\n        When requesting the history of another user(s), the notification will include the fields\n        `userKeys` and `accountKey` identifying that/those user(s).\n\n        This operation activates notifications towards the provided Notification Service's channel.\n        The call history events pushed through the Notification Service follow the `CallHistoryEvent` model below.\n        A common usage pattern is to request a subscription and then fetch the whole history using the historical API described above.\n\n        A limit of 500 subscriptions is applied per user, per channel.\n\n        ### Authentication Scopes\n\n        `call-history.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n\n        ### Example Interaction with curl\n\n        Subscribe to own history\n\n        ```\n        curl -X POST \"https://api.goto.com/call-history/v1/subscriptions\" \\\n        -d '{\n          \"accountKey\": \"12345678\",\n          \"channelId\": \"oyYDKKFf4IE3J2PXB32AAeqWIqHaDxuTvTD7sabt2-AeYw_ce431afe-245e-4838-90f2-e926fd51abf0\"\n        }' \\\n        -H \"Authorization: Bearer {ACCESS_TOKEN}\" \\\n        -H \"Content-Type: application/json\"\n        ```\n\n        ```\n        {\n          \"items\": [\n            {\n              \"id\": \"12ed21de-9be4-4ca7-85d2-0f2356cacc83\",\n              \"userKey\": \"4321\",\n              \"channelId\": \"oyYDKKFf4IE3J2PXB32AAeqWIqHaDxuTvTD7sabt2-AeYw_ce431afe-245e-4838-90f2-e926fd51abf0\",\n              \"accountKey\": \"12345678\"\n            }\n          ]\n        }\n        ```\n\n        Subscribe to the history of other users\n\n        ```\n        curl -H \"Authorization: Bearer {ACCESS_TOKEN}\" -H \"Content-Type: application/json\" -X POST \\\n        -d '{\"accountKey\": \"12345678\", \"userKeys\": [\"1234\", \"5678\"], \"channelId\": \"oyYDKKFf4IE3J2PXB32AAeqWIqHaDxuTvTD7sabt2-AeYw_ce431afe-245e-4838-90f2-e926fd51abf0\"}' \\\n        https://api.goto.com/call-history/v1/subscriptions\n        ```\n\n        ```\n        {\n          \"items\": [\n            {\n              \"id\": \"12ed21de-9be4-4ca7-85d2-0f2356cacc83\",\n              \"userKey\": \"1234\",\n              \"channelId\": \"oyYDKKFf4IE3J2PXB32AAeqWIqHaDxuTvTD7sabt2-AeYw_ce431afe-245e-4838-90f2-e926fd51abf0\",\n              \"accountKey\": \"12345678\"\n            },\n            {\n              \"id\": \"5a3845c5-1401-440d-a6af-20d7f38496bb\",\n              \"userKey\": \"5678\",\n              \"channelId\": \"oyYDKKFf4IE3J2PXB32AAeqWIqHaDxuTvTD7sabt2-AeYw_ce431afe-245e-4838-90f2-e926fd51abf0\",\n              \"accountKey\": \"12345678\"\n            }\n          ]\n        }\n        ```\n\n        Subscribe to the history of specific extensions of another user\n\n        ```\n        curl -H \"Authorization: Bearer {ACCESS_TOKEN}\" -H \"Content-Type: application/json\" -X POST \\\n        -d '{\"accountKey\": \"12345678\", \"userKeys\": [\"1234\"], \"extensions\": [\"1002\", \"1003\"], \"channelId\": \"oyYDKKFf4IE3J2PXB32AAeqWIqHaDxuTvTD7sabt2-AeYw_ce431afe-245e-4838-90f2-e926fd51abf0\"}' \\\n        https://api.goto.com/call-history/v1/subscriptions\n        ```\n        ```\n        {\n          \"items\": [\n            {\n              \"id\": \"12ed21de-9be4-4ca7-85d2-0f2356cacc83\",\n              \"userKey\": \"1234\",\n              \"channelId\": \"oyYDKKFf4IE3J2PXB32AAeqWIqHaDxuTvTD7sabt2-AeYw_ce431afe-245e-4838-90f2-e926fd51abf0\",\n              \"accountKey\": \"12345678\",\n              \"extensions\": [\"1002\", \"1003\"]\n            }\n          ]\n        }\n        ```\n      operationId: createCallHistorySubscription\n      requestBody:\n        required: true\n        content:\n          application/json:\n            schema:\n              type: object\n              properties:\n                userKeys:\n                  type: array\n                  items:\n                    type: string\n                    example: '589663315'\n                  uniqueItems: true\n                accountKey:\n                  type: string\n                  example: '311416'\n                channelId:\n                  type: string\n                  example: ec1f24dc-644b-4bea-b81e-586331256762\n                extensions:\n                  type: array\n                  items:\n                    type: string\n                    example: '1526'\n              required:\n                - accountKey\n                - channelId\n      responses:\n        '201':\n          description: The subscription request has succeeded and the subscriptions are returned.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: |\n                  List of subscriptions created\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      description: |\n                        Information representing a subscription\n                      properties:\n                        id:\n                          type: string\n                          example: 744244a8-d866-45cf-9c6f-8585b1e7e064\n                        accountKey:\n                          type: string\n                          example: '311416'\n                        channelId:\n                          type: string\n                          example: ec1f24dc-644b-4bea-b81e-586331256762\n                        userKey:\n                          type: string\n                          example: '589663315'\n                        extensions:\n                          type: array\n                          items:\n                            type: string\n                            example: '1526'\n                      required:\n                        - accountKey\n                required:\n                  - items\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of\n            `errorCode` values in the response that provide additional details.\n\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      callbacks:\n        history:\n          '{$request.body#/channelId}':\n            post:\n              summary: New history event\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      description: |\n                        Type of notifications received over a notification channel after creating a Call History Subscription\n                      type: object\n                      required:\n                        - source\n                        - type\n                        - timestamp\n                      properties:\n                        source:\n                          description: |\n                            Identifies the source application issuing the notification.\n                          type: string\n                          enum:\n                            - call-history\n                        type:\n                          description: |\n                            Type of the event. Always UchEvent\n                          type: string\n                          enum:\n                            - UchEvent\n                        timestamp:\n                          description: The time of the event. Used to indicate when the event occur\n                          type: string\n                          format: date-time\n                        content:\n                          type: object\n                          description: |\n                            Call History item corresponding to a single event (call)\n                          required:\n                            - originatorId\n                            - legId\n                            - caller\n                            - callee\n                            - direction\n                            - startTime\n                            - duration\n                            - hangupCause\n                          properties:\n                            originatorId:\n                              description: common Id grouping the items for a single interaction (call)\n                              type: string\n                              example: dd90b71b-4d0b-4e4d-ad03-ebf8c6728311-1563304741.6043\n                            legId:\n                              description: This item's globally unique id\n                              type: string\n                              example: dd90b71b-4d0b-4e4d-ad03-ebf8c6728311-1563304741.6043\n                            caller:\n                              type: object\n                              description: The caller name and number. Either one can be missing when unavailable.\n                              properties:\n                                name:\n                                  type: string\n                                  example: Alice\n                                number:\n                                  type: string\n                                  example: '1000'\n                            callee:\n                              type: object\n                              description: The callee name and number. Either one can be missing when unavailable.\n                              properties:\n                                name:\n                                  type: string\n                                  example: Bob\n                                number:\n                                  type: string\n                                  example: '1001'\n                            direction:\n                              description: The direction of this call's leg, from the system's perspective.\n                              type: string\n                              enum:\n                                - INBOUND\n                                - OUTBOUND\n                            startTime:\n                              description: The ISO-8601 formatted timestamp at which this call's leg was started. The date is in UTC.\n                              type: string\n                              format: date-time\n                            answerTime:\n                              description: The ISO-8601 formatted timestamp, in UTC, at which this call's leg was answered, if it was answered. Otherwise the field is absent.\n                              type: string\n                              format: date-time\n                            duration:\n                              description: The total duration of this call's leg, in milliseconds.\n                              type: integer\n                              example: 900\n                            hangupCause:\n                              description: |\n                                The Q.850 disposition code as described in the standard located [here](https://www.itu.int/rec/T-REC-Q.850/en)\n                              type: integer\n                              example: 16\n                            userKey:\n                              type: string\n                              example: '589663315'\n                            accountKey:\n                              type: string\n                              example: '311416'\n                            ownerPhoneNumber:\n                              description: |\n                                The user's phone number, which is an E164-formatted phone number, that was used if making or receiving a call from PSTN.\n                              type: string\n                              example: '+15552345678'\n              responses:\n                '204':\n                  description: Success\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/call-history/v1/subscriptions',\n              data: {\n                userKeys: ['589663315'],\n                accountKey: '311416',\n                channelId: 'ec1f24dc-644b-4bea-b81e-586331256762',\n                extensions: ['1526']\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/call-history/v1/subscriptions \\\n              --header 'content-type: application/json' \\\n              --data '{\"userKeys\":[\"589663315\"],\"accountKey\":\"311416\",\"channelId\":\"ec1f24dc-644b-4bea-b81e-586331256762\",\"extensions\":[\"1526\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"userKeys\\\":[\\\"589663315\\\"],\\\"accountKey\\\":\\\"311416\\\",\\\"channelId\\\":\\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\\"extensions\\\":[\\\"1526\\\"]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/call-history/v1/subscriptions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"userKeys\":[\"589663315\"],\"accountKey\":\"311416\",\"channelId\":\"ec1f24dc-644b-4bea-b81e-586331256762\",\"extensions\":[\"1526\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/call-history/v1/subscriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-history/v1/subscriptions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"userKeys\\\":[\\\"589663315\\\"],\\\"accountKey\\\":\\\"311416\\\",\\\"channelId\\\":\\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\\"extensions\\\":[\\\"1526\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-history/v1/subscriptions/{subscriptionId}:\n    put:\n      summary: Update a Call History subscription\n      tags:\n        - Call History Subscription\n      description: |\n        Update a previously created subscription, identified by its `subscriptionId`.\n        If the `userKey` parameter is missing, it is infered as the currently logged-in user. If no `extensions` parameter is specified, all the user's extensions will be monitored. Refer to the POST endpoint described above for more details.\n        For symmetry with the POST API, this endpoint accepts a body of type `CallHistorySubscription`, but the `id` and `channelId` can be omitted since they are already associated with the `subscriptionId` query parameter.\n        Note that it's currently not possible to modify the `channelId` or `id` of an active subscription. If provided, they must match their previous values. If you wish to change your `channelId`, you will need to delete and recreate your subscription.\n\n        ### Authentication Scopes\n        `call-history.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ``` payload=$(cat <<EOF {\n          \"accountKey\": \"12345678\",\n          \"extensions\": [\"1003\"],\n          \"userKey\": \"4321\"\n        } EOF ) curl -H \"Content-type: application/json\" -H \"Authorization: Bearer {ACCESS_TOKEN}\" -X PUT -d \"$payload\" https://api.goto.com/call-history/v1/subscriptions/{SUBSCRIPTION_ID} ```\n      operationId: updateCallHistorySubscription\n      parameters:\n        - name: subscriptionId\n          in: path\n          description: |\n            Subscription ID to update\n          required: true\n          schema:\n            type: string\n      requestBody:\n        required: true\n        content:\n          application/json:\n            schema:\n              type: object\n              description: |\n                Information representing a subscription\n              properties:\n                id:\n                  type: string\n                  example: 744244a8-d866-45cf-9c6f-8585b1e7e064\n                accountKey:\n                  type: string\n                  example: '311416'\n                channelId:\n                  type: string\n                  example: ec1f24dc-644b-4bea-b81e-586331256762\n                userKey:\n                  type: string\n                  example: '589663315'\n                extensions:\n                  type: array\n                  items:\n                    type: string\n                    example: '1526'\n              required:\n                - accountKey\n      responses:\n        '204':\n          description: |\n            The subscription has been correctly updated and now corresponds to the supplied configuration.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of\n            `errorCode` values in the response that provide additional details.\n\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '502':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PUT',\n              url: 'https://api.goto.com/call-history/v1/subscriptions/%7BsubscriptionId%7D',\n              data: {\n                id: '744244a8-d866-45cf-9c6f-8585b1e7e064',\n                accountKey: '311416',\n                channelId: 'ec1f24dc-644b-4bea-b81e-586331256762',\n                userKey: '589663315',\n                extensions: ['1526']\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PUT \\\n              --url https://api.goto.com/call-history/v1/subscriptions/%7BsubscriptionId%7D \\\n              --header 'content-type: application/json' \\\n              --data '{\"id\":\"744244a8-d866-45cf-9c6f-8585b1e7e064\",\"accountKey\":\"311416\",\"channelId\":\"ec1f24dc-644b-4bea-b81e-586331256762\",\"userKey\":\"589663315\",\"extensions\":[\"1526\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"id\\\":\\\"744244a8-d866-45cf-9c6f-8585b1e7e064\\\",\\\"accountKey\\\":\\\"311416\\\",\\\"channelId\\\":\\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\\"userKey\\\":\\\"589663315\\\",\\\"extensions\\\":[\\\"1526\\\"]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PUT\", \"/call-history/v1/subscriptions/%7BsubscriptionId%7D\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"id\":\"744244a8-d866-45cf-9c6f-8585b1e7e064\",\"accountKey\":\"311416\",\"channelId\":\"ec1f24dc-644b-4bea-b81e-586331256762\",\"userKey\":\"589663315\",\"extensions\":[\"1526\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/call-history/v1/subscriptions/%7BsubscriptionId%7D');\n            $request->setRequestMethod('PUT');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-history/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Put.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"id\\\":\\\"744244a8-d866-45cf-9c6f-8585b1e7e064\\\",\\\"accountKey\\\":\\\"311416\\\",\\\"channelId\\\":\\\"ec1f24dc-644b-4bea-b81e-586331256762\\\",\\\"userKey\\\":\\\"589663315\\\",\\\"extensions\\\":[\\\"1526\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      summary: Delete Call History subscriptions\n      tags:\n        - Call History Subscription\n      description: |\n        Delete the `subscriptionId` from the service to stop receiving notifications.\n        ### Authentication Scopes\n        `call-history.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ``` curl -H \"Accept: application/json\" -H \"Authorization: Bearer {ACCESS_TOKEN}\" -X DELETE -v https://api.goto.com/call-history/v1/subscriptions/{SUBSCRIPTION_ID} ```\n      operationId: deleteCallHistorySubscription\n      parameters:\n        - name: subscriptionId\n          in: path\n          description: |\n            Subscription ID to delete\n          required: true\n          schema:\n            type: string\n      responses:\n        '204':\n          description: The deletion request has succeeded.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of\n            `errorCode` values in the response that provide additional details.\n\n\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: The specified `subscriptionId` does not exist for the current user\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/call-history/v1/subscriptions/%7BsubscriptionId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/call-history/v1/subscriptions/%7BsubscriptionId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/call-history/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-history/v1/subscriptions/%7BsubscriptionId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-history/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-control/v1/calls/recording/start:\n    post:\n      summary: Start recording the call of the provided leg\n      tags:\n        - Control Recordings\n      description: |\n        The start recording endpoint allows the owner of the leg in an organization  to start a call recording on the specified Leg Id.\n        ### Start call recording\n        To start a call recording, make a request with the following body:\n        ``` curl -XPOST 'https://api.goto.com/call-control/v1/calls/recording/start' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\n          -H 'Content-Type: application/json' \\\n          -d '{\n            \"accountKey\": \"2930718022414574861\",\n            \"legId\": \"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399\"\n          }'\n\n        ```\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              required:\n                - accountKey\n                - legId\n              properties:\n                accountKey:\n                  type: string\n                  description: The account key of the user making this request\n                  example: '4793882253721559854'\n                legId:\n                  type: string\n                  description: Call leg identifier\n                  example: 4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\n      responses:\n        '200':\n          description: Call recording start command was sent to the specified leg id.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: You are not authorized to do the specified operation for the given user\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: Call recording was already started for the specified leg id.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/call-control/v1/calls/recording/start',\n              data: {\n                accountKey: '4793882253721559854',\n                legId: '4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/call-control/v1/calls/recording/start \\\n              --header 'content-type: application/json' \\\n              --data '{\"accountKey\":\"4793882253721559854\",\"legId\":\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"accountKey\\\":\\\"4793882253721559854\\\",\\\"legId\\\":\\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/call-control/v1/calls/recording/start\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"accountKey\":\"4793882253721559854\",\"legId\":\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\"}');\n\n            $request->setRequestUrl('https://api.goto.com/call-control/v1/calls/recording/start');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-control/v1/calls/recording/start\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"accountKey\\\":\\\"4793882253721559854\\\",\\\"legId\\\":\\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-control/v1/calls/recording/pause:\n    post:\n      summary: Pause all active recordings on the provided call leg\n      tags:\n        - Control Recordings\n      description: |\n        The pause recording endpoint allows anybody from an account to pause any ongoing call recording on the specified legId.\n        ### Pause call recording example\n        ```\n        curl -XPOST 'https://api.goto.com/call-control/v1/calls/recording/pause' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\n          -H 'Content-Type: application/json' \\\n          -d '{\n            \"accountKey\": \"2930718022414574861\",\n            \"legId\": \"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399\"\n          }'\n\n        ```\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              required:\n                - accountKey\n                - legId\n              properties:\n                accountKey:\n                  type: string\n                  description: The account key of the user making this request\n                  example: '4793882253721559854'\n                legId:\n                  type: string\n                  description: Call leg identifier\n                  example: 4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\n      responses:\n        '204':\n          description: Call recording pause command was sent to the specified leg id.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: You are not authorized to do the specified operation for the given user\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '409':\n          description: Call recording was already paused for the specified leg id.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/call-control/v1/calls/recording/pause',\n              data: {\n                accountKey: '4793882253721559854',\n                legId: '4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/call-control/v1/calls/recording/pause \\\n              --header 'content-type: application/json' \\\n              --data '{\"accountKey\":\"4793882253721559854\",\"legId\":\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"accountKey\\\":\\\"4793882253721559854\\\",\\\"legId\\\":\\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/call-control/v1/calls/recording/pause\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"accountKey\":\"4793882253721559854\",\"legId\":\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\"}');\n\n            $request->setRequestUrl('https://api.goto.com/call-control/v1/calls/recording/pause');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-control/v1/calls/recording/pause\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"accountKey\\\":\\\"4793882253721559854\\\",\\\"legId\\\":\\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-control/v1/calls/recording/unpause:\n    post:\n      summary: Unpause all paused recordings on the provided leg\n      tags:\n        - Control Recordings\n      description: |\n        The unpause recording endpoint allows anybody from an account to unpause any paused call recording on the specified leg Id.\n        ### Unpause call recording example\n\n         ```\n\n        curl -XPOST 'https://api.goto.com/call-control/v1/calls/recording/unpause' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\n          -H 'Content-Type: application/json' \\\n          -d '{\n            \"accountKey\": \"2930718022414574861\", \n            \"legId\": \"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399\"\n          }'\n\n        ```\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              required:\n                - accountKey\n                - legId\n              properties:\n                accountKey:\n                  type: string\n                  description: The account key of the user making this request\n                  example: '4793882253721559854'\n                legId:\n                  type: string\n                  description: Call leg identifier\n                  example: 4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\n      responses:\n        '204':\n          description: Call recording unpause command was sent to the specified leg id.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: You are not authorized to do the specified operation for the given user\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '409':\n          description: Call recording was already uppaused for the specified leg id.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/call-control/v1/calls/recording/unpause',\n              data: {\n                accountKey: '4793882253721559854',\n                legId: '4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/call-control/v1/calls/recording/unpause \\\n              --header 'content-type: application/json' \\\n              --data '{\"accountKey\":\"4793882253721559854\",\"legId\":\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"accountKey\\\":\\\"4793882253721559854\\\",\\\"legId\\\":\\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/call-control/v1/calls/recording/unpause\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"accountKey\":\"4793882253721559854\",\"legId\":\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\"}');\n\n            $request->setRequestUrl('https://api.goto.com/call-control/v1/calls/recording/unpause');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-control/v1/calls/recording/unpause\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"accountKey\\\":\\\"4793882253721559854\\\",\\\"legId\\\":\\\"4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-control/v1/call-legs/{legId}/blind-transfer:\n    post:\n      summary: Transfers a call leg to a new destination\n      tags:\n        - Call-Legs\n      description: |\n        This endpoint allows a user to do a blind transfer of a call leg to a new specified destination. The 2nd call leg that was bridged to the transferred leg will then be  terminated after the transfer completes.\n        In the case that the destination does not exist, the transferred call leg will be notified and be terminated.\n        ### Scenario example\n        For example, let's say Alice (A) calls Bob (B) and Bob then transfers Alice to Carol's (C)  extension. After the transfer, Bob's call leg (Call-Leg2) will be terminated and the conversation will continue between Alice and Carol.\n        Conversation before the transfer:\n        `A <--Call-Leg1--> GoTo Platform <--Call-Leg2--> B`\n        Conversation after the transfer:\n        `A <--Call-Leg1--> GoTo Platform <--Call-Leg3--> C`\n        ### Blind transfer call example\n\n         ```\n\n        curl -XPOST 'https://api.goto.com/call-control/v1/call-legs/4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2/blind-transfer' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\n          -H 'Content-Type: application/json' \\\n          -d '{\n            \"accountKey\": \"2930718022414574861\",\n            \"destination\" : {\n              \"type\" : \"DIAL_STRING\",\n              \"dialString\" : \"2000\"\n            }\n          }'\n\n        ```\n      parameters:\n        - name: legId\n          in: path\n          required: true\n          description: Call leg identifier for the call leg used to perform the operation\n          schema:\n            type: string\n          example: 4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: |\n                Request to initiate a blind transfer of a call to a destination.\n              required:\n                - accountKey\n                - destination\n              properties:\n                accountKey:\n                  type: string\n                  description: The account key of the user making this request\n                  example: '4793882253721559854'\n                destination:\n                  type: object\n                  description: |\n                    The base type for a transfer destination to be used for a blind transfer.\n                  required:\n                    - type\n                  oneOf:\n                    - type: object\n                      title: DIAL_STRING\n                      description: |\n                        A transfer destination which will have a type 'DIAL_STRING'. This transfer destination is used to transfer a call leg towards the provided dial string.\n                      properties:\n                        type:\n                          type: string\n                          example: DIAL_STRING\n                        dialString:\n                          type: string\n                          description: |\n                            The call leg will be transferred to this dial string. This can be an  extension (ex: \"2000\") or a phone number (ex: \"15551234567).\n                          example: '2000'\n                    - type: object\n                      title: VOICEMAIL\n                      description: |\n                        A transfer destination which will have a type 'VOICEMAIL'. This transfer destination is used to transfer a call leg towards the provided extension's voicemail.\n                      properties:\n                        type:\n                          type: string\n                          example: VOICEMAIL\n                        extension:\n                          type: string\n                          description: |\n                            The call leg will be transferred to this extension's voicemail.\n                          example: '2000'\n                  properties:\n                    type:\n                      type: string\n                      enum:\n                        - DIAL_STRING\n                        - VOICEMAIL\n                      description: |\n                        The type of destination used for the blind transfer request.\n                      example: DIAL_STRING\n      responses:\n        '202':\n          description: The blind transfer command has been sent to the specified call leg.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: You are not authorized to do the specified operation for the given user\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/call-control/v1/call-legs/4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2/blind-transfer',\n              data: {\n                accountKey: '4793882253721559854',\n                destination: {type: 'DIAL_STRING', dialString: '2000'}\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/call-control/v1/call-legs/4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2/blind-transfer \\\n              --header 'content-type: application/json' \\\n              --data '{\"accountKey\":\"4793882253721559854\",\"destination\":{\"type\":\"DIAL_STRING\",\"dialString\":\"2000\"}}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"accountKey\\\":\\\"4793882253721559854\\\",\\\"destination\\\":{\\\"type\\\":\\\"DIAL_STRING\\\",\\\"dialString\\\":\\\"2000\\\"}}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/call-control/v1/call-legs/4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2/blind-transfer\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"accountKey\":\"4793882253721559854\",\"destination\":{\"type\":\"DIAL_STRING\",\"dialString\":\"2000\"}}');\n\n            $request->setRequestUrl('https://api.goto.com/call-control/v1/call-legs/4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2/blind-transfer');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-control/v1/call-legs/4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2/blind-transfer\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"accountKey\\\":\\\"4793882253721559854\\\",\\\"destination\\\":{\\\"type\\\":\\\"DIAL_STRING\\\",\\\"dialString\\\":\\\"2000\\\"}}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-control/v1/call-legs/{legId}/hangup:\n    post:\n      summary: Hangs up the call leg\n      tags:\n        - Call-Legs\n      description: |\n        This endpoint allows a user hang up (terminate) an ongoing call leg specified by the provided  call leg identifier. For a conversation that had 2 call legs bridged together, terminating a call leg will  also terminate the other call leg to end the conversation.\n          \n        ### Scenario Example:\n          \n        A conversation between 2 participants:\n          \n        `A <--Call-Leg1--> GoTo Platform <--Call-Leg2--> B`\n          \n        If a hang up operation is done to terminate Call-Leg1, then Call-Leg2 will also get  terminated thus ending the conversation.\n        ### Hangup call example\n        ```\n        curl -XPOST 'https://api.goto.com/call-control/v1/call-legs/4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2/hangup' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\n          -H 'Content-Type: application/json' \\\n          -d '{\n            \"accountKey\": \"2930718022414574861\"\n          }'\n\n        ```\n      parameters:\n        - name: legId\n          in: path\n          required: true\n          description: Call leg identifier for the call leg used to perform the operation\n          schema:\n            type: string\n          example: 4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              required:\n                - accountKey\n              properties:\n                accountKey:\n                  type: string\n                  description: The account key of the user making this request\n                  example: '4793882253721559854'\n      responses:\n        '202':\n          description: The call hangup command was sent to the specified call leg.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: You are not authorized to do the specified operation for the given user\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/call-control/v1/call-legs/4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2/hangup',\n              data: {accountKey: '4793882253721559854'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/call-control/v1/call-legs/4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2/hangup \\\n              --header 'content-type: application/json' \\\n              --data '{\"accountKey\":\"4793882253721559854\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"accountKey\\\":\\\"4793882253721559854\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/call-control/v1/call-legs/4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2/hangup\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"accountKey\":\"4793882253721559854\"}');\n\n            $request->setRequestUrl('https://api.goto.com/call-control/v1/call-legs/4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2/hangup');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-control/v1/call-legs/4f0ca058-1b1b-4e3c-908e-22a18f61dbd9-1565958399.2/hangup\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"accountKey\\\":\\\"4793882253721559854\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-events/v1/conversation-spaces:\n    get:\n      summary: Retrieves the active calls of accounts and/or lines and their latest event.\n      description: |\n        Retrieves the active calls and their latest event for all the accounts and lines provided.\n        The result is ordered by the creation time of the calls, the latest calls appearing first (not ordered by the timestamp\n        of their latest event!).\n\n        The maximum number of account keys accepted for a query is 20. The maximum value for the `pageSize` parameter is 100.\n\n        To retrieve every past events for a given call, use the `/conversation-spaces/{conversationSpaceId}/events` endpoint.\n\n        ### Authentication Scopes\n\n        `call-events.v1.events.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: accountKey\n          in: query\n          description: |-\n            Account key.\n            The caller must use a token that have permission to access the accounts listed.\n          required: false\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n              example: '2930718022414574861'\n        - name: lineId\n          in: query\n          description: |-\n            Line id.\n            The caller must use a token that have permission to access the line listed.\n          required: false\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n              example: 5ebb0c57-3632-40bd-8c24-54dd065d5fc7\n        - in: query\n          name: pageSize\n          description: Maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            default: 100\n            maximum: 100\n        - in: query\n          name: pageMarker\n          description: The opaque identifier representing a valid marker for the desired page. The value of `nextPageMarker` from a response SHOULD be used to get the next page of results. If no value is provided, the first items will be fetched.\n          required: false\n          schema:\n            type: string\n            default: ''\n      operationId: getConversationSpaces\n      tags:\n        - Call Events\n      responses:\n        '200':\n          description: Successfully retrieved active calls and their latest event.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: |\n                  Paginated collection of calls and their latest event\n                required:\n                  - pageSize\n                  - nextPageMarker\n                  - items\n                properties:\n                  pageSize:\n                    type: integer\n                    format: int32\n                    description: The requested size of the page.\n                    example: 50\n                  nextPageMarker:\n                    type: string\n                    description: The next page marker value, to be used for fetching the next page via the `pageMarker` query parameter.\n                    example: a159e8fbea8e53848\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      description: Call and their ACTIVE, STARTING or ENDING state\n                      required:\n                        - metadata\n                        - state\n                      properties:\n                        metadata:\n                          type: object\n                          description: Metadata of a call event\n                          required:\n                            - conversationSpaceId\n                            - direction\n                            - accountKey\n                            - callCreated\n                          properties:\n                            conversationSpaceId:\n                              type: string\n                              description: Identifier of the conversation space\n                              example: 43643517-5c98-4102-942f-882d86a4a0fa\n                            callInitiator:\n                              type: string\n                              example: DIRECT\n                              description: |\n                                Initiator of the call. Allows categorizing a call by how it was triggered. This field is optional and will only be displayed once its value has been determined.\n\n                                The values listed below only represent the current possibilities as of writing.\n                                The addition of new possible values may occur at any time without prior notice.\n\n                                `CLICK_TO_CALL` indicates that the call started from the [`/calls` API](https://developer.goto.com/GoToConnect#tag/Calls-Overview)\n\n                                `QUEUE_CALLBACK` indicates that the call was triggered through [a callback request](https://support.goto.com/connect/help/how-do-i-set-up-auto-queue-callback).\n\n                                `CAMPAIGN` indicates that the call has been started from a campaign\n\n                                `DIRECT` indicates that the call was triggered directly by a user, such as by calling from the GoTo app or a physical desk phone\n                            direction:\n                              type: string\n                              description: Direction of the call with respect to the platform, is `OUTBOUND` if the call started from the platform, `INBOUND` otherwise.\n                              example: INBOUND\n                            accountKey:\n                              type: string\n                              description: Account key\n                              example: '2930718022414574861'\n                            callCreated:\n                              type: string\n                              format: date-time\n                              description: Timestamp when this call was created on the platform\n                              example: '2022-04-26T18:14:50.147Z'\n                            associatedConversations:\n                              description: Identifiers of conversation spaces that have been associated to this conversation space with a warm transfer event. Conversations initiated by `CLICK_TO_CALL`, `CAMPAIGN` or `QUEUE_CALLBACK` will also be associated.\n                              type: array\n                              items:\n                                type: string\n                              example:\n                                - 43643517-5c98-4102-942f-882d86a4a0fa\n                            hangupOriginatorId:\n                              description: |\n                                *BETA Feature*\n                                The identifier for the participant that initiated the hangup leading to the end of the conversation.\n                              type: string\n                              example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                            dialString:\n                              description: The dialed number.\n                              type: string\n                              example: '+19881234567'\n                            initiatorId:\n                              description: |\n                                *BETA Feature*\n                                Identifier of the originating source that triggered the creation of this conversation space.\n                                For example if `callInitiator` is `CLICK_TO_CALL`, this is the `initiatorId` you receive\n                                on the [Calls API](https://developer.goto.com/GoToConnect/#tag/Calls-Overview)\n                              type: string\n                              example: ebce0136-619c-4630-b2e1-5bedc958026e\n                            truncated:\n                              description: |\n                                Indicates whether the call was truncated. It is used to indicate that the call was truncated and that the events of the call are not complete.\n                                This field will only be present on the `ENDING` state if the value is `true`.\n                              type: boolean\n                              example: true\n                        state:\n                          type: object\n                          description: Call state representing one element in a sequence of call events\n                          required:\n                            - id\n                            - type\n                            - sequenceNumber\n                            - timestamp\n                            - participants\n                          properties:\n                            id:\n                              type: string\n                              description: Identifier of the call state\n                              example: e17957a3-c95e-423a-9af9-3179f0386bb2\n                            type:\n                              type: string\n                              description: |\n                                Type of the state.\n\n                                `STARTING` indicates that the call is starting,\n\n                                `ACTIVE` indicates that the call is ongoing,\n\n                                `ENDING` indicates that the call is ending.\n                              example: ACTIVE\n                            recordings:\n                              type: array\n                              items:\n                                type: object\n                                description: Recording of a call\n                                required:\n                                  - id\n                                  - startTimestamp\n                                  - transcriptEnabled\n                                properties:\n                                  id:\n                                    type: string\n                                    description: Identifier of the call recording\n                                    example: '65785'\n                                  startTimestamp:\n                                    description: The timestamp of the start of the recording\n                                    type: string\n                                    format: date-time\n                                    example: '2022-04-26T18:14:50.147Z'\n                                  pauses:\n                                    description: Timestamps of the start and ending of pauses in the recording\n                                    type: array\n                                    items:\n                                      type: object\n                                      properties:\n                                        pauseTimestamp:\n                                          description: Timestamp of the start of the pause\n                                          type: string\n                                          format: date-time\n                                          example: '2022-04-26T18:14:50.147Z'\n                                        unpauseTimestamp:\n                                          description: Timestamp of the end of the pause\n                                          type: string\n                                          format: date-time\n                                          example: '2022-04-26T18:14:50.147Z'\n                                  transcriptEnabled:\n                                    description: Indicates if the transcripting was enabled for this recording.\n                                    type: boolean\n                                    example: true\n                            sequenceNumber:\n                              type: integer\n                              format: int32\n                              description: |\n                                Sequence number of the call state. The number of events for any single conversation space will be limited to a sensible maximum so as to prevent congesting the system. Even with this limit, the last event is expected to be an `ENDING` event.\n                              example: 5\n                            timestamp:\n                              description: The timestamp when the state was generated.\n                              type: string\n                              format: date-time\n                              example: '2022-04-26T18:14:50.147Z'\n                            participants:\n                              type: array\n                              items:\n                                type: object\n                                description: Participant of a call\n                                allOf:\n                                  - type: object\n                                    description: Participant of a call\n                                    required:\n                                      - id\n                                      - legId\n                                      - originator\n                                      - type\n                                    properties:\n                                      id:\n                                        type: string\n                                        description: Identifier of the participant\n                                        example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                      legId:\n                                        type: string\n                                        description: Identifier of leg of the participant\n                                        example: fefad6f0-2456-4b9a-a712-d7abcb625fdb\n                                      originator:\n                                        type: string\n                                        description: Identifier of the participant whose action created this participant. If it is the same as the `id`, it means that this is the first participant in this conversation. It can relate to a participant that is no longer active in this conversation, for example in case of a transfer.\n                                        example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                      type:\n                                        description: |\n                                          Type information.\n\n                                          The values listed below only represent the current possibilities as of writing.\n                                          The addition of new possible values may occur at any time without prior notice.\n                                        oneOf:\n                                          - title: LINE\n                                            allOf:\n                                              - type: object\n                                                description: Type information\n                                                required:\n                                                  - value\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: |\n                                                      Type of the participant.\n\n                                                      The values listed below only represent the current possibilities as of writing.\n                                                      The addition of new possible values may occur at any time without prior notice.\n\n                                                      `LINE` indicates the participant is a line in the organization - could be an agent.\n\n                                                      `PHONE_NUMBER` indicates the participant is a phone number.\n\n                                                      `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct\n                                                      Inward Dialing (DID) information provided.\n                                                    example: PHONE_NUMBER\n                                                example:\n                                                  value: PHONE_NUMBER\n                                                  phoneNumberId: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                                  number: '+19881234567'\n                                                  callProvider: PSTN\n                                                  caller:\n                                                    name: Alice\n                                                    number: '+12345678945'\n                                                  device:\n                                                    id: c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\n                                                    model: aastra.3l1\n                                                    user:\n                                                      id: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                            description: Information about a line\n                                            required:\n                                              - lineId\n                                              - extensionNumber\n                                              - name\n                                            properties:\n                                              lineId:\n                                                type: string\n                                                description: Line identifier\n                                                example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                              device:\n                                                type: object\n                                                description: |\n                                                  Information on the device used by the participant\n                                                required:\n                                                  - id\n                                                properties:\n                                                  id:\n                                                    type: string\n                                                    description: |\n                                                      The id of the device used by the participant.\n                                                  model:\n                                                    type: string\n                                                    description: |\n                                                      The model id of the device used by the participant.\n\n                                                      Possible values are `goto.clients`, `webcalls.integration` or the model of the hardware.\n                                                  user:\n                                                    type: object\n                                                    description: |\n                                                      Information about the user authorized on the device.\n                                                    required:\n                                                      - id\n                                                    properties:\n                                                      id:\n                                                        type: string\n                                                        description: |\n                                                          The ID of the user authorized on the device.\n                                                        example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                              deviceId:\n                                                type: string\n                                                description: Device identifier. This field is *deprecated* and will be removed in the future. Please use *`device`* instead\n                                                example: 186e4682-e88b-48a9-973d-6870e0b10a8f\n                                                deprecated: true\n                                              extensionNumber:\n                                                type: string\n                                                description: Extension number\n                                                example: '1000'\n                                              name:\n                                                type: string\n                                                description: Name of the participant\n                                                example: Alice\n                                          - title: PHONE_NUMBER\n                                            allOf:\n                                              - type: object\n                                                description: Type information\n                                                required:\n                                                  - value\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: |\n                                                      Type of the participant.\n\n                                                      The values listed below only represent the current possibilities as of writing.\n                                                      The addition of new possible values may occur at any time without prior notice.\n\n                                                      `LINE` indicates the participant is a line in the organization - could be an agent.\n\n                                                      `PHONE_NUMBER` indicates the participant is a phone number.\n\n                                                      `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct\n                                                      Inward Dialing (DID) information provided.\n                                                    example: PHONE_NUMBER\n                                                example:\n                                                  value: PHONE_NUMBER\n                                                  phoneNumberId: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                                  number: '+19881234567'\n                                                  callProvider: PSTN\n                                                  caller:\n                                                    name: Alice\n                                                    number: '+12345678945'\n                                                  device:\n                                                    id: c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\n                                                    model: aastra.3l1\n                                                    user:\n                                                      id: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                            description: Information about a phone number (DID)\n                                            required:\n                                              - phoneNumberId\n                                              - number\n                                            properties:\n                                              phoneNumberId:\n                                                type: string\n                                                description: Unique identifier of the phone number in the system\n                                                example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                              name:\n                                                type: string\n                                                description: |\n                                                  * BETA Feature *\n                                                  Name associated to the phone number. If it is not defined in the administration portal, the name will match the number.\n                                                example: Alice Phone 1\n                                              number:\n                                                type: string\n                                                description: Phone number\n                                                example: '+19881234567'\n                                              callProvider:\n                                                type: string\n                                                description: |\n                                                  The call provider for the phone number\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                                  `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                                   customer provides its own SIP peering from an external provider.\n\n                                                  `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                                enum:\n                                                  - PSTN\n                                                  - BYOC\n                                                  - WHATSAPP\n                                                example: PSTN\n                                              caller:\n                                                type: object\n                                                description: Object representing an external phone number and name\n                                                required:\n                                                  - name\n                                                  - number\n                                                properties:\n                                                  name:\n                                                    type: string\n                                                    description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                                    example: Alice\n                                                  number:\n                                                    type: string\n                                                    description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                                    example: '+12345678945'\n                                              callee:\n                                                type: object\n                                                description: Object representing an external phone number and name\n                                                required:\n                                                  - name\n                                                  - number\n                                                properties:\n                                                  name:\n                                                    type: string\n                                                    description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                                    example: Alice\n                                                  number:\n                                                    type: string\n                                                    description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                                    example: '+12345678945'\n                                              contact:\n                                                type: object\n                                                description: Contact object associated with the participant in a call.\n                                                properties:\n                                                  id:\n                                                    description: Identifier of the contact associated to the participant. The contact identifier is unique across the organization.\n                                                    type: string\n                                                    example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                                  notAddedReason:\n                                                    type: string\n                                                    description: |\n                                                      Reason why a contact was not added to the participant.\n\n                                                      `MULTIPLE_CONTACTS` indicates that multiple contacts matched the phone number.\n\n                                                      `NO_CONTACT` indicates that no contact was found for the phone number.\n                                                    enum:\n                                                      - MULTIPLE_CONTACTS\n                                                      - NO_CONTACT\n                                                    example: NO_CONTACT\n                                          - title: PHONE_NUMBER_UNKNOWN\n                                            allOf:\n                                              - type: object\n                                                description: Type information\n                                                required:\n                                                  - value\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: |\n                                                      Type of the participant.\n\n                                                      The values listed below only represent the current possibilities as of writing.\n                                                      The addition of new possible values may occur at any time without prior notice.\n\n                                                      `LINE` indicates the participant is a line in the organization - could be an agent.\n\n                                                      `PHONE_NUMBER` indicates the participant is a phone number.\n\n                                                      `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct\n                                                      Inward Dialing (DID) information provided.\n                                                    example: PHONE_NUMBER\n                                                example:\n                                                  value: PHONE_NUMBER\n                                                  phoneNumberId: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                                  number: '+19881234567'\n                                                  callProvider: PSTN\n                                                  caller:\n                                                    name: Alice\n                                                    number: '+12345678945'\n                                                  device:\n                                                    id: c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\n                                                    model: aastra.3l1\n                                                    user:\n                                                      id: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                            properties:\n                                              callProvider:\n                                                type: string\n                                                description: |\n                                                  The call provider for the phone number\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                                  `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                                   customer provides its own SIP peering from an external provider.\n\n                                                  `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                                enum:\n                                                  - PSTN\n                                                  - BYOC\n                                                  - WHATSAPP\n                                                example: PSTN\n                                              callee:\n                                                type: object\n                                                description: Object representing an external phone number and name\n                                                required:\n                                                  - name\n                                                  - number\n                                                properties:\n                                                  name:\n                                                    type: string\n                                                    description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                                    example: Alice\n                                                  number:\n                                                    type: string\n                                                    description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                                    example: '+12345678945'\n                                      recordings:\n                                        type: array\n                                        items:\n                                          type: object\n                                          description: Recording of a call\n                                          required:\n                                            - id\n                                            - startTimestamp\n                                            - transcriptEnabled\n                                          properties:\n                                            id:\n                                              type: string\n                                              description: Identifier of the call recording\n                                              example: '65785'\n                                            startTimestamp:\n                                              description: The timestamp of the start of the recording\n                                              type: string\n                                              format: date-time\n                                              example: '2022-04-26T18:14:50.147Z'\n                                            pauses:\n                                              description: Timestamps of the start and ending of pauses in the recording\n                                              type: array\n                                              items:\n                                                type: object\n                                                properties:\n                                                  pauseTimestamp:\n                                                    description: Timestamp of the start of the pause\n                                                    type: string\n                                                    format: date-time\n                                                    example: '2022-04-26T18:14:50.147Z'\n                                                  unpauseTimestamp:\n                                                    description: Timestamp of the end of the pause\n                                                    type: string\n                                                    format: date-time\n                                                    example: '2022-04-26T18:14:50.147Z'\n                                            transcriptEnabled:\n                                              description: Indicates if the transcripting was enabled for this recording.\n                                              type: boolean\n                                              example: true\n                                properties:\n                                  status:\n                                    description: |\n                                      Status information\n\n                                      The values listed below only represent the current possibilities as of writing.\n                                      The addition of new possible values may occur at any time without prior notice.\n                                    oneOf:\n                                      - title: RINGING\n                                        allOf:\n                                          - type: object\n                                            description: Status information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Status of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `RINGING` indicates that the participant is ringing,\n\n                                                  `CONNECTED` indicates that the participant is connected,\n\n                                                  `ON_HOLD` indicates that the participant is on hold,\n\n                                                  `LISTENING` indicates that the participant is listening in,\n\n                                                  `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                                  `PARKED` indicates that the participant is parked,\n\n                                                  `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                                  `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                                  `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                                  Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                                  field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                                  they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                                  `DISCONNECTING` indicates that the participant is disconnecting.\n                                                example: CONNECTED\n                                      - title: CONNECTED\n                                        allOf:\n                                          - type: object\n                                            description: Status information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Status of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `RINGING` indicates that the participant is ringing,\n\n                                                  `CONNECTED` indicates that the participant is connected,\n\n                                                  `ON_HOLD` indicates that the participant is on hold,\n\n                                                  `LISTENING` indicates that the participant is listening in,\n\n                                                  `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                                  `PARKED` indicates that the participant is parked,\n\n                                                  `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                                  `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                                  `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                                  Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                                  field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                                  they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                                  `DISCONNECTING` indicates that the participant is disconnecting.\n                                                example: CONNECTED\n                                      - title: ON_HOLD\n                                        allOf:\n                                          - type: object\n                                            description: Status information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Status of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `RINGING` indicates that the participant is ringing,\n\n                                                  `CONNECTED` indicates that the participant is connected,\n\n                                                  `ON_HOLD` indicates that the participant is on hold,\n\n                                                  `LISTENING` indicates that the participant is listening in,\n\n                                                  `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                                  `PARKED` indicates that the participant is parked,\n\n                                                  `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                                  `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                                  `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                                  Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                                  field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                                  they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                                  `DISCONNECTING` indicates that the participant is disconnecting.\n                                                example: CONNECTED\n                                      - title: PARKED\n                                        allOf:\n                                          - type: object\n                                            description: Status information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Status of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `RINGING` indicates that the participant is ringing,\n\n                                                  `CONNECTED` indicates that the participant is connected,\n\n                                                  `ON_HOLD` indicates that the participant is on hold,\n\n                                                  `LISTENING` indicates that the participant is listening in,\n\n                                                  `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                                  `PARKED` indicates that the participant is parked,\n\n                                                  `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                                  `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                                  `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                                  Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                                  field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                                  they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                                  `DISCONNECTING` indicates that the participant is disconnecting.\n                                                example: CONNECTED\n                                        properties:\n                                          parkingLot:\n                                            type: string\n                                            description: Parking lot\n                                            example: Parking lot 11\n                                          initiator:\n                                            type: object\n                                            description: Information of the user that put this participant in the `PARKED` status.\n                                            required:\n                                              - participantId\n                                              - conversationSpaceId\n                                              - extensionNumber\n                                              - name\n                                            properties:\n                                              participantId:\n                                                type: string\n                                                description: Participant ID in a given conversation space\n                                                example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                              conversationSpaceId:\n                                                type: string\n                                                description: Conversation associated to this participant\n                                                example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                              extensionNumber:\n                                                type: string\n                                                description: Initiator extension number\n                                                example: '1001'\n                                              name:\n                                                type: string\n                                                description: Initiator name\n                                                example: Bob\n                                        required:\n                                          - parkingLot\n                                          - initiator\n                                      - title: IN_DIRECT_TRANSFER\n                                        allOf:\n                                          - type: object\n                                            description: Status information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Status of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `RINGING` indicates that the participant is ringing,\n\n                                                  `CONNECTED` indicates that the participant is connected,\n\n                                                  `ON_HOLD` indicates that the participant is on hold,\n\n                                                  `LISTENING` indicates that the participant is listening in,\n\n                                                  `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                                  `PARKED` indicates that the participant is parked,\n\n                                                  `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                                  `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                                  `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                                  Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                                  field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                                  they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                                  `DISCONNECTING` indicates that the participant is disconnecting.\n                                                example: CONNECTED\n                                        properties:\n                                          initiator:\n                                            allOf:\n                                              - type: object\n                                                properties:\n                                                  participantId:\n                                                    type: string\n                                                    description: Participant ID in a given conversation space\n                                                    example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                                  conversationSpaceId:\n                                                    type: string\n                                                    description: Conversation associated to this participant\n                                                    example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                                  extensionNumber:\n                                                    type: string\n                                                    description: Extension number associated to the participant\n                                                    example: '1001'\n                                                  name:\n                                                    type: string\n                                                    description: Name associated to the participant\n                                                    example: Bob\n                                            description: The participant that initiates the transfer. In a scenario where Alice calls Bob and Bob transfers to Charlie, this represents Bob's participant in the conversation with Alice.\n                                          destination:\n                                            type: object\n                                            description: Information of the user that receives this participant in a call transfer. In scenarios where the call is transferred to a ring group, the destination object will also contain information about the ring group.\n                                            properties:\n                                              number:\n                                                type: string\n                                                description: Destination number\n                                                example: '1001'\n                                              ringGroup:\n                                                type: object\n                                                description: Information about a ring group.\n                                                required:\n                                                  - id\n                                                  - number\n                                                  - name\n                                                properties:\n                                                  id:\n                                                    type: string\n                                                    description: Unique identifier of the ring group\n                                                    example: 783f909e-b874-430a-9f11-87d361f19b81\n                                                  number:\n                                                    type: string\n                                                    description: Extension number of the ring group\n                                                    example: '1080'\n                                                  name:\n                                                    type: string\n                                                    description: Name of the ring group\n                                                    example: Sales ring group\n                                            required:\n                                              - number\n                                        required:\n                                          - initiator\n                                          - destination\n                                      - title: IN_WARM_TRANSFER\n                                        allOf:\n                                          - type: object\n                                            description: Status information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Status of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `RINGING` indicates that the participant is ringing,\n\n                                                  `CONNECTED` indicates that the participant is connected,\n\n                                                  `ON_HOLD` indicates that the participant is on hold,\n\n                                                  `LISTENING` indicates that the participant is listening in,\n\n                                                  `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                                  `PARKED` indicates that the participant is parked,\n\n                                                  `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                                  `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                                  `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                                  Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                                  field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                                  they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                                  `DISCONNECTING` indicates that the participant is disconnecting.\n                                                example: CONNECTED\n                                        properties:\n                                          initiator:\n                                            allOf:\n                                              - type: object\n                                                properties:\n                                                  participantId:\n                                                    type: string\n                                                    description: Participant ID in a given conversation space\n                                                    example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                                  conversationSpaceId:\n                                                    type: string\n                                                    description: Conversation associated to this participant\n                                                    example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                                  extensionNumber:\n                                                    type: string\n                                                    description: Extension number associated to the participant\n                                                    example: '1001'\n                                                  name:\n                                                    type: string\n                                                    description: Name associated to the participant\n                                                    example: Bob\n                                            description: The participant that initiates the transfer. In a scenario where Alice calls Bob and Bob transfers to Charlie, this represents Bob's participant in the conversation with Alice.\n                                          transferrer:\n                                            allOf:\n                                              - type: object\n                                                properties:\n                                                  participantId:\n                                                    type: string\n                                                    description: Participant ID in a given conversation space\n                                                    example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                                  conversationSpaceId:\n                                                    type: string\n                                                    description: Conversation associated to this participant\n                                                    example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                                  extensionNumber:\n                                                    type: string\n                                                    description: Extension number associated to the participant\n                                                    example: '1001'\n                                                  name:\n                                                    type: string\n                                                    description: Name associated to the participant\n                                                    example: Bob\n                                            description: The participant that is created to perform the warm transfer. In a scenario where Alice calls Bob and Bob warm transfers to Charlie, this represents Bob's participant in the conversation with Charlie.\n                                          destination:\n                                            allOf:\n                                              - type: object\n                                                properties:\n                                                  participantId:\n                                                    type: string\n                                                    description: Participant ID in a given conversation space\n                                                    example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                                  conversationSpaceId:\n                                                    type: string\n                                                    description: Conversation associated to this participant\n                                                    example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                                  extensionNumber:\n                                                    type: string\n                                                    description: Extension number associated to the participant\n                                                    example: '1001'\n                                                  name:\n                                                    type: string\n                                                    description: Name associated to the participant\n                                                    example: Bob\n                                            description: The participant that is created to receive the warm transfer. In a scenario where Alice calls Bob and Bob warm transfers to Charlie, this represents Charlie's participant in the conversation with Bob.\n                                        required:\n                                          - initiator\n                                          - transferrer\n                                          - destination\n                                      - title: IN_DEVICE_FORWARDING\n                                        allOf:\n                                          - type: object\n                                            description: Status information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Status of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `RINGING` indicates that the participant is ringing,\n\n                                                  `CONNECTED` indicates that the participant is connected,\n\n                                                  `ON_HOLD` indicates that the participant is on hold,\n\n                                                  `LISTENING` indicates that the participant is listening in,\n\n                                                  `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                                  `PARKED` indicates that the participant is parked,\n\n                                                  `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                                  `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                                  `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                                  Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                                  field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                                  they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                                  `DISCONNECTING` indicates that the participant is disconnecting.\n                                                example: CONNECTED\n                                        properties:\n                                          destinations:\n                                            type: array\n                                            items:\n                                              type: object\n                                              properties:\n                                                participantId:\n                                                  type: string\n                                                  description: Participant ID in a given conversation space\n                                                  example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                                deviceId:\n                                                  type: string\n                                                  description: Device identifier\n                                                  example: 186e4682-e88b-48a9-973d-6870e0b10a8f\n                                                extensionNumber:\n                                                  type: string\n                                                  description: Extension number associated to the participant\n                                                  example: '1025'\n                                                number:\n                                                  type: string\n                                                  description: Phone number associated to the participant\n                                                  example: '+14544560345'\n                                                destinationType:\n                                                  type: string\n                                                  description: |\n                                                    Type of forwarding destination.\n\n                                                    The values listed below only represent the current possibilities as of writing.\n                                                    The addition of new possible values may occur at any time without prior notice.\n\n                                                    `LINE` indicates the destination is a line in the organization - could be an agent.\n\n                                                    `PHONE_NUMBER` indicates the destination is a phone number.\n\n                                                    `PHONE_NUMBER_UNKNOWN` indicates the destination is a phone number without Direct\n                                                    Inward Dialing (DID) information provided.\n                                                  example: PHONE_NUMBER\n                                            description: The list of destinations to where the call has been forwarded. Each destination contains information about a pre-configured device.\n                                        required:\n                                          - destinations\n                                      - title: IN_INTERACTIVE_VOICE_RESPONSE\n                                        allOf:\n                                          - type: object\n                                            description: Status information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Status of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `RINGING` indicates that the participant is ringing,\n\n                                                  `CONNECTED` indicates that the participant is connected,\n\n                                                  `ON_HOLD` indicates that the participant is on hold,\n\n                                                  `LISTENING` indicates that the participant is listening in,\n\n                                                  `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                                  `PARKED` indicates that the participant is parked,\n\n                                                  `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                                  `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                                  `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                                  Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                                  field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                                  they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                                  `DISCONNECTING` indicates that the participant is disconnecting.\n                                                example: CONNECTED\n                                      - title: DISCONNECTING\n                                        allOf:\n                                          - type: object\n                                            description: Status information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Status of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `RINGING` indicates that the participant is ringing,\n\n                                                  `CONNECTED` indicates that the participant is connected,\n\n                                                  `ON_HOLD` indicates that the participant is on hold,\n\n                                                  `LISTENING` indicates that the participant is listening in,\n\n                                                  `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                                  `PARKED` indicates that the participant is parked,\n\n                                                  `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                                  `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                                  `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                                  Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                                  field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                                  they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                                  `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                                  `DISCONNECTING` indicates that the participant is disconnecting.\n                                                example: CONNECTED\n                            interactiveVoiceResponseSystems:\n                              type: array\n                              description: |\n                                Ordered list of Interactive Voice Response systems with which\n                                a participant might be interacting. Items will be listed as long as the\n                                system considers the participant has not exited the dial plan or the call queue\n                                for instance.\n                              items:\n                                type: object\n                                description: |\n                                  Information about an Interactive Voice Response system with which a participant is currently interacting.\n                                required:\n                                  - id\n                                  - status\n                                  - originator\n                                  - type\n                                properties:\n                                  id:\n                                    type: string\n                                    description: Conversation space-specific identifier of the Interactive Voice Response system.\n                                    example: 001b7ea9-956b-4be5-8601-ac2ab100fea9\n                                  status:\n                                    type: object\n                                    description: Status information\n                                    required:\n                                      - value\n                                    properties:\n                                      value:\n                                        type: string\n                                        description: |\n                                          Status of the Interactive Voice Response system.\n\n                                          `CONNECTED` indicates that the participant is in the associated Interactive Voice Response system.\n\n                                          `DISCONNECTING` indicates that the participant is disconnecting from the associated Interactive Voice Response system.\n                                        example: CONNECTED\n                                  originator:\n                                    type: string\n                                    description: Identifier of the participant involved with this Interactive Voice Response system.\n                                    example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                  type:\n                                    description: |\n                                      Type information.\n\n                                      The values listed below only represent the current possibilities as of writing.\n                                      The addition of new possible values may occur at any time without prior notice.\n                                    oneOf:\n                                      - title: CALL_QUEUE\n                                        allOf:\n                                          - type: object\n                                            description: Type information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Type of Interactive Voice Response system.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                                  `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                                  `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                                  `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                                  `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                                  `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                        type: object\n                                        description: Information about a call queue\n                                        required:\n                                          - queueId\n                                          - queueName\n                                          - queueType\n                                          - configuredWrapUpDuration\n                                        properties:\n                                          queueId:\n                                            type: string\n                                            description: Unique identifier of the call queue\n                                            example: 783f909e-b874-430a-9f11-87d361f19b81\n                                          queueName:\n                                            type: string\n                                            description: Name of the call queue\n                                          queueType:\n                                            type: string\n                                            description: Type of the call queue\n                                            example: BASIC\n                                          configuredWrapUpDuration:\n                                            type: integer\n                                            description: Configured agent wrap-up duration in milliseconds.\n                                          intents:\n                                            type: array\n                                            description: Caller intents\n                                            items:\n                                              type: object\n                                              properties:\n                                                intent:\n                                                  type: string\n                                      - title: QUEUE_CALLBACK\n                                        allOf:\n                                          - type: object\n                                            description: Type information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Type of Interactive Voice Response system.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                                  `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                                  `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                                  `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                                  `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                                  `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                        type: object\n                                        description: Information about a callback\n                                        required:\n                                          - callbackId\n                                          - queueId\n                                          - queueName\n                                          - queueType\n                                          - configuredWrapUpDuration\n                                        properties:\n                                          callbackId:\n                                            type: string\n                                            description: Unique identifier of the callback\n                                            example: 0719b477-822f-40d3-bc2d-fd7c76bf71b7\n                                          queueId:\n                                            type: string\n                                            description: Identifier of the call queue\n                                            example: 783f909e-b874-430a-9f11-87d361f19b81\n                                          queueName:\n                                            type: string\n                                            description: Name of the call queue\n                                          queueType:\n                                            type: string\n                                            description: Type of the call queue\n                                            example: BASIC\n                                          configuredWrapUpDuration:\n                                            type: integer\n                                            description: Configured agent wrap-up duration in milliseconds.\n                                          intents:\n                                            type: array\n                                            description: Caller intents\n                                            items:\n                                              type: object\n                                              properties:\n                                                intent:\n                                                  type: string\n                                      - title: CAMPAIGN\n                                        allOf:\n                                          - type: object\n                                            description: Type information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Type of Interactive Voice Response system.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                                  `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                                  `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                                  `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                                  `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                                  `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                        type: object\n                                        description: Information about a campaign\n                                        required:\n                                          - campaignId\n                                          - campaignName\n                                          - configuredWrapUpDuration\n                                        properties:\n                                          campaignId:\n                                            type: string\n                                            description: Unique identifier of the campaign\n                                            example: a880a80e-37a9-4812-af4f-b28b31466ff6\n                                          campaignName:\n                                            type: string\n                                            description: Name of the campaign\n                                          configuredWrapUpDuration:\n                                            type: integer\n                                            description: Configured agent wrap-up duration in milliseconds.\n                                          intents:\n                                            type: array\n                                            description: Caller intents\n                                            items:\n                                              type: object\n                                              properties:\n                                                intent:\n                                                  type: string\n                                      - title: DIAL_PLAN\n                                        allOf:\n                                          - type: object\n                                            description: Type information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Type of Interactive Voice Response system.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                                  `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                                  `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                                  `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                                  `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                                  `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                        type: object\n                                        description: Information about a dial plan\n                                        required:\n                                          - dialPlanId\n                                          - executionId\n                                          - currentNode\n                                        properties:\n                                          dialPlanId:\n                                            type: string\n                                            description: Unique identifier of the dial plan\n                                            example: 6b09ebf6-d5ae-4e17-96f1-690c71251c8d\n                                          executionId:\n                                            type: string\n                                            description: Conversation space-specific identifier of the execution of the dial plan\n                                            example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                          currentNode:\n                                            type: object\n                                            required:\n                                              - id\n                                              - type\n                                            properties:\n                                              id:\n                                                type: string\n                                                description: Identifier of the dial plan node\n                                                example: AttendantPromptNode_1005\n                                              type:\n                                                type: string\n                                                description: Type of the dial plan node\n                                                example: AttendantPromptNode\n                                              option:\n                                                type: string\n                                                description: The selected option on the Auto Attendant\n                                                example: '2'\n                                              result:\n                                                type: string\n                                                description: Result of the execution of the current node\n                                                example: DIALED_OPTION\n                                          previousNode:\n                                            type: object\n                                            required:\n                                              - id\n                                              - connector\n                                            properties:\n                                              id:\n                                                type: string\n                                                description: Identifier of the dial plan node\n                                                example: AttendantPromptNode_1005\n                                              connector:\n                                                type: string\n                                                description: The connector that was executed to end up in the current node\n                                                example: onInvalid\n                                      - title: VOICEMAIL\n                                        allOf:\n                                          - type: object\n                                            description: Type information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Type of Interactive Voice Response system.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                                  `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                                  `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                                  `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                                  `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                                  `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                        type: object\n                                        description: Voicemail left for a given extension.\n                                        required:\n                                          - voicemailBoxId\n                                        properties:\n                                          voicemailBoxId:\n                                            type: string\n                                            description: Identifier of the voicemail.\n                                            example: 543dd572-60b5-4318-ab2d-7e2216489a31\n                                          name:\n                                            type: string\n                                            description: Name of callee.\n                                            example: Alice\n                                          number:\n                                            type: string\n                                            description: Number of callee.\n                                            example: '1000'\n                                          folder:\n                                            type: string\n                                            description: The voicemail box folder where the message was delivered.\n                                            example: INBOX\n                                          duration:\n                                            type: integer\n                                            format: int32\n                                            description: The duration of the message in milliseconds.\n                                            example: 4000\n                                          voicemailStatus:\n                                            type: string\n                                            description: |\n                                              Status of the voicemail as the user leaves the voicemail box.\n\n                                              `SUCCESS` - The user successfully left a voicemail\n\n                                              `USER_EXIT` - A user action caused the user to exit the voicemail box\n\n                                              `FAILED` - A failure occurred while the user was leaving a voicemail\n                                            example: SUCCESS\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-events/v1/conversation-spaces',\n              params: {\n                accountKey: 'SOME_ARRAY_VALUE',\n                lineId: 'SOME_ARRAY_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                pageMarker: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/call-events/v1/conversation-spaces?accountKey=SOME_ARRAY_VALUE&lineId=SOME_ARRAY_VALUE&pageSize=SOME_INTEGER_VALUE&pageMarker=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-events/v1/conversation-spaces?accountKey=SOME_ARRAY_VALUE&lineId=SOME_ARRAY_VALUE&pageSize=SOME_INTEGER_VALUE&pageMarker=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-events/v1/conversation-spaces');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => 'SOME_ARRAY_VALUE',\n              'lineId' => 'SOME_ARRAY_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'pageMarker' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-events/v1/conversation-spaces?accountKey=SOME_ARRAY_VALUE&lineId=SOME_ARRAY_VALUE&pageSize=SOME_INTEGER_VALUE&pageMarker=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-events/v1/conversation-spaces/{conversationSpaceId}/events:\n    get:\n      summary: Retrieves the events associated to the call.\n      description: |\n        Retrieves the events associated to the call. The `sequenceFrom` and `sequenceTo` query parameters are optional.\n\n        If both are missing, all the events in the call will be returned.\n\n        If `sequenceFrom` is provided and `sequenceTo` is missing, then all events with sequence number equal to or larger than `sequenceFrom`\n        are returned including the latest call event.\n\n        If `sequenceFrom` is missing and `sequenceTo` is provided, then all events with sequence number equal to or smaller than\n        `sequenceTo` are returned.\n\n        Both `sequenceFrom` and `sequenceTo` bounds are inclusive.\n\n        The maximum value for the `pageSize` parameter is 100.\n\n        Events of calls that are terminated will not be listed in this manner but will be provided through\n        the [Call Reports API](https://developer.goto.com/GoToConnect#tag/Call-Reports-Overview).\n\n\n        ### Authentication Scopes\n\n        `call-events.v1.events.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - in: path\n          name: conversationSpaceId\n          description: Conversation space identifier, no result will be returned if the associated conversation space has terminated. Events of calls that are terminated will not be listed in this manner but will be provided through the [Call Reports API](https://developer.goto.com/GoToConnect#tag/Call-Reports-Overview).\n          required: true\n          explode: true\n          schema:\n            type: string\n            example: 43643517-5c98-4102-942f-882d86a4a0fa\n        - in: query\n          name: sequenceFrom\n          description: Events with a sequence number greater than or equal to this value shall be returned.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            default: 0\n        - in: query\n          name: sequenceTo\n          description: Events with a sequence number less than or equal to this value shall be returned.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            default: 2147483647\n        - in: query\n          name: pageSize\n          description: Maximum number of items returned in a page. If the requested call sequence is larger than `pageSize`, the result will be paginated.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            default: 100\n            maximum: 100\n        - in: query\n          name: pageMarker\n          description: The opaque identifier representing a valid marker for the desired page. The value of `nextPageMarker` from a response SHOULD be used to get the next page of results. If no value is provided, the first items will be fetched.\n          required: false\n          schema:\n            type: string\n            default: ''\n      operationId: getConversationSpacesEvents\n      tags:\n        - Call Events\n      responses:\n        '200':\n          description: Successfully retrieved events of the call.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Paginated collection of call events\n                required:\n                  - pageSize\n                  - nextPageMarker\n                  - metadata\n                  - states\n                properties:\n                  pageSize:\n                    type: integer\n                    format: int32\n                    description: The requested size of the page.\n                    example: 50\n                  nextPageMarker:\n                    type: string\n                    description: The next page marker value, to be used for fetching the next page via the `pageMarker` query parameter.\n                    example: a159e8fbea8e53848\n                  metadata:\n                    type: object\n                    description: Metadata of a call event\n                    required:\n                      - conversationSpaceId\n                      - direction\n                      - accountKey\n                      - callCreated\n                    properties:\n                      conversationSpaceId:\n                        type: string\n                        description: Identifier of the conversation space\n                        example: 43643517-5c98-4102-942f-882d86a4a0fa\n                      callInitiator:\n                        type: string\n                        example: DIRECT\n                        description: |\n                          Initiator of the call. Allows categorizing a call by how it was triggered. This field is optional and will only be displayed once its value has been determined.\n\n                          The values listed below only represent the current possibilities as of writing.\n                          The addition of new possible values may occur at any time without prior notice.\n\n                          `CLICK_TO_CALL` indicates that the call started from the [`/calls` API](https://developer.goto.com/GoToConnect#tag/Calls-Overview)\n\n                          `QUEUE_CALLBACK` indicates that the call was triggered through [a callback request](https://support.goto.com/connect/help/how-do-i-set-up-auto-queue-callback).\n\n                          `CAMPAIGN` indicates that the call has been started from a campaign\n\n                          `DIRECT` indicates that the call was triggered directly by a user, such as by calling from the GoTo app or a physical desk phone\n                      direction:\n                        type: string\n                        description: Direction of the call with respect to the platform, is `OUTBOUND` if the call started from the platform, `INBOUND` otherwise.\n                        example: INBOUND\n                      accountKey:\n                        type: string\n                        description: Account key\n                        example: '2930718022414574861'\n                      callCreated:\n                        type: string\n                        format: date-time\n                        description: Timestamp when this call was created on the platform\n                        example: '2022-04-26T18:14:50.147Z'\n                      associatedConversations:\n                        description: Identifiers of conversation spaces that have been associated to this conversation space with a warm transfer event. Conversations initiated by `CLICK_TO_CALL`, `CAMPAIGN` or `QUEUE_CALLBACK` will also be associated.\n                        type: array\n                        items:\n                          type: string\n                        example:\n                          - 43643517-5c98-4102-942f-882d86a4a0fa\n                      hangupOriginatorId:\n                        description: |\n                          *BETA Feature*\n                          The identifier for the participant that initiated the hangup leading to the end of the conversation.\n                        type: string\n                        example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                      dialString:\n                        description: The dialed number.\n                        type: string\n                        example: '+19881234567'\n                      initiatorId:\n                        description: |\n                          *BETA Feature*\n                          Identifier of the originating source that triggered the creation of this conversation space.\n                          For example if `callInitiator` is `CLICK_TO_CALL`, this is the `initiatorId` you receive\n                          on the [Calls API](https://developer.goto.com/GoToConnect/#tag/Calls-Overview)\n                        type: string\n                        example: ebce0136-619c-4630-b2e1-5bedc958026e\n                      truncated:\n                        description: |\n                          Indicates whether the call was truncated. It is used to indicate that the call was truncated and that the events of the call are not complete.\n                          This field will only be present on the `ENDING` state if the value is `true`.\n                        type: boolean\n                        example: true\n                  states:\n                    type: array\n                    items:\n                      type: object\n                      description: Call state representing one element in a sequence of call events\n                      required:\n                        - id\n                        - type\n                        - sequenceNumber\n                        - timestamp\n                        - participants\n                      properties:\n                        id:\n                          type: string\n                          description: Identifier of the call state\n                          example: e17957a3-c95e-423a-9af9-3179f0386bb2\n                        type:\n                          type: string\n                          description: |\n                            Type of the state.\n\n                            `STARTING` indicates that the call is starting,\n\n                            `ACTIVE` indicates that the call is ongoing,\n\n                            `ENDING` indicates that the call is ending.\n                          example: ACTIVE\n                        recordings:\n                          type: array\n                          items:\n                            type: object\n                            description: Recording of a call\n                            required:\n                              - id\n                              - startTimestamp\n                              - transcriptEnabled\n                            properties:\n                              id:\n                                type: string\n                                description: Identifier of the call recording\n                                example: '65785'\n                              startTimestamp:\n                                description: The timestamp of the start of the recording\n                                type: string\n                                format: date-time\n                                example: '2022-04-26T18:14:50.147Z'\n                              pauses:\n                                description: Timestamps of the start and ending of pauses in the recording\n                                type: array\n                                items:\n                                  type: object\n                                  properties:\n                                    pauseTimestamp:\n                                      description: Timestamp of the start of the pause\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:14:50.147Z'\n                                    unpauseTimestamp:\n                                      description: Timestamp of the end of the pause\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:14:50.147Z'\n                              transcriptEnabled:\n                                description: Indicates if the transcripting was enabled for this recording.\n                                type: boolean\n                                example: true\n                        sequenceNumber:\n                          type: integer\n                          format: int32\n                          description: |\n                            Sequence number of the call state. The number of events for any single conversation space will be limited to a sensible maximum so as to prevent congesting the system. Even with this limit, the last event is expected to be an `ENDING` event.\n                          example: 5\n                        timestamp:\n                          description: The timestamp when the state was generated.\n                          type: string\n                          format: date-time\n                          example: '2022-04-26T18:14:50.147Z'\n                        participants:\n                          type: array\n                          items:\n                            type: object\n                            description: Participant of a call\n                            allOf:\n                              - type: object\n                                description: Participant of a call\n                                required:\n                                  - id\n                                  - legId\n                                  - originator\n                                  - type\n                                properties:\n                                  id:\n                                    type: string\n                                    description: Identifier of the participant\n                                    example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                  legId:\n                                    type: string\n                                    description: Identifier of leg of the participant\n                                    example: fefad6f0-2456-4b9a-a712-d7abcb625fdb\n                                  originator:\n                                    type: string\n                                    description: Identifier of the participant whose action created this participant. If it is the same as the `id`, it means that this is the first participant in this conversation. It can relate to a participant that is no longer active in this conversation, for example in case of a transfer.\n                                    example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                  type:\n                                    description: |\n                                      Type information.\n\n                                      The values listed below only represent the current possibilities as of writing.\n                                      The addition of new possible values may occur at any time without prior notice.\n                                    oneOf:\n                                      - title: LINE\n                                        allOf:\n                                          - type: object\n                                            description: Type information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Type of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `LINE` indicates the participant is a line in the organization - could be an agent.\n\n                                                  `PHONE_NUMBER` indicates the participant is a phone number.\n\n                                                  `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct\n                                                  Inward Dialing (DID) information provided.\n                                                example: PHONE_NUMBER\n                                            example:\n                                              value: PHONE_NUMBER\n                                              phoneNumberId: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                              number: '+19881234567'\n                                              callProvider: PSTN\n                                              caller:\n                                                name: Alice\n                                                number: '+12345678945'\n                                              device:\n                                                id: c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\n                                                model: aastra.3l1\n                                                user:\n                                                  id: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                        description: Information about a line\n                                        required:\n                                          - lineId\n                                          - extensionNumber\n                                          - name\n                                        properties:\n                                          lineId:\n                                            type: string\n                                            description: Line identifier\n                                            example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                          device:\n                                            type: object\n                                            description: |\n                                              Information on the device used by the participant\n                                            required:\n                                              - id\n                                            properties:\n                                              id:\n                                                type: string\n                                                description: |\n                                                  The id of the device used by the participant.\n                                              model:\n                                                type: string\n                                                description: |\n                                                  The model id of the device used by the participant.\n\n                                                  Possible values are `goto.clients`, `webcalls.integration` or the model of the hardware.\n                                              user:\n                                                type: object\n                                                description: |\n                                                  Information about the user authorized on the device.\n                                                required:\n                                                  - id\n                                                properties:\n                                                  id:\n                                                    type: string\n                                                    description: |\n                                                      The ID of the user authorized on the device.\n                                                    example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                          deviceId:\n                                            type: string\n                                            description: Device identifier. This field is *deprecated* and will be removed in the future. Please use *`device`* instead\n                                            example: 186e4682-e88b-48a9-973d-6870e0b10a8f\n                                            deprecated: true\n                                          extensionNumber:\n                                            type: string\n                                            description: Extension number\n                                            example: '1000'\n                                          name:\n                                            type: string\n                                            description: Name of the participant\n                                            example: Alice\n                                      - title: PHONE_NUMBER\n                                        allOf:\n                                          - type: object\n                                            description: Type information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Type of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `LINE` indicates the participant is a line in the organization - could be an agent.\n\n                                                  `PHONE_NUMBER` indicates the participant is a phone number.\n\n                                                  `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct\n                                                  Inward Dialing (DID) information provided.\n                                                example: PHONE_NUMBER\n                                            example:\n                                              value: PHONE_NUMBER\n                                              phoneNumberId: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                              number: '+19881234567'\n                                              callProvider: PSTN\n                                              caller:\n                                                name: Alice\n                                                number: '+12345678945'\n                                              device:\n                                                id: c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\n                                                model: aastra.3l1\n                                                user:\n                                                  id: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                        description: Information about a phone number (DID)\n                                        required:\n                                          - phoneNumberId\n                                          - number\n                                        properties:\n                                          phoneNumberId:\n                                            type: string\n                                            description: Unique identifier of the phone number in the system\n                                            example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                          name:\n                                            type: string\n                                            description: |\n                                              * BETA Feature *\n                                              Name associated to the phone number. If it is not defined in the administration portal, the name will match the number.\n                                            example: Alice Phone 1\n                                          number:\n                                            type: string\n                                            description: Phone number\n                                            example: '+19881234567'\n                                          callProvider:\n                                            type: string\n                                            description: |\n                                              The call provider for the phone number\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                              `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                               customer provides its own SIP peering from an external provider.\n\n                                              `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                            enum:\n                                              - PSTN\n                                              - BYOC\n                                              - WHATSAPP\n                                            example: PSTN\n                                          caller:\n                                            type: object\n                                            description: Object representing an external phone number and name\n                                            required:\n                                              - name\n                                              - number\n                                            properties:\n                                              name:\n                                                type: string\n                                                description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                                example: Alice\n                                              number:\n                                                type: string\n                                                description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                                example: '+12345678945'\n                                          callee:\n                                            type: object\n                                            description: Object representing an external phone number and name\n                                            required:\n                                              - name\n                                              - number\n                                            properties:\n                                              name:\n                                                type: string\n                                                description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                                example: Alice\n                                              number:\n                                                type: string\n                                                description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                                example: '+12345678945'\n                                          contact:\n                                            type: object\n                                            description: Contact object associated with the participant in a call.\n                                            properties:\n                                              id:\n                                                description: Identifier of the contact associated to the participant. The contact identifier is unique across the organization.\n                                                type: string\n                                                example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                              notAddedReason:\n                                                type: string\n                                                description: |\n                                                  Reason why a contact was not added to the participant.\n\n                                                  `MULTIPLE_CONTACTS` indicates that multiple contacts matched the phone number.\n\n                                                  `NO_CONTACT` indicates that no contact was found for the phone number.\n                                                enum:\n                                                  - MULTIPLE_CONTACTS\n                                                  - NO_CONTACT\n                                                example: NO_CONTACT\n                                      - title: PHONE_NUMBER_UNKNOWN\n                                        allOf:\n                                          - type: object\n                                            description: Type information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Type of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `LINE` indicates the participant is a line in the organization - could be an agent.\n\n                                                  `PHONE_NUMBER` indicates the participant is a phone number.\n\n                                                  `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct\n                                                  Inward Dialing (DID) information provided.\n                                                example: PHONE_NUMBER\n                                            example:\n                                              value: PHONE_NUMBER\n                                              phoneNumberId: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                              number: '+19881234567'\n                                              callProvider: PSTN\n                                              caller:\n                                                name: Alice\n                                                number: '+12345678945'\n                                              device:\n                                                id: c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\n                                                model: aastra.3l1\n                                                user:\n                                                  id: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                        properties:\n                                          callProvider:\n                                            type: string\n                                            description: |\n                                              The call provider for the phone number\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                              `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                               customer provides its own SIP peering from an external provider.\n\n                                              `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                            enum:\n                                              - PSTN\n                                              - BYOC\n                                              - WHATSAPP\n                                            example: PSTN\n                                          callee:\n                                            type: object\n                                            description: Object representing an external phone number and name\n                                            required:\n                                              - name\n                                              - number\n                                            properties:\n                                              name:\n                                                type: string\n                                                description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                                example: Alice\n                                              number:\n                                                type: string\n                                                description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                                example: '+12345678945'\n                                  recordings:\n                                    type: array\n                                    items:\n                                      type: object\n                                      description: Recording of a call\n                                      required:\n                                        - id\n                                        - startTimestamp\n                                        - transcriptEnabled\n                                      properties:\n                                        id:\n                                          type: string\n                                          description: Identifier of the call recording\n                                          example: '65785'\n                                        startTimestamp:\n                                          description: The timestamp of the start of the recording\n                                          type: string\n                                          format: date-time\n                                          example: '2022-04-26T18:14:50.147Z'\n                                        pauses:\n                                          description: Timestamps of the start and ending of pauses in the recording\n                                          type: array\n                                          items:\n                                            type: object\n                                            properties:\n                                              pauseTimestamp:\n                                                description: Timestamp of the start of the pause\n                                                type: string\n                                                format: date-time\n                                                example: '2022-04-26T18:14:50.147Z'\n                                              unpauseTimestamp:\n                                                description: Timestamp of the end of the pause\n                                                type: string\n                                                format: date-time\n                                                example: '2022-04-26T18:14:50.147Z'\n                                        transcriptEnabled:\n                                          description: Indicates if the transcripting was enabled for this recording.\n                                          type: boolean\n                                          example: true\n                            properties:\n                              status:\n                                description: |\n                                  Status information\n\n                                  The values listed below only represent the current possibilities as of writing.\n                                  The addition of new possible values may occur at any time without prior notice.\n                                oneOf:\n                                  - title: RINGING\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                  - title: CONNECTED\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                  - title: ON_HOLD\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                  - title: PARKED\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                    properties:\n                                      parkingLot:\n                                        type: string\n                                        description: Parking lot\n                                        example: Parking lot 11\n                                      initiator:\n                                        type: object\n                                        description: Information of the user that put this participant in the `PARKED` status.\n                                        required:\n                                          - participantId\n                                          - conversationSpaceId\n                                          - extensionNumber\n                                          - name\n                                        properties:\n                                          participantId:\n                                            type: string\n                                            description: Participant ID in a given conversation space\n                                            example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                          conversationSpaceId:\n                                            type: string\n                                            description: Conversation associated to this participant\n                                            example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                          extensionNumber:\n                                            type: string\n                                            description: Initiator extension number\n                                            example: '1001'\n                                          name:\n                                            type: string\n                                            description: Initiator name\n                                            example: Bob\n                                    required:\n                                      - parkingLot\n                                      - initiator\n                                  - title: IN_DIRECT_TRANSFER\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                    properties:\n                                      initiator:\n                                        allOf:\n                                          - type: object\n                                            properties:\n                                              participantId:\n                                                type: string\n                                                description: Participant ID in a given conversation space\n                                                example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                              conversationSpaceId:\n                                                type: string\n                                                description: Conversation associated to this participant\n                                                example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                              extensionNumber:\n                                                type: string\n                                                description: Extension number associated to the participant\n                                                example: '1001'\n                                              name:\n                                                type: string\n                                                description: Name associated to the participant\n                                                example: Bob\n                                        description: The participant that initiates the transfer. In a scenario where Alice calls Bob and Bob transfers to Charlie, this represents Bob's participant in the conversation with Alice.\n                                      destination:\n                                        type: object\n                                        description: Information of the user that receives this participant in a call transfer. In scenarios where the call is transferred to a ring group, the destination object will also contain information about the ring group.\n                                        properties:\n                                          number:\n                                            type: string\n                                            description: Destination number\n                                            example: '1001'\n                                          ringGroup:\n                                            type: object\n                                            description: Information about a ring group.\n                                            required:\n                                              - id\n                                              - number\n                                              - name\n                                            properties:\n                                              id:\n                                                type: string\n                                                description: Unique identifier of the ring group\n                                                example: 783f909e-b874-430a-9f11-87d361f19b81\n                                              number:\n                                                type: string\n                                                description: Extension number of the ring group\n                                                example: '1080'\n                                              name:\n                                                type: string\n                                                description: Name of the ring group\n                                                example: Sales ring group\n                                        required:\n                                          - number\n                                    required:\n                                      - initiator\n                                      - destination\n                                  - title: IN_WARM_TRANSFER\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                    properties:\n                                      initiator:\n                                        allOf:\n                                          - type: object\n                                            properties:\n                                              participantId:\n                                                type: string\n                                                description: Participant ID in a given conversation space\n                                                example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                              conversationSpaceId:\n                                                type: string\n                                                description: Conversation associated to this participant\n                                                example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                              extensionNumber:\n                                                type: string\n                                                description: Extension number associated to the participant\n                                                example: '1001'\n                                              name:\n                                                type: string\n                                                description: Name associated to the participant\n                                                example: Bob\n                                        description: The participant that initiates the transfer. In a scenario where Alice calls Bob and Bob transfers to Charlie, this represents Bob's participant in the conversation with Alice.\n                                      transferrer:\n                                        allOf:\n                                          - type: object\n                                            properties:\n                                              participantId:\n                                                type: string\n                                                description: Participant ID in a given conversation space\n                                                example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                              conversationSpaceId:\n                                                type: string\n                                                description: Conversation associated to this participant\n                                                example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                              extensionNumber:\n                                                type: string\n                                                description: Extension number associated to the participant\n                                                example: '1001'\n                                              name:\n                                                type: string\n                                                description: Name associated to the participant\n                                                example: Bob\n                                        description: The participant that is created to perform the warm transfer. In a scenario where Alice calls Bob and Bob warm transfers to Charlie, this represents Bob's participant in the conversation with Charlie.\n                                      destination:\n                                        allOf:\n                                          - type: object\n                                            properties:\n                                              participantId:\n                                                type: string\n                                                description: Participant ID in a given conversation space\n                                                example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                              conversationSpaceId:\n                                                type: string\n                                                description: Conversation associated to this participant\n                                                example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                              extensionNumber:\n                                                type: string\n                                                description: Extension number associated to the participant\n                                                example: '1001'\n                                              name:\n                                                type: string\n                                                description: Name associated to the participant\n                                                example: Bob\n                                        description: The participant that is created to receive the warm transfer. In a scenario where Alice calls Bob and Bob warm transfers to Charlie, this represents Charlie's participant in the conversation with Bob.\n                                    required:\n                                      - initiator\n                                      - transferrer\n                                      - destination\n                                  - title: IN_DEVICE_FORWARDING\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                    properties:\n                                      destinations:\n                                        type: array\n                                        items:\n                                          type: object\n                                          properties:\n                                            participantId:\n                                              type: string\n                                              description: Participant ID in a given conversation space\n                                              example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                            deviceId:\n                                              type: string\n                                              description: Device identifier\n                                              example: 186e4682-e88b-48a9-973d-6870e0b10a8f\n                                            extensionNumber:\n                                              type: string\n                                              description: Extension number associated to the participant\n                                              example: '1025'\n                                            number:\n                                              type: string\n                                              description: Phone number associated to the participant\n                                              example: '+14544560345'\n                                            destinationType:\n                                              type: string\n                                              description: |\n                                                Type of forwarding destination.\n\n                                                The values listed below only represent the current possibilities as of writing.\n                                                The addition of new possible values may occur at any time without prior notice.\n\n                                                `LINE` indicates the destination is a line in the organization - could be an agent.\n\n                                                `PHONE_NUMBER` indicates the destination is a phone number.\n\n                                                `PHONE_NUMBER_UNKNOWN` indicates the destination is a phone number without Direct\n                                                Inward Dialing (DID) information provided.\n                                              example: PHONE_NUMBER\n                                        description: The list of destinations to where the call has been forwarded. Each destination contains information about a pre-configured device.\n                                    required:\n                                      - destinations\n                                  - title: IN_INTERACTIVE_VOICE_RESPONSE\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                  - title: DISCONNECTING\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                        interactiveVoiceResponseSystems:\n                          type: array\n                          description: |\n                            Ordered list of Interactive Voice Response systems with which\n                            a participant might be interacting. Items will be listed as long as the\n                            system considers the participant has not exited the dial plan or the call queue\n                            for instance.\n                          items:\n                            type: object\n                            description: |\n                              Information about an Interactive Voice Response system with which a participant is currently interacting.\n                            required:\n                              - id\n                              - status\n                              - originator\n                              - type\n                            properties:\n                              id:\n                                type: string\n                                description: Conversation space-specific identifier of the Interactive Voice Response system.\n                                example: 001b7ea9-956b-4be5-8601-ac2ab100fea9\n                              status:\n                                type: object\n                                description: Status information\n                                required:\n                                  - value\n                                properties:\n                                  value:\n                                    type: string\n                                    description: |\n                                      Status of the Interactive Voice Response system.\n\n                                      `CONNECTED` indicates that the participant is in the associated Interactive Voice Response system.\n\n                                      `DISCONNECTING` indicates that the participant is disconnecting from the associated Interactive Voice Response system.\n                                    example: CONNECTED\n                              originator:\n                                type: string\n                                description: Identifier of the participant involved with this Interactive Voice Response system.\n                                example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                              type:\n                                description: |\n                                  Type information.\n\n                                  The values listed below only represent the current possibilities as of writing.\n                                  The addition of new possible values may occur at any time without prior notice.\n                                oneOf:\n                                  - title: CALL_QUEUE\n                                    allOf:\n                                      - type: object\n                                        description: Type information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Type of Interactive Voice Response system.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                              `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                              `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                              `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                              `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                              `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                    type: object\n                                    description: Information about a call queue\n                                    required:\n                                      - queueId\n                                      - queueName\n                                      - queueType\n                                      - configuredWrapUpDuration\n                                    properties:\n                                      queueId:\n                                        type: string\n                                        description: Unique identifier of the call queue\n                                        example: 783f909e-b874-430a-9f11-87d361f19b81\n                                      queueName:\n                                        type: string\n                                        description: Name of the call queue\n                                      queueType:\n                                        type: string\n                                        description: Type of the call queue\n                                        example: BASIC\n                                      configuredWrapUpDuration:\n                                        type: integer\n                                        description: Configured agent wrap-up duration in milliseconds.\n                                      intents:\n                                        type: array\n                                        description: Caller intents\n                                        items:\n                                          type: object\n                                          properties:\n                                            intent:\n                                              type: string\n                                  - title: QUEUE_CALLBACK\n                                    allOf:\n                                      - type: object\n                                        description: Type information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Type of Interactive Voice Response system.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                              `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                              `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                              `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                              `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                              `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                    type: object\n                                    description: Information about a callback\n                                    required:\n                                      - callbackId\n                                      - queueId\n                                      - queueName\n                                      - queueType\n                                      - configuredWrapUpDuration\n                                    properties:\n                                      callbackId:\n                                        type: string\n                                        description: Unique identifier of the callback\n                                        example: 0719b477-822f-40d3-bc2d-fd7c76bf71b7\n                                      queueId:\n                                        type: string\n                                        description: Identifier of the call queue\n                                        example: 783f909e-b874-430a-9f11-87d361f19b81\n                                      queueName:\n                                        type: string\n                                        description: Name of the call queue\n                                      queueType:\n                                        type: string\n                                        description: Type of the call queue\n                                        example: BASIC\n                                      configuredWrapUpDuration:\n                                        type: integer\n                                        description: Configured agent wrap-up duration in milliseconds.\n                                      intents:\n                                        type: array\n                                        description: Caller intents\n                                        items:\n                                          type: object\n                                          properties:\n                                            intent:\n                                              type: string\n                                  - title: CAMPAIGN\n                                    allOf:\n                                      - type: object\n                                        description: Type information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Type of Interactive Voice Response system.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                              `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                              `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                              `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                              `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                              `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                    type: object\n                                    description: Information about a campaign\n                                    required:\n                                      - campaignId\n                                      - campaignName\n                                      - configuredWrapUpDuration\n                                    properties:\n                                      campaignId:\n                                        type: string\n                                        description: Unique identifier of the campaign\n                                        example: a880a80e-37a9-4812-af4f-b28b31466ff6\n                                      campaignName:\n                                        type: string\n                                        description: Name of the campaign\n                                      configuredWrapUpDuration:\n                                        type: integer\n                                        description: Configured agent wrap-up duration in milliseconds.\n                                      intents:\n                                        type: array\n                                        description: Caller intents\n                                        items:\n                                          type: object\n                                          properties:\n                                            intent:\n                                              type: string\n                                  - title: DIAL_PLAN\n                                    allOf:\n                                      - type: object\n                                        description: Type information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Type of Interactive Voice Response system.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                              `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                              `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                              `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                              `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                              `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                    type: object\n                                    description: Information about a dial plan\n                                    required:\n                                      - dialPlanId\n                                      - executionId\n                                      - currentNode\n                                    properties:\n                                      dialPlanId:\n                                        type: string\n                                        description: Unique identifier of the dial plan\n                                        example: 6b09ebf6-d5ae-4e17-96f1-690c71251c8d\n                                      executionId:\n                                        type: string\n                                        description: Conversation space-specific identifier of the execution of the dial plan\n                                        example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                      currentNode:\n                                        type: object\n                                        required:\n                                          - id\n                                          - type\n                                        properties:\n                                          id:\n                                            type: string\n                                            description: Identifier of the dial plan node\n                                            example: AttendantPromptNode_1005\n                                          type:\n                                            type: string\n                                            description: Type of the dial plan node\n                                            example: AttendantPromptNode\n                                          option:\n                                            type: string\n                                            description: The selected option on the Auto Attendant\n                                            example: '2'\n                                          result:\n                                            type: string\n                                            description: Result of the execution of the current node\n                                            example: DIALED_OPTION\n                                      previousNode:\n                                        type: object\n                                        required:\n                                          - id\n                                          - connector\n                                        properties:\n                                          id:\n                                            type: string\n                                            description: Identifier of the dial plan node\n                                            example: AttendantPromptNode_1005\n                                          connector:\n                                            type: string\n                                            description: The connector that was executed to end up in the current node\n                                            example: onInvalid\n                                  - title: VOICEMAIL\n                                    allOf:\n                                      - type: object\n                                        description: Type information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Type of Interactive Voice Response system.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                              `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                              `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                              `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                              `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                              `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                    type: object\n                                    description: Voicemail left for a given extension.\n                                    required:\n                                      - voicemailBoxId\n                                    properties:\n                                      voicemailBoxId:\n                                        type: string\n                                        description: Identifier of the voicemail.\n                                        example: 543dd572-60b5-4318-ab2d-7e2216489a31\n                                      name:\n                                        type: string\n                                        description: Name of callee.\n                                        example: Alice\n                                      number:\n                                        type: string\n                                        description: Number of callee.\n                                        example: '1000'\n                                      folder:\n                                        type: string\n                                        description: The voicemail box folder where the message was delivered.\n                                        example: INBOX\n                                      duration:\n                                        type: integer\n                                        format: int32\n                                        description: The duration of the message in milliseconds.\n                                        example: 4000\n                                      voicemailStatus:\n                                        type: string\n                                        description: |\n                                          Status of the voicemail as the user leaves the voicemail box.\n\n                                          `SUCCESS` - The user successfully left a voicemail\n\n                                          `USER_EXIT` - A user action caused the user to exit the voicemail box\n\n                                          `FAILED` - A failure occurred while the user was leaving a voicemail\n                                        example: SUCCESS\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-events/v1/conversation-spaces/%7BconversationSpaceId%7D/events',\n              params: {\n                sequenceFrom: 'SOME_INTEGER_VALUE',\n                sequenceTo: 'SOME_INTEGER_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                pageMarker: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/call-events/v1/conversation-spaces/%7BconversationSpaceId%7D/events?sequenceFrom=SOME_INTEGER_VALUE&sequenceTo=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&pageMarker=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-events/v1/conversation-spaces/%7BconversationSpaceId%7D/events?sequenceFrom=SOME_INTEGER_VALUE&sequenceTo=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&pageMarker=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-events/v1/conversation-spaces/%7BconversationSpaceId%7D/events');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'sequenceFrom' => 'SOME_INTEGER_VALUE',\n              'sequenceTo' => 'SOME_INTEGER_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'pageMarker' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-events/v1/conversation-spaces/%7BconversationSpaceId%7D/events?sequenceFrom=SOME_INTEGER_VALUE&sequenceTo=SOME_INTEGER_VALUE&pageSize=SOME_INTEGER_VALUE&pageMarker=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-events/v1/subscriptions:\n    post:\n      summary: Subscribe to the events of the calls of accounts and/or lines.\n      description: |\n        Subscribe to be notified of events for the active calls associated to all the accounts and lines provided.\n\n        Optionally, the [types of events](https://developer.goto.com/GoToConnect/#section/Retrieving-Call-Events/Via-Subscription) can also be specified\n        in the subscription.\n\n        ### Authentication Scopes\n\n        `call-events.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n\n        The caller of this endpoint should be the owner of the channel provided.\n      operationId: createCallEventsSubscriptions\n      tags:\n        - Call Event Subscriptions\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Subscription information\n              required:\n                - channelId\n              properties:\n                channelId:\n                  description: Notification channel identifier obtained through the [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\n                  type: string\n                  example: 1132cf5d-b186-42c9-a1bf-b84d1bfe1111\n                accountKeys:\n                  description: |\n                    Account keys. A maximum of 50 account keys can be\n                    provided in a single request.\n\n                    The caller must use a token that have permission to access the accounts listed.\n                  type: array\n                  maxItems: 50\n                  items:\n                    type: object\n                    required:\n                      - id\n                    properties:\n                      id:\n                        type: string\n                        description: Identifier of the given entity\n                        example: '2930718022414574861'\n                      events:\n                        type: array\n                        description: List of event types the caller wants to receive\n                        items:\n                          type: string\n                          description: |\n                            Type of the event to receive\n\n                            `STARTING` - retrieve events in `STARTING` state, when a call starts\n\n                            `ACTIVE` - retrieve events in `ACTIVE` state\n\n                            `ENDING` - retrieve events in `ENDING` state, when a call ends\n                          enum:\n                            - STARTING\n                            - ACTIVE\n                            - ENDING\n                          example: ACTIVE\n                    example:\n                      id: '2930718022414574861'\n                      events:\n                        - ACTIVE\n                lineIds:\n                  description: |\n                    Line identifiers. A maximum of 50 can be provided in a single request.\n                  type: array\n                  maxItems: 50\n                  items:\n                    type: object\n                    required:\n                      - id\n                    properties:\n                      id:\n                        type: string\n                        description: Identifier of the given line\n                        example: 5ebb0c57-3632-40bd-8c24-54dd065d5fc7\n      responses:\n        '207':\n          description: Multi-part response to a request for subscriptions. The status of each subscription is in the response payload.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Information on requested subscriptions\n                properties:\n                  accountKeys:\n                    description: Requested account keys and whether the subscription was created successfully\n                    type: array\n                    items:\n                      type: object\n                      description: Identifier of the entity to which a subscription was requested and the `status`, `message` pair indicating if a subscription was successfully created for the entity or why it was not created (`errorCode` accompanies failures).\n                      required:\n                        - id\n                        - status\n                        - message\n                      properties:\n                        id:\n                          type: string\n                          description: Identifier of the entity to subscribe\n                          example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                        status:\n                          type: integer\n                          description: |\n                            Indicates the status of the subscription to the given entity. In the case of an error, the `errorCode` will provide the reason.\n\n                            * 200: the subscription was successfully created.\n                            * 400: the server cannot or will not process the request due to something that is perceived to be a client error.\n                            * 404: the resource could not be found.\n                            * 500: the server has encountered a situation it does not know how to handle.\n                          example: 200\n                        message:\n                          type: string\n                          description: |\n                            Provides textual information about the status of the subscription to the given entity. In the case of a client-side error-handling,\n                            one should rely on `status` and `errorCode` instead of this message as its content could change without prior notice.\n                          example: Success\n                        errorCode:\n                          type: string\n                          description: |\n                            Indicates the reason why subscribing to an entity has failed.\n\n                            Reasons for failure can be one of the following:\n\n                            * FEATURE_DISABLED: the feature needs to be enabled for the associated account.\n                            * NOT_FOUND: the requested resource could not be found.\n                            * TOO_MANY_SUBSCRIPTIONS: the requested resource already has too many subscriptions attached to it (limit: 20).\n                            * INTERNAL_SERVER_ERROR: a unexpected error occurred while subscribing to the resource.\n                          example: NOT_FOUND\n                  lineIds:\n                    description: Requested line ids and whether the subscription was created successfully\n                    type: array\n                    items:\n                      type: object\n                      description: Identifier of the entity to which a subscription was requested and the `status`, `message` pair indicating if a subscription was successfully created for the entity or why it was not created (`errorCode` accompanies failures).\n                      required:\n                        - id\n                        - status\n                        - message\n                      properties:\n                        id:\n                          type: string\n                          description: Identifier of the entity to subscribe\n                          example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                        status:\n                          type: integer\n                          description: |\n                            Indicates the status of the subscription to the given entity. In the case of an error, the `errorCode` will provide the reason.\n\n                            * 200: the subscription was successfully created.\n                            * 400: the server cannot or will not process the request due to something that is perceived to be a client error.\n                            * 404: the resource could not be found.\n                            * 500: the server has encountered a situation it does not know how to handle.\n                          example: 200\n                        message:\n                          type: string\n                          description: |\n                            Provides textual information about the status of the subscription to the given entity. In the case of a client-side error-handling,\n                            one should rely on `status` and `errorCode` instead of this message as its content could change without prior notice.\n                          example: Success\n                        errorCode:\n                          type: string\n                          description: |\n                            Indicates the reason why subscribing to an entity has failed.\n\n                            Reasons for failure can be one of the following:\n\n                            * FEATURE_DISABLED: the feature needs to be enabled for the associated account.\n                            * NOT_FOUND: the requested resource could not be found.\n                            * TOO_MANY_SUBSCRIPTIONS: the requested resource already has too many subscriptions attached to it (limit: 20).\n                            * INTERNAL_SERVER_ERROR: a unexpected error occurred while subscribing to the resource.\n                          example: NOT_FOUND\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      callbacks:\n        ACTIVE:\n          '{request.body#/channelId}':\n            post:\n              summary: ACTIVE\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Call Event notification\n                      allOf:\n                        - description: |\n                            Base type for all notifications received over a notification channel. The notification max size is 1MB.\n                          type: object\n                          required:\n                            - source\n                            - type\n                            - timestamp\n                          properties:\n                            id:\n                              type: string\n                              description: |\n                                Unique identifier for the notification. This is used to identify  and deduplicate notifications.\n                            source:\n                              description: |\n                                Identifies the source application issuing the notification.\n                              type: string\n                            type:\n                              description: |\n                                Type of the event. Used as a discriminator of the server application to determine the content.\n                              type: string\n                            usage:\n                              default: BACKGROUND\n                              type: string\n                              description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notification should not be displayed to the user, it should be transfered towards the application.\n                              enum:\n                                - VOIP\n                                - ALERT\n                                - BACKGROUND\n                            timestamp:\n                              description: The time of the event. Used to indicate when the event occur\n                              type: string\n                              format: date-time\n                            ttl:\n                              description: Time to live in seconds for the notification\n                              type: integer\n                            contentVersion:\n                              type: string\n                              description: |\n                                Version of the notification content data structure that allows to know the version of the content without checking the actual payload or content.\n                            content:\n                              description: |\n                                Actual content of the notification that varies depending on the source and the type of the notification.\n                              type: object\n                      properties:\n                        source:\n                          description: |\n                            Identifies the source application issuing the notification.\n                          type: string\n                          example: call-events\n              responses:\n                '204':\n                  description: Successful.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/call-events/v1/subscriptions',\n              data: {\n                channelId: '1132cf5d-b186-42c9-a1bf-b84d1bfe1111',\n                accountKeys: [{id: '2930718022414574861', events: ['ACTIVE']}],\n                lineIds: [{id: '5ebb0c57-3632-40bd-8c24-54dd065d5fc7'}]\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/call-events/v1/subscriptions \\\n              --header 'content-type: application/json' \\\n              --data '{\"channelId\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\",\"accountKeys\":[{\"id\":\"2930718022414574861\",\"events\":[\"ACTIVE\"]}],\"lineIds\":[{\"id\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"}]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"channelId\\\":\\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\\"accountKeys\\\":[{\\\"id\\\":\\\"2930718022414574861\\\",\\\"events\\\":[\\\"ACTIVE\\\"]}],\\\"lineIds\\\":[{\\\"id\\\":\\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"}]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/call-events/v1/subscriptions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"channelId\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\",\"accountKeys\":[{\"id\":\"2930718022414574861\",\"events\":[\"ACTIVE\"]}],\"lineIds\":[{\"id\":\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\"}]}');\n\n            $request->setRequestUrl('https://api.goto.com/call-events/v1/subscriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-events/v1/subscriptions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"channelId\\\":\\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\\"accountKeys\\\":[{\\\"id\\\":\\\"2930718022414574861\\\",\\\"events\\\":[\\\"ACTIVE\\\"]}],\\\"lineIds\\\":[{\\\"id\\\":\\\"5ebb0c57-3632-40bd-8c24-54dd065d5fc7\\\"}]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      summary: Query subscriptions on the given channel.\n      description: |\n        Retrieves the subscriptions on the given channel.\n\n        ### Authentication Scopes\n\n        `call-events.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n\n        The caller of this endpoint should be the owner of the channel provided.\n      operationId: getCallEventsSubscriptions\n      tags:\n        - Call Event Subscriptions\n      parameters:\n        - name: channelId\n          in: query\n          description: Notification channel identifier obtained through the [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\n          required: true\n          schema:\n            type: string\n            example: 1132cf5d-b186-42c9-a1bf-b84d1bfe1111\n      responses:\n        '200':\n          description: The subscriptions on the given Notification Channel\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Subscription information\n                properties:\n                  accountKeys:\n                    description: Account keys, for which events are expected on the Notification Channel.\n                    type: array\n                    items:\n                      type: string\n                      example: '2930718022414574861'\n                  lineIds:\n                    description: Line indentifiers, for which events are expected on the Notification Channel.\n                    type: array\n                    items:\n                      type: string\n                      example: 5ebb0c57-3632-40bd-8c24-54dd065d5fc7\n                example:\n                  accountKeys:\n                    - '2930718022414574861'\n                  lineIds:\n                    - 5ebb0c57-3632-40bd-8c24-54dd065d5fc7\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-events/v1/subscriptions',\n              params: {channelId: '1132cf5d-b186-42c9-a1bf-b84d1bfe1111'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/call-events/v1/subscriptions?channelId=1132cf5d-b186-42c9-a1bf-b84d1bfe1111'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-events/v1/subscriptions?channelId=1132cf5d-b186-42c9-a1bf-b84d1bfe1111\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-events/v1/subscriptions');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'channelId' => '1132cf5d-b186-42c9-a1bf-b84d1bfe1111'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-events/v1/subscriptions?channelId=1132cf5d-b186-42c9-a1bf-b84d1bfe1111\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      summary: Delete subscriptions on the given channel\n      description: |\n\n        Deletes the subscriptions on the given channel.\n\n        **Important:** when no `accountKey` or `lineId` is provided then all of the subscriptions\n        associated to call events for the given channel will be removed.\n\n        ### Authentication Scopes\n\n        `call-events.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n\n        The caller of this endpoint should be the owner of the channel provided.\n      operationId: deleteCallEventsSubscriptions\n      tags:\n        - Call Event Subscriptions\n      parameters:\n        - name: channelId\n          in: query\n          description: Notification channel identifier obtained through the [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\n          required: true\n          schema:\n            type: string\n            example: 1132cf5d-b186-42c9-a1bf-b84d1bfe1111\n        - name: accountKey\n          in: query\n          description: Account keys to unsubscribe.\n          required: false\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n              example: '2930718022414574861'\n        - name: lineId\n          in: query\n          description: |-\n            Line id.\n            The caller must use a token that have permission to access the line listed.\n          required: false\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n              example: 5ebb0c57-3632-40bd-8c24-54dd065d5fc7\n      responses:\n        '204':\n          description: The subscriptions were successfully removed on the given Notification Channel\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/call-events/v1/subscriptions',\n              params: {\n                channelId: '1132cf5d-b186-42c9-a1bf-b84d1bfe1111',\n                accountKey: 'SOME_ARRAY_VALUE',\n                lineId: 'SOME_ARRAY_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url 'https://api.goto.com/call-events/v1/subscriptions?channelId=1132cf5d-b186-42c9-a1bf-b84d1bfe1111&accountKey=SOME_ARRAY_VALUE&lineId=SOME_ARRAY_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/call-events/v1/subscriptions?channelId=1132cf5d-b186-42c9-a1bf-b84d1bfe1111&accountKey=SOME_ARRAY_VALUE&lineId=SOME_ARRAY_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-events/v1/subscriptions');\n            $request->setRequestMethod('DELETE');\n            $request->setQuery(new http\\QueryString([\n              'channelId' => '1132cf5d-b186-42c9-a1bf-b84d1bfe1111',\n              'accountKey' => 'SOME_ARRAY_VALUE',\n              'lineId' => 'SOME_ARRAY_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-events/v1/subscriptions?channelId=1132cf5d-b186-42c9-a1bf-b84d1bfe1111&accountKey=SOME_ARRAY_VALUE&lineId=SOME_ARRAY_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-events-report/v1/report-summaries:\n    get:\n      summary: Retrieves completed call summaries\n      description: |\n        Retrieves the completed call (conversation space) summaries associated with either accounts,\n        phone numbers, users or lines.\n\n        The `accountKey`, `lineId`, `phoneNumberId`, `userKey` parameters are mutually exclusive. Only one of them can be provided.\n\n        The summary provides faster access to commonly used call information suitable for building\n        lists. To retrieve the complete details of a given call summary entry, use the\n        `/reports/{conversationSpaceId}` endpoint.\n\n        Both `startTime` and `endTime` are required parameters. The maximum time range is 31 days.\n\n        ### Authentication Scopes\n\n        `cr.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: accountKey\n          in: query\n          description: The caller must use a token that have permission to access the accounts listed.\n          required: false\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n              example: '2930718022414574861'\n        - name: userKey\n          in: query\n          description: |\n\n            The caller must use a token that has permission to access the users listed.\n          required: false\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n              example: '2930718022414574861'\n        - name: phoneNumberId\n          in: query\n          description: |\n\n            The caller must use a token that has permission to access the phone numbers listed.\n          required: false\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n              example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n        - name: lineId\n          in: query\n          description: |\n\n            The caller must use a token that has permission to access the lines listed.\n          required: false\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n              example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n        - name: virtualParticipantId\n          in: query\n          description: |\n\n            The caller must use a token that has permission to access the virtual participants listed.\n            This is evaluated if the given token gives access to the organization in which the virtual participant resides.\n          required: false\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n              example: 7e5fb305-5ec7-47c4-bf3b-4ee578264314\n        - name: startTime\n          in: query\n          description: The ISO 8601 datetime (inclusive) from which to include records into the results. Only UTC time zone is accepted.\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n          required: true\n        - name: endTime\n          description: The ISO 8601 datetime (exclusive) up until which to include records into the results. Only UTC time zone is accepted.\n          in: query\n          required: true\n          schema:\n            type: string\n            format: date-time\n          example: '2020-01-01T00:01:00Z'\n        - name: conversationScope\n          description: |\n            Enum to filter reports based on the participants in the conversation.\n\n            A conversation is internal when none of its participants are of type `PHONE_NUMBER`, even when a user dials a phone number that belongs to the same organization.\n            A conversation is external as soon as even a single participant is of the type `PHONE_NUMBER`.\n          in: query\n          required: false\n          schema:\n            type: string\n            enum:\n              - INTERNAL\n              - EXTERNAL\n            example: INTERNAL\n        - name: conversationCallerOutcome\n          description: |\n            Enum to filter reports based on the outcome of the conversation, from the point of view of the caller.\n\n            - `NORMAL` when either the caller or the callee hangup the phone normally, while connected to each other.\n            - `MISSED` when the caller hangup the phone while attempting to reach the callee (even if the caller initially\n            reached someone and subsequently got transferred to another line/phone number).\n            - `VOICEMAIL` when the caller hangs up while in a voicemail system, either after leaving a message or just in the automated announcement.\n            - `LEFT_QUEUE` when the caller has hung up while in a queue.\n            - `LEFT_PARKING_SPOT` when the caller has hung up while parked.\n            - `LEFT_ON_HOLD` when the caller has hung up while being on hold.\n            - `LEFT_DIAL_PLAN` when the caller's call ended while being inside a dial plan (either terminated by the dial plan or by hanging up).\n            - `TRUNCATED` when the conversation length is over 250 events and the caller's outcome cannot be determined.\n            - `UNKNOWN` in all other cases and historical data before the field was created.\n          in: query\n          required: false\n          schema:\n            type: string\n            enum:\n              - NORMAL\n              - MISSED\n              - VOICEMAIL\n              - LEFT_QUEUE\n              - LEFT_PARKING_SPOT\n              - LEFT_ON_HOLD\n              - LEFT_DIAL_PLAN\n              - TRUNCATED\n              - UNKNOWN\n            example: NORMAL\n        - in: query\n          name: pageSize\n          description: Maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            default: 100\n            maximum: 1000\n        - in: query\n          name: pageMarker\n          description: The opaque identifier representing a valid marker for the desired page. The value of `nextPageMarker` from a response SHOULD be used to get the next batch of results. During each subsequent pagination request, all other effective query arguments must be left unchanged otherwise the request will fail with a 403. The only exception is `pageSize` which is free to change across pagination requests.\n          required: false\n          schema:\n            type: string\n      operationId: retrieveCallEventsReportSummaries\n      tags:\n        - Call Events Report\n      responses:\n        '200':\n          description: Successfully retrieved matching summaries of completed calls.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Paginated collection of call summaries\n                required:\n                  - pageSize\n                  - items\n                properties:\n                  pageSize:\n                    type: integer\n                    format: int32\n                    description: The desired size of the page.\n                    example: 250\n                  nextPageMarker:\n                    type: string\n                    description: The next page marker value, to be used for fetching the next page via the `pageMarker` query parameter.\n                    example: a159e8fbea8e53848\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      description: Simplified summary of a call\n                      required:\n                        - conversationSpaceId\n                        - accountKey\n                        - callCreated\n                        - callEnded\n                        - callInitiator\n                        - direction\n                        - caller\n                        - callerOutcome\n                        - participants\n                      properties:\n                        conversationSpaceId:\n                          type: string\n                          description: Identifier of the conversation space\n                          format: uuid\n                          example: 43643517-5c98-4102-942f-882d86a4a0fa\n                        accountKey:\n                          type: string\n                          description: Account key associated with the conversation space.\n                          example: '2930718022414574861'\n                        callCreated:\n                          description: The timestamp when the call was created.\n                          type: string\n                          format: date-time\n                          example: '2022-04-26T18:14:50.147Z'\n                        callAnswered:\n                          description: Optional timestamp when the call was answered\n                          type: string\n                          format: date-time\n                          example: '2022-04-26T18:15:00.147Z'\n                        callEnded:\n                          description: The timestamp when the call was ended.\n                          type: string\n                          format: date-time\n                          example: '2022-04-26T18:15:50.147Z'\n                        callInitiator:\n                          type: string\n                          example: DIRECT\n                          description: |\n                            Initiator of the call. Allows categorizing a call by how it was triggered. This field is optional and will only be displayed once its value has been determined.\n\n                            The values listed below only represent the current possibilities as of writing.\n                            The addition of new possible values may occur at any time without prior notice.\n\n                            `CLICK_TO_CALL` indicates that the call started from the [`/calls` API](https://developer.goto.com/GoToConnect#tag/Calls-Overview)\n\n                            `QUEUE_CALLBACK` indicates that the call was triggered through [a callback request](https://support.goto.com/connect/help/how-do-i-set-up-auto-queue-callback).\n\n                            `CAMPAIGN` indicates that the call has been started from a campaign\n\n                            `DIRECT` indicates that the call was triggered directly by a user, such as by calling from the GoTo app or a physical desk phone\n                        direction:\n                          type: string\n                          description: |\n                            Direction of the call with respect to the GoTo Connect platform. `OUTBOUND` if the call started from the GoTo Connect platform,\n                            `INBOUND` otherwise.\n                          enum:\n                            - INBOUND\n                            - OUTBOUND\n                          example: INBOUND\n                        caller:\n                          description: The participant triggering the creation of this call.\n                          type: object\n                          required:\n                            - name\n                            - number\n                            - type\n                          properties:\n                            name:\n                              type: string\n                              description: Participant name\n                              example: John Doe\n                            number:\n                              type: string\n                              description: The number of the participant (caller/callee extension or phone number)\n                              example: '1000'\n                            legId:\n                              type: string\n                              description: Participant leg identifier.\n                              example: fefad6f0-2456-4b9a-a712-d7abcb625fdb\n                            recordingId:\n                              type: string\n                              format: uuid\n                              description: Call recording identifier of the participant's call perspective. Not present if the call was not recorded.\n                              example: 39040a62-1956-4474-a68a-fc827849bc7b\n                            liveTranscriptId:\n                              type: string\n                              format: uuid\n                              description: Live transcript identifier of the participant's call perspective. Not present if the call did not have live transcription enabled.\n                              example: ecc273c3-4d02-47b5-a97e-7c728c995503\n                            type:\n                              anyOf:\n                                - title: PHONE_NUMBER\n                                  description: Information about a phone number (DID)\n                                  required:\n                                    - value\n                                    - phoneNumberId\n                                    - number\n                                  properties:\n                                    value:\n                                      type: string\n                                      description: |\n                                        Type of the participant.\n\n                                        `PHONE_NUMBER` indicates the participant is a phone number.\n                                      example: PHONE_NUMBER\n                                    phoneNumberId:\n                                      type: string\n                                      description: Unique identifier of the phone number in the system\n                                      example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                    number:\n                                      type: string\n                                      description: Phone number associated with phoneNumberId\n                                      example: '+19881234567'\n                                    name:\n                                      type: string\n                                      description: Configured name of the phone number. Not present if no name is configured.\n                                      example: Sales Phone Number\n                                    contact:\n                                      type: object\n                                      description: Contact object associated with the participant in a call.\n                                      required:\n                                        - id\n                                      properties:\n                                        id:\n                                          description: |\n                                            Identifier of the contact associated to the participant. The contact identifier is unique across the organization.\n                                          type: string\n                                          format: uuid\n                                          example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                    callProvider:\n                                      type: string\n                                      description: |\n                                        The call provider for the phone number\n\n                                        The values listed below only represent the current possibilities as of writing.\n                                        The addition of new possible values may occur at any time without prior notice.\n\n                                        `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                        `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                         customer provides its own SIP peering from an external provider.\n\n                                        `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                      enum:\n                                        - PSTN\n                                        - BYOC\n                                        - WHATSAPP\n                                      example: PSTN\n                                - title: PHONE_NUMBER_UNKNOWN\n                                  description: Information about a phone number without Direct Inward Dialing (DID) information provided.\n                                  required:\n                                    - value\n                                  properties:\n                                    value:\n                                      type: string\n                                      description: |\n                                        Type of the participant.\n\n                                        `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct Inward Dialing (DID) information provided.\n                                      example: PHONE_NUMBER_UNKNOWN\n                                    callProvider:\n                                      type: string\n                                      description: |\n                                        The call provider for the phone number\n\n                                        The values listed below only represent the current possibilities as of writing.\n                                        The addition of new possible values may occur at any time without prior notice.\n\n                                        `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                        `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                         customer provides its own SIP peering from an external provider.\n\n                                        `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                      enum:\n                                        - PSTN\n                                        - BYOC\n                                        - WHATSAPP\n                                      example: PSTN\n                                - title: LINE\n                                  description: Information about a line\n                                  required:\n                                    - value\n                                    - lineId\n                                  properties:\n                                    value:\n                                      type: string\n                                      description: |\n                                        Type of the participant.\n\n                                        `LINE` indicates the participant is a line in the organization - could be an agent.\n                                      example: LINE\n                                    lineId:\n                                      type: string\n                                      description: Line identifier\n                                      example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                    userId:\n                                      type: string\n                                      description: |\n                                        The user identifier associated with the line via the device at the time of the conversation.\n\n                                        This attribute is exempted from the object if the participant is a standalone device.\n                                        A standalone device is defined as a device that holds the credentials for connecting\n                                        to GoTo's platform. It is not associated to a specific user.\n                                      example: f55cb8e5-7fee-41fa-9f73-33e98066e077\n                                    userKey:\n                                      type: string\n                                      description: |\n                                        The user key associated with the line via the device at the time of the conversation.\n\n                                        This attribute is exempted from the object if the participant is a standalone device.\n                                        A standalone device is defined as a device that holds the credentials for connecting\n                                        to GoTo's platform.\n                                      example: '2930718022414574861'\n                                - title: VIRTUAL_PARTICIPANT\n                                  description: Information about a virtual participant\n                                  required:\n                                    - value\n                                    - virtualParticipantId\n                                  properties:\n                                    value:\n                                      type: string\n                                      description: |\n                                        Type of the participant.\n\n                                        `VIRTUAL_PARTICIPANT` indicates the participant is a virtual participant.\n                                      example: VIRTUAL_PARTICIPANT\n                                    virtualParticipantId:\n                                      type: string\n                                      description: Unique identifier of the virtual participant in the system\n                                      example: 7e5fb305-5ec7-47c4-bf3b-4ee578264314\n                        callerOutcome:\n                          type: string\n                          description: |\n                            How the call ended from the point of view of the initial caller.\n                          enum:\n                            - NORMAL\n                            - MISSED\n                            - VOICEMAIL\n                            - LEFT_QUEUE\n                            - LEFT_PARKING_SPOT\n                            - LEFT_ON_HOLD\n                            - LEFT_DIAL_PLAN\n                            - TRUNCATED\n                            - UNKNOWN\n                          example: NORMAL\n                        participants:\n                          description: Other participant(s) actively involved in the call after answering (can be empty).\n                          type: array\n                          items:\n                            type: object\n                            description: Caller participant information\n                            required:\n                              - name\n                              - number\n                              - type\n                            properties:\n                              name:\n                                type: string\n                                description: Participant name\n                                example: John Doe\n                              number:\n                                type: string\n                                description: The number of the participant (caller/callee extension or phone number)\n                                example: '1000'\n                              legId:\n                                type: string\n                                description: Participant leg identifier.\n                                example: fefad6f0-2456-4b9a-a712-d7abcb625fdb\n                              recordingId:\n                                type: string\n                                format: uuid\n                                description: Call recording identifier of the participant's call perspective. Not present if the call was not recorded.\n                                example: 39040a62-1956-4474-a68a-fc827849bc7b\n                              liveTranscriptId:\n                                type: string\n                                format: uuid\n                                description: Live transcript identifier of the participant's call perspective. Not present if the call did not have live transcription enabled.\n                                example: ecc273c3-4d02-47b5-a97e-7c728c995503\n                              type:\n                                anyOf:\n                                  - title: PHONE_NUMBER\n                                    description: Information about a phone number (DID)\n                                    required:\n                                      - value\n                                      - phoneNumberId\n                                      - number\n                                    properties:\n                                      value:\n                                        type: string\n                                        description: |\n                                          Type of the participant.\n\n                                          `PHONE_NUMBER` indicates the participant is a phone number.\n                                        example: PHONE_NUMBER\n                                      phoneNumberId:\n                                        type: string\n                                        description: Unique identifier of the phone number in the system\n                                        example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                      number:\n                                        type: string\n                                        description: Phone number associated with phoneNumberId\n                                        example: '+19881234567'\n                                      name:\n                                        type: string\n                                        description: Configured name of the phone number. Not present if no name is configured.\n                                        example: Sales Phone Number\n                                      contact:\n                                        type: object\n                                        description: Contact object associated with the participant in a call.\n                                        required:\n                                          - id\n                                        properties:\n                                          id:\n                                            description: |\n                                              Identifier of the contact associated to the participant. The contact identifier is unique across the organization.\n                                            type: string\n                                            format: uuid\n                                            example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                      callProvider:\n                                        type: string\n                                        description: |\n                                          The call provider for the phone number\n\n                                          The values listed below only represent the current possibilities as of writing.\n                                          The addition of new possible values may occur at any time without prior notice.\n\n                                          `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                          `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                           customer provides its own SIP peering from an external provider.\n\n                                          `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                        enum:\n                                          - PSTN\n                                          - BYOC\n                                          - WHATSAPP\n                                        example: PSTN\n                                  - title: PHONE_NUMBER_UNKNOWN\n                                    description: Information about a phone number without Direct Inward Dialing (DID) information provided.\n                                    required:\n                                      - value\n                                    properties:\n                                      value:\n                                        type: string\n                                        description: |\n                                          Type of the participant.\n\n                                          `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct Inward Dialing (DID) information provided.\n                                        example: PHONE_NUMBER_UNKNOWN\n                                      callProvider:\n                                        type: string\n                                        description: |\n                                          The call provider for the phone number\n\n                                          The values listed below only represent the current possibilities as of writing.\n                                          The addition of new possible values may occur at any time without prior notice.\n\n                                          `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                          `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                           customer provides its own SIP peering from an external provider.\n\n                                          `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                        enum:\n                                          - PSTN\n                                          - BYOC\n                                          - WHATSAPP\n                                        example: PSTN\n                                  - title: LINE\n                                    description: Information about a line\n                                    required:\n                                      - value\n                                      - lineId\n                                    properties:\n                                      value:\n                                        type: string\n                                        description: |\n                                          Type of the participant.\n\n                                          `LINE` indicates the participant is a line in the organization - could be an agent.\n                                        example: LINE\n                                      lineId:\n                                        type: string\n                                        description: Line identifier\n                                        example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                      userId:\n                                        type: string\n                                        description: |\n                                          The user identifier associated with the line via the device at the time of the conversation.\n\n                                          This attribute is exempted from the object if the participant is a standalone device.\n                                          A standalone device is defined as a device that holds the credentials for connecting\n                                          to GoTo's platform. It is not associated to a specific user.\n                                        example: f55cb8e5-7fee-41fa-9f73-33e98066e077\n                                      userKey:\n                                        type: string\n                                        description: |\n                                          The user key associated with the line via the device at the time of the conversation.\n\n                                          This attribute is exempted from the object if the participant is a standalone device.\n                                          A standalone device is defined as a device that holds the credentials for connecting\n                                          to GoTo's platform.\n                                        example: '2930718022414574861'\n                                  - title: VIRTUAL_PARTICIPANT\n                                    description: Information about a virtual participant\n                                    required:\n                                      - value\n                                      - virtualParticipantId\n                                    properties:\n                                      value:\n                                        type: string\n                                        description: |\n                                          Type of the participant.\n\n                                          `VIRTUAL_PARTICIPANT` indicates the participant is a virtual participant.\n                                        example: VIRTUAL_PARTICIPANT\n                                      virtualParticipantId:\n                                        type: string\n                                        description: Unique identifier of the virtual participant in the system\n                                        example: 7e5fb305-5ec7-47c4-bf3b-4ee578264314\n                        aiAnalysis:\n                          type: object\n                          description: Analysis of the call by the AI engine. Only available with Advanced reporting.\n                          required:\n                            - sentiment\n                            - topics\n                            - summary\n                            - flags\n                          properties:\n                            sentiment:\n                              type: string\n                              description: |\n                                Sentiment of the call.\n                                The values listed below only represent the current possibilities as of writing.\n\n                                - `UNAVAILABLE` indicates the system was unable to perform sentiment analysis.\n                                - `POSITIVE` indicates that the sentiment of the call is positive.\n                                - `NEGATIVE` indicates that the sentiment of the call is negative.\n                                - `NEUTRAL` indicates that the sentiment of the call is neutral.\n                              example: POSITIVE\n                            topics:\n                              type: array\n                              description: Topics of the call detected by the AI engine. Can be an empty array if detection could not be performed.\n                              items:\n                                type: string\n                              example:\n                                - billing issues\n                                - wifi setup\n                            summary:\n                              type: string\n                              description: Summary of the call detected by the AI engine. Can be an empty string if summarization could not be performed.\n                              example: Customer called to report a billing issue and was transferred to the billing department for resolution.\n                            editedBy:\n                              type: object\n                              description: Information about the user who edited the AI analysis summary. If not provided, the AI analysis was not edited.\n                              properties:\n                                userId:\n                                  type: string\n                                  description: Identifier of the user who edited the AI analysis.\n                                  example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                userKey:\n                                  type: string\n                                  description: Key of the user who edited the AI analysis.\n                                  example: '2930718022414574861'\n                            flags:\n                              type: array\n                              description: |\n                                Flags raised on this call by the AI engine. Flags are keywords or semantic context that a supervisor has set an alert for on inbound calls.\n                              items:\n                                type: string\n                              example:\n                                - billing issues\n                                - items held at customs\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-events-report/v1/report-summaries',\n              params: {\n                accountKey: 'SOME_ARRAY_VALUE',\n                userKey: 'SOME_ARRAY_VALUE',\n                phoneNumberId: 'SOME_ARRAY_VALUE',\n                lineId: 'SOME_ARRAY_VALUE',\n                virtualParticipantId: 'SOME_ARRAY_VALUE',\n                startTime: '2020-01-01T00:01:00Z',\n                endTime: '2020-01-01T00:01:00Z',\n                conversationScope: 'INTERNAL',\n                conversationCallerOutcome: 'NORMAL',\n                pageSize: 'SOME_INTEGER_VALUE',\n                pageMarker: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/call-events-report/v1/report-summaries?accountKey=SOME_ARRAY_VALUE&userKey=SOME_ARRAY_VALUE&phoneNumberId=SOME_ARRAY_VALUE&lineId=SOME_ARRAY_VALUE&virtualParticipantId=SOME_ARRAY_VALUE&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&conversationScope=INTERNAL&conversationCallerOutcome=NORMAL&pageSize=SOME_INTEGER_VALUE&pageMarker=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-events-report/v1/report-summaries?accountKey=SOME_ARRAY_VALUE&userKey=SOME_ARRAY_VALUE&phoneNumberId=SOME_ARRAY_VALUE&lineId=SOME_ARRAY_VALUE&virtualParticipantId=SOME_ARRAY_VALUE&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&conversationScope=INTERNAL&conversationCallerOutcome=NORMAL&pageSize=SOME_INTEGER_VALUE&pageMarker=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-events-report/v1/report-summaries');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => 'SOME_ARRAY_VALUE',\n              'userKey' => 'SOME_ARRAY_VALUE',\n              'phoneNumberId' => 'SOME_ARRAY_VALUE',\n              'lineId' => 'SOME_ARRAY_VALUE',\n              'virtualParticipantId' => 'SOME_ARRAY_VALUE',\n              'startTime' => '2020-01-01T00:01:00Z',\n              'endTime' => '2020-01-01T00:01:00Z',\n              'conversationScope' => 'INTERNAL',\n              'conversationCallerOutcome' => 'NORMAL',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'pageMarker' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-events-report/v1/report-summaries?accountKey=SOME_ARRAY_VALUE&userKey=SOME_ARRAY_VALUE&phoneNumberId=SOME_ARRAY_VALUE&lineId=SOME_ARRAY_VALUE&virtualParticipantId=SOME_ARRAY_VALUE&startTime=2020-01-01T00%3A01%3A00Z&endTime=2020-01-01T00%3A01%3A00Z&conversationScope=INTERNAL&conversationCallerOutcome=NORMAL&pageSize=SOME_INTEGER_VALUE&pageMarker=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-events-report/v1/reports/{conversationSpaceId}:\n    get:\n      summary: Retrieves the events associated to the completed conversation.\n      description: |\n        Retrieves the events associated to the completed conversation as well as extra metadata information about the participant in the events\n        and the various resources (recordings, voicemails) generated by this conversation.\n\n        ### Authentication Scopes\n\n        `cr.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - in: path\n          name: conversationSpaceId\n          description: Conversation space identifier, no result will be returned until the associated conversation space has terminated.\n          required: true\n          explode: true\n          schema:\n            type: string\n            example: 43643517-5c98-4102-942f-882d86a4a0fa\n      operationId: retrieveCallEventsReport\n      tags:\n        - Call Events Report\n      responses:\n        '200':\n          description: Successfully retrieved events of the conversation.\n          content:\n            application/json:\n              schema:\n                description: Complete report of a conversation space from creation to end\n                type: object\n                required:\n                  - conversationSpaceId\n                  - callCreated\n                  - callEnded\n                  - accountKey\n                  - direction\n                  - participants\n                  - callStates\n                properties:\n                  conversationSpaceId:\n                    type: string\n                    description: Identifier of the conversation space\n                    format: uuid\n                    example: 43643517-5c98-4102-942f-882d86a4a0fa\n                  callCreated:\n                    description: The timestamp when the call was created.\n                    type: string\n                    format: date-time\n                    example: '2022-04-26T18:14:50.147Z'\n                  callEnded:\n                    description: The timestamp when the call was ended.\n                    type: string\n                    format: date-time\n                    example: '2022-04-26T18:15:50.147Z'\n                  callInitiator:\n                    type: string\n                    example: DIRECT\n                    description: |\n                      Initiator of the call. Allows categorizing a call by how it was triggered. This field is optional and will only be displayed once its value has been determined.\n\n                      The values listed below only represent the current possibilities as of writing.\n                      The addition of new possible values may occur at any time without prior notice.\n\n                      `CLICK_TO_CALL` indicates that the call started from the [`/calls` API](https://developer.goto.com/GoToConnect#tag/Calls-Overview)\n\n                      `QUEUE_CALLBACK` indicates that the call was triggered through [a callback request](https://support.goto.com/connect/help/how-do-i-set-up-auto-queue-callback).\n\n                      `CAMPAIGN` indicates that the call has been started from a campaign\n\n                      `DIRECT` indicates that the call was triggered directly by a user, such as by calling from the GoTo app or a physical desk phone\n                  accountKey:\n                    type: string\n                    description: Account key associated with the conversation space.\n                    example: '2930718022414574861'\n                  direction:\n                    type: string\n                    description: |\n                      Direction of the call with respect to the GoTo Connect platform. `OUTBOUND` if the call started from the GoTo Connect platform,\n                      `INBOUND` otherwise.\n                    enum:\n                      - INBOUND\n                      - OUTBOUND\n                    example: INBOUND\n                  associatedConversations:\n                    description: Identifiers of conversation spaces that have been associated to this conversation space with a warm transfer event.\n                    type: array\n                    items:\n                      type: string\n                    example:\n                      - c6b0e8a1-ec8b-4aac-8aeb-5016c290c176\n                  hangupOriginatorId:\n                    type: string\n                    description: Identifier of the participant that initiated the hangup leading to the end of the conversation.\n                    format: uuid\n                    example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                  participants:\n                    description: |\n                      Participants of the conversation, in order of integration to the conversation space.\n                      Here, the recordings will be an agglomeration of all recordings for each participant for the entire conversation.\n                      When looking for the most valuable recording from a customer's point of view, it would be the first recording, attached to the first participant, if that participant is of `PHONE_NUMBER` type.\n                    type: array\n                    items:\n                      type: object\n                      description: Summary of a participant of a call\n                      required:\n                        - id\n                        - originator\n                        - type\n                      properties:\n                        id:\n                          type: string\n                          description: Identifier of the participant\n                          example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                        legId:\n                          type: string\n                          description: Identifier of leg of the participant\n                          example: fefad6f0-2456-4b9a-a712-d7abcb625fdb\n                        originator:\n                          type: string\n                          description: |\n                            Identifier of the participant whose action created this participant.\n                            If it is the same as the `id`, it means that this is the first participant in this conversation.\n                            It can relate to a participant that is no longer active in this conversation, for example in case of a transfer.\n                          example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                        type:\n                          title: ParticipantType\n                          anyOf:\n                            - title: PHONE_NUMBER\n                              description: Information about a phone number (DID)\n                              required:\n                                - value\n                                - phoneNumberId\n                                - number\n                              properties:\n                                value:\n                                  type: string\n                                  description: |\n                                    Type of the participant.\n\n                                    This value remains constant for all participants of this type. Subsequent\n                                    types may be added in the future under different values, allowing distinguisable\n                                    types of participants without checking the fields.\n\n                                    `PHONE_NUMBER` indicates the participant is a phone number.\n                                  example: PHONE_NUMBER\n                                phoneNumberId:\n                                  type: string\n                                  description: Unique identifier of the phone number in the system\n                                  example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                number:\n                                  type: string\n                                  description: Phone number associated with phoneNumberId\n                                  example: '+19881234567'\n                                name:\n                                  type: string\n                                  description: Configured name of the phone number. Not present if no name is configured.\n                                  example: Sales Phone Number\n                                caller:\n                                  type: object\n                                  description: Object representing an external phone number and name\n                                  required:\n                                    - name\n                                    - number\n                                  properties:\n                                    name:\n                                      type: string\n                                      description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                      example: Alice\n                                    number:\n                                      type: string\n                                      description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                      example: '+12345678945'\n                                callee:\n                                  type: object\n                                  description: Object representing an external phone number and name\n                                  required:\n                                    - name\n                                    - number\n                                  properties:\n                                    name:\n                                      type: string\n                                      description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                      example: Alice\n                                    number:\n                                      type: string\n                                      description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                      example: '+12345678945'\n                                callProvider:\n                                  type: string\n                                  description: |\n                                    The call provider for the phone number\n\n                                    The values listed below only represent the current possibilities as of writing.\n                                    The addition of new possible values may occur at any time without prior notice.\n\n                                    `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                    `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                     customer provides its own SIP peering from an external provider.\n\n                                    `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                  enum:\n                                    - PSTN\n                                    - BYOC\n                                    - WHATSAPP\n                                  example: PSTN\n                            - title: LINE\n                              description: Information about a line\n                              required:\n                                - value\n                                - lineId\n                                - deviceId\n                                - extensionNumber\n                                - name\n                              properties:\n                                value:\n                                  type: string\n                                  description: |\n                                    Type of the participant.\n\n                                    This value remains constant for all participants of this type. Subsequent\n                                    types may be added in the future under different values, allowing distinguisable\n                                    types of participants without checking the fields.\n\n                                    `LINE` indicates the participant is a line in the organization - could be an agent.\n                                  example: LINE\n                                lineId:\n                                  type: string\n                                  description: Line identifier\n                                  example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                deviceId:\n                                  type: string\n                                  description: Device identifier\n                                  example: 186e4682-e88b-48a9-973d-6870e0b10a8f\n                                extensionNumber:\n                                  type: string\n                                  description: Extension number\n                                  example: '1000'\n                                name:\n                                  type: string\n                                  description: Name of the participant\n                                  example: Alice\n                                userId:\n                                  type: string\n                                  description: |\n                                    The user identifier associated with the line via the device at the time of the conversation.\n\n                                    This attribute is exempted from the object if the participant is a standalone device.\n                                    A standalone device is defined as a device that holds the credentials for connecting\n                                    to GoTo's platform. It is not associated to a specific user.\n                                  example: f55cb8e5-7fee-41fa-9f73-33e98066e077\n                                userKey:\n                                  type: string\n                                  description: |\n                                    The user key associated with the line via the device at the time of the conversation.\n\n                                    This attribute is exempted from the object if the participant is a standalone device.\n                                    A standalone device is defined as a device that holds the credentials for connecting\n                                    to GoTo's platform. It is not associated to a specific user.\n                                  example: '2930718022414574861'\n                            - title: AGENT\n                              type: object\n                              description: Line Participant with information related to a line belonging to an agent\n                              allOf:\n                                - title: LINE\n                                  description: Information about a line\n                                  required:\n                                    - value\n                                    - lineId\n                                    - deviceId\n                                    - extensionNumber\n                                    - name\n                                  properties:\n                                    value:\n                                      type: string\n                                      description: |\n                                        Type of the participant.\n\n                                        This value remains constant for all participants of this type. Subsequent\n                                        types may be added in the future under different values, allowing distinguisable\n                                        types of participants without checking the fields.\n\n                                        `LINE` indicates the participant is a line in the organization - could be an agent.\n                                      example: LINE\n                                    lineId:\n                                      type: string\n                                      description: Line identifier\n                                      example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                    deviceId:\n                                      type: string\n                                      description: Device identifier\n                                      example: 186e4682-e88b-48a9-973d-6870e0b10a8f\n                                    extensionNumber:\n                                      type: string\n                                      description: Extension number\n                                      example: '1000'\n                                    name:\n                                      type: string\n                                      description: Name of the participant\n                                      example: Alice\n                                    userId:\n                                      type: string\n                                      description: |\n                                        The user identifier associated with the line via the device at the time of the conversation.\n\n                                        This attribute is exempted from the object if the participant is a standalone device.\n                                        A standalone device is defined as a device that holds the credentials for connecting\n                                        to GoTo's platform. It is not associated to a specific user.\n                                      example: f55cb8e5-7fee-41fa-9f73-33e98066e077\n                                    userKey:\n                                      type: string\n                                      description: |\n                                        The user key associated with the line via the device at the time of the conversation.\n\n                                        This attribute is exempted from the object if the participant is a standalone device.\n                                        A standalone device is defined as a device that holds the credentials for connecting\n                                        to GoTo's platform. It is not associated to a specific user.\n                                      example: '2930718022414574861'\n                                - type: object\n                                  properties:\n                                    wrapUpDuration:\n                                      type: integer\n                                      format: int32\n                                      description: The agent actual wrap up time duration, in milliseconds\n                                      example: 300000\n                                    configuredWrapUpDuration:\n                                      type: integer\n                                      format: int32\n                                      description: The agent configured wrap up time duration, in milliseconds\n                                      example: 300000\n                                    interactiveVoiceResponseSystemId:\n                                      type: string\n                                      description: Interactive voice response object associated with the Agent\n                                    skills:\n                                      description: List of agent's skills at dispatch\n                                      type: array\n                                      items:\n                                        type: string\n                                    matchedSkills:\n                                      description: List of agent and caller's matched skills/intents when dispatching\n                                      type: array\n                                      items:\n                                        type: string\n                            - title: PHONE_NUMBER_UNKNOWN\n                              required:\n                                - value\n                              properties:\n                                value:\n                                  type: string\n                                  description: |\n                                    Type of the participant.\n\n                                    This value remains constant for all participants of this type. Subsequent\n                                    types may be added in the future under different values, allowing distinguishable\n                                    types of participants without checking the fields.\n\n                                    `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct Inward Dialing (DID) information provided.\n                                  example: PHONE_NUMBER_UNKNOWN\n                                callee:\n                                  type: object\n                                  description: Object representing an external phone number and name\n                                  required:\n                                    - name\n                                    - number\n                                  properties:\n                                    name:\n                                      type: string\n                                      description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                      example: Alice\n                                    number:\n                                      type: string\n                                      description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                      example: '+12345678945'\n                                callProvider:\n                                  type: string\n                                  description: |\n                                    The call provider for the phone number\n\n                                    The values listed below only represent the current possibilities as of writing.\n                                    The addition of new possible values may occur at any time without prior notice.\n\n                                    `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                    `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                     customer provides its own SIP peering from an external provider.\n\n                                    `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                  enum:\n                                    - PSTN\n                                    - BYOC\n                                    - WHATSAPP\n                                  example: PSTN\n                            - title: VIRTUAL_PARTICIPANT\n                              description: Information about a virtual participant\n                              required:\n                                - name\n                                - value\n                                - virtualParticipantId\n                              properties:\n                                value:\n                                  type: string\n                                  description: |\n                                    Type of the participant.\n\n\n                                    This value remains constant for all participants of this type. Subsequent\n                                    types may be added in the future under different values, allowing distinguishable\n                                    types of participants without checking the fields.\n\n                                    `VIRTUAL_PARTICIPANT` indicates the participant is a virtual participant.\n                                  example: VIRTUAL_PARTICIPANT\n                                name:\n                                  type: string\n                                  description: Name of the participant\n                                  example: Bob's Virtual Participant\n                                virtualParticipantId:\n                                  type: string\n                                  description: Unique identifier of the virtual participant in the system\n                                  example: 7e5fb305-5ec7-47c4-bf3b-4ee578264314\n                                outcome:\n                                  type: string\n                                  description: |\n                                    Outcome of the virtual participant's interaction with the caller.\n\n                                    - `SUCCESS` (deprecated): Used to mean both `HANDLED` or `TRANSFERRED`.\n                                    - `TRANSFERRED` indicates the virtual participant transferred the caller to the correct destination.\n                                    - `HANDLED` indicates the virtual participant properly handled the caller's request before hanging up.\n                                    - `USER_ESCAPE`: indicates a transfer was initiated. For example, the caller wanted to talk to a human agent instead of the virtual participant.\n                                    - `ABANDONED`: indicates the caller ended the call before a resolution or a user escape.\n                                    - `ERROR`: indicates that there was a problem in the interaction between the user and the virtual participant.\n                                  example: SUCCESS\n                                  enum:\n                                    - SUCCESS\n                                    - TRANSFERRED\n                                    - HANDLED\n                                    - USER_ESCAPE\n                                    - ABANDONED\n                                    - ERROR\n                                callReason:\n                                  type: string\n                                  description: A short summary of the interaction between the caller and the virtual participant.\n                                  example: The user had questions concerning a fee in a bill they received last month.\n                        recordings:\n                          type: array\n                          items:\n                            type: object\n                            description: Recording of a call\n                            required:\n                              - id\n                              - startTimestamp\n                              - transcriptEnabled\n                            properties:\n                              id:\n                                type: string\n                                description: Identifier of the call recording\n                                example: '65785'\n                              startTimestamp:\n                                description: The timestamp of the start of the recording\n                                type: string\n                                format: date-time\n                                example: '2022-04-26T18:14:50.147Z'\n                              pauses:\n                                description: Timestamps of the start and ending of pauses in the recording\n                                type: array\n                                items:\n                                  type: object\n                                  properties:\n                                    pauseTimestamp:\n                                      description: Timestamp of the start of the pause\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:14:50.147Z'\n                                    unpauseTimestamp:\n                                      description: Timestamp of the end of the pause\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:14:50.147Z'\n                              transcriptEnabled:\n                                description: Indicates if the transcripting was enabled for this recording.\n                                type: boolean\n                                example: true\n                        liveTranscripts:\n                          type: array\n                          items:\n                            type: object\n                            description: Live transcript of a call\n                            required:\n                              - id\n                              - startTimestamp\n                              - postCallTranscriptEnabled\n                            properties:\n                              id:\n                                type: string\n                                description: Identifier of the live transcript associated to the call\n                                example: '65785'\n                              startTimestamp:\n                                description: The timestamp indicating when the live transcription began\n                                type: string\n                                format: date-time\n                                example: '2022-04-26T18:14:50.147Z'\n                              pauses:\n                                description: Timestamps of the start and ending of pauses in the live transcription\n                                type: array\n                                items:\n                                  type: object\n                                  properties:\n                                    pauseTimestamp:\n                                      description: Timestamp of the start of the pause\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:14:50.147Z'\n                                    unpauseTimestamp:\n                                      description: Timestamp of the end of the pause\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:14:50.147Z'\n                              postCallTranscriptEnabled:\n                                description: Indicates whether the transcript will be downloadable after the call.\n                                type: boolean\n                                example: true\n                  interactiveVoiceResponseSystems:\n                    type: array\n                    items:\n                      type: object\n                      description: Summary of a completed interactive voice response state\n                      required:\n                        - id\n                        - originator\n                        - type\n                      properties:\n                        id:\n                          type: string\n                          description: Identifier of the Interactive Voice Response system in this conversation.\n                          example: 001b7ea9-956b-4be5-8601-ac2ab100fea9\n                        originator:\n                          type: string\n                          description: Identifier of the participant involved with this Interactive Voice Response system.\n                          example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                        type:\n                          description: |\n                            Type information (includes metadata related to the type).\n\n                            The values listed below only represent the current possibilities as of writing.\n                            The addition of new possible values may occur at any time without prior notice.\n                          oneOf:\n                            - title: CALL_QUEUE\n                              description: Information about call queue\n                              required:\n                                - value\n                                - queueId\n                                - queueName\n                                - queueType\n                                - configuredWrapUpDuration\n                              properties:\n                                value:\n                                  type: string\n                                  description: |\n                                    Type of Interactive Voice Response system.\n\n                                    The values listed below only represent the current possibilities as of writing.\n                                    The addition of new possible values may occur at any time without prior notice.\n\n                                    `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n                                  example: CALL_QUEUE\n                                queueId:\n                                  type: string\n                                  description: Id of the queue\n                                  example: 783f909e-b874-430a-9f11-87d361f19b81\n                                queueName:\n                                  type: string\n                                  description: Name of the queue\n                                timestamp:\n                                  description: The timestamp when the state was created.\n                                  type: string\n                                  format: date-time\n                                  example: '2022-04-26T18:14:50.147Z'\n                                callerLegId:\n                                  description: Associated legId that was enqueued\n                                  type: string\n                                leftQueueReason:\n                                  description: Reason for leaving the queue\n                                  type: string\n                                callbackOffered:\n                                  type: boolean\n                                intents:\n                                  type: array\n                                  description: Caller intents\n                                  items:\n                                    type: object\n                                    properties:\n                                      intent:\n                                        type: string\n                                configuredWrapUpDuration:\n                                  type: integer\n                                  description: Configured agent wrap-up duration in milliseconds.\n                                callerWaitDuration:\n                                  description: Wait duration spent by the caller in the queue, in milliseconds\n                                  type: integer\n                                  format: int32\n                            - title: QUEUE_CALLBACK\n                              description: Information about a callback\n                              required:\n                                - value\n                                - callbackId\n                                - queueId\n                                - queueName\n                                - queueType\n                                - configuredWrapUpDuration\n                              properties:\n                                value:\n                                  type: string\n                                  description: |\n                                    Type of Interactive Voice Response system.\n\n                                    The values listed below only represent the current possibilities as of writing.\n                                    The addition of new possible values may occur at any time without prior notice.\n\n                                    `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n                                  example: QUEUE_CALLBACK\n                                callbackId:\n                                  type: string\n                                  description: Unique identifier of the callback\n                                  example: 0719b477-822f-40d3-bc2d-fd7c76bf71b7\n                                queueId:\n                                  type: string\n                                  description: Identifier of the call queue\n                                  example: 783f909e-b874-430a-9f11-87d361f19b81\n                                queueName:\n                                  type: string\n                                  description: Name of the call queue\n                                queueType:\n                                  type: string\n                                  description: Type of the call queue\n                                  example: BASIC\n                                configuredWrapUpDuration:\n                                  type: integer\n                                  description: Configured agent wrap-up duration in milliseconds.\n                                intents:\n                                  type: array\n                                  description: Caller intents\n                                  items:\n                                    type: object\n                                    properties:\n                                      intent:\n                                        type: string\n                            - title: CAMPAIGN\n                              description: Information about a campaign\n                              required:\n                                - value\n                                - campaignId\n                                - campaignName\n                                - configuredWrapUpDuration\n                              properties:\n                                value:\n                                  type: string\n                                  description: |\n                                    Type of Interactive Voice Response system.\n\n                                    The values listed below only represent the current possibilities as of writing.\n                                    The addition of new possible values may occur at any time without prior notice.\n\n                                    `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n                                  example: CAMPAIGN\n                                campaignId:\n                                  type: string\n                                  description: Unique identifier of the campaign\n                                  example: a880a80e-37a9-4812-af4f-b28b31466ff6\n                                campaignName:\n                                  type: string\n                                  description: Name of the campaign\n                                configuredWrapUpDuration:\n                                  type: integer\n                                  description: Configured agent wrap-up duration in milliseconds.\n                                intents:\n                                  type: array\n                                  description: Caller intents\n                                  items:\n                                    type: object\n                                    properties:\n                                      intent:\n                                        type: string\n                                callerWaitDuration:\n                                  description: Wait Duration actually spent by the caller in the queue in milliseconds\n                                  type: integer\n                                  format: int32\n                            - title: VOICEMAIL\n                              description: Information about voicemail interaction\n                              required:\n                                - value\n                                - voicemailBoxId\n                              properties:\n                                value:\n                                  type: string\n                                  description: |\n                                    Type of Interactive Voice Response system.\n\n                                    The values listed below only represent the current possibilities as of writing.\n                                    The addition of new possible values may occur at any time without prior notice.\n\n                                    `VOICEMAIL` indicates that the Interactive Voice Response is a voicemail.\n                                  example: VOICEMAIL\n                                voicemailBoxId:\n                                  type: string\n                                  description: Identifier of the voicemail.\n                                  example: 543dd572-60b5-4318-ab2d-7e2216489a31\n                                name:\n                                  type: string\n                                  description: Name of callee.\n                                  example: Alice\n                                number:\n                                  type: string\n                                  description: Number of callee.\n                                  example: '1000'\n                                folder:\n                                  type: string\n                                  description: The voicemail box folder where the message was delivered.\n                                  example: INBOX\n                                duration:\n                                  type: integer\n                                  format: int32\n                                  description: The duration of the message in milliseconds.\n                                  example: 4000\n                                voicemailStatus:\n                                  type: string\n                                  description: |\n                                    Status of the voicemail as the user leaves the voicemail box.\n\n                                    `SUCCESS` - The user successfully left a voicemail\n\n                                    `USER_EXIT` - A user action caused the user to exit the voicemail box\n\n                                    `FAILED` - A failure occurred while the user was leaving a voicemail\n                                  example: SUCCESS\n                            - title: SATISFACTION_SURVEY\n                              description: Information about a satisfaction survey\n                              required:\n                                - value\n                                - type\n                                - result\n                              properties:\n                                value:\n                                  type: string\n                                  description: |\n                                    Type of Interactive Voice Response system.\n\n                                    The values listed below only represent the current possibilities as of writing.\n                                    The addition of new possible values may occur at any time without prior notice.\n\n                                    `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                  example: SATISFACTION_SURVEY\n                                type:\n                                  type: string\n                                  enum:\n                                    - UNKNOWN\n                                    - NONE\n                                    - CSAT\n                                    - OPEN_FEEDBACK\n                                  description: |\n                                    Type of satisfaction survey:\n\n                                    `UNKNOWN` - The survey type is not known.\n                                    `NONE` - No survey was completed.\n                                    `CSAT` - Customer Satisfaction survey with a score.\n                                    `OPEN_FEEDBACK` - Survey with a score and open feedback from the caller.\n                                  example: CSAT\n                                result:\n                                  type: string\n                                  enum:\n                                    - UNKNOWN\n                                    - ANSWERED\n                                    - NOT_ANSWERED\n                                    - INVALID\n                                    - ERROR\n                                  description: |\n                                    The result after processing the survey:\n\n                                    - `UNKNOWN`: The caller's response is not known.\n                                    - `ANSWERED`: Caller answered and provided a result.\n                                    - `NOT_ANSWERED`: Caller did not provide a result.\n                                    - `INVALID`: Caller provided an invalid result.\n                                    - `ERROR`: An unspecified system error happened during survey process.\n                                  example: ANSWERED\n                  callStates:\n                    description: List of all call states associated with this conversation.\n                    type: array\n                    items:\n                      type: object\n                      description: Call state representing one element in a sequence of call events\n                      required:\n                        - id\n                        - type\n                        - sequenceNumber\n                        - timestamp\n                        - participants\n                      properties:\n                        id:\n                          type: string\n                          description: Identifier of the call state\n                          example: e17957a3-c95e-423a-9af9-3179f0386bb2\n                        type:\n                          type: string\n                          description: |\n                            Type of the state.\n\n                            `STARTING` indicates that the call is starting,\n\n                            `ACTIVE` indicates that the call is ongoing,\n\n                            `ENDING` indicates that the call is ending.\n                          example: ACTIVE\n                        recordings:\n                          type: array\n                          items:\n                            type: object\n                            description: Recording of a call\n                            required:\n                              - id\n                              - startTimestamp\n                              - transcriptEnabled\n                            properties:\n                              id:\n                                type: string\n                                description: Identifier of the call recording\n                                example: '65785'\n                              startTimestamp:\n                                description: The timestamp of the start of the recording\n                                type: string\n                                format: date-time\n                                example: '2022-04-26T18:14:50.147Z'\n                              pauses:\n                                description: Timestamps of the start and ending of pauses in the recording\n                                type: array\n                                items:\n                                  type: object\n                                  properties:\n                                    pauseTimestamp:\n                                      description: Timestamp of the start of the pause\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:14:50.147Z'\n                                    unpauseTimestamp:\n                                      description: Timestamp of the end of the pause\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:14:50.147Z'\n                              transcriptEnabled:\n                                description: Indicates if the transcripting was enabled for this recording.\n                                type: boolean\n                                example: true\n                        sequenceNumber:\n                          type: integer\n                          format: int32\n                          description: |\n                            Sequence number of the call state. The number of events for any single conversation space will be limited to a sensible maximum so as to prevent congesting the system. Even with this limit, the last event is expected to be an `ENDING` event.\n                          example: 5\n                        timestamp:\n                          description: The timestamp when the state was generated.\n                          type: string\n                          format: date-time\n                          example: '2022-04-26T18:14:50.147Z'\n                        participants:\n                          type: array\n                          items:\n                            type: object\n                            description: Participant of a call\n                            allOf:\n                              - type: object\n                                description: Participant of a call\n                                required:\n                                  - id\n                                  - legId\n                                  - originator\n                                  - type\n                                properties:\n                                  id:\n                                    type: string\n                                    description: Identifier of the participant\n                                    example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                  legId:\n                                    type: string\n                                    description: Identifier of leg of the participant\n                                    example: fefad6f0-2456-4b9a-a712-d7abcb625fdb\n                                  originator:\n                                    type: string\n                                    description: Identifier of the participant whose action created this participant. If it is the same as the `id`, it means that this is the first participant in this conversation. It can relate to a participant that is no longer active in this conversation, for example in case of a transfer.\n                                    example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                  type:\n                                    description: |\n                                      Type information.\n\n                                      The values listed below only represent the current possibilities as of writing.\n                                      The addition of new possible values may occur at any time without prior notice.\n                                    oneOf:\n                                      - title: LINE\n                                        allOf:\n                                          - type: object\n                                            description: Type information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Type of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `LINE` indicates the participant is a line in the organization - could be an agent.\n\n                                                  `PHONE_NUMBER` indicates the participant is a phone number.\n\n                                                  `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct\n                                                  Inward Dialing (DID) information provided.\n                                                example: PHONE_NUMBER\n                                            example:\n                                              value: PHONE_NUMBER\n                                              phoneNumberId: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                              number: '+19881234567'\n                                              callProvider: PSTN\n                                              caller:\n                                                name: Alice\n                                                number: '+12345678945'\n                                              device:\n                                                id: c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\n                                                model: aastra.3l1\n                                                user:\n                                                  id: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                        description: Information about a line\n                                        required:\n                                          - lineId\n                                          - extensionNumber\n                                          - name\n                                        properties:\n                                          lineId:\n                                            type: string\n                                            description: Line identifier\n                                            example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                          device:\n                                            type: object\n                                            description: |\n                                              Information on the device used by the participant\n                                            required:\n                                              - id\n                                            properties:\n                                              id:\n                                                type: string\n                                                description: |\n                                                  The id of the device used by the participant.\n                                              model:\n                                                type: string\n                                                description: |\n                                                  The model id of the device used by the participant.\n\n                                                  Possible values are `goto.clients`, `webcalls.integration` or the model of the hardware.\n                                              user:\n                                                type: object\n                                                description: |\n                                                  Information about the user authorized on the device.\n                                                required:\n                                                  - id\n                                                properties:\n                                                  id:\n                                                    type: string\n                                                    description: |\n                                                      The ID of the user authorized on the device.\n                                                    example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                          deviceId:\n                                            type: string\n                                            description: Device identifier. This field is *deprecated* and will be removed in the future. Please use *`device`* instead\n                                            example: 186e4682-e88b-48a9-973d-6870e0b10a8f\n                                            deprecated: true\n                                          extensionNumber:\n                                            type: string\n                                            description: Extension number\n                                            example: '1000'\n                                          name:\n                                            type: string\n                                            description: Name of the participant\n                                            example: Alice\n                                      - title: PHONE_NUMBER\n                                        allOf:\n                                          - type: object\n                                            description: Type information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Type of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `LINE` indicates the participant is a line in the organization - could be an agent.\n\n                                                  `PHONE_NUMBER` indicates the participant is a phone number.\n\n                                                  `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct\n                                                  Inward Dialing (DID) information provided.\n                                                example: PHONE_NUMBER\n                                            example:\n                                              value: PHONE_NUMBER\n                                              phoneNumberId: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                              number: '+19881234567'\n                                              callProvider: PSTN\n                                              caller:\n                                                name: Alice\n                                                number: '+12345678945'\n                                              device:\n                                                id: c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\n                                                model: aastra.3l1\n                                                user:\n                                                  id: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                        description: Information about a phone number (DID)\n                                        required:\n                                          - phoneNumberId\n                                          - number\n                                        properties:\n                                          phoneNumberId:\n                                            type: string\n                                            description: Unique identifier of the phone number in the system\n                                            example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                          name:\n                                            type: string\n                                            description: |\n                                              * BETA Feature *\n                                              Name associated to the phone number. If it is not defined in the administration portal, the name will match the number.\n                                            example: Alice Phone 1\n                                          number:\n                                            type: string\n                                            description: Phone number\n                                            example: '+19881234567'\n                                          callProvider:\n                                            type: string\n                                            description: |\n                                              The call provider for the phone number\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                              `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                               customer provides its own SIP peering from an external provider.\n\n                                              `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                            enum:\n                                              - PSTN\n                                              - BYOC\n                                              - WHATSAPP\n                                            example: PSTN\n                                          caller:\n                                            type: object\n                                            description: Object representing an external phone number and name\n                                            required:\n                                              - name\n                                              - number\n                                            properties:\n                                              name:\n                                                type: string\n                                                description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                                example: Alice\n                                              number:\n                                                type: string\n                                                description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                                example: '+12345678945'\n                                          callee:\n                                            type: object\n                                            description: Object representing an external phone number and name\n                                            required:\n                                              - name\n                                              - number\n                                            properties:\n                                              name:\n                                                type: string\n                                                description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                                example: Alice\n                                              number:\n                                                type: string\n                                                description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                                example: '+12345678945'\n                                          contact:\n                                            type: object\n                                            description: Contact object associated with the participant in a call.\n                                            properties:\n                                              id:\n                                                description: Identifier of the contact associated to the participant. The contact identifier is unique across the organization.\n                                                type: string\n                                                example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                              notAddedReason:\n                                                type: string\n                                                description: |\n                                                  Reason why a contact was not added to the participant.\n\n                                                  `MULTIPLE_CONTACTS` indicates that multiple contacts matched the phone number.\n\n                                                  `NO_CONTACT` indicates that no contact was found for the phone number.\n                                                enum:\n                                                  - MULTIPLE_CONTACTS\n                                                  - NO_CONTACT\n                                                example: NO_CONTACT\n                                      - title: PHONE_NUMBER_UNKNOWN\n                                        allOf:\n                                          - type: object\n                                            description: Type information\n                                            required:\n                                              - value\n                                            properties:\n                                              value:\n                                                type: string\n                                                description: |\n                                                  Type of the participant.\n\n                                                  The values listed below only represent the current possibilities as of writing.\n                                                  The addition of new possible values may occur at any time without prior notice.\n\n                                                  `LINE` indicates the participant is a line in the organization - could be an agent.\n\n                                                  `PHONE_NUMBER` indicates the participant is a phone number.\n\n                                                  `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct\n                                                  Inward Dialing (DID) information provided.\n                                                example: PHONE_NUMBER\n                                            example:\n                                              value: PHONE_NUMBER\n                                              phoneNumberId: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                              number: '+19881234567'\n                                              callProvider: PSTN\n                                              caller:\n                                                name: Alice\n                                                number: '+12345678945'\n                                              device:\n                                                id: c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\n                                                model: aastra.3l1\n                                                user:\n                                                  id: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                        properties:\n                                          callProvider:\n                                            type: string\n                                            description: |\n                                              The call provider for the phone number\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                              `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                               customer provides its own SIP peering from an external provider.\n\n                                              `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                            enum:\n                                              - PSTN\n                                              - BYOC\n                                              - WHATSAPP\n                                            example: PSTN\n                                          callee:\n                                            type: object\n                                            description: Object representing an external phone number and name\n                                            required:\n                                              - name\n                                              - number\n                                            properties:\n                                              name:\n                                                type: string\n                                                description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                                example: Alice\n                                              number:\n                                                type: string\n                                                description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                                example: '+12345678945'\n                                  recordings:\n                                    type: array\n                                    items:\n                                      type: object\n                                      description: Recording of a call\n                                      required:\n                                        - id\n                                        - startTimestamp\n                                        - transcriptEnabled\n                                      properties:\n                                        id:\n                                          type: string\n                                          description: Identifier of the call recording\n                                          example: '65785'\n                                        startTimestamp:\n                                          description: The timestamp of the start of the recording\n                                          type: string\n                                          format: date-time\n                                          example: '2022-04-26T18:14:50.147Z'\n                                        pauses:\n                                          description: Timestamps of the start and ending of pauses in the recording\n                                          type: array\n                                          items:\n                                            type: object\n                                            properties:\n                                              pauseTimestamp:\n                                                description: Timestamp of the start of the pause\n                                                type: string\n                                                format: date-time\n                                                example: '2022-04-26T18:14:50.147Z'\n                                              unpauseTimestamp:\n                                                description: Timestamp of the end of the pause\n                                                type: string\n                                                format: date-time\n                                                example: '2022-04-26T18:14:50.147Z'\n                                        transcriptEnabled:\n                                          description: Indicates if the transcripting was enabled for this recording.\n                                          type: boolean\n                                          example: true\n                            properties:\n                              status:\n                                description: |\n                                  Status information\n\n                                  The values listed below only represent the current possibilities as of writing.\n                                  The addition of new possible values may occur at any time without prior notice.\n                                oneOf:\n                                  - title: RINGING\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                  - title: CONNECTED\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                  - title: ON_HOLD\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                  - title: PARKED\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                    properties:\n                                      parkingLot:\n                                        type: string\n                                        description: Parking lot\n                                        example: Parking lot 11\n                                      initiator:\n                                        type: object\n                                        description: Information of the user that put this participant in the `PARKED` status.\n                                        required:\n                                          - participantId\n                                          - conversationSpaceId\n                                          - extensionNumber\n                                          - name\n                                        properties:\n                                          participantId:\n                                            type: string\n                                            description: Participant ID in a given conversation space\n                                            example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                          conversationSpaceId:\n                                            type: string\n                                            description: Conversation associated to this participant\n                                            example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                          extensionNumber:\n                                            type: string\n                                            description: Initiator extension number\n                                            example: '1001'\n                                          name:\n                                            type: string\n                                            description: Initiator name\n                                            example: Bob\n                                    required:\n                                      - parkingLot\n                                      - initiator\n                                  - title: IN_DIRECT_TRANSFER\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                    properties:\n                                      initiator:\n                                        allOf:\n                                          - type: object\n                                            properties:\n                                              participantId:\n                                                type: string\n                                                description: Participant ID in a given conversation space\n                                                example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                              conversationSpaceId:\n                                                type: string\n                                                description: Conversation associated to this participant\n                                                example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                              extensionNumber:\n                                                type: string\n                                                description: Extension number associated to the participant\n                                                example: '1001'\n                                              name:\n                                                type: string\n                                                description: Name associated to the participant\n                                                example: Bob\n                                        description: The participant that initiates the transfer. In a scenario where Alice calls Bob and Bob transfers to Charlie, this represents Bob's participant in the conversation with Alice.\n                                      destination:\n                                        type: object\n                                        description: Information of the user that receives this participant in a call transfer. In scenarios where the call is transferred to a ring group, the destination object will also contain information about the ring group.\n                                        properties:\n                                          number:\n                                            type: string\n                                            description: Destination number\n                                            example: '1001'\n                                          ringGroup:\n                                            type: object\n                                            description: Information about a ring group.\n                                            required:\n                                              - id\n                                              - number\n                                              - name\n                                            properties:\n                                              id:\n                                                type: string\n                                                description: Unique identifier of the ring group\n                                                example: 783f909e-b874-430a-9f11-87d361f19b81\n                                              number:\n                                                type: string\n                                                description: Extension number of the ring group\n                                                example: '1080'\n                                              name:\n                                                type: string\n                                                description: Name of the ring group\n                                                example: Sales ring group\n                                        required:\n                                          - number\n                                    required:\n                                      - initiator\n                                      - destination\n                                  - title: IN_WARM_TRANSFER\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                    properties:\n                                      initiator:\n                                        allOf:\n                                          - type: object\n                                            properties:\n                                              participantId:\n                                                type: string\n                                                description: Participant ID in a given conversation space\n                                                example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                              conversationSpaceId:\n                                                type: string\n                                                description: Conversation associated to this participant\n                                                example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                              extensionNumber:\n                                                type: string\n                                                description: Extension number associated to the participant\n                                                example: '1001'\n                                              name:\n                                                type: string\n                                                description: Name associated to the participant\n                                                example: Bob\n                                        description: The participant that initiates the transfer. In a scenario where Alice calls Bob and Bob transfers to Charlie, this represents Bob's participant in the conversation with Alice.\n                                      transferrer:\n                                        allOf:\n                                          - type: object\n                                            properties:\n                                              participantId:\n                                                type: string\n                                                description: Participant ID in a given conversation space\n                                                example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                              conversationSpaceId:\n                                                type: string\n                                                description: Conversation associated to this participant\n                                                example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                              extensionNumber:\n                                                type: string\n                                                description: Extension number associated to the participant\n                                                example: '1001'\n                                              name:\n                                                type: string\n                                                description: Name associated to the participant\n                                                example: Bob\n                                        description: The participant that is created to perform the warm transfer. In a scenario where Alice calls Bob and Bob warm transfers to Charlie, this represents Bob's participant in the conversation with Charlie.\n                                      destination:\n                                        allOf:\n                                          - type: object\n                                            properties:\n                                              participantId:\n                                                type: string\n                                                description: Participant ID in a given conversation space\n                                                example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                              conversationSpaceId:\n                                                type: string\n                                                description: Conversation associated to this participant\n                                                example: ed7fbbe4-5b06-4551-a6b0-cb0f99074055\n                                              extensionNumber:\n                                                type: string\n                                                description: Extension number associated to the participant\n                                                example: '1001'\n                                              name:\n                                                type: string\n                                                description: Name associated to the participant\n                                                example: Bob\n                                        description: The participant that is created to receive the warm transfer. In a scenario where Alice calls Bob and Bob warm transfers to Charlie, this represents Charlie's participant in the conversation with Bob.\n                                    required:\n                                      - initiator\n                                      - transferrer\n                                      - destination\n                                  - title: IN_DEVICE_FORWARDING\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                    properties:\n                                      destinations:\n                                        type: array\n                                        items:\n                                          type: object\n                                          properties:\n                                            participantId:\n                                              type: string\n                                              description: Participant ID in a given conversation space\n                                              example: df33f7d3-8b80-466e-b764-21c159d2bd11\n                                            deviceId:\n                                              type: string\n                                              description: Device identifier\n                                              example: 186e4682-e88b-48a9-973d-6870e0b10a8f\n                                            extensionNumber:\n                                              type: string\n                                              description: Extension number associated to the participant\n                                              example: '1025'\n                                            number:\n                                              type: string\n                                              description: Phone number associated to the participant\n                                              example: '+14544560345'\n                                            destinationType:\n                                              type: string\n                                              description: |\n                                                Type of forwarding destination.\n\n                                                The values listed below only represent the current possibilities as of writing.\n                                                The addition of new possible values may occur at any time without prior notice.\n\n                                                `LINE` indicates the destination is a line in the organization - could be an agent.\n\n                                                `PHONE_NUMBER` indicates the destination is a phone number.\n\n                                                `PHONE_NUMBER_UNKNOWN` indicates the destination is a phone number without Direct\n                                                Inward Dialing (DID) information provided.\n                                              example: PHONE_NUMBER\n                                        description: The list of destinations to where the call has been forwarded. Each destination contains information about a pre-configured device.\n                                    required:\n                                      - destinations\n                                  - title: IN_INTERACTIVE_VOICE_RESPONSE\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                                  - title: DISCONNECTING\n                                    allOf:\n                                      - type: object\n                                        description: Status information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Status of the participant.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `RINGING` indicates that the participant is ringing,\n\n                                              `CONNECTED` indicates that the participant is connected,\n\n                                              `ON_HOLD` indicates that the participant is on hold,\n\n                                              `LISTENING` indicates that the participant is listening in,\n\n                                              `WHISPERING` indicates that the participant is whispering (to whom is indicated in the `whisperingToParticipant` field),\n\n                                              `PARKED` indicates that the participant is parked,\n\n                                              `IN_DIRECT_TRANSFER` indicates that the participant is being transferred directly (ie. in an unattended manner, also referred to as 'blind transfer'),\n\n                                              `IN_WARM_TRANSFER` indicates that the participant is being 'warm transferred' (ie. in an attended manner),\n\n                                              `IN_DEVICE_FORWARDING` indicates that the call is being forwarded by the device reached to another destination.\n\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` indicates that the participant is currently interacting with a least one\n                                              Interactive Voice Response system. Details of these interactions are provided in the `interactiveVoiceResponseSystems`\n                                              field of the call event. For dial plans for instance, the participant will be `IN_INTERACTIVE_VOICE_RESPONSE` while\n                                              they are going through the dial plan nodes and not connected to an agent. For call queues for instance, they will be\n                                              `IN_INTERACTIVE_VOICE_RESPONSE` while they are being queued for speaking to an agent.\n\n                                              `DISCONNECTING` indicates that the participant is disconnecting.\n                                            example: CONNECTED\n                        interactiveVoiceResponseSystems:\n                          type: array\n                          description: |\n                            Ordered list of Interactive Voice Response systems with which\n                            a participant might be interacting. Items will be listed as long as the\n                            system considers the participant has not exited the dial plan or the call queue\n                            for instance.\n                          items:\n                            type: object\n                            description: |\n                              Information about an Interactive Voice Response system with which a participant is currently interacting.\n                            required:\n                              - id\n                              - status\n                              - originator\n                              - type\n                            properties:\n                              id:\n                                type: string\n                                description: Conversation space-specific identifier of the Interactive Voice Response system.\n                                example: 001b7ea9-956b-4be5-8601-ac2ab100fea9\n                              status:\n                                type: object\n                                description: Status information\n                                required:\n                                  - value\n                                properties:\n                                  value:\n                                    type: string\n                                    description: |\n                                      Status of the Interactive Voice Response system.\n\n                                      `CONNECTED` indicates that the participant is in the associated Interactive Voice Response system.\n\n                                      `DISCONNECTING` indicates that the participant is disconnecting from the associated Interactive Voice Response system.\n                                    example: CONNECTED\n                              originator:\n                                type: string\n                                description: Identifier of the participant involved with this Interactive Voice Response system.\n                                example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                              type:\n                                description: |\n                                  Type information.\n\n                                  The values listed below only represent the current possibilities as of writing.\n                                  The addition of new possible values may occur at any time without prior notice.\n                                oneOf:\n                                  - title: CALL_QUEUE\n                                    allOf:\n                                      - type: object\n                                        description: Type information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Type of Interactive Voice Response system.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                              `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                              `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                              `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                              `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                              `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                    type: object\n                                    description: Information about a call queue\n                                    required:\n                                      - queueId\n                                      - queueName\n                                      - queueType\n                                      - configuredWrapUpDuration\n                                    properties:\n                                      queueId:\n                                        type: string\n                                        description: Unique identifier of the call queue\n                                        example: 783f909e-b874-430a-9f11-87d361f19b81\n                                      queueName:\n                                        type: string\n                                        description: Name of the call queue\n                                      queueType:\n                                        type: string\n                                        description: Type of the call queue\n                                        example: BASIC\n                                      configuredWrapUpDuration:\n                                        type: integer\n                                        description: Configured agent wrap-up duration in milliseconds.\n                                      intents:\n                                        type: array\n                                        description: Caller intents\n                                        items:\n                                          type: object\n                                          properties:\n                                            intent:\n                                              type: string\n                                  - title: QUEUE_CALLBACK\n                                    allOf:\n                                      - type: object\n                                        description: Type information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Type of Interactive Voice Response system.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                              `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                              `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                              `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                              `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                              `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                    type: object\n                                    description: Information about a callback\n                                    required:\n                                      - callbackId\n                                      - queueId\n                                      - queueName\n                                      - queueType\n                                      - configuredWrapUpDuration\n                                    properties:\n                                      callbackId:\n                                        type: string\n                                        description: Unique identifier of the callback\n                                        example: 0719b477-822f-40d3-bc2d-fd7c76bf71b7\n                                      queueId:\n                                        type: string\n                                        description: Identifier of the call queue\n                                        example: 783f909e-b874-430a-9f11-87d361f19b81\n                                      queueName:\n                                        type: string\n                                        description: Name of the call queue\n                                      queueType:\n                                        type: string\n                                        description: Type of the call queue\n                                        example: BASIC\n                                      configuredWrapUpDuration:\n                                        type: integer\n                                        description: Configured agent wrap-up duration in milliseconds.\n                                      intents:\n                                        type: array\n                                        description: Caller intents\n                                        items:\n                                          type: object\n                                          properties:\n                                            intent:\n                                              type: string\n                                  - title: CAMPAIGN\n                                    allOf:\n                                      - type: object\n                                        description: Type information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Type of Interactive Voice Response system.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                              `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                              `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                              `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                              `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                              `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                    type: object\n                                    description: Information about a campaign\n                                    required:\n                                      - campaignId\n                                      - campaignName\n                                      - configuredWrapUpDuration\n                                    properties:\n                                      campaignId:\n                                        type: string\n                                        description: Unique identifier of the campaign\n                                        example: a880a80e-37a9-4812-af4f-b28b31466ff6\n                                      campaignName:\n                                        type: string\n                                        description: Name of the campaign\n                                      configuredWrapUpDuration:\n                                        type: integer\n                                        description: Configured agent wrap-up duration in milliseconds.\n                                      intents:\n                                        type: array\n                                        description: Caller intents\n                                        items:\n                                          type: object\n                                          properties:\n                                            intent:\n                                              type: string\n                                  - title: DIAL_PLAN\n                                    allOf:\n                                      - type: object\n                                        description: Type information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Type of Interactive Voice Response system.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                              `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                              `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                              `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                              `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                              `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                    type: object\n                                    description: Information about a dial plan\n                                    required:\n                                      - dialPlanId\n                                      - executionId\n                                      - currentNode\n                                    properties:\n                                      dialPlanId:\n                                        type: string\n                                        description: Unique identifier of the dial plan\n                                        example: 6b09ebf6-d5ae-4e17-96f1-690c71251c8d\n                                      executionId:\n                                        type: string\n                                        description: Conversation space-specific identifier of the execution of the dial plan\n                                        example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                      currentNode:\n                                        type: object\n                                        required:\n                                          - id\n                                          - type\n                                        properties:\n                                          id:\n                                            type: string\n                                            description: Identifier of the dial plan node\n                                            example: AttendantPromptNode_1005\n                                          type:\n                                            type: string\n                                            description: Type of the dial plan node\n                                            example: AttendantPromptNode\n                                          option:\n                                            type: string\n                                            description: The selected option on the Auto Attendant\n                                            example: '2'\n                                          result:\n                                            type: string\n                                            description: Result of the execution of the current node\n                                            example: DIALED_OPTION\n                                      previousNode:\n                                        type: object\n                                        required:\n                                          - id\n                                          - connector\n                                        properties:\n                                          id:\n                                            type: string\n                                            description: Identifier of the dial plan node\n                                            example: AttendantPromptNode_1005\n                                          connector:\n                                            type: string\n                                            description: The connector that was executed to end up in the current node\n                                            example: onInvalid\n                                  - title: VOICEMAIL\n                                    allOf:\n                                      - type: object\n                                        description: Type information\n                                        required:\n                                          - value\n                                        properties:\n                                          value:\n                                            type: string\n                                            description: |\n                                              Type of Interactive Voice Response system.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n\n                                              `CALL_QUEUE` indicates that the Interactive Voice Response is a call queue.\n\n                                              `QUEUE_CALLBACK` indicates that the Interactive Voice Response is a callback.\n\n                                              `CAMPAIGN` indicates that the Interactive Voice Response is a campaign.\n\n                                              `DIAL_PLAN` indicates that the Interactive Voice Response is a dial plan.\n\n                                              `VOICEMAIL` indicates the Interactive Voice Response is the voicemail of a line.\n\n                                              `SATISFACTION_SURVEY` indicates that the Interactive Voice Response is a satisfaction survey.\n                                    type: object\n                                    description: Voicemail left for a given extension.\n                                    required:\n                                      - voicemailBoxId\n                                    properties:\n                                      voicemailBoxId:\n                                        type: string\n                                        description: Identifier of the voicemail.\n                                        example: 543dd572-60b5-4318-ab2d-7e2216489a31\n                                      name:\n                                        type: string\n                                        description: Name of callee.\n                                        example: Alice\n                                      number:\n                                        type: string\n                                        description: Number of callee.\n                                        example: '1000'\n                                      folder:\n                                        type: string\n                                        description: The voicemail box folder where the message was delivered.\n                                        example: INBOX\n                                      duration:\n                                        type: integer\n                                        format: int32\n                                        description: The duration of the message in milliseconds.\n                                        example: 4000\n                                      voicemailStatus:\n                                        type: string\n                                        description: |\n                                          Status of the voicemail as the user leaves the voicemail box.\n\n                                          `SUCCESS` - The user successfully left a voicemail\n\n                                          `USER_EXIT` - A user action caused the user to exit the voicemail box\n\n                                          `FAILED` - A failure occurred while the user was leaving a voicemail\n                                        example: SUCCESS\n                  aiAnalysis:\n                    type: object\n                    description: Analysis of the call by the AI engine. Only available with Advanced reporting.\n                    required:\n                      - sentiment\n                      - topics\n                      - summary\n                      - flags\n                    properties:\n                      sentiment:\n                        type: string\n                        description: |\n                          Sentiment of the call.\n                          The values listed below only represent the current possibilities as of writing.\n\n                          - `UNAVAILABLE` indicates the system was unable to perform sentiment analysis.\n                          - `POSITIVE` indicates that the sentiment of the call is positive.\n                          - `NEGATIVE` indicates that the sentiment of the call is negative.\n                          - `NEUTRAL` indicates that the sentiment of the call is neutral.\n                        example: POSITIVE\n                      topics:\n                        type: array\n                        description: Topics of the call detected by the AI engine. Can be an empty array if detection could not be performed.\n                        items:\n                          type: string\n                        example:\n                          - billing issues\n                          - wifi setup\n                      summary:\n                        type: string\n                        description: Summary of the call detected by the AI engine. Can be an empty string if summarization could not be performed.\n                        example: Customer called to report a billing issue and was transferred to the billing department for resolution.\n                      editedBy:\n                        type: object\n                        description: Information about the user who edited the AI analysis summary. If not provided, the AI analysis was not edited.\n                        properties:\n                          userId:\n                            type: string\n                            description: Identifier of the user who edited the AI analysis.\n                            example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                          userKey:\n                            type: string\n                            description: Key of the user who edited the AI analysis.\n                            example: '2930718022414574861'\n                      flags:\n                        type: array\n                        description: |\n                          Flags raised on this call by the AI engine. Flags are keywords or semantic context that a supervisor has set an alert for on inbound calls.\n                        items:\n                          type: string\n                        example:\n                          - billing issues\n                          - items held at customs\n                  notes:\n                    type: object\n                    description: Metadata provided by an agent during the call or at wrap-up time.\n                    properties:\n                      disposition:\n                        type: object\n                        description: The call disposition assigned to the call, used to categorize its outcome. Only available for contact center licenses with call dispositions enabled.\n                        properties:\n                          name:\n                            type: string\n                            description: The disposition name.\n                            example: Sale completed\n                          category:\n                            type: string\n                            description: The disposition category.\n                            example: Garage sales\n                      note:\n                        type: string\n                        description: The text note added to the call.\n                        example: The caller has mentioned they would like to be contacted next week for a follow-up.\n                      tags:\n                        type: array\n                        description: The list of tags associated to the call.\n                        items:\n                          type: object\n                          properties:\n                            name:\n                              type: string\n                              description: The tag name.\n                        example:\n                          - name: Follow-up\n                          - name: Important\n                  actions:\n                    description: List of actions executed by systems not part of the voice platform.\n                    type: array\n                    items:\n                      type: object\n                      description: An action taken that is not part of the call states\n                      required:\n                        - timestamp\n                        - type\n                      properties:\n                        timestamp:\n                          type: string\n                          description: The timestamp of when the action was executed.\n                          format: date-time\n                          example: '2022-04-26T18:14:50.147Z'\n                        type:\n                          description: Detailed information about the action executed\n                          anyOf:\n                            - type: object\n                              title: KNOWLEDGE_SEARCH\n                              description: A search done by the AI receptionist within the customer's knowledge base.\n                              required:\n                                - value\n                                - virtualParticipantId\n                                - query\n                                - items\n                              properties:\n                                value:\n                                  type: string\n                                  example: KNOWLEDGE_SEARCH\n                                  description: Action type discriminant\n                                virtualParticipantId:\n                                  type: string\n                                  description: ID of the virtual participant (a.k.a. AI receptionist)\n                                  example: e17957a3-c95e-423a-9af9-3179f0386bb2\n                                query:\n                                  type: string\n                                  description: Search query executed by the AI receptionist.\n                                  example: How to troubleshoot a car that won't start\n                                items:\n                                  type: array\n                                  description: Articles found by the search query\n                                  items:\n                                    type: object\n                                    description: An item found by a search query.\n                                    required:\n                                      - article\n                                      - collection\n                                    properties:\n                                      article:\n                                        type: object\n                                        description: An article found by a search query.\n                                        required:\n                                          - id\n                                          - name\n                                        properties:\n                                          id:\n                                            type: integer\n                                            format: int64\n                                            description: ID of the article returned by the search.\n                                            example: 1985\n                                          name:\n                                            type: string\n                                            description: Title of the article returned by the search.\n                                            example: Common issues related to ignition\n                                      collection:\n                                        type: object\n                                        description: A container for articles in a knowledge base\n                                        required:\n                                          - id\n                                          - name\n                                        properties:\n                                          id:\n                                            type: integer\n                                            format: int64\n                                            description: ID of the knowledge base collection an article is part of.\n                                            example: 1057578\n                                          name:\n                                            type: string\n                                            description: Name of the knowledge base collection an article is part of.\n                                            example: Customer care\n                            - type: object\n                              title: INFO_CAPTURE\n                              description: A piece of information captured by the AI receptionist during an interaction.\n                              required:\n                                - value\n                                - virtualParticipantId\n                                - form\n                              properties:\n                                value:\n                                  type: string\n                                  description: Action type discriminant\n                                  example: INFO_CAPTURE\n                                virtualParticipantId:\n                                  type: string\n                                  description: ID of the virtual participant (a.k.a. AI receptionist)\n                                  example: e17957a3-c95e-423a-9af9-3179f0386bb2\n                                form:\n                                  type: object\n                                  description: A form captured by the AI receptionist during an interaction.\n                                  required:\n                                    - id\n                                    - name\n                                  properties:\n                                    id:\n                                      type: string\n                                      description: ID of the info capture form filled by the AI receptionist.\n                                      example: 16f9f25d-d005-4d8a-a4e7-44a9ac8963ee\n                                    name:\n                                      type: string\n                                      description: Name of the info capture form filled by the AI receptionist.\n                                      example: Registration for a test drive\n                            - type: object\n                              title: CSAT_SCORE\n                              description: Result of a post-call CSAT survey where the caller leaves a satisfaction score from 1 to 5.\n                              required:\n                                - value\n                                - result\n                              properties:\n                                value:\n                                  type: string\n                                  description: Action type discriminant\n                                  example: CSAT_SCORE\n                                result:\n                                  type: string\n                                  enum:\n                                    - ANSWERED\n                                    - NOT_ANSWERED\n                                    - INVALID\n                                    - ERROR\n                                  description: |\n                                    The CSAT score survey response status:\n\n                                    - `ANSWERED`: Caller responded to CSAT survey and provided a valid score.\n                                    - `NOT_ANSWERED`: Caller did not respond to CSAT survey.\n                                    - `INVALID`: Caller did not provide a valid score within the allowed retries.\n                                    - `ERROR`: An unspecified system error happened during the CSAT survey process.\n                                score:\n                                  type: integer\n                                  description: |\n                                    The numeric CSAT score (1 to 5) provided by the caller when `result` is `ANSWERED`.\n                                    This field is absent for any other result.\n                                  minimum: 1\n                                  maximum: 5\n                            - type: object\n                              title: CSAT_OPEN_FEEDBACK\n                              description: Result of a post-call CSAT survey where the caller voiced its feedback.\n                              required:\n                                - value\n                                - result\n                              properties:\n                                value:\n                                  type: string\n                                  description: Action type discriminant\n                                  example: CSAT_OPEN_FEEDBACK\n                                result:\n                                  type: string\n                                  enum:\n                                    - ANSWERED\n                                    - TRANSCRIPT_UNAVAILABLE\n                                    - NOT_ANSWERED\n                                    - ERROR\n                                  description: |\n                                    The CSAT open feedback survey response status:\n\n                                    - `ANSWERED`: Caller answered open feedback question and provided some spoken feedback.\n                                       The fields `transcript`, `startTime` and `endTime` will be provided.\n                                    - `TRANSCRIPT_UNAVAILABLE`: Transcript of the spoken feedback is unavailable.\n                                    - `NOT_ANSWERED`: Caller did not provide answer to open feedback question.\n                                    - `ERROR`: An unspecified system error happened during the CSAT survey process.\n                                transcript:\n                                  type: string\n                                  minLength: 1\n                                  maxLength: 2000\n                                  description: The transcript of the feedback spoken by the caller (for result = `ANSWERED` only).\n                                startTime:\n                                  type: string\n                                  format: date-time\n                                  description: ISO 8601 timestamp when the feedback of the caller starts (for result = `ANSWERED` only).\n                                endTime:\n                                  type: string\n                                  format: date-time\n                                  description: |\n                                    ISO 8601 timestamp when the feedback of the caller ends (for result = `ANSWERED` only).\n                                    Feedback ends after a 1 minute timeout or when the caller hangs up.\n                            - type: object\n                              title: AIQM_EVALUATION\n                              description: Result of a post-call AI Quality Management agent evaluation.\n                              required:\n                                - value\n                                - evaluationId\n                                - userId\n                              properties:\n                                value:\n                                  type: string\n                                  description: Action type discriminant\n                                  example: AIQM_EVALUATION\n                                evaluationId:\n                                  type: string\n                                  format: uuid\n                                  description: AI QM Evaluation identifier to which the action is related.\n                                userId:\n                                  type: string\n                                  format: uuid\n                                  description: Agent user identifier to which the action is related.\n                                score:\n                                  type: number\n                                  minimum: 0\n                                  maximum: 100\n                                  description: |\n                                    The AI QM score as a percentage (0 to 100) of the evaluation. Absent when all question results are \"Not Applicable\".\n                            - type: object\n                              title: AI_INTERACTION_INSIGHT\n                              description: Result of a post interaction AI insight.\n                              required:\n                                - value\n                                - transcriptId\n                                - insights\n                              properties:\n                                value:\n                                  type: string\n                                  description: Action type discriminant\n                                  example: AI_INTERACTION_INSIGHT\n                                insights:\n                                  type: object\n                                  properties:\n                                    profanity:\n                                      type: boolean\n                                      description: Indicate if profanity use was detected\n                                    appointmentOpportunity:\n                                      type: boolean\n                                      description: Indicate if an opportunity for an appointment was detected\n                                    appointmentSet:\n                                      type: boolean\n                                      description: Indicate if setting up an appointment was detected\n                                    salePitched:\n                                      type: boolean\n                                      description: Indicate if a sale pitch was detected\n                                    saleClosed:\n                                      type: boolean\n                                      description: Indicate if closing a sale was detected\n                                transcriptId:\n                                  type: string\n                                  format: uuid\n                                  description: Id of the analyzed transcript\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-events-report/v1/reports/%7BconversationSpaceId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/call-events-report/v1/reports/%7BconversationSpaceId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-events-report/v1/reports/%7BconversationSpaceId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-events-report/v1/reports/%7BconversationSpaceId%7D');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-events-report/v1/reports/%7BconversationSpaceId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-events-report/v1/subscriptions:\n    post:\n      summary: Subscribe to the completion of a Report containing accounts or users or lines or phone numbers.\n      description: |\n\n        Subscribe to be notified when a new report is available.\n\n        ### Authentication Scopes\n\n        `call-events.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n\n        The caller of this endpoint should be the owner of the channel provided.\n      operationId: createCallEventsReportSubscriptions\n      tags:\n        - Call Events Report Subscriptions\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: |\n                Subscription information containing one of type of subscription.\n              oneOf:\n                - type: object\n                  title: accountKeys\n                  description: Subscription request for specific accountKeys\n                  allOf:\n                    - type: object\n                      description: Common elements of report subscription.\n                      required:\n                        - channelId\n                      properties:\n                        channelId:\n                          description: |\n                            Notification channel identifier obtained through the\n                            [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\n                          type: string\n                          example: 1132cf5d-b186-42c9-a1bf-b84d1bfe1111\n                        eventTypes:\n                          type: array\n                          description: |\n                            The types of events that the caller wants to be notified about.\n                            If not provided, the caller will only be notified for `LEGACY` events to preserve backward compatibility.\n\n                            - `REPORT_SUMMARY` [report summary notification event format](#/components/schemas/CallEventsReportSummariesResponseItem).\n                              Notifications are sent when all elements of a report summary are available, so delays of up to 5 minutes are possible depending on the features and add-ons activated on the account.\n\n                              Extra fields that can induce delays include:\n                                - [AI Analysis](#/components/schemas/AiAnalysis)\n                            - `REPORT_SUMMARY_REVISION` [report summary revision notification event format](#/components/schemas/CallEventsReportSummaryRevision).\n                              Notifications are sent when a conversation ends and every time auxiliary content is made available for that conversation (as a new revision of the full summary payload).\n                              Auxiliary content leading to subsequent notifications can include:\n                                - Call recordings being processed and uploaded.\n                                - Call transcripts being processed and uploaded.\n                                - [AI Analysis](#/components/schemas/AiAnalysis).\n                            - `LEGACY` legacy notification event format.\n                              Notifications are sent as soon as a report's call events are available, and have no guarantee to include all call events report elements.\n                              **Should only be used to support existing integrations.**\n                          items:\n                            type: string\n                            enum:\n                              - REPORT_SUMMARY\n                              - REPORT_SUMMARY_REVISION\n                              - LEGACY\n                          example:\n                            - REPORT_SUMMARY\n                  required:\n                    - accountKeys\n                  properties:\n                    accountKeys:\n                      description: |\n                        The caller must use a token that have permission to access the accounts listed.\n                      type: array\n                      items:\n                        type: string\n                        description: Identifier of the given entity\n                        example: '2930718022414574861'\n                - type: object\n                  title: userKeys\n                  description: Subscription request for specific userKeys\n                  allOf:\n                    - type: object\n                      description: Common elements of report subscription.\n                      required:\n                        - channelId\n                      properties:\n                        channelId:\n                          description: |\n                            Notification channel identifier obtained through the\n                            [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\n                          type: string\n                          example: 1132cf5d-b186-42c9-a1bf-b84d1bfe1111\n                        eventTypes:\n                          type: array\n                          description: |\n                            The types of events that the caller wants to be notified about.\n                            If not provided, the caller will only be notified for `LEGACY` events to preserve backward compatibility.\n\n                            - `REPORT_SUMMARY` [report summary notification event format](#/components/schemas/CallEventsReportSummariesResponseItem).\n                              Notifications are sent when all elements of a report summary are available, so delays of up to 5 minutes are possible depending on the features and add-ons activated on the account.\n\n                              Extra fields that can induce delays include:\n                                - [AI Analysis](#/components/schemas/AiAnalysis)\n                            - `REPORT_SUMMARY_REVISION` [report summary revision notification event format](#/components/schemas/CallEventsReportSummaryRevision).\n                              Notifications are sent when a conversation ends and every time auxiliary content is made available for that conversation (as a new revision of the full summary payload).\n                              Auxiliary content leading to subsequent notifications can include:\n                                - Call recordings being processed and uploaded.\n                                - Call transcripts being processed and uploaded.\n                                - [AI Analysis](#/components/schemas/AiAnalysis).\n                            - `LEGACY` legacy notification event format.\n                              Notifications are sent as soon as a report's call events are available, and have no guarantee to include all call events report elements.\n                              **Should only be used to support existing integrations.**\n                          items:\n                            type: string\n                            enum:\n                              - REPORT_SUMMARY\n                              - REPORT_SUMMARY_REVISION\n                              - LEGACY\n                          example:\n                            - REPORT_SUMMARY\n                  required:\n                    - userKeys\n                  properties:\n                    userKeys:\n                      description: |\n                        The caller must use a token that have permission to access the users listed.\n                      type: array\n                      items:\n                        type: string\n                        description: Identifier of the given entity\n                        example: '2830558022414876543'\n                - type: object\n                  title: lineIds\n                  description: Subscription request for specific lineIds\n                  allOf:\n                    - type: object\n                      description: Common elements of report subscription.\n                      required:\n                        - channelId\n                      properties:\n                        channelId:\n                          description: |\n                            Notification channel identifier obtained through the\n                            [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\n                          type: string\n                          example: 1132cf5d-b186-42c9-a1bf-b84d1bfe1111\n                        eventTypes:\n                          type: array\n                          description: |\n                            The types of events that the caller wants to be notified about.\n                            If not provided, the caller will only be notified for `LEGACY` events to preserve backward compatibility.\n\n                            - `REPORT_SUMMARY` [report summary notification event format](#/components/schemas/CallEventsReportSummariesResponseItem).\n                              Notifications are sent when all elements of a report summary are available, so delays of up to 5 minutes are possible depending on the features and add-ons activated on the account.\n\n                              Extra fields that can induce delays include:\n                                - [AI Analysis](#/components/schemas/AiAnalysis)\n                            - `REPORT_SUMMARY_REVISION` [report summary revision notification event format](#/components/schemas/CallEventsReportSummaryRevision).\n                              Notifications are sent when a conversation ends and every time auxiliary content is made available for that conversation (as a new revision of the full summary payload).\n                              Auxiliary content leading to subsequent notifications can include:\n                                - Call recordings being processed and uploaded.\n                                - Call transcripts being processed and uploaded.\n                                - [AI Analysis](#/components/schemas/AiAnalysis).\n                            - `LEGACY` legacy notification event format.\n                              Notifications are sent as soon as a report's call events are available, and have no guarantee to include all call events report elements.\n                              **Should only be used to support existing integrations.**\n                          items:\n                            type: string\n                            enum:\n                              - REPORT_SUMMARY\n                              - REPORT_SUMMARY_REVISION\n                              - LEGACY\n                          example:\n                            - REPORT_SUMMARY\n                  required:\n                    - lineIds\n                  properties:\n                    lineIds:\n                      description: |\n                        The caller must use a token that have permission to access the lines listed.\n                      type: array\n                      items:\n                        type: string\n                        description: Identifier of the given entity\n                        example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                - type: object\n                  title: phoneNumberIds\n                  description: Subscription request for specific phoneNumberIds\n                  allOf:\n                    - type: object\n                      description: Common elements of report subscription.\n                      required:\n                        - channelId\n                      properties:\n                        channelId:\n                          description: |\n                            Notification channel identifier obtained through the\n                            [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\n                          type: string\n                          example: 1132cf5d-b186-42c9-a1bf-b84d1bfe1111\n                        eventTypes:\n                          type: array\n                          description: |\n                            The types of events that the caller wants to be notified about.\n                            If not provided, the caller will only be notified for `LEGACY` events to preserve backward compatibility.\n\n                            - `REPORT_SUMMARY` [report summary notification event format](#/components/schemas/CallEventsReportSummariesResponseItem).\n                              Notifications are sent when all elements of a report summary are available, so delays of up to 5 minutes are possible depending on the features and add-ons activated on the account.\n\n                              Extra fields that can induce delays include:\n                                - [AI Analysis](#/components/schemas/AiAnalysis)\n                            - `REPORT_SUMMARY_REVISION` [report summary revision notification event format](#/components/schemas/CallEventsReportSummaryRevision).\n                              Notifications are sent when a conversation ends and every time auxiliary content is made available for that conversation (as a new revision of the full summary payload).\n                              Auxiliary content leading to subsequent notifications can include:\n                                - Call recordings being processed and uploaded.\n                                - Call transcripts being processed and uploaded.\n                                - [AI Analysis](#/components/schemas/AiAnalysis).\n                            - `LEGACY` legacy notification event format.\n                              Notifications are sent as soon as a report's call events are available, and have no guarantee to include all call events report elements.\n                              **Should only be used to support existing integrations.**\n                          items:\n                            type: string\n                            enum:\n                              - REPORT_SUMMARY\n                              - REPORT_SUMMARY_REVISION\n                              - LEGACY\n                          example:\n                            - REPORT_SUMMARY\n                  required:\n                    - phoneNumberIds\n                  properties:\n                    phoneNumberIds:\n                      description: |\n                        The caller must use a token that have permission to access the phone numbers listed.\n                      type: array\n                      items:\n                        type: string\n                        description: Identifier of the given entity\n                        example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n      responses:\n        '201':\n          description: The subscription request has succeeded and the subscriptions are returned.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Subscription information\n                required:\n                  - items\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      required:\n                        - id\n                        - channelId\n                        - value\n                        - eventTypes\n                      properties:\n                        id:\n                          type: string\n                          example: 70120057-431d-4fad-add1-f9cacc409d54\n                        channelId:\n                          type: string\n                          example: 1132cf5d-b186-42c9-a1bf-b84d1bfe1111\n                        value:\n                          type: string\n                          description: The subscribed item's identifier\n                          example: '2930718022414574861'\n                        eventTypes:\n                          type: array\n                          description: |\n                            The types of events that the caller wants to be notified about.\n                            If not provided, the caller will only be notified for `LEGACY` events to preserve backward compatibility.\n\n                            - `REPORT_SUMMARY` [report summary notification event format](#/components/schemas/CallEventsReportSummariesResponseItem).\n                              Notifications are sent when all elements of a report summary are available, so delays of up to 5 minutes are possible depending on the features and add-ons activated on the account.\n\n                              Extra fields that can induce delays include:\n                                - [AI Analysis](#/components/schemas/AiAnalysis)\n                            - `REPORT_SUMMARY_REVISION` [report summary revision notification event format](#/components/schemas/CallEventsReportSummaryRevision).\n                              Notifications are sent when a conversation ends and every time auxiliary content is made available for that conversation (as a new revision of the full summary payload).\n                              Auxiliary content leading to subsequent notifications can include:\n                                - Call recordings being processed and uploaded.\n                                - Call transcripts being processed and uploaded.\n                                - [AI Analysis](#/components/schemas/AiAnalysis).\n                            - `LEGACY` legacy notification event format.\n                              Notifications are sent as soon as a report's call events are available, and have no guarantee to include all call events report elements.\n                              **Should only be used to support existing integrations.**\n                          items:\n                            type: string\n                            enum:\n                              - REPORT_SUMMARY\n                              - REPORT_SUMMARY_REVISION\n                              - LEGACY\n                          example:\n                            - REPORT_SUMMARY\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      callbacks:\n        NOTIFICATION:\n          '{request.body#/channelId}':\n            post:\n              summary: Call Events Report Notification\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: |\n                        Call Events Report notification sent for a particular conversation space. The full conversation space can be queried via the API using the conversation space ID in the content.\n                      allOf:\n                        - description: |\n                            Base type for all notifications received over a notification channel. The notification max size is 1MB.\n                          type: object\n                          required:\n                            - source\n                            - type\n                            - timestamp\n                          properties:\n                            id:\n                              type: string\n                              description: |\n                                Unique identifier for the notification. This is used to identify  and deduplicate notifications.\n                            source:\n                              description: |\n                                Identifies the source application issuing the notification.\n                              type: string\n                            type:\n                              description: |\n                                Type of the event. Used as a discriminator of the server application to determine the content.\n                              type: string\n                            usage:\n                              default: BACKGROUND\n                              type: string\n                              description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notification should not be displayed to the user, it should be transfered towards the application.\n                              enum:\n                                - VOIP\n                                - ALERT\n                                - BACKGROUND\n                            timestamp:\n                              description: The time of the event. Used to indicate when the event occur\n                              type: string\n                              format: date-time\n                            ttl:\n                              description: Time to live in seconds for the notification\n                              type: integer\n                            contentVersion:\n                              type: string\n                              description: |\n                                Version of the notification content data structure that allows to know the version of the content without checking the actual payload or content.\n                            content:\n                              description: |\n                                Actual content of the notification that varies depending on the source and the type of the notification.\n                              type: object\n                        - type: object\n                          properties:\n                            source:\n                              description: |\n                                Identifies the source application issuing the notification.\n                              type: string\n                              enum:\n                                - call-events-report\n                            type:\n                              description: |\n                                Identifies the type of the notification. This can be used as an event discriminator when subscribed to all event types.\n                                *Note**: for backward compatibility reasons, the `call-events-report` type is sent for subscriptions created for the `LEGACY` event type. All other types will match the API event type otherwise.\n                              type: string\n                              enum:\n                                - REPORT_SUMMARY\n                                - REPORT_SUMMARY_REVISION\n                                - call-events-report\n                            content:\n                              anyOf:\n                                - type: object\n                                  title: REPORT_SUMMARY\n                                  description: Notification for a simplified summary of a call\n                                  required:\n                                    - conversationSpaceId\n                                    - accountKey\n                                    - callCreated\n                                    - callEnded\n                                    - callInitiator\n                                    - direction\n                                    - caller\n                                    - callerOutcome\n                                    - participants\n                                  properties:\n                                    conversationSpaceId:\n                                      type: string\n                                      description: Identifier of the conversation space\n                                      format: uuid\n                                      example: 43643517-5c98-4102-942f-882d86a4a0fa\n                                    accountKey:\n                                      type: string\n                                      description: Account key associated with the conversation space.\n                                      example: '2930718022414574861'\n                                    callCreated:\n                                      description: The timestamp when the call was created.\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:14:50.147Z'\n                                    callAnswered:\n                                      description: Optional timestamp when the call was answered\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:15:00.147Z'\n                                    callEnded:\n                                      description: The timestamp when the call was ended.\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:15:50.147Z'\n                                    callInitiator:\n                                      type: string\n                                      example: DIRECT\n                                      description: |\n                                        Initiator of the call. Allows categorizing a call by how it was triggered. This field is optional and will only be displayed once its value has been determined.\n\n                                        The values listed below only represent the current possibilities as of writing.\n                                        The addition of new possible values may occur at any time without prior notice.\n\n                                        `CLICK_TO_CALL` indicates that the call started from the [`/calls` API](https://developer.goto.com/GoToConnect#tag/Calls-Overview)\n\n                                        `QUEUE_CALLBACK` indicates that the call was triggered through [a callback request](https://support.goto.com/connect/help/how-do-i-set-up-auto-queue-callback).\n\n                                        `CAMPAIGN` indicates that the call has been started from a campaign\n\n                                        `DIRECT` indicates that the call was triggered directly by a user, such as by calling from the GoTo app or a physical desk phone\n                                    direction:\n                                      type: string\n                                      description: |\n                                        Direction of the call with respect to the GoTo Connect platform. `OUTBOUND` if the call started from the GoTo Connect platform,\n                                        `INBOUND` otherwise.\n                                      enum:\n                                        - INBOUND\n                                        - OUTBOUND\n                                      example: INBOUND\n                                    caller:\n                                      type: object\n                                      description: Caller participant information\n                                      required:\n                                        - name\n                                        - number\n                                        - type\n                                      properties:\n                                        name:\n                                          type: string\n                                          description: Participant name\n                                          example: John Doe\n                                        number:\n                                          type: string\n                                          description: The number of the participant (caller/callee extension or phone number)\n                                          example: '1000'\n                                        legId:\n                                          type: string\n                                          description: Participant leg identifier.\n                                          example: fefad6f0-2456-4b9a-a712-d7abcb625fdb\n                                        recordingId:\n                                          type: string\n                                          format: uuid\n                                          description: Call recording identifier of the participant's call perspective. Not present if the call was not recorded.\n                                          example: 39040a62-1956-4474-a68a-fc827849bc7b\n                                        liveTranscriptId:\n                                          type: string\n                                          format: uuid\n                                          description: Live transcript identifier of the participant's call perspective. Not present if the call did not have live transcription enabled.\n                                          example: ecc273c3-4d02-47b5-a97e-7c728c995503\n                                        type:\n                                          anyOf:\n                                            - title: PHONE_NUMBER\n                                              description: Information about a phone number (DID)\n                                              required:\n                                                - value\n                                                - phoneNumberId\n                                                - number\n                                              properties:\n                                                value:\n                                                  type: string\n                                                  description: |\n                                                    Type of the participant.\n\n                                                    `PHONE_NUMBER` indicates the participant is a phone number.\n                                                  example: PHONE_NUMBER\n                                                phoneNumberId:\n                                                  type: string\n                                                  description: Unique identifier of the phone number in the system\n                                                  example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                                number:\n                                                  type: string\n                                                  description: Phone number associated with phoneNumberId\n                                                  example: '+19881234567'\n                                                name:\n                                                  type: string\n                                                  description: Configured name of the phone number. Not present if no name is configured.\n                                                  example: Sales Phone Number\n                                                contact:\n                                                  type: object\n                                                  description: Contact object associated with the participant in a call.\n                                                  required:\n                                                    - id\n                                                  properties:\n                                                    id:\n                                                      description: |\n                                                        Identifier of the contact associated to the participant. The contact identifier is unique across the organization.\n                                                      type: string\n                                                      format: uuid\n                                                      example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                                callProvider:\n                                                  type: string\n                                                  description: |\n                                                    The call provider for the phone number\n\n                                                    The values listed below only represent the current possibilities as of writing.\n                                                    The addition of new possible values may occur at any time without prior notice.\n\n                                                    `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                                    `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                                     customer provides its own SIP peering from an external provider.\n\n                                                    `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                                  enum:\n                                                    - PSTN\n                                                    - BYOC\n                                                    - WHATSAPP\n                                                  example: PSTN\n                                            - title: PHONE_NUMBER_UNKNOWN\n                                              description: Information about a phone number without Direct Inward Dialing (DID) information provided.\n                                              required:\n                                                - value\n                                              properties:\n                                                value:\n                                                  type: string\n                                                  description: |\n                                                    Type of the participant.\n\n                                                    `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct Inward Dialing (DID) information provided.\n                                                  example: PHONE_NUMBER_UNKNOWN\n                                                callProvider:\n                                                  type: string\n                                                  description: |\n                                                    The call provider for the phone number\n\n                                                    The values listed below only represent the current possibilities as of writing.\n                                                    The addition of new possible values may occur at any time without prior notice.\n\n                                                    `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                                    `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                                     customer provides its own SIP peering from an external provider.\n\n                                                    `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                                  enum:\n                                                    - PSTN\n                                                    - BYOC\n                                                    - WHATSAPP\n                                                  example: PSTN\n                                            - title: LINE\n                                              description: Information about a line\n                                              required:\n                                                - value\n                                                - lineId\n                                              properties:\n                                                value:\n                                                  type: string\n                                                  description: |\n                                                    Type of the participant.\n\n                                                    `LINE` indicates the participant is a line in the organization - could be an agent.\n                                                  example: LINE\n                                                lineId:\n                                                  type: string\n                                                  description: Line identifier\n                                                  example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                                userId:\n                                                  type: string\n                                                  description: |\n                                                    The user identifier associated with the line via the device at the time of the conversation.\n\n                                                    This attribute is exempted from the object if the participant is a standalone device.\n                                                    A standalone device is defined as a device that holds the credentials for connecting\n                                                    to GoTo's platform. It is not associated to a specific user.\n                                                  example: f55cb8e5-7fee-41fa-9f73-33e98066e077\n                                                userKey:\n                                                  type: string\n                                                  description: |\n                                                    The user key associated with the line via the device at the time of the conversation.\n\n                                                    This attribute is exempted from the object if the participant is a standalone device.\n                                                    A standalone device is defined as a device that holds the credentials for connecting\n                                                    to GoTo's platform.\n                                                  example: '2930718022414574861'\n                                            - title: VIRTUAL_PARTICIPANT\n                                              description: Information about a virtual participant\n                                              required:\n                                                - value\n                                                - virtualParticipantId\n                                              properties:\n                                                value:\n                                                  type: string\n                                                  description: |\n                                                    Type of the participant.\n\n                                                    `VIRTUAL_PARTICIPANT` indicates the participant is a virtual participant.\n                                                  example: VIRTUAL_PARTICIPANT\n                                                virtualParticipantId:\n                                                  type: string\n                                                  description: Unique identifier of the virtual participant in the system\n                                                  example: 7e5fb305-5ec7-47c4-bf3b-4ee578264314\n                                    callerOutcome:\n                                      type: string\n                                      description: |\n                                        How the call ended from the point of view of the initial caller.\n                                      enum:\n                                        - NORMAL\n                                        - MISSED\n                                        - VOICEMAIL\n                                        - LEFT_QUEUE\n                                        - LEFT_PARKING_SPOT\n                                        - LEFT_ON_HOLD\n                                        - LEFT_DIAL_PLAN\n                                        - TRUNCATED\n                                        - UNKNOWN\n                                      example: NORMAL\n                                    participants:\n                                      description: Other participant(s) actively involved in the call after answering (can be empty).\n                                      type: array\n                                      items:\n                                        type: object\n                                        description: Caller participant information\n                                        required:\n                                          - name\n                                          - number\n                                          - type\n                                        properties:\n                                          name:\n                                            type: string\n                                            description: Participant name\n                                            example: John Doe\n                                          number:\n                                            type: string\n                                            description: The number of the participant (caller/callee extension or phone number)\n                                            example: '1000'\n                                          legId:\n                                            type: string\n                                            description: Participant leg identifier.\n                                            example: fefad6f0-2456-4b9a-a712-d7abcb625fdb\n                                          recordingId:\n                                            type: string\n                                            format: uuid\n                                            description: Call recording identifier of the participant's call perspective. Not present if the call was not recorded.\n                                            example: 39040a62-1956-4474-a68a-fc827849bc7b\n                                          liveTranscriptId:\n                                            type: string\n                                            format: uuid\n                                            description: Live transcript identifier of the participant's call perspective. Not present if the call did not have live transcription enabled.\n                                            example: ecc273c3-4d02-47b5-a97e-7c728c995503\n                                          type:\n                                            anyOf:\n                                              - title: PHONE_NUMBER\n                                                description: Information about a phone number (DID)\n                                                required:\n                                                  - value\n                                                  - phoneNumberId\n                                                  - number\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: |\n                                                      Type of the participant.\n\n                                                      `PHONE_NUMBER` indicates the participant is a phone number.\n                                                    example: PHONE_NUMBER\n                                                  phoneNumberId:\n                                                    type: string\n                                                    description: Unique identifier of the phone number in the system\n                                                    example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                                  number:\n                                                    type: string\n                                                    description: Phone number associated with phoneNumberId\n                                                    example: '+19881234567'\n                                                  name:\n                                                    type: string\n                                                    description: Configured name of the phone number. Not present if no name is configured.\n                                                    example: Sales Phone Number\n                                                  contact:\n                                                    type: object\n                                                    description: Contact object associated with the participant in a call.\n                                                    required:\n                                                      - id\n                                                    properties:\n                                                      id:\n                                                        description: |\n                                                          Identifier of the contact associated to the participant. The contact identifier is unique across the organization.\n                                                        type: string\n                                                        format: uuid\n                                                        example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                                  callProvider:\n                                                    type: string\n                                                    description: |\n                                                      The call provider for the phone number\n\n                                                      The values listed below only represent the current possibilities as of writing.\n                                                      The addition of new possible values may occur at any time without prior notice.\n\n                                                      `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                                      `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                                       customer provides its own SIP peering from an external provider.\n\n                                                      `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                                    enum:\n                                                      - PSTN\n                                                      - BYOC\n                                                      - WHATSAPP\n                                                    example: PSTN\n                                              - title: PHONE_NUMBER_UNKNOWN\n                                                description: Information about a phone number without Direct Inward Dialing (DID) information provided.\n                                                required:\n                                                  - value\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: |\n                                                      Type of the participant.\n\n                                                      `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct Inward Dialing (DID) information provided.\n                                                    example: PHONE_NUMBER_UNKNOWN\n                                                  callProvider:\n                                                    type: string\n                                                    description: |\n                                                      The call provider for the phone number\n\n                                                      The values listed below only represent the current possibilities as of writing.\n                                                      The addition of new possible values may occur at any time without prior notice.\n\n                                                      `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                                      `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                                       customer provides its own SIP peering from an external provider.\n\n                                                      `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                                    enum:\n                                                      - PSTN\n                                                      - BYOC\n                                                      - WHATSAPP\n                                                    example: PSTN\n                                              - title: LINE\n                                                description: Information about a line\n                                                required:\n                                                  - value\n                                                  - lineId\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: |\n                                                      Type of the participant.\n\n                                                      `LINE` indicates the participant is a line in the organization - could be an agent.\n                                                    example: LINE\n                                                  lineId:\n                                                    type: string\n                                                    description: Line identifier\n                                                    example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                                  userId:\n                                                    type: string\n                                                    description: |\n                                                      The user identifier associated with the line via the device at the time of the conversation.\n\n                                                      This attribute is exempted from the object if the participant is a standalone device.\n                                                      A standalone device is defined as a device that holds the credentials for connecting\n                                                      to GoTo's platform. It is not associated to a specific user.\n                                                    example: f55cb8e5-7fee-41fa-9f73-33e98066e077\n                                                  userKey:\n                                                    type: string\n                                                    description: |\n                                                      The user key associated with the line via the device at the time of the conversation.\n\n                                                      This attribute is exempted from the object if the participant is a standalone device.\n                                                      A standalone device is defined as a device that holds the credentials for connecting\n                                                      to GoTo's platform.\n                                                    example: '2930718022414574861'\n                                              - title: VIRTUAL_PARTICIPANT\n                                                description: Information about a virtual participant\n                                                required:\n                                                  - value\n                                                  - virtualParticipantId\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: |\n                                                      Type of the participant.\n\n                                                      `VIRTUAL_PARTICIPANT` indicates the participant is a virtual participant.\n                                                    example: VIRTUAL_PARTICIPANT\n                                                  virtualParticipantId:\n                                                    type: string\n                                                    description: Unique identifier of the virtual participant in the system\n                                                    example: 7e5fb305-5ec7-47c4-bf3b-4ee578264314\n                                    aiAnalysis:\n                                      type: object\n                                      description: Analysis of the call by the AI engine. Only available with Advanced reporting.\n                                      required:\n                                        - sentiment\n                                        - topics\n                                        - summary\n                                        - flags\n                                      properties:\n                                        sentiment:\n                                          type: string\n                                          description: |\n                                            Sentiment of the call.\n                                            The values listed below only represent the current possibilities as of writing.\n\n                                            - `UNAVAILABLE` indicates the system was unable to perform sentiment analysis.\n                                            - `POSITIVE` indicates that the sentiment of the call is positive.\n                                            - `NEGATIVE` indicates that the sentiment of the call is negative.\n                                            - `NEUTRAL` indicates that the sentiment of the call is neutral.\n                                          example: POSITIVE\n                                        topics:\n                                          type: array\n                                          description: Topics of the call detected by the AI engine. Can be an empty array if detection could not be performed.\n                                          items:\n                                            type: string\n                                          example:\n                                            - billing issues\n                                            - wifi setup\n                                        summary:\n                                          type: string\n                                          description: Summary of the call detected by the AI engine. Can be an empty string if summarization could not be performed.\n                                          example: Customer called to report a billing issue and was transferred to the billing department for resolution.\n                                        editedBy:\n                                          type: object\n                                          description: Information about the user who edited the AI analysis summary. If not provided, the AI analysis was not edited.\n                                          properties:\n                                            userId:\n                                              type: string\n                                              description: Identifier of the user who edited the AI analysis.\n                                              example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                            userKey:\n                                              type: string\n                                              description: Key of the user who edited the AI analysis.\n                                              example: '2930718022414574861'\n                                        flags:\n                                          type: array\n                                          description: |\n                                            Flags raised on this call by the AI engine. Flags are keywords or semantic context that a supervisor has set an alert for on inbound calls.\n                                          items:\n                                            type: string\n                                          example:\n                                            - billing issues\n                                            - items held at customs\n                                    notes:\n                                      type: object\n                                      description: Metadata provided by an agent during the call or at wrap-up time.\n                                      properties:\n                                        disposition:\n                                          type: object\n                                          description: The call disposition assigned to the call, used to categorize its outcome. Only available for contact center licenses with call dispositions enabled.\n                                          properties:\n                                            name:\n                                              type: string\n                                              description: The disposition name.\n                                              example: Sale completed\n                                            category:\n                                              type: string\n                                              description: The disposition category.\n                                              example: Garage sales\n                                        note:\n                                          type: string\n                                          description: The text note added to the call.\n                                          example: The caller has mentioned they would like to be contacted next week for a follow-up.\n                                        tags:\n                                          type: array\n                                          description: The list of tags associated to the call.\n                                          items:\n                                            type: object\n                                            properties:\n                                              name:\n                                                type: string\n                                                description: The tag name.\n                                          example:\n                                            - name: Follow-up\n                                            - name: Important\n                                    actions:\n                                      description: List of CSAT actions executed by systems not part of the voice platform.\n                                      type: array\n                                      items:\n                                        type: object\n                                        description: A CSAT action related to the call\n                                        required:\n                                          - timestamp\n                                          - type\n                                        properties:\n                                          timestamp:\n                                            type: string\n                                            description: The timestamp of when the action was executed.\n                                            format: date-time\n                                            example: '2022-04-26T18:14:50.147Z'\n                                          type:\n                                            description: |\n                                              Detailed information about the action executed.\n                                              Can be either `CSAT_SCORE` or `CSAT_OPEN_FEEDBACK`.\n                                            anyOf:\n                                              - type: object\n                                                title: CSAT_SCORE\n                                                description: Result of a post-call CSAT survey where the caller leaves a satisfaction score from 1 to 5.\n                                                required:\n                                                  - value\n                                                  - result\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: Action type discriminant\n                                                    example: CSAT_SCORE\n                                                  result:\n                                                    type: string\n                                                    enum:\n                                                      - ANSWERED\n                                                      - NOT_ANSWERED\n                                                      - INVALID\n                                                      - ERROR\n                                                    description: |\n                                                      The CSAT score survey response status:\n\n                                                      - `ANSWERED`: Caller responded to CSAT survey and provided a valid score.\n                                                      - `NOT_ANSWERED`: Caller did not respond to CSAT survey.\n                                                      - `INVALID`: Caller did not provide a valid score within the allowed retries.\n                                                      - `ERROR`: An unspecified system error happened during the CSAT survey process.\n                                                  score:\n                                                    type: integer\n                                                    description: |\n                                                      The numeric CSAT score (1 to 5) provided by the caller when `result` is `ANSWERED`.\n                                                      This field is absent for any other result.\n                                                    minimum: 1\n                                                    maximum: 5\n                                              - type: object\n                                                title: CSAT_OPEN_FEEDBACK\n                                                description: Result of a post-call CSAT survey where the caller voiced its feedback.\n                                                required:\n                                                  - value\n                                                  - result\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: Action type discriminant\n                                                    example: CSAT_OPEN_FEEDBACK\n                                                  result:\n                                                    type: string\n                                                    enum:\n                                                      - ANSWERED\n                                                      - TRANSCRIPT_UNAVAILABLE\n                                                      - NOT_ANSWERED\n                                                      - ERROR\n                                                    description: |\n                                                      The CSAT open feedback survey response status:\n\n                                                      - `ANSWERED`: Caller answered open feedback question and provided some spoken feedback.\n                                                         The fields `transcript`, `startTime` and `endTime` will be provided.\n                                                      - `TRANSCRIPT_UNAVAILABLE`: Transcript of the spoken feedback is unavailable.\n                                                      - `NOT_ANSWERED`: Caller did not provide answer to open feedback question.\n                                                      - `ERROR`: An unspecified system error happened during the CSAT survey process.\n                                                  transcript:\n                                                    type: string\n                                                    minLength: 1\n                                                    maxLength: 2000\n                                                    description: The transcript of the feedback spoken by the caller (for result = `ANSWERED` only).\n                                                  startTime:\n                                                    type: string\n                                                    format: date-time\n                                                    description: ISO 8601 timestamp when the feedback of the caller starts (for result = `ANSWERED` only).\n                                                  endTime:\n                                                    type: string\n                                                    format: date-time\n                                                    description: |\n                                                      ISO 8601 timestamp when the feedback of the caller ends (for result = `ANSWERED` only).\n                                                      Feedback ends after a 1 minute timeout or when the caller hangs up.\n                                - title: REPORT_SUMMARY_REVISION\n                                  description: |\n                                    An iteration of a report summary containing the latest available information about a conversation space.\n                                  type: object\n                                  required:\n                                    - conversationSpaceId\n                                    - accountKey\n                                    - callCreated\n                                    - callEnded\n                                    - callInitiator\n                                    - direction\n                                    - caller\n                                    - callerOutcome\n                                    - participants\n                                  properties:\n                                    conversationSpaceId:\n                                      type: string\n                                      description: Identifier of the conversation space\n                                      format: uuid\n                                      example: 43643517-5c98-4102-942f-882d86a4a0fa\n                                    accountKey:\n                                      type: string\n                                      description: Account key associated with the conversation space.\n                                      example: '2930718022414574861'\n                                    callCreated:\n                                      description: The timestamp when the call was created.\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:14:50.147Z'\n                                    callAnswered:\n                                      description: Optional timestamp when the call was answered\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:15:00.147Z'\n                                    callEnded:\n                                      description: The timestamp when the call was ended.\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:15:50.147Z'\n                                    callInitiator:\n                                      type: string\n                                      example: DIRECT\n                                      description: |\n                                        Initiator of the call. Allows categorizing a call by how it was triggered. This field is optional and will only be displayed once its value has been determined.\n\n                                        The values listed below only represent the current possibilities as of writing.\n                                        The addition of new possible values may occur at any time without prior notice.\n\n                                        `CLICK_TO_CALL` indicates that the call started from the [`/calls` API](https://developer.goto.com/GoToConnect#tag/Calls-Overview)\n\n                                        `QUEUE_CALLBACK` indicates that the call was triggered through [a callback request](https://support.goto.com/connect/help/how-do-i-set-up-auto-queue-callback).\n\n                                        `CAMPAIGN` indicates that the call has been started from a campaign\n\n                                        `DIRECT` indicates that the call was triggered directly by a user, such as by calling from the GoTo app or a physical desk phone\n                                    direction:\n                                      type: string\n                                      description: |\n                                        Direction of the call with respect to the GoTo Connect platform. `OUTBOUND` if the call started from the GoTo Connect platform,\n                                        `INBOUND` otherwise.\n                                      enum:\n                                        - INBOUND\n                                        - OUTBOUND\n                                      example: INBOUND\n                                    caller:\n                                      description: The participant triggering the creation of this call.\n                                      type: object\n                                      required:\n                                        - name\n                                        - number\n                                        - type\n                                        - legId\n                                      properties:\n                                        name:\n                                          type: string\n                                          description: Participant name\n                                          example: John Doe\n                                        number:\n                                          type: string\n                                          description: The number of the participant (caller/callee extension or phone number)\n                                          example: '1000'\n                                        legId:\n                                          type: string\n                                          description: Participant leg identifier.\n                                          example: fefad6f0-2456-4b9a-a712-d7abcb625fdb\n                                        recording:\n                                          type: object\n                                          description: Call recording information for a summary participant. Not present if the call was not recorded.\n                                          required:\n                                            - id\n                                            - transcriptEnabled\n                                          properties:\n                                            id:\n                                              type: string\n                                              description: Identifier of the recording.\n                                              example: 39040a62-1956-4474-a68a-fc827849bc7b\n                                            uploadedAt:\n                                              type: string\n                                              format: date-time\n                                              description: The timestamp when the recording was uploaded.\n                                              example: '2022-04-26T18:15:50.147Z'\n                                            transcriptEnabled:\n                                              type: boolean\n                                              description: Indicates whether the recording is subject to text transcription.\n                                              example: true\n                                            transcriptUploadedAt:\n                                              type: string\n                                              format: date-time\n                                              description: The timestamp when the transcript was uploaded. Only available if transcription is enabled.\n                                              example: '2022-04-26T18:15:55.324Z'\n                                        liveTranscript:\n                                          type: object\n                                          description: Live transcript information for a summary participant. Not present if the call was not live transcribed.\n                                          required:\n                                            - id\n                                            - postCallTranscriptEnabled\n                                          properties:\n                                            id:\n                                              type: string\n                                              description: Identifier of the recording.\n                                              example: ecc273c3-4d02-47b5-a97e-7c728c995503\n                                            postCallTranscriptEnabled:\n                                              type: boolean\n                                              description: Indicates whether the live transcript is available in full after the call.\n                                              example: true\n                                            uploadedAt:\n                                              type: string\n                                              format: date-time\n                                              description: The timestamp when the full live transcript was uploaded.\n                                              example: '2022-04-26T18:15:51.103Z'\n                                        type:\n                                          anyOf:\n                                            - title: PHONE_NUMBER\n                                              description: Information about a phone number (DID)\n                                              required:\n                                                - value\n                                                - phoneNumberId\n                                                - number\n                                              properties:\n                                                value:\n                                                  type: string\n                                                  description: |\n                                                    Type of the participant.\n\n                                                    `PHONE_NUMBER` indicates the participant is a phone number.\n                                                  example: PHONE_NUMBER\n                                                phoneNumberId:\n                                                  type: string\n                                                  description: Unique identifier of the phone number in the system\n                                                  example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                                number:\n                                                  type: string\n                                                  description: Phone number associated with phoneNumberId\n                                                  example: '+19881234567'\n                                                name:\n                                                  type: string\n                                                  description: Configured name of the phone number. Not present if no name is configured.\n                                                  example: Sales Phone Number\n                                                contact:\n                                                  type: object\n                                                  description: Contact object associated with the participant in a call.\n                                                  required:\n                                                    - id\n                                                  properties:\n                                                    id:\n                                                      description: |\n                                                        Identifier of the contact associated to the participant. The contact identifier is unique across the organization.\n                                                      type: string\n                                                      format: uuid\n                                                      example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                                callProvider:\n                                                  type: string\n                                                  description: |\n                                                    The call provider for the phone number\n\n                                                    The values listed below only represent the current possibilities as of writing.\n                                                    The addition of new possible values may occur at any time without prior notice.\n\n                                                    `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                                    `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                                     customer provides its own SIP peering from an external provider.\n\n                                                    `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                                  enum:\n                                                    - PSTN\n                                                    - BYOC\n                                                    - WHATSAPP\n                                                  example: PSTN\n                                            - title: LINE\n                                              description: Information about a line\n                                              required:\n                                                - value\n                                                - lineId\n                                              properties:\n                                                value:\n                                                  type: string\n                                                  description: |\n                                                    Type of the participant.\n\n                                                    `LINE` indicates the participant is a line in the organization - could be an agent.\n                                                  example: LINE\n                                                lineId:\n                                                  type: string\n                                                  description: Line identifier\n                                                  example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                                userId:\n                                                  type: string\n                                                  description: |\n                                                    The user identifier associated with the line via the device at the time of the conversation.\n\n                                                    This attribute is exempted from the object if the participant is a standalone device.\n                                                    A standalone device is defined as a device that holds the credentials for connecting\n                                                    to GoTo's platform. It is not associated to a specific user.\n                                                  example: f55cb8e5-7fee-41fa-9f73-33e98066e077\n                                                userKey:\n                                                  type: string\n                                                  description: |\n                                                    The user key associated with the line via the device at the time of the conversation.\n\n                                                    This attribute is exempted from the object if the participant is a standalone device.\n                                                    A standalone device is defined as a device that holds the credentials for connecting\n                                                    to GoTo's platform.\n                                                  example: '2930718022414574861'\n                                            - title: VIRTUAL_PARTICIPANT\n                                              description: Information about a virtual participant\n                                              required:\n                                                - value\n                                                - virtualParticipantId\n                                              properties:\n                                                value:\n                                                  type: string\n                                                  description: |\n                                                    Type of the participant.\n\n                                                    `VIRTUAL_PARTICIPANT` indicates the participant is a virtual participant.\n                                                  example: VIRTUAL_PARTICIPANT\n                                                virtualParticipantId:\n                                                  type: string\n                                                  description: Unique identifier of the virtual participant in the system\n                                                  example: 7e5fb305-5ec7-47c4-bf3b-4ee578264314\n                                    callerOutcome:\n                                      type: string\n                                      description: |\n                                        How the call ended from the point of view of the initial caller.\n                                      enum:\n                                        - NORMAL\n                                        - MISSED\n                                        - VOICEMAIL\n                                        - LEFT_QUEUE\n                                        - LEFT_PARKING_SPOT\n                                        - LEFT_ON_HOLD\n                                        - LEFT_DIAL_PLAN\n                                        - TRUNCATED\n                                        - UNKNOWN\n                                      example: NORMAL\n                                    participants:\n                                      description: Other participant(s) actively involved in the call after answering (can be empty).\n                                      type: array\n                                      items:\n                                        type: object\n                                        description: Report summary revision participant information\n                                        required:\n                                          - name\n                                          - number\n                                          - type\n                                          - legId\n                                        properties:\n                                          name:\n                                            type: string\n                                            description: Participant name\n                                            example: John Doe\n                                          number:\n                                            type: string\n                                            description: The number of the participant (caller/callee extension or phone number)\n                                            example: '1000'\n                                          legId:\n                                            type: string\n                                            description: Participant leg identifier.\n                                            example: fefad6f0-2456-4b9a-a712-d7abcb625fdb\n                                          recording:\n                                            type: object\n                                            description: Call recording information for a summary participant. Not present if the call was not recorded.\n                                            required:\n                                              - id\n                                              - transcriptEnabled\n                                            properties:\n                                              id:\n                                                type: string\n                                                description: Identifier of the recording.\n                                                example: 39040a62-1956-4474-a68a-fc827849bc7b\n                                              uploadedAt:\n                                                type: string\n                                                format: date-time\n                                                description: The timestamp when the recording was uploaded.\n                                                example: '2022-04-26T18:15:50.147Z'\n                                              transcriptEnabled:\n                                                type: boolean\n                                                description: Indicates whether the recording is subject to text transcription.\n                                                example: true\n                                              transcriptUploadedAt:\n                                                type: string\n                                                format: date-time\n                                                description: The timestamp when the transcript was uploaded. Only available if transcription is enabled.\n                                                example: '2022-04-26T18:15:55.324Z'\n                                          liveTranscript:\n                                            type: object\n                                            description: Live transcript information for a summary participant. Not present if the call was not live transcribed.\n                                            required:\n                                              - id\n                                              - postCallTranscriptEnabled\n                                            properties:\n                                              id:\n                                                type: string\n                                                description: Identifier of the recording.\n                                                example: ecc273c3-4d02-47b5-a97e-7c728c995503\n                                              postCallTranscriptEnabled:\n                                                type: boolean\n                                                description: Indicates whether the live transcript is available in full after the call.\n                                                example: true\n                                              uploadedAt:\n                                                type: string\n                                                format: date-time\n                                                description: The timestamp when the full live transcript was uploaded.\n                                                example: '2022-04-26T18:15:51.103Z'\n                                          type:\n                                            anyOf:\n                                              - title: PHONE_NUMBER\n                                                description: Information about a phone number (DID)\n                                                required:\n                                                  - value\n                                                  - phoneNumberId\n                                                  - number\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: |\n                                                      Type of the participant.\n\n                                                      `PHONE_NUMBER` indicates the participant is a phone number.\n                                                    example: PHONE_NUMBER\n                                                  phoneNumberId:\n                                                    type: string\n                                                    description: Unique identifier of the phone number in the system\n                                                    example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                                  number:\n                                                    type: string\n                                                    description: Phone number associated with phoneNumberId\n                                                    example: '+19881234567'\n                                                  name:\n                                                    type: string\n                                                    description: Configured name of the phone number. Not present if no name is configured.\n                                                    example: Sales Phone Number\n                                                  contact:\n                                                    type: object\n                                                    description: Contact object associated with the participant in a call.\n                                                    required:\n                                                      - id\n                                                    properties:\n                                                      id:\n                                                        description: |\n                                                          Identifier of the contact associated to the participant. The contact identifier is unique across the organization.\n                                                        type: string\n                                                        format: uuid\n                                                        example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                                  callProvider:\n                                                    type: string\n                                                    description: |\n                                                      The call provider for the phone number\n\n                                                      The values listed below only represent the current possibilities as of writing.\n                                                      The addition of new possible values may occur at any time without prior notice.\n\n                                                      `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                                      `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                                       customer provides its own SIP peering from an external provider.\n\n                                                      `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                                    enum:\n                                                      - PSTN\n                                                      - BYOC\n                                                      - WHATSAPP\n                                                    example: PSTN\n                                              - title: LINE\n                                                description: Information about a line\n                                                required:\n                                                  - value\n                                                  - lineId\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: |\n                                                      Type of the participant.\n\n                                                      `LINE` indicates the participant is a line in the organization - could be an agent.\n                                                    example: LINE\n                                                  lineId:\n                                                    type: string\n                                                    description: Line identifier\n                                                    example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                                  userId:\n                                                    type: string\n                                                    description: |\n                                                      The user identifier associated with the line via the device at the time of the conversation.\n\n                                                      This attribute is exempted from the object if the participant is a standalone device.\n                                                      A standalone device is defined as a device that holds the credentials for connecting\n                                                      to GoTo's platform. It is not associated to a specific user.\n                                                    example: f55cb8e5-7fee-41fa-9f73-33e98066e077\n                                                  userKey:\n                                                    type: string\n                                                    description: |\n                                                      The user key associated with the line via the device at the time of the conversation.\n\n                                                      This attribute is exempted from the object if the participant is a standalone device.\n                                                      A standalone device is defined as a device that holds the credentials for connecting\n                                                      to GoTo's platform.\n                                                    example: '2930718022414574861'\n                                              - title: VIRTUAL_PARTICIPANT\n                                                description: Information about a virtual participant\n                                                required:\n                                                  - value\n                                                  - virtualParticipantId\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: |\n                                                      Type of the participant.\n\n                                                      `VIRTUAL_PARTICIPANT` indicates the participant is a virtual participant.\n                                                    example: VIRTUAL_PARTICIPANT\n                                                  virtualParticipantId:\n                                                    type: string\n                                                    description: Unique identifier of the virtual participant in the system\n                                                    example: 7e5fb305-5ec7-47c4-bf3b-4ee578264314\n                                    aiAnalysis:\n                                      type: object\n                                      description: Analysis of the call by the AI engine. Only available with Advanced reporting.\n                                      required:\n                                        - sentiment\n                                        - topics\n                                        - summary\n                                        - flags\n                                      properties:\n                                        sentiment:\n                                          type: string\n                                          description: |\n                                            Sentiment of the call.\n                                            The values listed below only represent the current possibilities as of writing.\n\n                                            - `UNAVAILABLE` indicates the system was unable to perform sentiment analysis.\n                                            - `POSITIVE` indicates that the sentiment of the call is positive.\n                                            - `NEGATIVE` indicates that the sentiment of the call is negative.\n                                            - `NEUTRAL` indicates that the sentiment of the call is neutral.\n                                          example: POSITIVE\n                                        topics:\n                                          type: array\n                                          description: Topics of the call detected by the AI engine. Can be an empty array if detection could not be performed.\n                                          items:\n                                            type: string\n                                          example:\n                                            - billing issues\n                                            - wifi setup\n                                        summary:\n                                          type: string\n                                          description: Summary of the call detected by the AI engine. Can be an empty string if summarization could not be performed.\n                                          example: Customer called to report a billing issue and was transferred to the billing department for resolution.\n                                        editedBy:\n                                          type: object\n                                          description: Information about the user who edited the AI analysis summary. If not provided, the AI analysis was not edited.\n                                          properties:\n                                            userId:\n                                              type: string\n                                              description: Identifier of the user who edited the AI analysis.\n                                              example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                            userKey:\n                                              type: string\n                                              description: Key of the user who edited the AI analysis.\n                                              example: '2930718022414574861'\n                                        flags:\n                                          type: array\n                                          description: |\n                                            Flags raised on this call by the AI engine. Flags are keywords or semantic context that a supervisor has set an alert for on inbound calls.\n                                          items:\n                                            type: string\n                                          example:\n                                            - billing issues\n                                            - items held at customs\n                                    actions:\n                                      description: List of actions executed by systems not part of the voice platform.\n                                      type: array\n                                      items:\n                                        type: object\n                                        description: An action taken that is not part of the call states\n                                        required:\n                                          - timestamp\n                                          - type\n                                        properties:\n                                          timestamp:\n                                            type: string\n                                            description: The timestamp of when the action was executed.\n                                            format: date-time\n                                            example: '2022-04-26T18:14:50.147Z'\n                                          type:\n                                            description: Detailed information about the action executed\n                                            anyOf:\n                                              - type: object\n                                                title: KNOWLEDGE_SEARCH\n                                                description: A search done by the AI receptionist within the customer's knowledge base.\n                                                required:\n                                                  - value\n                                                  - virtualParticipantId\n                                                  - query\n                                                  - items\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    example: KNOWLEDGE_SEARCH\n                                                    description: Action type discriminant\n                                                  virtualParticipantId:\n                                                    type: string\n                                                    description: ID of the virtual participant (a.k.a. AI receptionist)\n                                                    example: e17957a3-c95e-423a-9af9-3179f0386bb2\n                                                  query:\n                                                    type: string\n                                                    description: Search query executed by the AI receptionist.\n                                                    example: How to troubleshoot a car that won't start\n                                                  items:\n                                                    type: array\n                                                    description: Articles found by the search query\n                                                    items:\n                                                      type: object\n                                                      description: An item found by a search query.\n                                                      required:\n                                                        - article\n                                                        - collection\n                                                      properties:\n                                                        article:\n                                                          type: object\n                                                          description: An article found by a search query.\n                                                          required:\n                                                            - id\n                                                            - name\n                                                          properties:\n                                                            id:\n                                                              type: integer\n                                                              format: int64\n                                                              description: ID of the article returned by the search.\n                                                              example: 1985\n                                                            name:\n                                                              type: string\n                                                              description: Title of the article returned by the search.\n                                                              example: Common issues related to ignition\n                                                        collection:\n                                                          type: object\n                                                          description: A container for articles in a knowledge base\n                                                          required:\n                                                            - id\n                                                            - name\n                                                          properties:\n                                                            id:\n                                                              type: integer\n                                                              format: int64\n                                                              description: ID of the knowledge base collection an article is part of.\n                                                              example: 1057578\n                                                            name:\n                                                              type: string\n                                                              description: Name of the knowledge base collection an article is part of.\n                                                              example: Customer care\n                                              - type: object\n                                                title: INFO_CAPTURE\n                                                description: A piece of information captured by the AI receptionist during an interaction.\n                                                required:\n                                                  - value\n                                                  - virtualParticipantId\n                                                  - form\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: Action type discriminant\n                                                    example: INFO_CAPTURE\n                                                  virtualParticipantId:\n                                                    type: string\n                                                    description: ID of the virtual participant (a.k.a. AI receptionist)\n                                                    example: e17957a3-c95e-423a-9af9-3179f0386bb2\n                                                  form:\n                                                    type: object\n                                                    description: A form captured by the AI receptionist during an interaction.\n                                                    required:\n                                                      - id\n                                                      - name\n                                                    properties:\n                                                      id:\n                                                        type: string\n                                                        description: ID of the info capture form filled by the AI receptionist.\n                                                        example: 16f9f25d-d005-4d8a-a4e7-44a9ac8963ee\n                                                      name:\n                                                        type: string\n                                                        description: Name of the info capture form filled by the AI receptionist.\n                                                        example: Registration for a test drive\n                                              - type: object\n                                                title: CSAT_SCORE\n                                                description: Result of a post-call CSAT survey where the caller leaves a satisfaction score from 1 to 5.\n                                                required:\n                                                  - value\n                                                  - result\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: Action type discriminant\n                                                    example: CSAT_SCORE\n                                                  result:\n                                                    type: string\n                                                    enum:\n                                                      - ANSWERED\n                                                      - NOT_ANSWERED\n                                                      - INVALID\n                                                      - ERROR\n                                                    description: |\n                                                      The CSAT score survey response status:\n\n                                                      - `ANSWERED`: Caller responded to CSAT survey and provided a valid score.\n                                                      - `NOT_ANSWERED`: Caller did not respond to CSAT survey.\n                                                      - `INVALID`: Caller did not provide a valid score within the allowed retries.\n                                                      - `ERROR`: An unspecified system error happened during the CSAT survey process.\n                                                  score:\n                                                    type: integer\n                                                    description: |\n                                                      The numeric CSAT score (1 to 5) provided by the caller when `result` is `ANSWERED`.\n                                                      This field is absent for any other result.\n                                                    minimum: 1\n                                                    maximum: 5\n                                              - type: object\n                                                title: CSAT_OPEN_FEEDBACK\n                                                description: Result of a post-call CSAT survey where the caller voiced its feedback.\n                                                required:\n                                                  - value\n                                                  - result\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: Action type discriminant\n                                                    example: CSAT_OPEN_FEEDBACK\n                                                  result:\n                                                    type: string\n                                                    enum:\n                                                      - ANSWERED\n                                                      - TRANSCRIPT_UNAVAILABLE\n                                                      - NOT_ANSWERED\n                                                      - ERROR\n                                                    description: |\n                                                      The CSAT open feedback survey response status:\n\n                                                      - `ANSWERED`: Caller answered open feedback question and provided some spoken feedback.\n                                                         The fields `transcript`, `startTime` and `endTime` will be provided.\n                                                      - `TRANSCRIPT_UNAVAILABLE`: Transcript of the spoken feedback is unavailable.\n                                                      - `NOT_ANSWERED`: Caller did not provide answer to open feedback question.\n                                                      - `ERROR`: An unspecified system error happened during the CSAT survey process.\n                                                  transcript:\n                                                    type: string\n                                                    minLength: 1\n                                                    maxLength: 2000\n                                                    description: The transcript of the feedback spoken by the caller (for result = `ANSWERED` only).\n                                                  startTime:\n                                                    type: string\n                                                    format: date-time\n                                                    description: ISO 8601 timestamp when the feedback of the caller starts (for result = `ANSWERED` only).\n                                                  endTime:\n                                                    type: string\n                                                    format: date-time\n                                                    description: |\n                                                      ISO 8601 timestamp when the feedback of the caller ends (for result = `ANSWERED` only).\n                                                      Feedback ends after a 1 minute timeout or when the caller hangs up.\n                                              - type: object\n                                                title: AIQM_EVALUATION\n                                                description: Result of a post-call AI Quality Management agent evaluation.\n                                                required:\n                                                  - value\n                                                  - evaluationId\n                                                  - userId\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: Action type discriminant\n                                                    example: AIQM_EVALUATION\n                                                  evaluationId:\n                                                    type: string\n                                                    format: uuid\n                                                    description: AI QM Evaluation identifier to which the action is related.\n                                                  userId:\n                                                    type: string\n                                                    format: uuid\n                                                    description: Agent user identifier to which the action is related.\n                                                  score:\n                                                    type: number\n                                                    minimum: 0\n                                                    maximum: 100\n                                                    description: |\n                                                      The AI QM score as a percentage (0 to 100) of the evaluation. Absent when all question results are \"Not Applicable\".\n                                              - type: object\n                                                title: AI_INTERACTION_INSIGHT\n                                                description: Result of a post interaction AI insight.\n                                                required:\n                                                  - value\n                                                  - transcriptId\n                                                  - insights\n                                                properties:\n                                                  value:\n                                                    type: string\n                                                    description: Action type discriminant\n                                                    example: AI_INTERACTION_INSIGHT\n                                                  insights:\n                                                    type: object\n                                                    properties:\n                                                      profanity:\n                                                        type: boolean\n                                                        description: Indicate if profanity use was detected\n                                                      appointmentOpportunity:\n                                                        type: boolean\n                                                        description: Indicate if an opportunity for an appointment was detected\n                                                      appointmentSet:\n                                                        type: boolean\n                                                        description: Indicate if setting up an appointment was detected\n                                                      salePitched:\n                                                        type: boolean\n                                                        description: Indicate if a sale pitch was detected\n                                                      saleClosed:\n                                                        type: boolean\n                                                        description: Indicate if closing a sale was detected\n                                                  transcriptId:\n                                                    type: string\n                                                    format: uuid\n                                                    description: Id of the analyzed transcript\n                                - title: LEGACY\n                                  description: |\n                                    Legacy abridged report of a conversation space from creation to end sent as soon as a report's call events are available. **Should only be used to support existing integrations.**\n                                  type: object\n                                  required:\n                                    - conversationSpaceId\n                                    - callCreated\n                                    - callEnded\n                                    - accountKey\n                                    - direction\n                                    - participants\n                                  properties:\n                                    conversationSpaceId:\n                                      type: string\n                                      description: Identifier of the conversation space\n                                      format: uuid\n                                      example: 43643517-5c98-4102-942f-882d86a4a0fa\n                                    callCreated:\n                                      description: The timestamp when the call was created.\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:14:50.147Z'\n                                    callEnded:\n                                      description: The timestamp when the call was ended.\n                                      type: string\n                                      format: date-time\n                                      example: '2022-04-26T18:15:50.147Z'\n                                    callInitiator:\n                                      type: string\n                                      example: DIRECT\n                                      description: |\n                                        Initiator of the call. Allows categorizing a call by how it was triggered. This field is optional and will only be displayed once its value has been determined.\n\n                                        The values listed below only represent the current possibilities as of writing.\n                                        The addition of new possible values may occur at any time without prior notice.\n\n                                        `CLICK_TO_CALL` indicates that the call started from the [`/calls` API](https://developer.goto.com/GoToConnect#tag/Calls-Overview)\n\n                                        `QUEUE_CALLBACK` indicates that the call was triggered through [a callback request](https://support.goto.com/connect/help/how-do-i-set-up-auto-queue-callback).\n\n                                        `CAMPAIGN` indicates that the call has been started from a campaign\n\n                                        `DIRECT` indicates that the call was triggered directly by a user, such as by calling from the GoTo app or a physical desk phone\n                                    accountKey:\n                                      type: string\n                                      description: Account key associated with the conversation space.\n                                      example: '2930718022414574861'\n                                    direction:\n                                      type: string\n                                      description: |\n                                        Direction of the call with respect to the GoTo Connect platform. `OUTBOUND` if the call started from the GoTo Connect platform,\n                                        `INBOUND` otherwise.\n                                      enum:\n                                        - INBOUND\n                                        - OUTBOUND\n                                      example: INBOUND\n                                    participants:\n                                      description: |\n                                        Participants of the conversation, in order of integration to the conversation space.\n                                        Here, the recordings will be an agglomeration of all recordings for each participant for the entire conversation.\n                                        When looking for the most valuable recording from a customer's point of view, it would be the first recording, attached to the first participant, if that participant is of `PHONE_NUMBER` type.\n                                      type: array\n                                      items:\n                                        type: object\n                                        description: Participant of a call\n                                        required:\n                                          - id\n                                          - legId\n                                          - originator\n                                          - type\n                                        properties:\n                                          id:\n                                            type: string\n                                            description: Identifier of the participant\n                                            example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                          legId:\n                                            type: string\n                                            description: Identifier of leg of the participant\n                                            example: fefad6f0-2456-4b9a-a712-d7abcb625fdb\n                                          originator:\n                                            type: string\n                                            description: Identifier of the participant whose action created this participant. If it is the same as the `id`, it means that this is the first participant in this conversation. It can relate to a participant that is no longer active in this conversation, for example in case of a transfer.\n                                            example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                          type:\n                                            description: |\n                                              Type information.\n\n                                              The values listed below only represent the current possibilities as of writing.\n                                              The addition of new possible values may occur at any time without prior notice.\n                                            oneOf:\n                                              - title: LINE\n                                                allOf:\n                                                  - type: object\n                                                    description: Type information\n                                                    required:\n                                                      - value\n                                                    properties:\n                                                      value:\n                                                        type: string\n                                                        description: |\n                                                          Type of the participant.\n\n                                                          The values listed below only represent the current possibilities as of writing.\n                                                          The addition of new possible values may occur at any time without prior notice.\n\n                                                          `LINE` indicates the participant is a line in the organization - could be an agent.\n\n                                                          `PHONE_NUMBER` indicates the participant is a phone number.\n\n                                                          `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct\n                                                          Inward Dialing (DID) information provided.\n                                                        example: PHONE_NUMBER\n                                                    example:\n                                                      value: PHONE_NUMBER\n                                                      phoneNumberId: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                                      number: '+19881234567'\n                                                      callProvider: PSTN\n                                                      caller:\n                                                        name: Alice\n                                                        number: '+12345678945'\n                                                      device:\n                                                        id: c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\n                                                        model: aastra.3l1\n                                                        user:\n                                                          id: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                                description: Information about a line\n                                                required:\n                                                  - lineId\n                                                  - extensionNumber\n                                                  - name\n                                                properties:\n                                                  lineId:\n                                                    type: string\n                                                    description: Line identifier\n                                                    example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                                                  device:\n                                                    type: object\n                                                    description: |\n                                                      Information on the device used by the participant\n                                                    required:\n                                                      - id\n                                                    properties:\n                                                      id:\n                                                        type: string\n                                                        description: |\n                                                          The id of the device used by the participant.\n                                                      model:\n                                                        type: string\n                                                        description: |\n                                                          The model id of the device used by the participant.\n\n                                                          Possible values are `goto.clients`, `webcalls.integration` or the model of the hardware.\n                                                      user:\n                                                        type: object\n                                                        description: |\n                                                          Information about the user authorized on the device.\n                                                        required:\n                                                          - id\n                                                        properties:\n                                                          id:\n                                                            type: string\n                                                            description: |\n                                                              The ID of the user authorized on the device.\n                                                            example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                                  deviceId:\n                                                    type: string\n                                                    description: Device identifier. This field is *deprecated* and will be removed in the future. Please use *`device`* instead\n                                                    example: 186e4682-e88b-48a9-973d-6870e0b10a8f\n                                                    deprecated: true\n                                                  extensionNumber:\n                                                    type: string\n                                                    description: Extension number\n                                                    example: '1000'\n                                                  name:\n                                                    type: string\n                                                    description: Name of the participant\n                                                    example: Alice\n                                              - title: PHONE_NUMBER\n                                                allOf:\n                                                  - type: object\n                                                    description: Type information\n                                                    required:\n                                                      - value\n                                                    properties:\n                                                      value:\n                                                        type: string\n                                                        description: |\n                                                          Type of the participant.\n\n                                                          The values listed below only represent the current possibilities as of writing.\n                                                          The addition of new possible values may occur at any time without prior notice.\n\n                                                          `LINE` indicates the participant is a line in the organization - could be an agent.\n\n                                                          `PHONE_NUMBER` indicates the participant is a phone number.\n\n                                                          `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct\n                                                          Inward Dialing (DID) information provided.\n                                                        example: PHONE_NUMBER\n                                                    example:\n                                                      value: PHONE_NUMBER\n                                                      phoneNumberId: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                                      number: '+19881234567'\n                                                      callProvider: PSTN\n                                                      caller:\n                                                        name: Alice\n                                                        number: '+12345678945'\n                                                      device:\n                                                        id: c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\n                                                        model: aastra.3l1\n                                                        user:\n                                                          id: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                                description: Information about a phone number (DID)\n                                                required:\n                                                  - phoneNumberId\n                                                  - number\n                                                properties:\n                                                  phoneNumberId:\n                                                    type: string\n                                                    description: Unique identifier of the phone number in the system\n                                                    example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                                  name:\n                                                    type: string\n                                                    description: |\n                                                      * BETA Feature *\n                                                      Name associated to the phone number. If it is not defined in the administration portal, the name will match the number.\n                                                    example: Alice Phone 1\n                                                  number:\n                                                    type: string\n                                                    description: Phone number\n                                                    example: '+19881234567'\n                                                  callProvider:\n                                                    type: string\n                                                    description: |\n                                                      The call provider for the phone number\n\n                                                      The values listed below only represent the current possibilities as of writing.\n                                                      The addition of new possible values may occur at any time without prior notice.\n\n                                                      `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                                      `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                                       customer provides its own SIP peering from an external provider.\n\n                                                      `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                                    enum:\n                                                      - PSTN\n                                                      - BYOC\n                                                      - WHATSAPP\n                                                    example: PSTN\n                                                  caller:\n                                                    type: object\n                                                    description: Object representing an external phone number and name\n                                                    required:\n                                                      - name\n                                                      - number\n                                                    properties:\n                                                      name:\n                                                        type: string\n                                                        description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                                        example: Alice\n                                                      number:\n                                                        type: string\n                                                        description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                                        example: '+12345678945'\n                                                  callee:\n                                                    type: object\n                                                    description: Object representing an external phone number and name\n                                                    required:\n                                                      - name\n                                                      - number\n                                                    properties:\n                                                      name:\n                                                        type: string\n                                                        description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                                        example: Alice\n                                                      number:\n                                                        type: string\n                                                        description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                                        example: '+12345678945'\n                                                  contact:\n                                                    type: object\n                                                    description: Contact object associated with the participant in a call.\n                                                    properties:\n                                                      id:\n                                                        description: Identifier of the contact associated to the participant. The contact identifier is unique across the organization.\n                                                        type: string\n                                                        example: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                                      notAddedReason:\n                                                        type: string\n                                                        description: |\n                                                          Reason why a contact was not added to the participant.\n\n                                                          `MULTIPLE_CONTACTS` indicates that multiple contacts matched the phone number.\n\n                                                          `NO_CONTACT` indicates that no contact was found for the phone number.\n                                                        enum:\n                                                          - MULTIPLE_CONTACTS\n                                                          - NO_CONTACT\n                                                        example: NO_CONTACT\n                                              - title: PHONE_NUMBER_UNKNOWN\n                                                allOf:\n                                                  - type: object\n                                                    description: Type information\n                                                    required:\n                                                      - value\n                                                    properties:\n                                                      value:\n                                                        type: string\n                                                        description: |\n                                                          Type of the participant.\n\n                                                          The values listed below only represent the current possibilities as of writing.\n                                                          The addition of new possible values may occur at any time without prior notice.\n\n                                                          `LINE` indicates the participant is a line in the organization - could be an agent.\n\n                                                          `PHONE_NUMBER` indicates the participant is a phone number.\n\n                                                          `PHONE_NUMBER_UNKNOWN` indicates the participant is a phone number without Direct\n                                                          Inward Dialing (DID) information provided.\n                                                        example: PHONE_NUMBER\n                                                    example:\n                                                      value: PHONE_NUMBER\n                                                      phoneNumberId: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                                                      number: '+19881234567'\n                                                      callProvider: PSTN\n                                                      caller:\n                                                        name: Alice\n                                                        number: '+12345678945'\n                                                      device:\n                                                        id: c1f22a30-cdc6-47b3-b4bd-9fdf86591d7f\n                                                        model: aastra.3l1\n                                                        user:\n                                                          id: c2391570-8f23-4a22-86d5-d6ba278e7a33\n                                                properties:\n                                                  callProvider:\n                                                    type: string\n                                                    description: |\n                                                      The call provider for the phone number\n\n                                                      The values listed below only represent the current possibilities as of writing.\n                                                      The addition of new possible values may occur at any time without prior notice.\n\n                                                      `PSTN` indicates that the call provider is the regular public switched telephone network.\n\n                                                      `BYOC` indicates that the call provider is from Bring Your Own Carrier setup where the\n                                                       customer provides its own SIP peering from an external provider.\n\n                                                      `WHATSAPP` indicates that the call came from the Whatsapp application.\n                                                    enum:\n                                                      - PSTN\n                                                      - BYOC\n                                                      - WHATSAPP\n                                                    example: PSTN\n                                                  callee:\n                                                    type: object\n                                                    description: Object representing an external phone number and name\n                                                    required:\n                                                      - name\n                                                      - number\n                                                    properties:\n                                                      name:\n                                                        type: string\n                                                        description: Name associated to the number. If the number exists in one of the organization's contacts, then the name of that contact is returned. Otherwise the Caller ID name is used. `\"unknown\"` if no name can be provided.\n                                                        example: Alice\n                                                      number:\n                                                        type: string\n                                                        description: 'e164 format number or free-form text if anonymous call (ex: `''Unavailable''`)'\n                                                        example: '+12345678945'\n                                          recordings:\n                                            type: array\n                                            items:\n                                              type: object\n                                              description: Recording of a call\n                                              required:\n                                                - id\n                                                - startTimestamp\n                                                - transcriptEnabled\n                                              properties:\n                                                id:\n                                                  type: string\n                                                  description: Identifier of the call recording\n                                                  example: '65785'\n                                                startTimestamp:\n                                                  description: The timestamp of the start of the recording\n                                                  type: string\n                                                  format: date-time\n                                                  example: '2022-04-26T18:14:50.147Z'\n                                                pauses:\n                                                  description: Timestamps of the start and ending of pauses in the recording\n                                                  type: array\n                                                  items:\n                                                    type: object\n                                                    properties:\n                                                      pauseTimestamp:\n                                                        description: Timestamp of the start of the pause\n                                                        type: string\n                                                        format: date-time\n                                                        example: '2022-04-26T18:14:50.147Z'\n                                                      unpauseTimestamp:\n                                                        description: Timestamp of the end of the pause\n                                                        type: string\n                                                        format: date-time\n                                                        example: '2022-04-26T18:14:50.147Z'\n                                                transcriptEnabled:\n                                                  description: Indicates if the transcripting was enabled for this recording.\n                                                  type: boolean\n                                                  example: true\n              responses:\n                '204':\n                  description: Successful.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/call-events-report/v1/subscriptions',\n              data: {\n                accountKeys: ['2930718022414574861'],\n                channelId: '1132cf5d-b186-42c9-a1bf-b84d1bfe1111',\n                eventTypes: ['REPORT_SUMMARY']\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/call-events-report/v1/subscriptions \\\n              --header 'content-type: application/json' \\\n              --data '{\"accountKeys\":[\"2930718022414574861\"],\"channelId\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\",\"eventTypes\":[\"REPORT_SUMMARY\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"accountKeys\\\":[\\\"2930718022414574861\\\"],\\\"channelId\\\":\\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\\"eventTypes\\\":[\\\"REPORT_SUMMARY\\\"]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/call-events-report/v1/subscriptions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"accountKeys\":[\"2930718022414574861\"],\"channelId\":\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\",\"eventTypes\":[\"REPORT_SUMMARY\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/call-events-report/v1/subscriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-events-report/v1/subscriptions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"accountKeys\\\":[\\\"2930718022414574861\\\"],\\\"channelId\\\":\\\"1132cf5d-b186-42c9-a1bf-b84d1bfe1111\\\",\\\"eventTypes\\\":[\\\"REPORT_SUMMARY\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      summary: Query subscriptions on the given channel\n      description: |\n\n        Retrieves the subscriptions on the given channel.\n\n        ### Authentication Scopes\n\n        `call-events.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n\n        The caller of this endpoint should be the owner of the channel provided.\n      operationId: getCallEventsReportSubscriptions\n      tags:\n        - Call Events Report Subscriptions\n      parameters:\n        - name: channelId\n          in: query\n          description: Notification channel identifier obtained through the [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\n          required: true\n          schema:\n            type: string\n            example: 1132cf5d-b186-42c9-a1bf-b84d1bfe1111\n        - name: eventType\n          in: query\n          description: |\n            The types of events that the caller wants to be notified about.\n            If not provided, the caller will only be notified for `LEGACY` events to preserve backward compatibility.\n\n            - `REPORT_SUMMARY` [report summary notification event format](#/components/schemas/CallEventsReportSummariesResponseItem).\n              Notifications are sent when all elements of a report summary are available, so delays of up to 5 minutes are possible depending on the features and add-ons activated on the account.\n\n              Extra fields that can induce delays include:\n                - [AI Analysis](#/components/schemas/AiAnalysis)\n            - `REPORT_SUMMARY_REVISION` [report summary revision notification event format](#/components/schemas/CallEventsReportSummaryRevision).\n              Notifications are sent when a conversation ends and every time auxiliary content is made available for that conversation (as a new revision of the full summary payload).\n              Auxiliary content leading to subsequent notifications can include:\n                - Call recordings being processed and uploaded.\n                - Call transcripts being processed and uploaded.\n                - [AI Analysis](#/components/schemas/AiAnalysis).\n            - `LEGACY` legacy notification event format.\n              Notifications are sent as soon as a report's call events are available, and have no guarantee to include all call events report elements.\n              **Should only be used to support existing integrations.**\n          required: false\n          schema:\n            type: string\n            enum:\n              - REPORT_SUMMARY\n              - REPORT_SUMMARY_REVISION\n              - LEGACY\n            example: REPORT_SUMMARY\n      responses:\n        '200':\n          description: The subscriptions on the given Notification Channel\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Subscription information\n                properties:\n                  accountKeys:\n                    description: Account keys, for which reports are received on the Notification Channel.\n                    type: array\n                    items:\n                      type: string\n                      example: '2930718022414574861'\n                  userKeys:\n                    description: User keys, for which reports are received on the Notification Channel.\n                    type: array\n                    items:\n                      type: string\n                      example: '2830558022414876543'\n                  lineIds:\n                    description: Line identifiers, for which reports are received on the Notification Channel.\n                    type: array\n                    items:\n                      type: string\n                      example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                  phoneNumberIds:\n                    description: Phone number identifiers, for which reports are received on the Notification Channel.\n                    type: array\n                    items:\n                      type: string\n                      example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n                example:\n                  accountKeys:\n                    - '2930718022414574861'\n                  userKeys:\n                    - '2830558022414876543'\n                  lineIds:\n                    - 99be59bc-edfc-4c62-a73f-06087ec2fe00\n                  phoneNumberIds:\n                    - afa67cca-c089-4ac6-a791-95d87cdea7dc\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-events-report/v1/subscriptions',\n              params: {channelId: '1132cf5d-b186-42c9-a1bf-b84d1bfe1111', eventType: 'REPORT_SUMMARY'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/call-events-report/v1/subscriptions?channelId=1132cf5d-b186-42c9-a1bf-b84d1bfe1111&eventType=REPORT_SUMMARY'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-events-report/v1/subscriptions?channelId=1132cf5d-b186-42c9-a1bf-b84d1bfe1111&eventType=REPORT_SUMMARY\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-events-report/v1/subscriptions');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'channelId' => '1132cf5d-b186-42c9-a1bf-b84d1bfe1111',\n              'eventType' => 'REPORT_SUMMARY'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-events-report/v1/subscriptions?channelId=1132cf5d-b186-42c9-a1bf-b84d1bfe1111&eventType=REPORT_SUMMARY\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      summary: Delete subscriptions on the given channel\n      description: |\n\n        Deletes the subscriptions on the given channel.\n\n        **Important:** when none of the `accountKey`/`userKey`/`lineId`/`phoneNumberId` is provided then all of the subscriptions\n        associated to call events Reports for the given channel will be removed.\n\n        ### Authentication Scopes\n\n        `call-events.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n\n        The caller of this endpoint should be the owner of the channel provided.\n      operationId: deleteCallEventsReportSubscriptions\n      tags:\n        - Call Events Report Subscriptions\n      parameters:\n        - name: channelId\n          in: query\n          description: Notification channel identifier obtained through the [Notification API](https://developer.goto.com/GoToConnect/#tag/Notification-Channel-Overview).\n          required: true\n          schema:\n            type: string\n            example: 1132cf5d-b186-42c9-a1bf-b84d1bfe1111\n        - name: accountKey\n          in: query\n          description: The caller must use a token that have permission to access the accounts listed.\n          required: false\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n              example: '2930718022414574861'\n        - name: userKey\n          in: query\n          description: |\n\n            The caller must use a token that has permission to access the users listed.\n          required: false\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n              example: '2930718022414574861'\n        - name: phoneNumberId\n          in: query\n          description: |\n\n            The caller must use a token that has permission to access the phone numbers listed.\n          required: false\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n              example: afa67cca-c089-4ac6-a791-95d87cdea7dc\n        - name: lineId\n          in: query\n          description: |\n\n            The caller must use a token that has permission to access the lines listed.\n          required: false\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n              example: 99be59bc-edfc-4c62-a73f-06087ec2fe00\n        - name: eventType\n          in: query\n          description: |\n            The types of events that the caller wants to be notified about.\n            If not provided, the caller will only be notified for `LEGACY` events to preserve backward compatibility.\n\n            - `REPORT_SUMMARY` [report summary notification event format](#/components/schemas/CallEventsReportSummariesResponseItem).\n              Notifications are sent when all elements of a report summary are available, so delays of up to 5 minutes are possible depending on the features and add-ons activated on the account.\n\n              Extra fields that can induce delays include:\n                - [AI Analysis](#/components/schemas/AiAnalysis)\n            - `REPORT_SUMMARY_REVISION` [report summary revision notification event format](#/components/schemas/CallEventsReportSummaryRevision).\n              Notifications are sent when a conversation ends and every time auxiliary content is made available for that conversation (as a new revision of the full summary payload).\n              Auxiliary content leading to subsequent notifications can include:\n                - Call recordings being processed and uploaded.\n                - Call transcripts being processed and uploaded.\n                - [AI Analysis](#/components/schemas/AiAnalysis).\n            - `LEGACY` legacy notification event format.\n              Notifications are sent as soon as a report's call events are available, and have no guarantee to include all call events report elements.\n              **Should only be used to support existing integrations.**\n          required: false\n          schema:\n            type: string\n            enum:\n              - REPORT_SUMMARY\n              - REPORT_SUMMARY_REVISION\n              - LEGACY\n            example: REPORT_SUMMARY\n      responses:\n        '204':\n          description: The subscriptions were successfully removed on the given Notification Channel\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/call-events-report/v1/subscriptions',\n              params: {\n                channelId: '1132cf5d-b186-42c9-a1bf-b84d1bfe1111',\n                accountKey: 'SOME_ARRAY_VALUE',\n                userKey: 'SOME_ARRAY_VALUE',\n                phoneNumberId: 'SOME_ARRAY_VALUE',\n                lineId: 'SOME_ARRAY_VALUE',\n                eventType: 'REPORT_SUMMARY'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url 'https://api.goto.com/call-events-report/v1/subscriptions?channelId=1132cf5d-b186-42c9-a1bf-b84d1bfe1111&accountKey=SOME_ARRAY_VALUE&userKey=SOME_ARRAY_VALUE&phoneNumberId=SOME_ARRAY_VALUE&lineId=SOME_ARRAY_VALUE&eventType=REPORT_SUMMARY'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/call-events-report/v1/subscriptions?channelId=1132cf5d-b186-42c9-a1bf-b84d1bfe1111&accountKey=SOME_ARRAY_VALUE&userKey=SOME_ARRAY_VALUE&phoneNumberId=SOME_ARRAY_VALUE&lineId=SOME_ARRAY_VALUE&eventType=REPORT_SUMMARY\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-events-report/v1/subscriptions');\n            $request->setRequestMethod('DELETE');\n            $request->setQuery(new http\\QueryString([\n              'channelId' => '1132cf5d-b186-42c9-a1bf-b84d1bfe1111',\n              'accountKey' => 'SOME_ARRAY_VALUE',\n              'userKey' => 'SOME_ARRAY_VALUE',\n              'phoneNumberId' => 'SOME_ARRAY_VALUE',\n              'lineId' => 'SOME_ARRAY_VALUE',\n              'eventType' => 'REPORT_SUMMARY'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-events-report/v1/subscriptions?channelId=1132cf5d-b186-42c9-a1bf-b84d1bfe1111&accountKey=SOME_ARRAY_VALUE&userKey=SOME_ARRAY_VALUE&phoneNumberId=SOME_ARRAY_VALUE&lineId=SOME_ARRAY_VALUE&eventType=REPORT_SUMMARY\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-parking/v1/parked-calls:\n    get:\n      summary: |\n        Get parked calls for an organization\n      description: |\n        Retrieve the list of parked calls for an organization. If the user represented by the access token only belongs to a single organization, this organization will be taken. If the user represented by the access token belongs to more than one organization, you MUST pass an organizationId. <br/>\n        If the `scope` query param is provided, the call parked list will be filtered to only return either the `PERSONAL` spot or the `ORGANIZATION` spot.\n        ### Authentication Scopes\n        `call-parking.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: scope\n          in: query\n          description: Scope to filter the call parking.\n          required: false\n          schema:\n            type: string\n            enum:\n              - ORGANIZATION\n              - PERSONAL\n            example: PERSONAL\n            default: ORGANIZATION\n        - name: organizationId\n          in: query\n          description: ID of the organization.\n          required: true\n          schema:\n            type: string\n      operationId: getParkedCalls\n      tags:\n        - Parked Calls\n      responses:\n        '200':\n          description: Array of parked calls\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Contains a list of ParkedCall sorted in descending order of time spent in the parking spot.\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      description: A parked call.\n                      properties:\n                        parkingSpot:\n                          type: string\n                          description: Identifier for the parking spot\n                        callParked:\n                          type: object\n                          description: The callee name and number\n                          properties:\n                            name:\n                              type: string\n                              description: The contact name\n                            number:\n                              type: string\n                              description: The contact number\n                        callParkedBy:\n                          type: object\n                          description: The callee name and number\n                          properties:\n                            name:\n                              type: string\n                              description: The contact name\n                            number:\n                              type: string\n                              description: The contact number\n                        parkTime:\n                          type: string\n                          description: The ISO-8601 formatted timestamp in which the call was parked\n                          format: date-time\n                      required:\n                        - parkingSpot\n                        - callParked\n                        - callParkedBy\n                        - parkTime\n                      example:\n                        parkingSpot: '1'\n                        callParked:\n                          name: Alice\n                          number: '1000'\n                        callParkedBy:\n                          name: Bob\n                          number: '1001'\n                        parkTime: 2019-10-19T07:28:00.123Z\n        '400':\n          description: |\n            The request has one or more issues. The API returns a number of `errorCode` values in the response that provide additional details.\n            * BAD_REQUEST - The request is not valid.\n            * MANDATORY_ORGANIZATION_ID - organizationId must be set\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: fddsfj20hf2ihsusl\n                errorCode: BAD_REQUEST\n                message: Invalid Request.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-parking/v1/parked-calls',\n              params: {scope: 'PERSONAL', organizationId: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/call-parking/v1/parked-calls?scope=PERSONAL&organizationId=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-parking/v1/parked-calls?scope=PERSONAL&organizationId=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-parking/v1/parked-calls');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'scope' => 'PERSONAL',\n              'organizationId' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-parking/v1/parked-calls?scope=PERSONAL&organizationId=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-parking/v1/organizations/{organizationId}/permission:\n    get:\n      summary: |\n        Get the call parking permission of the current user\n      description: |\n        Retrieve the permission (FULL, PARTIAL or NONE) of the current user for a specific organization. The user is represented by the access token provided.\n\n        If the permission is FULL, the user has access to : <ol>\n          <li> the parking spot number </li>\n          <li> the number of the parked person (person waiting in the parking spot) </li>\n          <li> the name/caller ID of the parked person </li>\n          <li> the timestamp of the time when the call has been parked </li>\n          <li> the PARKED FOR value (who the call has been transferred to) </li>\n          <li> the PARKED BY value (who parked the call) </li>\n        </ol>\n\n        If the permission is PARTIAL, the user has access to : <ol>\n          <li> the parking spot number </li>\n          <li> the timestamp of the time when the call has been parked </li>\n        </ol>\n        NOTE: The user can always access the full information of the calls they parked, even if they have PARTIAL or NONE permissions <br/><br/>\n\n        ### Authentication Scopes\n        `call-parking.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: organizationId\n          in: path\n          description: The unique identifier of the Organization to subscribe to.\n          required: true\n          schema:\n            type: string\n            example: 5e8fe931-e62c-4631-aeba-540c74a29ddd\n      operationId: getPermission\n      tags:\n        - Parked Calls\n      responses:\n        '200':\n          description: FULL, PARTIAL or NONE permission\n          content:\n            application/json:\n              schema:\n                type: object\n                properties:\n                  permission:\n                    type: string\n                    description: Type of permission the user has to get the CallParking info.\n                    enum:\n                      - FULL\n                      - PARTIAL\n                      - NONE\n                required:\n                  - permission\n                example:\n                  permission: PARTIAL\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/call-parking/v1/organizations/%7BorganizationId%7D/permission'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/call-parking/v1/organizations/%7BorganizationId%7D/permission\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/call-parking/v1/organizations/%7BorganizationId%7D/permission\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-parking/v1/organizations/%7BorganizationId%7D/permission');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-parking/v1/organizations/%7BorganizationId%7D/permission\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-parking/v1/subscriptions:\n    post:\n      summary: |\n        Create a subscription for a given organization.\n      description: |\n        Create a subscription for the user defined in the authorization token. The subscription activates notifications towards the provided notification channel ID.<br/> <br/> If absent, the  default value for scopes is `[\"PERSONAL\", \"ORGANIZATION\"]`.<br/> <br/> The response body `scopes` may differ from the input `scopes`. This list will contain the intersection of requested and authorized scopes.<br /> <br/> For example, if PERSONAL and ORGANIZATION are requested:<br/> - If the user has FULL or PARTIAL permissions, the list contains ORGANIZATION and PERSONAL scopes.<br/> - If the user has NONE permission, the list contains PERSONAL scope only<br/>\n\n        ### Authentication Scopes\n        `call-parking.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n      operationId: createCallParkSubscription\n      tags:\n        - Call Parking Subscriptions\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Required details for creating a call parking subscription.\n              properties:\n                organizationId:\n                  description: The unique identifier of the Organization to subscribe to.\n                  type: string\n                  example: 5e8fe931-e62c-4631-aeba-540c74a29ddd\n                channelId:\n                  description: The notification channel's ID.\n                  type: string\n                  example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                scopes:\n                  type: array\n                  description: |\n                    Array of scopes requested\n                  items:\n                    description: |\n                      Scope of the events - \"ORGANIZATION\": user will receive all events of call parking related to the organization. - \"PERSONAL\": user will receive all events related to them.\n                    type: string\n                    enum:\n                      - ORGANIZATION\n                      - PERSONAL\n                    example: PERSONAL\n              required:\n                - organizationId\n                - channelId\n              example:\n                organizationId: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                channelId: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                scopes:\n                  - PERSONAL\n                  - ORGANIZATION\n        description: Data required to create a subscription to receive call parking events.\n        required: true\n      responses:\n        '201':\n          description: The successfully created subscription.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Single Subscription.\n                properties:\n                  id:\n                    type: string\n                    description: Unique identifier for the subscription. Provided by the server.\n                  organizationId:\n                    description: The unique identifier of the Organization to subscribe to.\n                    type: string\n                    example: 5e8fe931-e62c-4631-aeba-540c74a29ddd\n                  channelId:\n                    description: The notification channel's ID.\n                    type: string\n                    example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                  scopes:\n                    type: array\n                    description: |\n                      Array of scopes requested\n                    items:\n                      description: |\n                        Scope of the events - \"ORGANIZATION\": user will receive all events of call parking related to the organization. - \"PERSONAL\": user will receive all events related to them.\n                      type: string\n                      enum:\n                        - ORGANIZATION\n                        - PERSONAL\n                      example: PERSONAL\n                required:\n                  - id\n                  - organizationId\n                  - channelId\n                  - scopes\n                example:\n                  id: 7732cf5d-b186-42c9-a1bf-b84d1bfe2934\n                  organizationId: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                  channelId: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                  scopes:\n                    - PERSONAL\n                    - ORGANIZATION\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            The `organizationId` or `channelId` doesn't belong to this user and/or doesn't exist; or the user has insufficient/no permission.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '409':\n          description: |\n            If a subscription already exists for this given channelId, organizationId and user, defined by the authorization token, a 409 Conflict will be returned.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/call-parking/v1/subscriptions',\n              data: {\n                organizationId: 'cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76',\n                channelId: 'cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76',\n                scopes: ['PERSONAL', 'ORGANIZATION']\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/call-parking/v1/subscriptions \\\n              --header 'content-type: application/json' \\\n              --data '{\"organizationId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\"scopes\":[\"PERSONAL\",\"ORGANIZATION\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"organizationId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\\"scopes\\\":[\\\"PERSONAL\\\",\\\"ORGANIZATION\\\"]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/call-parking/v1/subscriptions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"organizationId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\"scopes\":[\"PERSONAL\",\"ORGANIZATION\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/call-parking/v1/subscriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-parking/v1/subscriptions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"organizationId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\\"scopes\\\":[\\\"PERSONAL\\\",\\\"ORGANIZATION\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /call-parking/v1/subscriptions/{subscriptionId}:\n    parameters:\n      - name: subscriptionId\n        in: path\n        description: The subscription's unique identifier.\n        required: true\n        schema:\n          type: string\n    delete:\n      summary: Delete a subscription\n      description: |\n        Delete a subscription for a desired organization where the user is defined in the authorization token.<br/>\n        ### Authentication Scopes\n        `call-parking.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n      operationId: deleteCallParkSubscription\n      tags:\n        - Call Parking Subscriptions\n      responses:\n        '204':\n          description: Successfully removed the subscription.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '404':\n          description: |\n            The provided `subscriptionId` doesn't exist or the subscription doesn't belong to the provided user, defined by either the authorization token.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/call-parking/v1/subscriptions/%7BsubscriptionId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/call-parking/v1/subscriptions/%7BsubscriptionId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/call-parking/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/call-parking/v1/subscriptions/%7BsubscriptionId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/call-parking/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /contact-center-analytics/v1/accounts/{accountKey}/queue-caller-details:\n    post:\n      summary: Get Queue Caller Details\n      operationId: getQueueCallerDetails\n      tags:\n        - Queue Caller Details\n      description: |\n        Retrieves detailed queue caller information within a given time range and organization.\n        Results can be filtered by specific call queue IDs and a time range defined by start and end times.\n        The start time (inclusive) and end time (exclusive) follow the ISO 8601 datetime format. Only the UTC time zone is accepted. \n        The start time must not be older than 13 months from the current date.\n\n        ### How pagination works\n\n        To start a query, first call this endpoint without a `pageMarker` and optionally set the\n        `pageSize` to the number of items you want per page (for example, `10`).\n        The presence of `nextPageMarker` in a response indicates that more results are available to\n        be fetched. To obtain further pages, send a new request with the `pageMarker` parameter set\n        to the value of `nextPageMarker`. Page markers remain available for ten minutes after the response is sent.\n      parameters:\n        - in: path\n          name: accountKey\n          description: The key of the account (organization). You can use the [Admin API](/admin#tag/Me) to find account keys.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        required: true\n        content:\n          application/json:\n            schema:\n              type: object\n              properties:\n                startTime:\n                  type: string\n                  format: date-time\n                  description: Start time of the query (inclusive, UTC)\n                  example: '2024-12-10T19:30:00Z'\n                endTime:\n                  type: string\n                  format: date-time\n                  description: End time of the query (exclusive, UTC)\n                  example: '2024-12-18T20:00:00Z'\n                queueIds:\n                  type: array\n                  items:\n                    type: string\n                  description: List of queue IDs to filter results by. If not provided, all queues are included.\n                  example:\n                    - 7196bf5b-ad0b-417f-9017-c036801fc550\n                pageSize:\n                  description: Maximum number of items returned in a page\n                  type: integer\n                  format: int32\n                  default: 500\n                  minimum: 1\n                  maximum: 500\n                pageMarker:\n                  description: |\n                    Marker for one page of results. If present, indicates the marker of the page to be fetched. If not present, indicates that the very first page will be fetched.\n                    Use the `nextPageMarker` from the previous response to fetch the next page.\n                  type: string\n                  example: 315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\n              required:\n                - startTime\n                - endTime\n      responses:\n        '200':\n          description: Successful response\n          content:\n            application/json:\n              schema:\n                type: object\n                properties:\n                  nextPageMarker:\n                    type: string\n                    description: Marker for the next page of results. If present, indicates more results are available.\n                    example: 315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      properties:\n                        startTime:\n                          type: string\n                          format: date-time\n                          description: When the call started (UTC)\n                          example: '2025-06-03T14:59:58.580Z'\n                        conversationSpaceIds:\n                          type: array\n                          items:\n                            type: string\n                          description: IDs of related conversation spaces\n                          example:\n                            - d91f0c7c-893e-4b1f-a52f-c8d3ae2355b1\n                        outcome:\n                          deprecated: true\n                          type: string\n                          enum:\n                            - ABANDONED\n                            - CALLBACK_PENDING\n                            - EVICTED\n                            - EVICTED_CUSTOMER\n                            - EVICTED_SYSTEM\n                            - EVICTED_USER\n                            - HANDLED\n                            - TIMEDOUT\n                            - TRANSFERED\n                          description: The latest or normalized outcome. **Deprecated** — please use `callOutcome` instead.\n                          example: HANDLED\n                        callOutcome:\n                          type: string\n                          enum:\n                            - ABANDONED\n                            - CALLBACK_PENDING\n                            - OUTFLOWED\n                            - OUTFLOWED_CUSTOMER\n                            - OUTFLOWED_SYSTEM\n                            - OUTFLOWED_USER\n                            - HANDLED\n                            - TIMEDOUT\n                            - TRANSFERED\n                          description: |\n                            The latest or normalized outcome of the call. This field supersedes the deprecated `outcome` field.\n\n                            - `OUTFLOWED`: Call left the queue before being handled (general case).\n                            - `OUTFLOWED_CUSTOMER`: Call left due to customer action (e.g. DTMF exit).\n                            - `OUTFLOWED_SYSTEM`: Call left due to system conditions (e.g. timeout, queue full, callback).\n                            - `OUTFLOWED_USER`: Call left due to user intervention (e.g. supervisor removal, transfer).\n                          example: HANDLED\n                        mediaType:\n                          type: string\n                          enum:\n                            - PHONE\n                          description: The media type of the interaction. Only \"PHONE\" is currently supported.\n                          example: PHONE\n                        direction:\n                          type: string\n                          enum:\n                            - INBOUND\n                            - OUTBOUND\n                          description: Direction of the call\n                          example: INBOUND\n                        callbackOffered:\n                          type: boolean\n                          description: Was a callback offered to the caller\n                          example: false\n                        callbackRequested:\n                          type: boolean\n                          description: Was a callback requested/accepted\n                          example: false\n                        leftQueueReason:\n                          type: string\n                          enum:\n                            - ANSWERED\n                            - ABANDON\n                            - DTMF_EXIT\n                            - TIMEOUT\n                            - LEFT_EMPTY\n                            - JOINED_EMPTY\n                            - QUEUE_FULL\n                            - REPLACED_CALLBACK\n                            - CALLBACK_DISPATCHED\n                            - ANSWERED_ELSEWHERE\n                            - REMOVED_BY_SUPERVISOR\n                            - ENTERED_ANOTHER_QUEUE\n                            - TRANSFER_COMPLETED\n                            - RELOCATED\n                            - UNKNOWN\n                          description: The reason the call left the queue (e.g., ANSWERED, JOINED_EMPTY)\n                          example: JOINED_EMPTY\n                        dialedNumber:\n                          type: string\n                          description: Dialed number\n                          example: '+15555555555'\n                        dialedNumberName:\n                          type: string\n                          description: Dialed number name\n                          example: Support Main\n                        smsSent:\n                          type: boolean\n                          description: Was an SMS sent to the caller\n                          example: false\n                        talkDuration:\n                          type: integer\n                          description: Talk duration in seconds\n                          example: 9271\n                        duration:\n                          type: integer\n                          description: Total call duration in seconds\n                          example: 17802\n                        waitTime:\n                          type: integer\n                          description: Wait time in queue (seconds)\n                          example: 8531\n                        agentRingTime:\n                          type: integer\n                          description: Time (in seconds) the agent's phone rang\n                          example: 4\n                        metServiceLevel:\n                          type: string\n                          enum:\n                            - 'YES'\n                            - 'NO'\n                            - N/A\n                          description: |\n                            Indicates whether this call was answered within the Service Level. - `YES`: The call was answered within the defined SL threshold for the queue. - `NO`: The call was answered, but exceeded the SL threshold defined for the queue. - `N/A`: The call was not answered.\n                          example: 'YES'\n                        caller:\n                          type: object\n                          properties:\n                            legId:\n                              type: string\n                              description: Unique identifier for the caller's leg\n                              example: 8ab089d6-d44f-4144-9a77-afc08d0928c1\n                            name:\n                              type: string\n                              description: Display name of the caller\n                              example: John Doe\n                            number:\n                              type: string\n                              description: Caller phone number or extension\n                              example: '1018'\n                        queue:\n                          type: object\n                          properties:\n                            id:\n                              type: string\n                              format: uuid\n                              description: Unique identifier for the queue\n                              example: 7196bf5b-ad0b-417f-9017-c036801fc550\n                            name:\n                              type: string\n                              description: Name of the queue\n                              example: '#1022 Queue CC Demo'\n                        agent:\n                          type: object\n                          properties:\n                            name:\n                              type: string\n                              description: Name of the agent\n                              example: Bob Dylan\n                        disposition:\n                          type: object\n                          properties:\n                            id:\n                              type: string\n                              format: uuid\n                              description: Disposition identifier for the call\n                              example: d91f0c7c-893e-4b1f-a52f-c8d3ae2355b1\n                            name:\n                              type: string\n                              description: The name of the disposition for the call, if any.\n                              example: Sales closed\n                            category:\n                              type: string\n                              description: The name of the disposition category, if any.\n                              example: Sales\n                        tags:\n                          type: array\n                          items:\n                            type: object\n                            properties:\n                              id:\n                                type: string\n                                format: uuid\n                                description: Tag identifier\n                                example: 18a4ba62-c9f5-44f3-88b3-a9d9157de515\n                              name:\n                                type: string\n                                description: The name of the tag\n                                example: Tag 1\n                        aiAnalytics:\n                          type: object\n                          description: Analysis of the call by the AI engine. Only available with the AI Optimization add-on and when the call was analyzed by the AI engine.\n                          properties:\n                            sentiment:\n                              type: string\n                              enum:\n                                - POSITIVE\n                                - NEGATIVE\n                                - NEUTRAL\n                              description: Overall sentiment of the call\n                              example: POSITIVE\n                            topics:\n                              type: array\n                              items:\n                                type: string\n                              description: List of detected topics during the call\n                              example:\n                                - wifi\n                                - trade show\n                                - general question\n                                - pet\n                            topicFlagsNames:\n                              type: array\n                              items:\n                                type: string\n                              description: List of topic flags applied to the call\n                              example:\n                                - Billing\n                                - Escalation\n                            topicFlagsIds:\n                              type: array\n                              items:\n                                type: string\n                              description: List of topic flag IDs applied to the call\n                              example:\n                                - a001cb29-a2c4-47a1-ba66-7d08a12459e9\n                        aiReceptionist:\n                          type: object\n                          description: Details about the involvement of an AI Receptionist during the call. Only available with the AI Optimization add-on and when an AI Receptionist was involved in the call.\n                          properties:\n                            involvement:\n                              type: boolean\n                              description: Indicates if an AI Receptionist was involved in the call\n                              example: true\n                            outcome:\n                              type: string\n                              enum:\n                                - HANDLED\n                                - TRANSFERRED\n                                - ESCALATED\n                                - ABANDONED\n                                - ERROR\n                              description: Outcome of the AI Receptionist interaction\n                              example: HANDLED\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/contact-center-analytics/v1/accounts/%7BaccountKey%7D/queue-caller-details',\n              data: {\n                startTime: '2024-12-10T19:30:00Z',\n                endTime: '2024-12-18T20:00:00Z',\n                queueIds: ['7196bf5b-ad0b-417f-9017-c036801fc550'],\n                pageSize: 500,\n                pageMarker: '315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/contact-center-analytics/v1/accounts/%7BaccountKey%7D/queue-caller-details \\\n              --header 'content-type: application/json' \\\n              --data '{\"startTime\":\"2024-12-10T19:30:00Z\",\"endTime\":\"2024-12-18T20:00:00Z\",\"queueIds\":[\"7196bf5b-ad0b-417f-9017-c036801fc550\"],\"pageSize\":500,\"pageMarker\":\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"startTime\\\":\\\"2024-12-10T19:30:00Z\\\",\\\"endTime\\\":\\\"2024-12-18T20:00:00Z\\\",\\\"queueIds\\\":[\\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"],\\\"pageSize\\\":500,\\\"pageMarker\\\":\\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/contact-center-analytics/v1/accounts/%7BaccountKey%7D/queue-caller-details\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"startTime\":\"2024-12-10T19:30:00Z\",\"endTime\":\"2024-12-18T20:00:00Z\",\"queueIds\":[\"7196bf5b-ad0b-417f-9017-c036801fc550\"],\"pageSize\":500,\"pageMarker\":\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\"}');\n\n            $request->setRequestUrl('https://api.goto.com/contact-center-analytics/v1/accounts/%7BaccountKey%7D/queue-caller-details');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/contact-center-analytics/v1/accounts/%7BaccountKey%7D/queue-caller-details\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"startTime\\\":\\\"2024-12-10T19:30:00Z\\\",\\\"endTime\\\":\\\"2024-12-18T20:00:00Z\\\",\\\"queueIds\\\":[\\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"],\\\"pageSize\\\":500,\\\"pageMarker\\\":\\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /contact-center-analytics/v1/accounts/{accountKey}/queue-metrics:\n    post:\n      summary: Get contact center historical queue metrics\n      operationId: getQueueMetrics\n      tags:\n        - Historical Queue Metrics\n      description: |\n        Retrieves historical queue metrics aggregated into 15-minute intervals aligned to standard boundaries (:00, :15, :30, :45) within a specified time range. Each period includes metrics for all queues with activity during that interval. Queues with no activity in a period are excluded.\n\n        ### Time Range\n\n        All 15-minute periods that overlap the requested time range are returned.\n        The time range must be in ISO 8601 datetime format in the UTC time zone, and the `startTime` must not be older than 13 months from the current date.\n\n        ### Period Completeness\n\n        Call data becomes available only after the call fully completes, including wrap-up time. When a caller accepts a callback offer, the original call counts as `outflowedSystem` (formerly `evictedSystem`). The callback is then queued immediately and may appear in a different 15-minute period. Since some calls may take up to 7 hours to complete, recent periods may not reflect all activity until sufficient time has passed.\n\n        ### How pagination works\n\n        To start a query, first call this endpoint without a `pageMarker` and optionally set the\n        `pageSize` to the number of 15-minute period buckets you want per page (for example, `10` would return 10 periods, each containing metrics for multiple queues).\n        The presence of `nextPageMarker` in a response indicates that more results are available to\n        be fetched. To obtain further pages, send a new request with the `pageMarker` parameter set\n        to the value of `nextPageMarker`. Page markers remain available for ten minutes after the response is sent.\n\n        ### Outflowed Calls (Deprecation Notice)\n\n        A new `callOutcome` field has been introduced in the queue caller details response, replacing the deprecated `outcome` field.\n        The new field uses `OUTFLOWED_*` values (`OUTFLOWED`, `OUTFLOWED_CUSTOMER`, `OUTFLOWED_SYSTEM`, `OUTFLOWED_USER`) as clearer,\n        more intuitive replacements for the `EVICTED_*` values present in `outcome`. The deprecated `outcome` field will be removed in a\n        future version of this API. We recommend updating your integration to use `callOutcome` at your earliest convenience.\n        Both fields will be returned during the transition period to give you ample time to migrate.\n      parameters:\n        - in: path\n          name: accountKey\n          description: The key of the account (organization). You can use the [Admin API](/admin#tag/Me) to find account keys.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        required: true\n        content:\n          application/json:\n            schema:\n              type: object\n              properties:\n                startTime:\n                  type: string\n                  format: date-time\n                  description: Start time of the query (inclusive, UTC)\n                  example: '2024-12-10T19:30:00.000Z'\n                endTime:\n                  type: string\n                  format: date-time\n                  description: End time of the query (exclusive, UTC)\n                  example: '2024-12-18T20:00:00.000Z'\n                pageSize:\n                  description: Maximum number of 15-minute periods returned in a page. Each period contains metrics for all active queues.\n                  type: integer\n                  format: int32\n                  default: 96\n                  minimum: 1\n                  maximum: 100\n                pageMarker:\n                  description: |\n                    Marker for one page of results. If present, indicates the marker of the page to be fetched. If not present, indicates that the very first page will be fetched.\n                    Use the `nextPageMarker` from the previous response to fetch the next page.\n                  type: string\n                  example: 315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\n              required:\n                - startTime\n                - endTime\n      responses:\n        '200':\n          description: A list of 15 minutes aggregated queue metrics\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Response containing queue metrics aggregated into 15-minute periods. Pagination is based on the number of periods, not individual queue metrics.\n                properties:\n                  nextPageMarker:\n                    type: string\n                    description: Marker for the next page of results. If present, indicates more results are available.\n                    example: 315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\n                  items:\n                    type: array\n                    description: Array of 15-minute time periods, each containing metrics for multiple queues\n                    items:\n                      type: object\n                      description: Queue metrics for a single 15-minute time period, containing metrics for all active queues  during this interval\n                      properties:\n                        startTime:\n                          type: string\n                          format: date-time\n                          description: Start of the 15-minute period (UTC)\n                          example: '2024-12-10T20:00:00.000Z'\n                        endTime:\n                          type: string\n                          format: date-time\n                          description: End of the 15-minute period (UTC)\n                          example: '2024-12-10T20:15:00.000Z'\n                        queueMetricsItems:\n                          type: array\n                          description: Metrics for each queue during this time period\n                          items:\n                            type: object\n                            required:\n                              - queueId\n                              - totalCalls\n                              - handledCalls\n                              - outflowedCalls\n                              - abandonedCalls\n                              - totalTalkTimeSec\n                              - totalHoldTimeSec\n                              - totalWrapUpTimeSec\n                            properties:\n                              queueId:\n                                type: string\n                                format: uuid\n                                description: Unique identifier for the queue\n                                example: 3ee072d7-5caa-4019-b3d2-e944ac584e76\n                              totalCalls:\n                                type: integer\n                                description: Total number of calls in the queue\n                                example: 130\n                              handledCalls:\n                                type: integer\n                                description: Number of calls handled by agents\n                                example: 100\n                              outflowedCalls:\n                                type: object\n                                description: Breakdown of calls that were removed from the queue before being handled by an agent\n                                properties:\n                                  customer:\n                                    type: integer\n                                    description: Calls removed from queue by customer action (DTMF exit via keypress)\n                                    example: 3\n                                  system:\n                                    type: integer\n                                    description: Calls removed from queue by system conditions (timeout, queue full, empty queue scenarios, callback failures)\n                                    example: 5\n                                  user:\n                                    type: integer\n                                    description: Calls removed from queue by user intervention (supervisor removal, transfer, entering another queue)\n                                    example: 2\n                              abandonedCalls:\n                                type: integer\n                                description: Number of calls abandoned by customers while in the queue\n                                example: 20\n                              totalTalkTimeSec:\n                                type: integer\n                                format: int32\n                                description: Total talk time in seconds for handled calls\n                                example: 123456\n                              totalHoldTimeSec:\n                                type: integer\n                                format: int32\n                                description: Total hold time in seconds for handled calls\n                                example: 123\n                              totalWrapUpTimeSec:\n                                type: integer\n                                format: int32\n                                description: Total wrap-up time in seconds for handled calls\n                                example: 40\n                              serviceLevelPercent:\n                                type: number\n                                format: float\n                                nullable: true\n                                description: Percentage of calls answered within the service level percentage threshold. Null when no calls were handled.\n                                example: 90.2\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/contact-center-analytics/v1/accounts/%7BaccountKey%7D/queue-metrics',\n              data: {\n                startTime: '2024-12-10T19:30:00.000Z',\n                endTime: '2024-12-18T20:00:00.000Z',\n                pageSize: 96,\n                pageMarker: '315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/contact-center-analytics/v1/accounts/%7BaccountKey%7D/queue-metrics \\\n              --header 'content-type: application/json' \\\n              --data '{\"startTime\":\"2024-12-10T19:30:00.000Z\",\"endTime\":\"2024-12-18T20:00:00.000Z\",\"pageSize\":96,\"pageMarker\":\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"startTime\\\":\\\"2024-12-10T19:30:00.000Z\\\",\\\"endTime\\\":\\\"2024-12-18T20:00:00.000Z\\\",\\\"pageSize\\\":96,\\\"pageMarker\\\":\\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/contact-center-analytics/v1/accounts/%7BaccountKey%7D/queue-metrics\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"startTime\":\"2024-12-10T19:30:00.000Z\",\"endTime\":\"2024-12-18T20:00:00.000Z\",\"pageSize\":96,\"pageMarker\":\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\"}');\n\n            $request->setRequestUrl('https://api.goto.com/contact-center-analytics/v1/accounts/%7BaccountKey%7D/queue-metrics');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/contact-center-analytics/v1/accounts/%7BaccountKey%7D/queue-metrics\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"startTime\\\":\\\"2024-12-10T19:30:00.000Z\\\",\\\"endTime\\\":\\\"2024-12-18T20:00:00.000Z\\\",\\\"pageSize\\\":96,\\\"pageMarker\\\":\\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /contact-center-analytics/v1/accounts/{accountKey}/agent-statuses:\n    post:\n      summary: Get contact center historical agent status\n      operationId: getAgentStatus\n      tags:\n        - Historical Agent Status\n      description: |\n        Retrieves a flattened representation of the agent's activity. This API will include events like logins, logouts and include all the historical statuses of an agent. The result items are returned sorted by startTime in ascending order. Each item represents a status of an agent on a queue. If an agent was working on multiple queues at the same time, there will be multiple items with the same startTime but different queueIds. Some agent states that are still ongoing and not completed yet might not be returned for the most recent time periods, as the system waits for those states to complete to have the full details of the event, which can take up to 7 hours to be available.\n\n        ### How pagination works\n\n        To start a query, first call this endpoint without a `pageMarker` and optionally set the\n        `pageSize` to the number of hours to be retrieved (for example, `10` would return 10 hours worth of events from the startDate or from the start of the current page).\n        The presence of `nextPageMarker` in a response indicates that more results are available to\n        be fetched for the given time range. To obtain further pages, send a new request with the `pageMarker` parameter set\n        to the value of `nextPageMarker`. Page markers remain available for ten minutes after the response is sent.\n      parameters:\n        - in: path\n          name: accountKey\n          description: The key of the account (organization). You can use the [Admin API](/admin#tag/Me) to find account keys.\n          required: true\n          schema:\n            type: string\n      requestBody:\n        required: true\n        content:\n          application/json:\n            schema:\n              type: object\n              properties:\n                startTime:\n                  type: string\n                  format: date-time\n                  description: Start time of the query (inclusive, UTC)\n                  example: '2024-12-10T19:30:00.000Z'\n                endTime:\n                  type: string\n                  format: date-time\n                  description: End time of the query (exclusive, UTC)\n                  example: '2024-12-18T20:00:00.000Z'\n                queueIds:\n                  type: array\n                  items:\n                    type: string\n                  description: List of queue IDs to filter results by. If not provided, all queues are included.\n                  example:\n                    - 7196bf5b-ad0b-417f-9017-c036801fc550\n                agentIds:\n                  type: array\n                  items:\n                    type: string\n                  description: List of agent IDs to filter results by. If not provided, all agents are included.\n                  example:\n                    - 3fa85f64-5717-4562-b3fc-2c963f66afa6\n                pageSize:\n                  description: Maximum number of hours to be retrieved in a page.\n                  type: integer\n                  format: int32\n                  default: 2\n                  minimum: 2\n                  maximum: 24\n                pageMarker:\n                  description: |\n                    Marker for one page of results. If present, indicates the marker of the page to be fetched. If not present, indicates that the very first page will be fetched.\n                    Use the `nextPageMarker` from the previous response to fetch the next page.\n                  type: string\n                  example: 315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\n              required:\n                - startTime\n                - endTime\n      responses:\n        '200':\n          description: A list of items with agent status metrics\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Response containing each agent status metrics.\n                properties:\n                  nextPageMarker:\n                    type: string\n                    description: Marker for the next page of results. If present, indicates more results are available.\n                    example: 315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\n                  items:\n                    type: array\n                    description: Array of metrics for agents\n                    items:\n                      type: object\n                      description: Agent status metrics for a single event of an agent on a queue.\n                      properties:\n                        agentId:\n                          type: string\n                          format: uuid\n                          description: Unique identifier for the agent\n                          example: 3fa85f64-5717-4562-b3fc-2c963f66afa6\n                        agentName:\n                          type: string\n                          description: Name of the agent\n                          example: Bob Dylan\n                        superstate:\n                          type: string\n                          enum:\n                            - AVAILABLE\n                            - LOGIN\n                            - LOGOUT\n                            - PAUSED\n                            - WORKING\n                          description: The high-level state of the agent\n                          example: WORKING\n                        substate:\n                          type: string\n                          description: The detailed state of the agent, providing more context to the superstate. For example, if the superstate is WORKING, the substate might indicate whether the agent is talking or wrapping up a call. Possible values include (\"APPEAR_OFFLINE\", \"AWAY\", \"DO_NOT_DISTURB\", \"HOLD\", \"TALKING\", \"WRAP_UP\") or a custom pause reason defined for the organization.\n                          example: TALKING\n                        startTime:\n                          type: string\n                          format: date-time\n                          description: Start time of the query (inclusive, UTC)\n                          example: '2024-12-10T19:30:00Z'\n                        endTime:\n                          type: string\n                          format: date-time\n                          description: End time of the query (exclusive, UTC)\n                          example: '2024-12-18T20:00:00Z'\n                        duration:\n                          type: integer\n                          description: Total call duration in seconds\n                          example: 17802\n                        queueId:\n                          type: string\n                          format: uuid\n                          description: Unique identifier for the queue\n                          example: 7196bf5b-ad0b-417f-9017-c036801fc550\n                        queueName:\n                          type: string\n                          description: Name of the queue\n                          example: '#1022 Queue CC Demo'\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/contact-center-analytics/v1/accounts/%7BaccountKey%7D/agent-statuses',\n              data: {\n                startTime: '2024-12-10T19:30:00.000Z',\n                endTime: '2024-12-18T20:00:00.000Z',\n                queueIds: ['7196bf5b-ad0b-417f-9017-c036801fc550'],\n                agentIds: ['3fa85f64-5717-4562-b3fc-2c963f66afa6'],\n                pageSize: 2,\n                pageMarker: '315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/contact-center-analytics/v1/accounts/%7BaccountKey%7D/agent-statuses \\\n              --header 'content-type: application/json' \\\n              --data '{\"startTime\":\"2024-12-10T19:30:00.000Z\",\"endTime\":\"2024-12-18T20:00:00.000Z\",\"queueIds\":[\"7196bf5b-ad0b-417f-9017-c036801fc550\"],\"agentIds\":[\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"],\"pageSize\":2,\"pageMarker\":\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"startTime\\\":\\\"2024-12-10T19:30:00.000Z\\\",\\\"endTime\\\":\\\"2024-12-18T20:00:00.000Z\\\",\\\"queueIds\\\":[\\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"],\\\"agentIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\"],\\\"pageSize\\\":2,\\\"pageMarker\\\":\\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/contact-center-analytics/v1/accounts/%7BaccountKey%7D/agent-statuses\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"startTime\":\"2024-12-10T19:30:00.000Z\",\"endTime\":\"2024-12-18T20:00:00.000Z\",\"queueIds\":[\"7196bf5b-ad0b-417f-9017-c036801fc550\"],\"agentIds\":[\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"],\"pageSize\":2,\"pageMarker\":\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\"}');\n\n            $request->setRequestUrl('https://api.goto.com/contact-center-analytics/v1/accounts/%7BaccountKey%7D/agent-statuses');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/contact-center-analytics/v1/accounts/%7BaccountKey%7D/agent-statuses\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"startTime\\\":\\\"2024-12-10T19:30:00.000Z\\\",\\\"endTime\\\":\\\"2024-12-18T20:00:00.000Z\\\",\\\"queueIds\\\":[\\\"7196bf5b-ad0b-417f-9017-c036801fc550\\\"],\\\"agentIds\\\":[\\\"3fa85f64-5717-4562-b3fc-2c963f66afa6\\\"],\\\"pageSize\\\":2,\\\"pageMarker\\\":\\\"315f5bdb76d078c43b8ac0064e4a01646123b1853c84eeb8dc15728067b7ad86\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /fax/v1/faxes:\n    get:\n      operationId: getAllFaxes\n      summary: |\n        Get Faxes\n      description: |\n        Retrieve all faxes that match the specified search criteria. The results are filtered by fax type: incoming (default) or outgoing.  You can additionally filter the results by virtual fax machine IDs, phone number IDs,  sender phone numbers, fax status (outgoing only), and read/unread status (incoming only). The results will be sorted by the received time within their respective virtual fax machines.\n        Note: A 400 error will be returned if the `read` parameter is used for outgoing faxes  or the `status` parameter is used for incoming faxes.\n        ### Authentication Scopes\n        `fax.v1.read` must be used when a token is requested from the Authentication API.\n      tags:\n        - Faxes\n      parameters:\n        - name: Authorization\n          in: header\n          description: GoTo Authorization bearer token with the right scopes\n          required: true\n          schema:\n            type: string\n        - in: query\n          name: accountKey\n          required: true\n          description: The account key of an organization (pbx).\n          schema:\n            type: string\n            example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n        - name: pageMarker\n          in: query\n          description: The next page marker value represent the page to fetch.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: Maximum number of items returned in a page. Maximum page size is 100 items.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            default: 50\n        - in: query\n          name: type\n          required: false\n          description: The type of the faxes in the query, can be incoming or outgoing\n          schema:\n            type: string\n            default: INCOMING\n            enum:\n              - INCOMING\n              - OUTGOING\n        - name: status\n          in: query\n          required: false\n          description: Filter outgoing faxes by status. 400 error is returned if this parameter used with incoming faxes.\n          schema:\n            type: string\n            enum:\n              - SUCCESS\n              - FAILED\n              - IN_PROGRESS\n              - CANCELLED\n        - name: readStatus\n          in: query\n          required: false\n          description: Filter incoming faxes by read/unread status. 400 error is returned if this parameter used with outgoing faxes.\n          schema:\n            type: boolean\n        - in: query\n          name: virtualFaxMachineId\n          required: false\n          description: The ID of a virtual fax machine. This parameter can be repeated multiple times in the query.\n          style: form\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n            example:\n              - b5d96015-cb76-43c5-8770-3f21c6134586\n        - in: query\n          name: phoneNumberId\n          required: false\n          description: The ID of a phone number. This parameter can be repeated multiple times in the query.\n          style: form\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n            example:\n              - 123e4567-e89b-12d3-a456-426614174000\n        - name: senderPhoneNumber\n          in: query\n          required: false\n          description: Filter faxes by sender phone number in E.164 format\n          style: form\n          explode: true\n          schema:\n            type: array\n            maxItems: 20\n            items:\n              type: string\n              format: E.164\n              example: '+18887776666'\n      responses:\n        '200':\n          description: |\n            Successfully retrieved.\n          content:\n            application/json:\n              schema:\n                description: |\n                  List of virual fax machines with their associated faxes that the user has access to.\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      pageSize:\n                        type: integer\n                        format: int32\n                        description: |\n                          Maximum number of items returned in a page. Maximum page size is 100 items.\n                        example: 50\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          The next page marker value, to be used for fetching the next page via the PageMarker query parameter.\n                        example: a159e8fbea8e53848\n                      matchesTotal:\n                        type: integer\n                        description: |\n                          The number of items from the collection that match the given query.\n                        example: 200\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          oneOf:\n                            - description: |\n                                JSON object defining an incoming fax.\n                              properties:\n                                faxId:\n                                  type: string\n                                  example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n                                callerIdName:\n                                  type: string\n                                  example: caller name\n                                callerIdNumber:\n                                  type: string\n                                  example: '+14385007000'\n                                receivedTime:\n                                  type: string\n                                  example: '2019-12-31T23:59:59.999999Z'\n                                pageCount:\n                                  type: integer\n                                  example: 3\n                                fileSize:\n                                  description: In bytes\n                                  type: integer\n                                  example: 4000\n                                virtualFaxMachineId:\n                                  type: string\n                                  example: b5d96015-cb76-43c5-8770-3f21c615243\n                                read:\n                                  type: boolean\n                                  example: true\n                                type:\n                                  type: string\n                                  default: INCOMING\n                            - title: OutgoingFaxProperties\n                              description: |\n                                JSON object defining an outgoing fax.\n                              properties:\n                                faxId:\n                                  type: string\n                                  example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n                                callerIdName:\n                                  type: string\n                                  example: caller name\n                                callerIdNumber:\n                                  type: string\n                                  example: '+14385007000'\n                                creationTime:\n                                  type: string\n                                  example: '2019-12-31T23:59:59.999999Z'\n                                lastUpdatedTime:\n                                  type: string\n                                  example: '2019-12-31T23:59:59.999999Z'\n                                pageCount:\n                                  type: integer\n                                  example: 3\n                                virtualFaxMachineId:\n                                  type: string\n                                  example: b5d96015-cb76-43c5-8770-3f21c615243\n                                type:\n                                  type: string\n                                  default: OUTGOING\n                                status:\n                                  title: FaxStatus\n                                  description: |\n                                    Status of an outgoing fax. More values could be added in the future.\n                                  type: string\n                                  example: SENT\n                                  enum:\n                                    - PENDING\n                                    - SENDING\n                                    - SENT\n                                    - FAILED\n                                errorCode:\n                                  type: string\n                                  example: TOO_MANY_PAGES\n                                  description: |\n                                    Possible values are:\n                                    - UNSUPPORTED_ATTACHMENT\n                                    - TOO_MANY_PAGES\n                                    - FAX_QUOTA_BUSTED\n                                    - DIALING_ERROR\n                                    - DIALING_ERROR_NUMBER_NOT_FOUND\n                                    - DIALING_ERROR_NO_ANSWER\n                                    - NUMBER_NOT_ALLOWED\n                                    - SENDING_ERROR\n                                    - SENDING_ERROR_ABRUPTLY_ENDED\n                                userKey:\n                                  description: UserKey of the user who created the fax\n                                  type: string\n                                  example: '1234567342344545'\n                                pagesSent:\n                                  type: integer\n                                  example: 0\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/fax/v1/faxes',\n              params: {\n                accountKey: '5097f252-b5f7-45d0-9589-4eb5057e764d',\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                type: 'SOME_STRING_VALUE',\n                status: 'SOME_STRING_VALUE',\n                readStatus: 'SOME_BOOLEAN_VALUE',\n                virtualFaxMachineId: 'b5d96015-cb76-43c5-8770-3f21c6134586',\n                phoneNumberId: '123e4567-e89b-12d3-a456-426614174000',\n                senderPhoneNumber: 'SOME_ARRAY_VALUE'\n              },\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/fax/v1/faxes?accountKey=5097f252-b5f7-45d0-9589-4eb5057e764d&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&type=SOME_STRING_VALUE&status=SOME_STRING_VALUE&readStatus=SOME_BOOLEAN_VALUE&virtualFaxMachineId=b5d96015-cb76-43c5-8770-3f21c6134586&phoneNumberId=123e4567-e89b-12d3-a456-426614174000&senderPhoneNumber=SOME_ARRAY_VALUE' \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"GET\", \"/fax/v1/faxes?accountKey=5097f252-b5f7-45d0-9589-4eb5057e764d&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&type=SOME_STRING_VALUE&status=SOME_STRING_VALUE&readStatus=SOME_BOOLEAN_VALUE&virtualFaxMachineId=b5d96015-cb76-43c5-8770-3f21c6134586&phoneNumberId=123e4567-e89b-12d3-a456-426614174000&senderPhoneNumber=SOME_ARRAY_VALUE\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/fax/v1/faxes');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => '5097f252-b5f7-45d0-9589-4eb5057e764d',\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'type' => 'SOME_STRING_VALUE',\n              'status' => 'SOME_STRING_VALUE',\n              'readStatus' => 'SOME_BOOLEAN_VALUE',\n              'virtualFaxMachineId' => 'b5d96015-cb76-43c5-8770-3f21c6134586',\n              'phoneNumberId' => '123e4567-e89b-12d3-a456-426614174000',\n              'senderPhoneNumber' => 'SOME_ARRAY_VALUE'\n            ]));\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/fax/v1/faxes?accountKey=5097f252-b5f7-45d0-9589-4eb5057e764d&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&type=SOME_STRING_VALUE&status=SOME_STRING_VALUE&readStatus=SOME_BOOLEAN_VALUE&virtualFaxMachineId=b5d96015-cb76-43c5-8770-3f21c6134586&phoneNumberId=123e4567-e89b-12d3-a456-426614174000&senderPhoneNumber=SOME_ARRAY_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    post:\n      operationId: sendFax\n      summary: |\n        Create a fax to send\n      description: |\n        Create a fax to be sent with up to 50 recipients. A fax resource is created for every recipients. The response returns the list of created fax ids and their associated recipient.\n        The size of a fax is limited to 6MB. If necessary, the file size limitation can be alleviated by using the api.jive.com instead of api.goto.com.\n        ### Authentication Scopes\n        `fax.v1.write` must be used when a token is requested from the Authentication API.\n      tags:\n        - Faxes\n      requestBody:\n        content:\n          multipart/form-data:\n            schema:\n              type: object\n              properties:\n                metadata:\n                  type: object\n                  description: The metadata used to send a fax like the recipients of the fax and the virtual fax machine to use to send it.\n                  properties:\n                    virtualFaxMachineId:\n                      type: string\n                      description: UUID of the VirtualFaxMachine\n                      example: b5d96015-cb76-43c5-8770-3f21c615243\n                    recipients:\n                      type: array\n                      items:\n                        type: string\n                      minItems: 1\n                      maxItems: 50\n                      description: List of phone numbers formatted in E.164 format\n                      example:\n                        - '+18887776666'\n                        - '+18887775555'\n                    scheduleFaxAt:\n                      description: Schedules a fax at a specific time up to one week in the future.\n                      type: string\n                      format: date-time\n                      example: '2019-12-31T23:59:59.999999Z'\n                    preferredResolution:\n                      type: string\n                      description: |\n                        Defines the maximum resolution offered in the fax negotiation (defaults to `SUPERFINE`). \n                        This option lets you adjust the maximum quality of the fax output. The actual resolution of \n                        the sent fax will also depend on the recipient's maximum resolution capabilities. Increasing \n                        the image resolution increases the file size and the processing time. Decreasing the image \n                        resolution reduces the file size.\n\n                        Select one of the following:\n                        * STANDARD (204×98 dpi)—Use this when faxing most documents.\n                        * FINE (204×196 dpi)—Use this when faxing documents with small prints.\n                        * SUPERFINE (204×391 dpi)—Use this when faxing documents with fine details.\n                      example: FINE\n                      enum:\n                        - STANDARD\n                        - FINE\n                        - SUPERFINE\n                  required:\n                    - virtualFaxMachineId\n                    - recipients\n                file:\n                  type: array\n                  description: Files to be sent in the fax. The following formats are supported. (.pdf, .rtf, .txt, .jpg, .png, .tiff, .bmp, .gif, .doc, .docx, .ppt, .pptx, .xls, .xlsx).\n                  items:\n                    type: string\n                    format: binary\n              required:\n                - metadata\n                - file\n            encoding:\n              metadata:\n                contentType: application/json\n              file:\n                contentType: application/pdf, application/rtf, text/plain, image/jpeg, image/tiff, image/png, image/bmp, image/gif, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\n      parameters:\n        - name: Authorization\n          in: header\n          description: GoTo Authorization bearer token with the right scopes\n          required: true\n          schema:\n            type: string\n      responses:\n        '202':\n          description: Successfully added to the queue.\n          content:\n            application/json:\n              schema:\n                description: List of faxes created.\n                properties:\n                  items:\n                    type: array\n                    items:\n                      description: Represents a created fax id and its recipient.\n                      properties:\n                        recipient:\n                          type: string\n                          example: '+18887776666'\n                        faxId:\n                          type: string\n                          example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '413':\n          description: |\n            The request is too large to be processed.\n        '415':\n          description: |\n            The content supplied with the request is not supported for the requested resource type and operation. Content detection occurs before other authorization decisions and is based solely on the resource type and requested action. This response provides no indication of the existence of the specific resource targeted by the request. A `NOT_SUPPORTED` `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples: []\n    patch:\n      operationId: updateAllFaxes\n      summary: |\n        Update Faxes\n      description: |\n        Update all faxes in virtual fax machines the user has access to. The response returns the list of updated fax ids and the updated read status.\n        ### Authentication Scopes\n        `fax.v1.write` must be used when a token is requested from the Authentication API.\n      tags:\n        - Faxes\n      parameters:\n        - name: Authorization\n          in: header\n          description: GoTo Authorization bearer token with the right scopes\n          required: true\n          schema:\n            type: string\n        - in: query\n          name: virtualFaxMachineId\n          required: true\n          description: The ID of a virtual fax machine. This parameter can be repeated multiple times in the query.\n          style: form\n          explode: true\n          schema:\n            type: array\n            items:\n              type: string\n              example: b5d96015-cb76-43c5-8770-3f21c6134586\n      requestBody:\n        content:\n          application/json:\n            schema:\n              description: |\n                JSON containing the read/unread property.\n              properties:\n                read:\n                  type: boolean\n      responses:\n        '200':\n          description: |\n            Successfully updated faxes in the virtual fax machines.\n          content:\n            application/json:\n              schema:\n                description: |\n                  List of faxIds with the read property they have been updated with.\n                type: object\n                properties:\n                  faxIds:\n                    type: array\n                    uniqueItems: true\n                    items:\n                      type: string\n                      example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n                  read:\n                    type: boolean\n                    example: true\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/fax/v1/faxes',\n              params: {virtualFaxMachineId: 'SOME_ARRAY_VALUE'},\n              data: {read: true}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url 'https://api.goto.com/fax/v1/faxes?virtualFaxMachineId=SOME_ARRAY_VALUE' \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"read\":true}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"read\\\":true}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"PATCH\", \"/fax/v1/faxes?virtualFaxMachineId=SOME_ARRAY_VALUE\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"read\":true}');\n\n            $request->setRequestUrl('https://api.goto.com/fax/v1/faxes');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setQuery(new http\\QueryString([\n              'virtualFaxMachineId' => 'SOME_ARRAY_VALUE'\n            ]));\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/fax/v1/faxes?virtualFaxMachineId=SOME_ARRAY_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"read\\\":true}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /fax/v1/faxes/{faxId}:\n    get:\n      operationId: getFax\n      summary: |\n        Get a download URL\n      description: |\n        Get a download URL to a Fax's PDF or its first page as PNG preview image. The URL has a default (and maximum) time to live of 600000 milliseconds (10 minutes).\n        ### Authentication Scopes\n        `fax.v1.read` must be used when a token is requested from the Authentication API.\n      tags:\n        - Faxes\n      parameters:\n        - name: Authorization\n          in: header\n          description: GoTo Authorization bearer token with the right scopes\n          required: true\n          schema:\n            type: string\n        - in: path\n          name: faxId\n          required: true\n          description: The faxId of the fax to get/modify\n          schema:\n            type: string\n            example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n        - in: query\n          name: ttl\n          required: false\n          description: The time to live in milliseconds with a minimum of 1000 ms a maximum of 600000 ms (10 minutes).\n          schema:\n            type: integer\n            format: int32\n            minimum: 1000\n            maximum: 600000\n            default: 600000\n        - in: query\n          name: fileType\n          required: false\n          description: The type of document to request (pdf or png preview)\n          schema:\n            type: string\n            default: PDF\n            enum:\n              - PDF\n              - PREVIEW\n        - in: query\n          name: fileName\n          required: false\n          description: |\n            The name of the file that will be downloaded when the pre-signed URL is used. If it is not defined: \n              if the contendDisposition is not defined, \n                it is calculated from the fax metadata \n                <ExtensionID>_<CallerIDNumber>_<DialedNumber>_<Time>.[pdf|png]\n              If contentDisposition is defined, the filename set empty\n            If contentDisposition set <REMOVE> the fileName value is ignored\n          schema:\n            type: string\n            example: my-file.pdf\n        - in: query\n          name: contentDisposition\n          required: false\n          description: The disposition value to define how the link should be handled by the browser.\n          schema:\n            type: string\n            example: INLINE\n            enum:\n              - INLINE\n              - ATTACHMENT\n              - REMOVE\n            default: ATTACHMENT\n      responses:\n        '200':\n          description: |\n            Successfully retrieved.\n          content:\n            application/json:\n              schema:\n                oneOf:\n                  - title: IncomingFaxPropertiesWithFile\n                    description: |\n                      JSON object containing the presigned URL of an incoming fax or fax preview pdf\n                    allOf:\n                      - description: |\n                          JSON object defining an incoming fax.\n                        properties:\n                          faxId:\n                            type: string\n                            example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n                          callerIdName:\n                            type: string\n                            example: caller name\n                          callerIdNumber:\n                            type: string\n                            example: '+14385007000'\n                          receivedTime:\n                            type: string\n                            example: '2019-12-31T23:59:59.999999Z'\n                          pageCount:\n                            type: integer\n                            example: 3\n                          fileSize:\n                            description: In bytes\n                            type: integer\n                            example: 4000\n                          virtualFaxMachineId:\n                            type: string\n                            example: b5d96015-cb76-43c5-8770-3f21c615243\n                          read:\n                            type: boolean\n                            example: true\n                          type:\n                            type: string\n                            default: INCOMING\n                      - type: object\n                    properties:\n                      content:\n                        description: |\n                          Represents the download URL of a Fax with its expiration time. This field will not be present if the requested file type is not available for this fax.\n                        properties:\n                          url:\n                            type: string\n                            example: www.presigned-fax-url.aws.com\n                          expirationTime:\n                            type: string\n                            example: '2023-08-10T18:29:50.976Z'\n                  - title: OutgoingFaxProperties\n                    description: |\n                      JSON object defining an outgoing fax.\n                    properties:\n                      faxId:\n                        type: string\n                        example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n                      callerIdName:\n                        type: string\n                        example: caller name\n                      callerIdNumber:\n                        type: string\n                        example: '+14385007000'\n                      creationTime:\n                        type: string\n                        example: '2019-12-31T23:59:59.999999Z'\n                      lastUpdatedTime:\n                        type: string\n                        example: '2019-12-31T23:59:59.999999Z'\n                      pageCount:\n                        type: integer\n                        example: 3\n                      virtualFaxMachineId:\n                        type: string\n                        example: b5d96015-cb76-43c5-8770-3f21c615243\n                      type:\n                        type: string\n                        default: OUTGOING\n                      status:\n                        title: FaxStatus\n                        description: |\n                          Status of an outgoing fax. More values could be added in the future.\n                        type: string\n                        example: SENT\n                        enum:\n                          - PENDING\n                          - SENDING\n                          - SENT\n                          - FAILED\n                      errorCode:\n                        type: string\n                        example: TOO_MANY_PAGES\n                        description: |\n                          Possible values are:\n                          - UNSUPPORTED_ATTACHMENT\n                          - TOO_MANY_PAGES\n                          - FAX_QUOTA_BUSTED\n                          - DIALING_ERROR\n                          - DIALING_ERROR_NUMBER_NOT_FOUND\n                          - DIALING_ERROR_NO_ANSWER\n                          - NUMBER_NOT_ALLOWED\n                          - SENDING_ERROR\n                          - SENDING_ERROR_ABRUPTLY_ENDED\n                      userKey:\n                        description: UserKey of the user who created the fax\n                        type: string\n                        example: '1234567342344545'\n                      pagesSent:\n                        type: integer\n                        example: 0\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/fax/v1/faxes/%7BfaxId%7D',\n              params: {\n                ttl: 'SOME_INTEGER_VALUE',\n                fileType: 'SOME_STRING_VALUE',\n                fileName: 'my-file.pdf',\n                contentDisposition: 'INLINE'\n              },\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/fax/v1/faxes/%7BfaxId%7D?ttl=SOME_INTEGER_VALUE&fileType=SOME_STRING_VALUE&fileName=my-file.pdf&contentDisposition=INLINE' \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"GET\", \"/fax/v1/faxes/%7BfaxId%7D?ttl=SOME_INTEGER_VALUE&fileType=SOME_STRING_VALUE&fileName=my-file.pdf&contentDisposition=INLINE\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/fax/v1/faxes/%7BfaxId%7D');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'ttl' => 'SOME_INTEGER_VALUE',\n              'fileType' => 'SOME_STRING_VALUE',\n              'fileName' => 'my-file.pdf',\n              'contentDisposition' => 'INLINE'\n            ]));\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/fax/v1/faxes/%7BfaxId%7D?ttl=SOME_INTEGER_VALUE&fileType=SOME_STRING_VALUE&fileName=my-file.pdf&contentDisposition=INLINE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    patch:\n      operationId: updateFax\n      summary: |\n        Update the read/unread state of an incoming fax.\n      description: |\n        This endpoint will return a 400 error if called on an outgoing fax.\n        ### Authentication Scopes\n        `fax.v1.write` must be used when a token is requested from the Authentication API.\n      tags:\n        - Faxes\n      requestBody:\n        content:\n          application/json:\n            schema:\n              description: |\n                JSON containing the read/unread property.\n              properties:\n                read:\n                  type: boolean\n      parameters:\n        - name: Authorization\n          in: header\n          description: GoTo Authorization bearer token with the right scopes\n          required: true\n          schema:\n            type: string\n        - in: path\n          name: faxId\n          required: true\n          description: The faxId of the fax to get/modify\n          schema:\n            type: string\n            example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n      responses:\n        '200':\n          description: |\n            Successfully retrieved.\n          content:\n            application/json:\n              schema:\n                description: |\n                  JSON containing the read/unread property with the faxId.\n                properties:\n                  faxId:\n                    type: string\n                    example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n                  read:\n                    type: boolean\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/fax/v1/faxes/%7BfaxId%7D',\n              data: {read: true}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url https://api.goto.com/fax/v1/faxes/%7BfaxId%7D \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"read\":true}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"read\\\":true}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"PATCH\", \"/fax/v1/faxes/%7BfaxId%7D\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"read\":true}');\n\n            $request->setRequestUrl('https://api.goto.com/fax/v1/faxes/%7BfaxId%7D');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/fax/v1/faxes/%7BfaxId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"read\\\":true}\"\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      operationId: deleteFax\n      summary: |\n        Delete a specific fax\n      description: |\n        Delete a fax resource. A 409 response will be returned if the fax is currently in process and cannot be interrupted.\n        ### Authentication Scopes\n        `fax.v1.write` must be used when a token is requested from the Authentication API.\n      tags:\n        - Faxes\n      parameters:\n        - name: Authorization\n          in: header\n          description: GoTo Authorization bearer token with the right scopes\n          required: true\n          schema:\n            type: string\n        - in: path\n          name: faxId\n          required: true\n          description: The faxId of the fax to get/modify\n          schema:\n            type: string\n            example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n      responses:\n        '204':\n          description: Successfully deleted the fax.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/fax/v1/faxes/%7BfaxId%7D',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/fax/v1/faxes/%7BfaxId%7D \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"DELETE\", \"/fax/v1/faxes/%7BfaxId%7D\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/fax/v1/faxes/%7BfaxId%7D');\n            $request->setRequestMethod('DELETE');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/fax/v1/faxes/%7BfaxId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /fax/v1/faxes/{faxId}/cancel:\n    patch:\n      operationId: cancelFax\n      summary: |\n        Cancel a fax\n      description: |\n        This is use to cancel the sending of a fax. This is a best effort action. Meaning that we can only cancel up to a certain point in the flow. A 409 - CONFLICT response will be returned if the fax is not in an cancellable state.\n        ### Authentication Scopes\n        `fax.v1.write` must be used when a token is requested from the Authentication API.\n      tags:\n        - Faxes\n      parameters:\n        - name: Authorization\n          in: header\n          description: GoTo Authorization bearer token with the right scopes\n          required: true\n          schema:\n            type: string\n        - in: path\n          name: faxId\n          required: true\n          description: The faxId of the fax to get/modify\n          schema:\n            type: string\n            example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n      responses:\n        '202':\n          description: Cancel accepted.\n          content:\n            application/json:\n              schema:\n                title: OutgoingFaxProperties\n                description: |\n                  JSON object defining an outgoing fax.\n                properties:\n                  faxId:\n                    type: string\n                    example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n                  callerIdName:\n                    type: string\n                    example: caller name\n                  callerIdNumber:\n                    type: string\n                    example: '+14385007000'\n                  creationTime:\n                    type: string\n                    example: '2019-12-31T23:59:59.999999Z'\n                  lastUpdatedTime:\n                    type: string\n                    example: '2019-12-31T23:59:59.999999Z'\n                  pageCount:\n                    type: integer\n                    example: 3\n                  virtualFaxMachineId:\n                    type: string\n                    example: b5d96015-cb76-43c5-8770-3f21c615243\n                  type:\n                    type: string\n                    default: OUTGOING\n                  status:\n                    title: FaxStatus\n                    description: |\n                      Status of an outgoing fax. More values could be added in the future.\n                    type: string\n                    example: SENT\n                    enum:\n                      - PENDING\n                      - SENDING\n                      - SENT\n                      - FAILED\n                  errorCode:\n                    type: string\n                    example: TOO_MANY_PAGES\n                    description: |\n                      Possible values are:\n                      - UNSUPPORTED_ATTACHMENT\n                      - TOO_MANY_PAGES\n                      - FAX_QUOTA_BUSTED\n                      - DIALING_ERROR\n                      - DIALING_ERROR_NUMBER_NOT_FOUND\n                      - DIALING_ERROR_NO_ANSWER\n                      - NUMBER_NOT_ALLOWED\n                      - SENDING_ERROR\n                      - SENDING_ERROR_ABRUPTLY_ENDED\n                  userKey:\n                    description: UserKey of the user who created the fax\n                    type: string\n                    example: '1234567342344545'\n                  pagesSent:\n                    type: integer\n                    example: 0\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/fax/v1/faxes/%7BfaxId%7D/cancel',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url https://api.goto.com/fax/v1/faxes/%7BfaxId%7D/cancel \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"PATCH\", \"/fax/v1/faxes/%7BfaxId%7D/cancel\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/fax/v1/faxes/%7BfaxId%7D/cancel');\n            $request->setRequestMethod('PATCH');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/fax/v1/faxes/%7BfaxId%7D/cancel\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /fax/v1/subscriptions:\n    post:\n      summary: |\n        Create a subscription\n      description: |\n        ### Authentication Scopes\n        `fax.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n        ### Description\n        Create a subscription for the authenticated user. A notification channel must have previously been created  using the [Notification Channel API](/GoToConnect#tag/Notification-Channel-Overview). A subscription will be created for every virtual fax machines the authenticated user has access too. If the user does not have permissions for any virtual fax machines, 403 will be returned. See [this](/GoToConnect#tag/Channels).\n\n        The subscription allows notifications to be sent to the notification channel with the provided notification channel ID. Only one subscription per virtual fax machine can exist at a time for a given user's channel ID. If the subscription already exists, the existing one will be returned in the response.\n      operationId: createFaxSubscription\n      parameters:\n        - name: Authorization\n          in: header\n          description: GoTo Authorization bearer token with the right scopes\n          required: true\n          schema:\n            type: string\n      tags:\n        - Fax Subscription\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: |\n                Information required to create a subscription for the fax service in order to receive events.\n              properties:\n                channelId:\n                  description: The notification channel ID\n                  type: string\n                  example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                accountKey:\n                  description: The account key of the wanted PBX\n                  type: string\n                  example: 606d12ff-9482-4ff0-8971-95133ffc47d4\n                events:\n                  description: The list of event the user is listening to\n                  type: array\n                  items:\n                    title: FaxEventType\n                    type: string\n                    description: |\n                      * `FAX_RECEIVED` : An incoming fax was received. * `FAX_DELETED` : A fax was deleted. * `FAX_UPDATED` : A fax was updated. * `FAX_CREATED` : An outgoing fax was created. * `FAX_SENT` : An outgoing fax was successfully sent. * `FAX_FAILED` : An outgoing fax failed to be sent. * `FAX_CANCELLED` : An outgoing fax was successfully cancelled.\n                    enum:\n                      - FAX_RECEIVED\n                      - FAX_DELETED\n                      - FAX_UPDATED\n                      - FAX_CREATED\n                      - FAX_CANCELLED\n                      - FAX_SENT\n                      - FAX_FAILED\n                  minItems: 1\n                  uniqueItems: true\n                virtualFaxMachineIds:\n                  description: The list of virtual fax machine id the subscription is listening to\n                  type: array\n                  items:\n                    type: string\n                  example:\n                    - ff7336fb-af95-4ac9-863f-aab112548943\n              required:\n                - channelId\n                - accountKey\n                - events\n        description: Data required to create a subscription to receive Fax events.\n        required: true\n      responses:\n        '201':\n          description: The successfully created subscriptions.\n          content:\n            application/json:\n              schema:\n                description: A list of created subscriptions\n                type: object\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      description: |\n                        A subscription for the fax service. This is required in order to be able to receive notifications for the virtual fax events.\n                      properties:\n                        id:\n                          type: string\n                          description: Unique identifier for the subscription. Provided by the server.\n                        channelId:\n                          description: The notification channel ID associated to this subscription.\n                          type: string\n                          example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                        virtualFaxMachineId:\n                          description: The virtual fax machine id the subscription is listening to\n                          type: string\n                          example: ff7336fb-af95-4ac9-863f-aab112548943\n                        events:\n                          type: array\n                          items:\n                            description: |\n                              Event that can be received upon subscribing.\n                            type: object\n                            properties:\n                              source:\n                                type: string\n                                description: Unique identifier for the subscription. Provided by the server.\n                              type:\n                                title: FaxEventType\n                                type: string\n                                description: |\n                                  * `FAX_RECEIVED` : An incoming fax was received. * `FAX_DELETED` : A fax was deleted. * `FAX_UPDATED` : A fax was updated. * `FAX_CREATED` : An outgoing fax was created. * `FAX_SENT` : An outgoing fax was successfully sent. * `FAX_FAILED` : An outgoing fax failed to be sent. * `FAX_CANCELLED` : An outgoing fax was successfully cancelled.\n                                enum:\n                                  - FAX_RECEIVED\n                                  - FAX_DELETED\n                                  - FAX_UPDATED\n                                  - FAX_CREATED\n                                  - FAX_CANCELLED\n                                  - FAX_SENT\n                                  - FAX_FAILED\n                              usage:\n                                type: string\n                              timestamp:\n                                type: string\n                              content:\n                                description: Content of the Fax events.\n                                oneOf:\n                                  - description: |\n                                      JSON object defining an incoming fax.\n                                    properties:\n                                      faxId:\n                                        type: string\n                                        example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n                                      callerIdName:\n                                        type: string\n                                        example: caller name\n                                      callerIdNumber:\n                                        type: string\n                                        example: '+14385007000'\n                                      receivedTime:\n                                        type: string\n                                        example: '2019-12-31T23:59:59.999999Z'\n                                      pageCount:\n                                        type: integer\n                                        example: 3\n                                      fileSize:\n                                        description: In bytes\n                                        type: integer\n                                        example: 4000\n                                      virtualFaxMachineId:\n                                        type: string\n                                        example: b5d96015-cb76-43c5-8770-3f21c615243\n                                      read:\n                                        type: boolean\n                                        example: true\n                                      type:\n                                        type: string\n                                        default: INCOMING\n                                  - title: OutgoingFaxProperties\n                                    description: |\n                                      JSON object defining an outgoing fax.\n                                    properties:\n                                      faxId:\n                                        type: string\n                                        example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n                                      callerIdName:\n                                        type: string\n                                        example: caller name\n                                      callerIdNumber:\n                                        type: string\n                                        example: '+14385007000'\n                                      creationTime:\n                                        type: string\n                                        example: '2019-12-31T23:59:59.999999Z'\n                                      lastUpdatedTime:\n                                        type: string\n                                        example: '2019-12-31T23:59:59.999999Z'\n                                      pageCount:\n                                        type: integer\n                                        example: 3\n                                      virtualFaxMachineId:\n                                        type: string\n                                        example: b5d96015-cb76-43c5-8770-3f21c615243\n                                      type:\n                                        type: string\n                                        default: OUTGOING\n                                      status:\n                                        title: FaxStatus\n                                        description: |\n                                          Status of an outgoing fax. More values could be added in the future.\n                                        type: string\n                                        example: SENT\n                                        enum:\n                                          - PENDING\n                                          - SENDING\n                                          - SENT\n                                          - FAILED\n                                      errorCode:\n                                        type: string\n                                        example: TOO_MANY_PAGES\n                                        description: |\n                                          Possible values are:\n                                          - UNSUPPORTED_ATTACHMENT\n                                          - TOO_MANY_PAGES\n                                          - FAX_QUOTA_BUSTED\n                                          - DIALING_ERROR\n                                          - DIALING_ERROR_NUMBER_NOT_FOUND\n                                          - DIALING_ERROR_NO_ANSWER\n                                          - NUMBER_NOT_ALLOWED\n                                          - SENDING_ERROR\n                                          - SENDING_ERROR_ABRUPTLY_ENDED\n                                      userKey:\n                                        description: UserKey of the user who created the fax\n                                        type: string\n                                        example: '1234567342344545'\n                                      pagesSent:\n                                        type: integer\n                                        example: 0\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/fax/v1/subscriptions',\n              data: {\n                channelId: 'cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76',\n                accountKey: '606d12ff-9482-4ff0-8971-95133ffc47d4',\n                events: ['FAX_RECEIVED'],\n                virtualFaxMachineIds: ['ff7336fb-af95-4ac9-863f-aab112548943']\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/fax/v1/subscriptions \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\"accountKey\":\"606d12ff-9482-4ff0-8971-95133ffc47d4\",\"events\":[\"FAX_RECEIVED\"],\"virtualFaxMachineIds\":[\"ff7336fb-af95-4ac9-863f-aab112548943\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\\"accountKey\\\":\\\"606d12ff-9482-4ff0-8971-95133ffc47d4\\\",\\\"events\\\":[\\\"FAX_RECEIVED\\\"],\\\"virtualFaxMachineIds\\\":[\\\"ff7336fb-af95-4ac9-863f-aab112548943\\\"]}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/fax/v1/subscriptions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\"accountKey\":\"606d12ff-9482-4ff0-8971-95133ffc47d4\",\"events\":[\"FAX_RECEIVED\"],\"virtualFaxMachineIds\":[\"ff7336fb-af95-4ac9-863f-aab112548943\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/fax/v1/subscriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/fax/v1/subscriptions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\\"accountKey\\\":\\\"606d12ff-9482-4ff0-8971-95133ffc47d4\\\",\\\"events\\\":[\\\"FAX_RECEIVED\\\"],\\\"virtualFaxMachineIds\\\":[\\\"ff7336fb-af95-4ac9-863f-aab112548943\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      summary: Get subscriptions\n      description: |\n        ### Authentication Scopes\n        `fax.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n        ### Description\n        Obtains the list of fax subscription details of the user. <br/>\n      operationId: getPagedFaxSubscriptionList\n      parameters:\n        - name: Authorization\n          in: header\n          description: GoTo Authorization bearer token with the right scopes\n          required: true\n          schema:\n            type: string\n        - name: pageMarker\n          in: query\n          description: The next page marker value represent the page to fetch.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: Maximum number of items returned in a page. Maximum page size is 100 items.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            default: 50\n        - in: query\n          name: accountKey\n          required: true\n          description: The account key of an organization (pbx).\n          schema:\n            type: string\n            example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n      tags:\n        - Fax Subscription\n      responses:\n        '200':\n          description: The subscription list\n          content:\n            application/json:\n              schema:\n                description: List of Subscriptions segmented by page.\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      pageSize:\n                        type: integer\n                        format: int32\n                        description: |\n                          Maximum number of items returned in a page. Maximum page size is 100 items.\n                        example: 50\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          The next page marker value, to be used for fetching the next page via the PageMarker query parameter.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        description: List of Subscriptions.\n                        type: array\n                        items:\n                          type: object\n                          description: |\n                            A subscription for the fax service. This is required in order to be able to receive notifications for the virtual fax events.\n                          properties:\n                            id:\n                              type: string\n                              description: Unique identifier for the subscription. Provided by the server.\n                            channelId:\n                              description: The notification channel ID associated to this subscription.\n                              type: string\n                              example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                            virtualFaxMachineId:\n                              description: The virtual fax machine id the subscription is listening to\n                              type: string\n                              example: ff7336fb-af95-4ac9-863f-aab112548943\n                            events:\n                              type: array\n                              items:\n                                description: |\n                                  Event that can be received upon subscribing.\n                                type: object\n                                properties:\n                                  source:\n                                    type: string\n                                    description: Unique identifier for the subscription. Provided by the server.\n                                  type:\n                                    title: FaxEventType\n                                    type: string\n                                    description: |\n                                      * `FAX_RECEIVED` : An incoming fax was received. * `FAX_DELETED` : A fax was deleted. * `FAX_UPDATED` : A fax was updated. * `FAX_CREATED` : An outgoing fax was created. * `FAX_SENT` : An outgoing fax was successfully sent. * `FAX_FAILED` : An outgoing fax failed to be sent. * `FAX_CANCELLED` : An outgoing fax was successfully cancelled.\n                                    enum:\n                                      - FAX_RECEIVED\n                                      - FAX_DELETED\n                                      - FAX_UPDATED\n                                      - FAX_CREATED\n                                      - FAX_CANCELLED\n                                      - FAX_SENT\n                                      - FAX_FAILED\n                                  usage:\n                                    type: string\n                                  timestamp:\n                                    type: string\n                                  content:\n                                    description: Content of the Fax events.\n                                    oneOf:\n                                      - description: |\n                                          JSON object defining an incoming fax.\n                                        properties:\n                                          faxId:\n                                            type: string\n                                            example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n                                          callerIdName:\n                                            type: string\n                                            example: caller name\n                                          callerIdNumber:\n                                            type: string\n                                            example: '+14385007000'\n                                          receivedTime:\n                                            type: string\n                                            example: '2019-12-31T23:59:59.999999Z'\n                                          pageCount:\n                                            type: integer\n                                            example: 3\n                                          fileSize:\n                                            description: In bytes\n                                            type: integer\n                                            example: 4000\n                                          virtualFaxMachineId:\n                                            type: string\n                                            example: b5d96015-cb76-43c5-8770-3f21c615243\n                                          read:\n                                            type: boolean\n                                            example: true\n                                          type:\n                                            type: string\n                                            default: INCOMING\n                                      - title: OutgoingFaxProperties\n                                        description: |\n                                          JSON object defining an outgoing fax.\n                                        properties:\n                                          faxId:\n                                            type: string\n                                            example: 5097f252-b5f7-45d0-9589-4eb5057e764d\n                                          callerIdName:\n                                            type: string\n                                            example: caller name\n                                          callerIdNumber:\n                                            type: string\n                                            example: '+14385007000'\n                                          creationTime:\n                                            type: string\n                                            example: '2019-12-31T23:59:59.999999Z'\n                                          lastUpdatedTime:\n                                            type: string\n                                            example: '2019-12-31T23:59:59.999999Z'\n                                          pageCount:\n                                            type: integer\n                                            example: 3\n                                          virtualFaxMachineId:\n                                            type: string\n                                            example: b5d96015-cb76-43c5-8770-3f21c615243\n                                          type:\n                                            type: string\n                                            default: OUTGOING\n                                          status:\n                                            title: FaxStatus\n                                            description: |\n                                              Status of an outgoing fax. More values could be added in the future.\n                                            type: string\n                                            example: SENT\n                                            enum:\n                                              - PENDING\n                                              - SENDING\n                                              - SENT\n                                              - FAILED\n                                          errorCode:\n                                            type: string\n                                            example: TOO_MANY_PAGES\n                                            description: |\n                                              Possible values are:\n                                              - UNSUPPORTED_ATTACHMENT\n                                              - TOO_MANY_PAGES\n                                              - FAX_QUOTA_BUSTED\n                                              - DIALING_ERROR\n                                              - DIALING_ERROR_NUMBER_NOT_FOUND\n                                              - DIALING_ERROR_NO_ANSWER\n                                              - NUMBER_NOT_ALLOWED\n                                              - SENDING_ERROR\n                                              - SENDING_ERROR_ABRUPTLY_ENDED\n                                          userKey:\n                                            description: UserKey of the user who created the fax\n                                            type: string\n                                            example: '1234567342344545'\n                                          pagesSent:\n                                            type: integer\n                                            example: 0\n        '400':\n          description: |\n            The `pageMarker` or `pageSize` is invalid\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: pageSize\n                    constraint: INVALID\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/fax/v1/subscriptions',\n              params: {\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                accountKey: '5097f252-b5f7-45d0-9589-4eb5057e764d'\n              },\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/fax/v1/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&accountKey=5097f252-b5f7-45d0-9589-4eb5057e764d' \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"GET\", \"/fax/v1/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&accountKey=5097f252-b5f7-45d0-9589-4eb5057e764d\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/fax/v1/subscriptions');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'accountKey' => '5097f252-b5f7-45d0-9589-4eb5057e764d'\n            ]));\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/fax/v1/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&accountKey=5097f252-b5f7-45d0-9589-4eb5057e764d\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /fax/v1/subscriptions/{subscriptionId}:\n    parameters:\n      - name: Authorization\n        in: header\n        description: GoTo Authorization bearer token with the right scopes\n        required: true\n        schema:\n          type: string\n      - name: subscriptionId\n        in: path\n        description: The subscription's unique identifier.\n        required: true\n        schema:\n          type: string\n    delete:\n      summary: Delete a subscription\n      description: |\n        ### Authentication Scopes\n\n        `fax.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n\n        ### Description\n\n        Delete a user's subscription with the given subscription ID.\n      operationId: deleteFaxSubscription\n      tags:\n        - Fax Subscription\n      responses:\n        '204':\n          description: Succesfully removed the subscription.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The provided `subscriptionId` doesn't exist or the subscription doesn't belong to the provided user defined by the authorization token.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/fax/v1/subscriptions/%7BsubscriptionId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/fax/v1/subscriptions/%7BsubscriptionId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/fax/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/fax/v1/subscriptions/%7BsubscriptionId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/fax/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v1/conversations-summary/{ownerPhoneNumber}:\n    get:\n      summary: Get all conversations summary\n      description: |\n        Get total count of unread messages across all conversations for this phone number.\n\n\n        ### Authentication Scopes\n\n        `messaging.v1.read` must be used when a token is requested from the Authentication API.\n\n\n        ### Example Interaction with curl\n\n        ```\n        curl \"https://api.goto.com/messaging/v1/conversations-summary/{ownerPhoneNumber}\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: ownerPhoneNumber\n          description: |\n            The user's phone number, which is an E164-formatted phone number, used for sending and receiving messages. The given user in the authentication token must be allowed to monitor this phone number.\n          in: path\n          required: true\n          schema:\n            type: string\n        - name: userKey\n          in: query\n          description: |\n            The key of the user on behalf of which this request is being made.\n            To be used by user with super admin privileges. Requests made for the user of the\n            bearer token don't require this parameter.\n          required: false\n          schema:\n            type: string\n      tags:\n        - Conversation\n      responses:\n        '200':\n          description: Summary for all conversations.\n          content:\n            application/json:\n              schema:\n                type: object\n                properties:\n                  unreadMessagesCount:\n                    type: integer\n                    format: int32\n                    default: 0\n                    description: Number of unread messages in all conversations.\n        '400':\n          description: A non E164-formatted phone number was provided. The `BAD_REQUEST` error code will be returned in such case.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                message: The request is not valid.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            Errors returned for authorization issues with error code like :\n            - `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: The provided `ownerPhoneNumber` does not exist\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/messaging/v1/conversations-summary/%7BownerPhoneNumber%7D',\n              params: {userKey: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/messaging/v1/conversations-summary/%7BownerPhoneNumber%7D?userKey=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/messaging/v1/conversations-summary/%7BownerPhoneNumber%7D?userKey=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/conversations-summary/%7BownerPhoneNumber%7D');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'userKey' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/conversations-summary/%7BownerPhoneNumber%7D?userKey=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v1/conversations:\n    get:\n      summary: Get conversations\n      description: |\n        Obtains a paginated list of conversations in which this user's phone\n        number has sent or received messages, sorted by most recent conversations first.\n\n        The data contained in the response can be used to assess whether further\n        synchronization of data needs to be performed for any conversations. As\n        an example, if the `lastMessageId` does not match the last known message\n        for a conversation, then a `GET` `/messages` should be performed.\n\n\n        ### Authentication Scopes\n\n        `messaging.v1.read` must be used when a token is requested from the Authentication API.\n\n\n        ### Example Interaction with curl\n\n        ```\n        curl \"https://api.goto.com/messaging/v1/conversations?ownerPhoneNumber={ownerPhoneNumber}&contactPhoneNumber={contactPhoneNumber}\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: ownerPhoneNumber\n          in: query\n          description: |\n            The user's phone number, which is an E164-formatted phone number, for sending and receiving messages. The given user in the authentication token must be allowed to monitor this phone number.\n          required: true\n          schema:\n            type: string\n        - name: contactPhoneNumber\n          in: query\n          description: |\n            Each contact's phone number is an E164-formatted phone number. If provided, filters the results to only contain the conversation between the provided owner and the specified contacts.\n          required: false\n          schema:\n            type: array\n            items:\n              type: string\n            uniqueItems: true\n            minItems: 1\n            maxItems: 10\n          explode: true\n        - name: oldestTimestamp\n          in: query\n          description: |\n            Oldest ISO-8601 formatted timestamp of the queried time range. For example, 2017-07-21T17:32:28Z\n          required: false\n          schema:\n            type: string\n            format: date-time\n            default: 1970-01-01T00:00:00.000Z\n        - name: newestTimestamp\n          in: query\n          description: |\n            Newest ISO-8601 formatted timestamp of the queried time range. For example, 2017-07-21T17:32:28Z. This field is set with current timestamp by default.\n          required: false\n          schema:\n            type: string\n            format: date-time\n        - name: pageMarker\n          in: query\n          description: |\n            The returned `nextPageMarker` from a paginated collection is used here to fetch the starting item for the paginated result.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 0\n            maximum: 100\n            default: 50\n        - name: unreadOnly\n          in: query\n          description: |\n            Filters the list of conversations to only include those that contain one or more unread messages\n          required: false\n          schema:\n            type: boolean\n            default: false\n        - name: userKey\n          in: query\n          description: |\n            The key of the user on behalf of which this request is being made.\n            To be used by user with super admin privileges. Requests made for the user of the\n            bearer token don't require this parameter.\n          required: false\n          schema:\n            type: string\n      tags:\n        - Conversation\n      responses:\n        '200':\n          description: List of conversation digests.\n          content:\n            application/json:\n              schema:\n                description: List of paginated conversations.\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          The next page marker value, to be used for fetching the next page via the `pageMarker` query parameter.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          description: Object returned in a request when fetching a conversation\n                          allOf:\n                            - type: object\n                              description: |\n                                Metadata of a conversation indicating the owner, the contacts, the number of unread message, the last message and the last seen message id and timestamp.\n                              required:\n                                - ownerPhoneNumber\n                                - contactPhoneNumbers\n                                - unreadMessagesCount\n                                - lastMessageId\n                                - lastMessageTimestamp\n                              properties:\n                                ownerPhoneNumber:\n                                  type: string\n                                  description: |\n                                    The user's phone number which is an E164-formatted phone number for sending and receiving messages.\n                                  example: '+15145552672'\n                                contactPhoneNumbers:\n                                  type: array\n                                  items:\n                                    type: string\n                                  uniqueItems: true\n                                  minItems: 1\n                                  maxItems: 10\n                                  example:\n                                    - '+15145557777'\n                                    - '+15145556666'\n                                  description: The contact's phone number which is an E164-formatted phone number.\n                                unreadMessagesCount:\n                                  type: integer\n                                  format: int32\n                                  default: 0\n                                  description: Number of unread messages in the conversation.\n                                lastMessageId:\n                                  type: string\n                                  description: Unique identifier for the last message in the conversation, whether sent or received.\n                                  example: a159e8fbea8e53848\n                                lastMessageTimestamp:\n                                  type: string\n                                  format: date-time\n                                  description: |\n                                    Timestamp of the last message in the conversation, the date-time notation as defined by ISO 8601.\n                                  example: '2017-07-21T17:32:28Z'\n                                lastReadMessageId:\n                                  type: string\n                                  description: Unique identifier representing the last read message.\n                                  example: Gu03qRwFPwVr51tA\n                                lastReadMessageTimestamp:\n                                  type: string\n                                  format: date-time\n                                  description: |\n                                    Timestamp of the last message the user has read, the date-time notation as defined by ISO 8601.\n                                  example: '2017-07-21T17:32:28Z'\n                            - type: object\n                              required:\n                                - lastMessage\n                              properties:\n                                lastMessage:\n                                  allOf:\n                                    - type: object\n                                      required:\n                                        - ownerPhoneNumber\n                                        - contactPhoneNumbers\n                                        - authorPhoneNumber\n                                        - id\n                                        - timestamp\n                                        - direction\n                                        - deliveryStatuses\n                                        - authorExternalUserKey\n                                      properties:\n                                        ownerPhoneNumber:\n                                          type: string\n                                          description: |\n                                            The user's phone number which is an E164-formatted phone number for sending and receiving messages.\n                                          example: '+15145552672'\n                                        contactPhoneNumbers:\n                                          type: array\n                                          items:\n                                            type: string\n                                          uniqueItems: true\n                                          minItems: 1\n                                          maxItems: 1\n                                          example:\n                                            - '+15145557777'\n                                          description: The contact's phone number which is an E164-formatted phone number. Currently it can only contain one phone number.\n                                        authorPhoneNumber:\n                                          type: string\n                                          description: |\n                                            The author's phone number which is an E164-formatted phone number.\n                                          example: '+15145552672'\n                                        authorExternalUserKey:\n                                          type: string\n                                          description: |\n                                            The author's user key or null for incoming message. This field represent the\n                                            user that send the message.\n                                          example: '972138946283750'\n                                        id:\n                                          type: string\n                                          description: Unique identifier representing the message.\n                                          example: iaZAG2KDVTvqBe6hCOqDu\n                                        timestamp:\n                                          type: string\n                                          format: date-time\n                                          description: |\n                                            Timestamp when the message was sent or received, the date-time notation as defined by ISO 8601.\n                                          example: 2017-07-21T17:32:28.000Z\n                                        direction:\n                                          type: string\n                                          enum:\n                                            - OUT\n                                            - IN\n                                          description: |\n                                            Indicates if this message is inbound or outbound relative to the owner's phone number.\n                                        deletedTimestamp:\n                                          type: string\n                                          format: date-time\n                                          description: |\n                                            Timestamp when the message was deleted, the date-time notation as defined by ISO 8601.\n                                          example: 2017-08-21T17:32:28.000Z\n                                        deliveryStatuses:\n                                          type: array\n                                          items:\n                                            type: object\n                                            properties:\n                                              messageId:\n                                                type: string\n                                                description: Unique identifier representing the message.\n                                                example: iaZAG2KDVTvqBe6hCOqDu\n                                              contactPhoneNumber:\n                                                type: string\n                                                description: The contact's phone number which is an E164-formatted phone number.\n                                                example: '+15145556666'\n                                              timestamp:\n                                                type: string\n                                                description: Timestamp of the delivery event\n                                                example: 2017-07-21T17:32:28.000Z\n                                              deliveryStatusCode:\n                                                type: integer\n                                                format: int32\n                                                description: 4 digit code\n                                                example: 4000\n                                              deliveryStatusDescription:\n                                                type: string\n                                                description: The description of the error\n                                                example: INVALID_DESTINATION\n                                              retryable:\n                                                type: boolean\n                                                description: Indicate if the client can retry the request and expect a different result\n                                                example: false\n                                          description: |\n                                            List of delivery status for this message. The array will have items only on errors for outbound messages.\n                                            The fields `deliveryStatusCode` and `deliveryStatusDescription` are one of the following:\n\n                                            | Code | Description | Additional Details |\n                                            | :--- | :---: | :--- |\n                                            | 4000 | INVALID_DESTINATION | Invalid recipient. The recipient phone number may not support text or multimedia messaging (for example, a landline), may not exist or may be otherwise unreachable through messaging. |\n                                            | 4010 | FORBIDDEN_DESTINATION | Invalid recipient. Messaging to this recipient phone number is forbidden. |\n                                            | 4020 | UNALLOCATED_DESTINATION | Invalid recipient. The recipient phone number, while a valid number, is not yet assigned to a carrier and the message cannot be sent downstream. |\n                                            | 4100 | PROVISIONING_ISSUE | Number provisioning changes are in progress for the owner phone number. As a result, messaging is not currently available. This is usually resolved in a matter of a few hours to a few days. |\n                                            | 4110 | BLOCKED_UNREGISTERED | The source phone number is not registered to a 10DLC campaign. |\n                                            | 4200 | REJECTED_BY_CARRIER | An upstream carrier has rejected this message due to a policy violation before it reached the recipient. |\n                                            | 4210 | VOLUMETRIC_VIOLATION | An upstream carrier has rejected this message due to a volumetric violation. |\n                                            | 4300 | INTERNATIONAL_DENIED | One or more recipients are not in a supported destination due to billing or location restrictions. |\n                                            | 4400 | TOO_MANY_REQUESTS | The sender has sent too many requests in a given amount of time and needs to back off sending. |\n                                            | 4500 | OUTSIDE_MESSAGING_SESSION | The message was sent outside of the allowed messaging session. |\n                                            | 4600 | MEDIA_PROCESSING_ERROR | Failed to process media content. This may occur due to unsupported message type or failure to upload or retrieve media content. |\n                                            | 5000 | UNKNOWN_SERVER_ERROR | An unknown error has caused the delivery of this message to fail. |\n                                            | 5100 | DELIVERY_FAILED | The recipient's carrier failed to accept the message for an unknown reason. |\n                                            | 5200 | TEMPORARY_DELIVERY_FAILURE | An upstream carrier experienced a temporary failure processing the message. A retry may result in a different outcome. |\n                                    - type: object\n                                      properties:\n                                        body:\n                                          type: string\n                                          description: |\n                                            The message body. This value will not be present in the case of a message that has been deleted.\n                                          example: Hi Bob!\n                                        media:\n                                          type: array\n                                          items:\n                                            type: object\n                                            properties:\n                                              id:\n                                                type: string\n                                                description: Unique identifier of this media.\n                                                example: e312d3c3-187a-4db4-9859-e29449229ab4\n                                              filename:\n                                                type: string\n                                                description: Filename of the media.\n                                                example: happy_face.jpg\n                                              contentType:\n                                                type: string\n                                                description: The media type as listed [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types).\n                                                example: image/jpg\n                                              size:\n                                                type: integer\n                                                format: int64\n                                                description: Size of this media, in bytes.\n                                                example: 1345\n                                          description: List of media objects for this message.\n        '400':\n          description: A non E164-formatted phone number was provided. The `BAD_REQUEST` error code will be returned in such case.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - allOf:\n                      - type: object\n                        required:\n                          - reference\n                          - errorCode\n                        properties:\n                          reference:\n                            type: string\n                            description: A unique identifier used to lookup the error on internal systems.\n                          errorCode:\n                            type: string\n                            description: A machine readable identifier of the error type.\n                          message:\n                            type: string\n                            description: A human readable message describing the issue.\n                        example:\n                          reference: jhkasdf89hjn3298fs\n                          errorCode: CONSTRAINT_VIOLATION\n                          message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n                constraintViolations:\n                  - field: contactPhoneNumber\n                    constraint: Invalid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            Errors returned for authorization issues with error code like :\n            - `UNAUTHORIZED` - The `ownerPhoneNumber` doesn't belong to this user\n            - `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAUTHORIZED\n                message: Forbidden access to phone number +15551234567\n        '429':\n          description: |\n            Too many requests have been sent for this user and ownerPhoneNumber combination. Requests for this user and parameters will continue returning `429` responses until the returned `Retry-After` number of seconds has elapsed.\n          headers:\n            Retry-After:\n              schema:\n                type: integer\n              description: Delay in seconds until the next request SHOULD be done.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: TOO_MANY_REQUESTS\n                message: The client has sent too many requests in a given amount of time.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/messaging/v1/conversations',\n              params: {\n                ownerPhoneNumber: 'SOME_STRING_VALUE',\n                contactPhoneNumber: 'SOME_ARRAY_VALUE',\n                oldestTimestamp: 'SOME_STRING_VALUE',\n                newestTimestamp: 'SOME_STRING_VALUE',\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                unreadOnly: 'SOME_BOOLEAN_VALUE',\n                userKey: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/messaging/v1/conversations?ownerPhoneNumber=SOME_STRING_VALUE&contactPhoneNumber=SOME_ARRAY_VALUE&oldestTimestamp=SOME_STRING_VALUE&newestTimestamp=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&unreadOnly=SOME_BOOLEAN_VALUE&userKey=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/messaging/v1/conversations?ownerPhoneNumber=SOME_STRING_VALUE&contactPhoneNumber=SOME_ARRAY_VALUE&oldestTimestamp=SOME_STRING_VALUE&newestTimestamp=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&unreadOnly=SOME_BOOLEAN_VALUE&userKey=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/conversations');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'ownerPhoneNumber' => 'SOME_STRING_VALUE',\n              'contactPhoneNumber' => 'SOME_ARRAY_VALUE',\n              'oldestTimestamp' => 'SOME_STRING_VALUE',\n              'newestTimestamp' => 'SOME_STRING_VALUE',\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'unreadOnly' => 'SOME_BOOLEAN_VALUE',\n              'userKey' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/conversations?ownerPhoneNumber=SOME_STRING_VALUE&contactPhoneNumber=SOME_ARRAY_VALUE&oldestTimestamp=SOME_STRING_VALUE&newestTimestamp=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&unreadOnly=SOME_BOOLEAN_VALUE&userKey=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      summary: Delete a specific conversation\n      description: |\n        Delete a specific conversation between provided `ownerPhoneNumber`\n        and all the given `contactPhoneNumbers`.\n\n        ### Authentication Scopes\n\n        `messaging.v1.write` must be used when a token is requested from the Authentication API.\n\n        ### Example Interaction with curl\n\n        ```\n        curl -X \"DELETE\" \"https://api.goto.com/messaging/v1/conversations?ownerPhoneNumber={ownerPhoneNumber}&contactPhoneNumber={contactPhoneNumber}\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: ownerPhoneNumber\n          in: query\n          description: |\n            The user's phone number, which is an E164-formatted phone number, for sending and receiving messages. The given user in the authentication token must be allowed to monitor this phone number.\n          required: true\n          schema:\n            type: string\n        - name: contactPhoneNumber\n          in: query\n          description: |\n            The contact's phone number which is an E164-formatted phone number. This is the other phone number that is sending messages to or receiving messages from the owner's phone number. If a list of `contactPhoneNumber`, the endpoint will find the conversation matching the full list.\n          required: true\n          schema:\n            type: array\n            items:\n              type: string\n            uniqueItems: true\n            minItems: 1\n            maxItems: 10\n          explode: true\n        - name: userKey\n          in: query\n          description: |\n            The key of the user on behalf of which this request is being made.\n            To be used by user with super admin privileges. Requests made for the user of the\n            bearer token don't require this parameter.\n          required: false\n          schema:\n            type: string\n      tags:\n        - Conversation\n      responses:\n        '204':\n          description: The conversation was successfully deleted.\n        '400':\n          description: A non E164-formatted phone number was provided. The `BAD_REQUEST` error code will be returned in such case.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - allOf:\n                      - type: object\n                        required:\n                          - reference\n                          - errorCode\n                        properties:\n                          reference:\n                            type: string\n                            description: A unique identifier used to lookup the error on internal systems.\n                          errorCode:\n                            type: string\n                            description: A machine readable identifier of the error type.\n                          message:\n                            type: string\n                            description: A human readable message describing the issue.\n                        example:\n                          reference: jhkasdf89hjn3298fs\n                          errorCode: CONSTRAINT_VIOLATION\n                          message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n                constraintViolations:\n                  - field: contactPhoneNumber\n                    constraint: Invalid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            Errors returned for authorization issues with error code like :\n            - `UNAUTHORIZED` - The `ownerPhoneNumber` doesn't belong to this user\n            - `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAUTHORIZED\n                message: Forbidden access to phone number +15551234567\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/messaging/v1/conversations',\n              params: {\n                ownerPhoneNumber: 'SOME_STRING_VALUE',\n                contactPhoneNumber: 'SOME_ARRAY_VALUE',\n                userKey: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url 'https://api.goto.com/messaging/v1/conversations?ownerPhoneNumber=SOME_STRING_VALUE&contactPhoneNumber=SOME_ARRAY_VALUE&userKey=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/messaging/v1/conversations?ownerPhoneNumber=SOME_STRING_VALUE&contactPhoneNumber=SOME_ARRAY_VALUE&userKey=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/conversations');\n            $request->setRequestMethod('DELETE');\n            $request->setQuery(new http\\QueryString([\n              'ownerPhoneNumber' => 'SOME_STRING_VALUE',\n              'contactPhoneNumber' => 'SOME_ARRAY_VALUE',\n              'userKey' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/conversations?ownerPhoneNumber=SOME_STRING_VALUE&contactPhoneNumber=SOME_ARRAY_VALUE&userKey=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v1/update-conversation:\n    post:\n      summary: Update a conversation\n      description: |\n        Update a conversation.\n\n        ### Authentication Scopes\n\n        `messaging.v1.write` must be used when a token is requested from the Authentication API.\n\n        ### Example Interaction with curl\n\n        ```\n        curl -X \"POST\" \"https://api.goto.com/messaging/v1/update-conversation\" \\\n          -H \"Content-Type: application/json\" \\\n          -d '{\"ownerPhoneNumber\": \"{ownerPhoneNumber}\", \"contactPhoneNumbers\": [ \"{contactPhoneNumber}\" ], \"lastReadMessageId\": \"{id}\"}' \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Conversation update command for setting the last read message ID for a conversation.\n              properties:\n                ownerPhoneNumber:\n                  type: string\n                  description: |\n                    The user's phone number which is an E164-formatted phone number for sending and receiving messages. The given user in the authentication token must be allowed to use this phone number.\n                  example: '+15145552672'\n                contactPhoneNumbers:\n                  type: array\n                  items:\n                    type: string\n                  uniqueItems: true\n                  minItems: 1\n                  maxItems: 10\n                  example:\n                    - '+15145557777'\n                    - '+15145556666'\n                  description: The contact's phone number which is an E164-formatted phone number.\n                lastReadMessageId:\n                  type: string\n                  description: Unique identifier representing the message.\n                  example: a159e8fbea8e53848\n                userKey:\n                  type: string\n                  description: |\n                    The key of the user on behalf of which this request is being made. For use by user with SuperAdmin privileges. Requests made for the user of the bearer token don't require this parameter.\n              required:\n                - ownerPhoneNumber\n                - contactPhoneNumbers\n                - lastReadMessageId\n              example:\n                ownerPhoneNumber: '+14155552671'\n                contactPhoneNumbers:\n                  - '+15145557777'\n                  - '+15145556666'\n                lastReadMessageId: a159e8fbea8e53848\n        description: |\n          Update to be performed on a conversation between the\n          owner's phone number and the contact's phone number.\n\n          Per design `lastReadMessageId` can only receive values greater than the\n          current id and it's impossible to unread conversations or go in the\n          past at the moment.\n        required: true\n      tags:\n        - Conversation\n      responses:\n        '200':\n          description: A conversation digest\n          content:\n            application/json:\n              schema:\n                description: Object returned in a request when fetching a conversation\n                allOf:\n                  - type: object\n                    description: |\n                      Metadata of a conversation indicating the owner, the contacts, the number of unread message, the last message and the last seen message id and timestamp.\n                    required:\n                      - ownerPhoneNumber\n                      - contactPhoneNumbers\n                      - unreadMessagesCount\n                      - lastMessageId\n                      - lastMessageTimestamp\n                    properties:\n                      ownerPhoneNumber:\n                        type: string\n                        description: |\n                          The user's phone number which is an E164-formatted phone number for sending and receiving messages.\n                        example: '+15145552672'\n                      contactPhoneNumbers:\n                        type: array\n                        items:\n                          type: string\n                        uniqueItems: true\n                        minItems: 1\n                        maxItems: 10\n                        example:\n                          - '+15145557777'\n                          - '+15145556666'\n                        description: The contact's phone number which is an E164-formatted phone number.\n                      unreadMessagesCount:\n                        type: integer\n                        format: int32\n                        default: 0\n                        description: Number of unread messages in the conversation.\n                      lastMessageId:\n                        type: string\n                        description: Unique identifier for the last message in the conversation, whether sent or received.\n                        example: a159e8fbea8e53848\n                      lastMessageTimestamp:\n                        type: string\n                        format: date-time\n                        description: |\n                          Timestamp of the last message in the conversation, the date-time notation as defined by ISO 8601.\n                        example: '2017-07-21T17:32:28Z'\n                      lastReadMessageId:\n                        type: string\n                        description: Unique identifier representing the last read message.\n                        example: Gu03qRwFPwVr51tA\n                      lastReadMessageTimestamp:\n                        type: string\n                        format: date-time\n                        description: |\n                          Timestamp of the last message the user has read, the date-time notation as defined by ISO 8601.\n                        example: '2017-07-21T17:32:28Z'\n                  - type: object\n                    required:\n                      - lastMessage\n                    properties:\n                      lastMessage:\n                        allOf:\n                          - type: object\n                            required:\n                              - ownerPhoneNumber\n                              - contactPhoneNumbers\n                              - authorPhoneNumber\n                              - id\n                              - timestamp\n                              - direction\n                              - deliveryStatuses\n                              - authorExternalUserKey\n                            properties:\n                              ownerPhoneNumber:\n                                type: string\n                                description: |\n                                  The user's phone number which is an E164-formatted phone number for sending and receiving messages.\n                                example: '+15145552672'\n                              contactPhoneNumbers:\n                                type: array\n                                items:\n                                  type: string\n                                uniqueItems: true\n                                minItems: 1\n                                maxItems: 1\n                                example:\n                                  - '+15145557777'\n                                description: The contact's phone number which is an E164-formatted phone number. Currently it can only contain one phone number.\n                              authorPhoneNumber:\n                                type: string\n                                description: |\n                                  The author's phone number which is an E164-formatted phone number.\n                                example: '+15145552672'\n                              authorExternalUserKey:\n                                type: string\n                                description: |\n                                  The author's user key or null for incoming message. This field represent the\n                                  user that send the message.\n                                example: '972138946283750'\n                              id:\n                                type: string\n                                description: Unique identifier representing the message.\n                                example: iaZAG2KDVTvqBe6hCOqDu\n                              timestamp:\n                                type: string\n                                format: date-time\n                                description: |\n                                  Timestamp when the message was sent or received, the date-time notation as defined by ISO 8601.\n                                example: 2017-07-21T17:32:28.000Z\n                              direction:\n                                type: string\n                                enum:\n                                  - OUT\n                                  - IN\n                                description: |\n                                  Indicates if this message is inbound or outbound relative to the owner's phone number.\n                              deletedTimestamp:\n                                type: string\n                                format: date-time\n                                description: |\n                                  Timestamp when the message was deleted, the date-time notation as defined by ISO 8601.\n                                example: 2017-08-21T17:32:28.000Z\n                              deliveryStatuses:\n                                type: array\n                                items:\n                                  type: object\n                                  properties:\n                                    messageId:\n                                      type: string\n                                      description: Unique identifier representing the message.\n                                      example: iaZAG2KDVTvqBe6hCOqDu\n                                    contactPhoneNumber:\n                                      type: string\n                                      description: The contact's phone number which is an E164-formatted phone number.\n                                      example: '+15145556666'\n                                    timestamp:\n                                      type: string\n                                      description: Timestamp of the delivery event\n                                      example: 2017-07-21T17:32:28.000Z\n                                    deliveryStatusCode:\n                                      type: integer\n                                      format: int32\n                                      description: 4 digit code\n                                      example: 4000\n                                    deliveryStatusDescription:\n                                      type: string\n                                      description: The description of the error\n                                      example: INVALID_DESTINATION\n                                    retryable:\n                                      type: boolean\n                                      description: Indicate if the client can retry the request and expect a different result\n                                      example: false\n                                description: |\n                                  List of delivery status for this message. The array will have items only on errors for outbound messages.\n                                  The fields `deliveryStatusCode` and `deliveryStatusDescription` are one of the following:\n\n                                  | Code | Description | Additional Details |\n                                  | :--- | :---: | :--- |\n                                  | 4000 | INVALID_DESTINATION | Invalid recipient. The recipient phone number may not support text or multimedia messaging (for example, a landline), may not exist or may be otherwise unreachable through messaging. |\n                                  | 4010 | FORBIDDEN_DESTINATION | Invalid recipient. Messaging to this recipient phone number is forbidden. |\n                                  | 4020 | UNALLOCATED_DESTINATION | Invalid recipient. The recipient phone number, while a valid number, is not yet assigned to a carrier and the message cannot be sent downstream. |\n                                  | 4100 | PROVISIONING_ISSUE | Number provisioning changes are in progress for the owner phone number. As a result, messaging is not currently available. This is usually resolved in a matter of a few hours to a few days. |\n                                  | 4110 | BLOCKED_UNREGISTERED | The source phone number is not registered to a 10DLC campaign. |\n                                  | 4200 | REJECTED_BY_CARRIER | An upstream carrier has rejected this message due to a policy violation before it reached the recipient. |\n                                  | 4210 | VOLUMETRIC_VIOLATION | An upstream carrier has rejected this message due to a volumetric violation. |\n                                  | 4300 | INTERNATIONAL_DENIED | One or more recipients are not in a supported destination due to billing or location restrictions. |\n                                  | 4400 | TOO_MANY_REQUESTS | The sender has sent too many requests in a given amount of time and needs to back off sending. |\n                                  | 4500 | OUTSIDE_MESSAGING_SESSION | The message was sent outside of the allowed messaging session. |\n                                  | 4600 | MEDIA_PROCESSING_ERROR | Failed to process media content. This may occur due to unsupported message type or failure to upload or retrieve media content. |\n                                  | 5000 | UNKNOWN_SERVER_ERROR | An unknown error has caused the delivery of this message to fail. |\n                                  | 5100 | DELIVERY_FAILED | The recipient's carrier failed to accept the message for an unknown reason. |\n                                  | 5200 | TEMPORARY_DELIVERY_FAILURE | An upstream carrier experienced a temporary failure processing the message. A retry may result in a different outcome. |\n                          - type: object\n                            properties:\n                              body:\n                                type: string\n                                description: |\n                                  The message body. This value will not be present in the case of a message that has been deleted.\n                                example: Hi Bob!\n                              media:\n                                type: array\n                                items:\n                                  type: object\n                                  properties:\n                                    id:\n                                      type: string\n                                      description: Unique identifier of this media.\n                                      example: e312d3c3-187a-4db4-9859-e29449229ab4\n                                    filename:\n                                      type: string\n                                      description: Filename of the media.\n                                      example: happy_face.jpg\n                                    contentType:\n                                      type: string\n                                      description: The media type as listed [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types).\n                                      example: image/jpg\n                                    size:\n                                      type: integer\n                                      format: int64\n                                      description: Size of this media, in bytes.\n                                      example: 1345\n                                description: List of media objects for this message.\n        '400':\n          description: A non E164-formatted phone number was provided. The `BAD_REQUEST` error code will be returned in such case.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - allOf:\n                      - type: object\n                        required:\n                          - reference\n                          - errorCode\n                        properties:\n                          reference:\n                            type: string\n                            description: A unique identifier used to lookup the error on internal systems.\n                          errorCode:\n                            type: string\n                            description: A machine readable identifier of the error type.\n                          message:\n                            type: string\n                            description: A human readable message describing the issue.\n                        example:\n                          reference: jhkasdf89hjn3298fs\n                          errorCode: CONSTRAINT_VIOLATION\n                          message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n                constraintViolations:\n                  - field: contactPhoneNumber\n                    constraint: Invalid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            Errors returned for authorization issues with error code like :\n            - `UNAUTHORIZED` - The `ownerPhoneNumber` doesn't belong to this user\n            - `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAUTHORIZED\n                message: Forbidden access to phone number +15551234567\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/messaging/v1/update-conversation',\n              data: {\n                ownerPhoneNumber: '+14155552671',\n                contactPhoneNumbers: ['+15145557777', '+15145556666'],\n                lastReadMessageId: 'a159e8fbea8e53848'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/messaging/v1/update-conversation \\\n              --header 'content-type: application/json' \\\n              --data '{\"ownerPhoneNumber\":\"+14155552671\",\"contactPhoneNumbers\":[\"+15145557777\",\"+15145556666\"],\"lastReadMessageId\":\"a159e8fbea8e53848\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"ownerPhoneNumber\\\":\\\"+14155552671\\\",\\\"contactPhoneNumbers\\\":[\\\"+15145557777\\\",\\\"+15145556666\\\"],\\\"lastReadMessageId\\\":\\\"a159e8fbea8e53848\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/messaging/v1/update-conversation\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"ownerPhoneNumber\":\"+14155552671\",\"contactPhoneNumbers\":[\"+15145557777\",\"+15145556666\"],\"lastReadMessageId\":\"a159e8fbea8e53848\"}');\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/update-conversation');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/update-conversation\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"ownerPhoneNumber\\\":\\\"+14155552671\\\",\\\"contactPhoneNumbers\\\":[\\\"+15145557777\\\",\\\"+15145556666\\\"],\\\"lastReadMessageId\\\":\\\"a159e8fbea8e53848\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v1/messages:\n    get:\n      summary: Get messages\n      description: |\n        Obtains a paginated list of messages in a conversation between the\n        user's phone number and the specified contact's phone numbers, sorted\n        by most recent messages first, within a given optional time range.<br/>\n\n        ### Authentication Scopes\n\n        `messaging.v1.read` must be used when a token is requested from the Authentication API.\n\n        ### Example Interaction with curl\n\n        ```\n        curl \"https://api.goto.com/messaging/v1/messages?ownerPhoneNumber={ownerPhoneNumber}&contactPhoneNumber={contactPhoneNumber}\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: ownerPhoneNumber\n          in: query\n          description: |\n            The user's phone number, which is an E164-formatted phone number, for sending and receiving messages. The given user in the authentication token must be allowed to monitor this phone number.\n          required: true\n          schema:\n            type: string\n        - name: contactPhoneNumber\n          in: query\n          description: |\n            The contact's phone number which is an E164-formatted phone number. This is the other phone number that is sending messages to or receiving messages from the owner's phone number. If a list of `contactPhoneNumber`, the endpoint will find the conversation matching the full list.\n          required: true\n          schema:\n            type: array\n            items:\n              type: string\n            uniqueItems: true\n            minItems: 1\n            maxItems: 10\n          explode: true\n        - name: oldestTimestamp\n          in: query\n          description: |\n            Oldest ISO-8601 formatted timestamp of the queried time range. For example, 2017-07-21T17:32:28Z\n          required: false\n          schema:\n            type: string\n            format: date-time\n            default: 1970-01-01T00:00:00.000Z\n        - name: newestTimestamp\n          in: query\n          description: |\n            Newest ISO-8601 formatted timestamp of the queried time range. For example, 2017-07-21T17:32:28Z. This field is set with current timestamp by default.\n          required: false\n          schema:\n            type: string\n            format: date-time\n        - name: pageMarker\n          in: query\n          description: |\n            The returned `nextPageMarker` from a paginated collection is used here to fetch the starting item for the paginated result.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 0\n            maximum: 100\n            default: 50\n        - name: userKey\n          in: query\n          description: |\n            The key of the user on behalf of which this request is being made.\n            To be used by user with super admin privileges. Requests made for the user of the\n            bearer token don't require this parameter.\n          required: false\n          schema:\n            type: string\n      tags:\n        - Message\n      responses:\n        '200':\n          description: List of messages\n          content:\n            application/json:\n              schema:\n                description: List of paginated messages.\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          The next page marker value, to be used for fetching the next page via the `pageMarker` query parameter.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          allOf:\n                            - type: object\n                              required:\n                                - ownerPhoneNumber\n                                - contactPhoneNumbers\n                                - authorPhoneNumber\n                                - id\n                                - timestamp\n                                - direction\n                                - deliveryStatuses\n                                - authorExternalUserKey\n                              properties:\n                                ownerPhoneNumber:\n                                  type: string\n                                  description: |\n                                    The user's phone number which is an E164-formatted phone number for sending and receiving messages.\n                                  example: '+15145552672'\n                                contactPhoneNumbers:\n                                  type: array\n                                  items:\n                                    type: string\n                                  uniqueItems: true\n                                  minItems: 1\n                                  maxItems: 1\n                                  example:\n                                    - '+15145557777'\n                                  description: The contact's phone number which is an E164-formatted phone number. Currently it can only contain one phone number.\n                                authorPhoneNumber:\n                                  type: string\n                                  description: |\n                                    The author's phone number which is an E164-formatted phone number.\n                                  example: '+15145552672'\n                                authorExternalUserKey:\n                                  type: string\n                                  description: |\n                                    The author's user key or null for incoming message. This field represent the\n                                    user that send the message.\n                                  example: '972138946283750'\n                                id:\n                                  type: string\n                                  description: Unique identifier representing the message.\n                                  example: iaZAG2KDVTvqBe6hCOqDu\n                                timestamp:\n                                  type: string\n                                  format: date-time\n                                  description: |\n                                    Timestamp when the message was sent or received, the date-time notation as defined by ISO 8601.\n                                  example: 2017-07-21T17:32:28.000Z\n                                direction:\n                                  type: string\n                                  enum:\n                                    - OUT\n                                    - IN\n                                  description: |\n                                    Indicates if this message is inbound or outbound relative to the owner's phone number.\n                                deletedTimestamp:\n                                  type: string\n                                  format: date-time\n                                  description: |\n                                    Timestamp when the message was deleted, the date-time notation as defined by ISO 8601.\n                                  example: 2017-08-21T17:32:28.000Z\n                                deliveryStatuses:\n                                  type: array\n                                  items:\n                                    type: object\n                                    properties:\n                                      messageId:\n                                        type: string\n                                        description: Unique identifier representing the message.\n                                        example: iaZAG2KDVTvqBe6hCOqDu\n                                      contactPhoneNumber:\n                                        type: string\n                                        description: The contact's phone number which is an E164-formatted phone number.\n                                        example: '+15145556666'\n                                      timestamp:\n                                        type: string\n                                        description: Timestamp of the delivery event\n                                        example: 2017-07-21T17:32:28.000Z\n                                      deliveryStatusCode:\n                                        type: integer\n                                        format: int32\n                                        description: 4 digit code\n                                        example: 4000\n                                      deliveryStatusDescription:\n                                        type: string\n                                        description: The description of the error\n                                        example: INVALID_DESTINATION\n                                      retryable:\n                                        type: boolean\n                                        description: Indicate if the client can retry the request and expect a different result\n                                        example: false\n                                  description: |\n                                    List of delivery status for this message. The array will have items only on errors for outbound messages.\n                                    The fields `deliveryStatusCode` and `deliveryStatusDescription` are one of the following:\n\n                                    | Code | Description | Additional Details |\n                                    | :--- | :---: | :--- |\n                                    | 4000 | INVALID_DESTINATION | Invalid recipient. The recipient phone number may not support text or multimedia messaging (for example, a landline), may not exist or may be otherwise unreachable through messaging. |\n                                    | 4010 | FORBIDDEN_DESTINATION | Invalid recipient. Messaging to this recipient phone number is forbidden. |\n                                    | 4020 | UNALLOCATED_DESTINATION | Invalid recipient. The recipient phone number, while a valid number, is not yet assigned to a carrier and the message cannot be sent downstream. |\n                                    | 4100 | PROVISIONING_ISSUE | Number provisioning changes are in progress for the owner phone number. As a result, messaging is not currently available. This is usually resolved in a matter of a few hours to a few days. |\n                                    | 4110 | BLOCKED_UNREGISTERED | The source phone number is not registered to a 10DLC campaign. |\n                                    | 4200 | REJECTED_BY_CARRIER | An upstream carrier has rejected this message due to a policy violation before it reached the recipient. |\n                                    | 4210 | VOLUMETRIC_VIOLATION | An upstream carrier has rejected this message due to a volumetric violation. |\n                                    | 4300 | INTERNATIONAL_DENIED | One or more recipients are not in a supported destination due to billing or location restrictions. |\n                                    | 4400 | TOO_MANY_REQUESTS | The sender has sent too many requests in a given amount of time and needs to back off sending. |\n                                    | 4500 | OUTSIDE_MESSAGING_SESSION | The message was sent outside of the allowed messaging session. |\n                                    | 4600 | MEDIA_PROCESSING_ERROR | Failed to process media content. This may occur due to unsupported message type or failure to upload or retrieve media content. |\n                                    | 5000 | UNKNOWN_SERVER_ERROR | An unknown error has caused the delivery of this message to fail. |\n                                    | 5100 | DELIVERY_FAILED | The recipient's carrier failed to accept the message for an unknown reason. |\n                                    | 5200 | TEMPORARY_DELIVERY_FAILURE | An upstream carrier experienced a temporary failure processing the message. A retry may result in a different outcome. |\n                            - type: object\n                              properties:\n                                body:\n                                  type: string\n                                  description: |\n                                    The message body. This value will not be present in the case of a message that has been deleted.\n                                  example: Hi Bob!\n                                media:\n                                  type: array\n                                  items:\n                                    type: object\n                                    properties:\n                                      id:\n                                        type: string\n                                        description: Unique identifier of this media.\n                                        example: e312d3c3-187a-4db4-9859-e29449229ab4\n                                      filename:\n                                        type: string\n                                        description: Filename of the media.\n                                        example: happy_face.jpg\n                                      contentType:\n                                        type: string\n                                        description: The media type as listed [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types).\n                                        example: image/jpg\n                                      size:\n                                        type: integer\n                                        format: int64\n                                        description: Size of this media, in bytes.\n                                        example: 1345\n                                  description: List of media objects for this message.\n                        example:\n                          - ownerPhoneNumber: '+15145552672'\n                            contactPhoneNumbers:\n                              - '+15145557777'\n                            authorPhoneNumber: '+15145552672'\n                            id: iaZAG2KDVTvqBe6hCOqDu\n                            timestamp: 2017-07-21T17:32:28.000Z\n                            direction: OUT\n                            deliveryStatuses:\n                              - messageId: iaZAG2KDVTvqBe6hCOqDu\n                                contactPhoneNumber: '+15145556666'\n                                timestamp: 2017-07-21T17:32:28.000Z\n                                deliveryStatusCode: 4000\n                                deliveryStatusDescription: INVALID_DESTINATION\n                                retryable: false\n                            body: outgoing message...\n                            authorExternalUserKey: '972138946283750'\n                          - ownerPhoneNumber: '+15145552672'\n                            contactPhoneNumbers:\n                              - '+15145557777'\n                            authorPhoneNumber: '+15145557777'\n                            id: aaZAG2jht6e6hCOgergee\n                            timestamp: 2017-07-21T17:33:35.000Z\n                            direction: IN\n                            deliveryStatuses: []\n                            body: incoming message...\n                            authorExternalUserKey: '172138946283750'\n                          - ownerPhoneNumber: '+15145552672'\n                            contactPhoneNumbers:\n                              - '+15145557777'\n                            authorPhoneNumber: '+15145552672'\n                            id: aaZQG2bhh6e8hC4gajger\n                            timestamp: 2017-07-21T19:33:35.000Z\n                            direction: OUT\n                            deliveryStatuses: []\n                            deletedTimestamp: 2017-07-21T20:48:21.000Z\n                            authorExternalUserKey: '572138946283750'\n        '400':\n          description: |\n            A non E164-formatted phone number was provided, the owner phone number is missing or the contact phone number is missing.\n            The `BAD_REQUEST` error code will be returned in such case.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                message: The request is not valid.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            Errors returned for authorization issues with error code like :\n            - `UNAUTHORIZED` - The `ownerPhoneNumber` doesn't belong to this user\n            - `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAUTHORIZED\n                message: Forbidden access to phone number +15551234567\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/messaging/v1/messages',\n              params: {\n                ownerPhoneNumber: 'SOME_STRING_VALUE',\n                contactPhoneNumber: 'SOME_ARRAY_VALUE',\n                oldestTimestamp: 'SOME_STRING_VALUE',\n                newestTimestamp: 'SOME_STRING_VALUE',\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                userKey: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/messaging/v1/messages?ownerPhoneNumber=SOME_STRING_VALUE&contactPhoneNumber=SOME_ARRAY_VALUE&oldestTimestamp=SOME_STRING_VALUE&newestTimestamp=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&userKey=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/messaging/v1/messages?ownerPhoneNumber=SOME_STRING_VALUE&contactPhoneNumber=SOME_ARRAY_VALUE&oldestTimestamp=SOME_STRING_VALUE&newestTimestamp=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&userKey=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/messages');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'ownerPhoneNumber' => 'SOME_STRING_VALUE',\n              'contactPhoneNumber' => 'SOME_ARRAY_VALUE',\n              'oldestTimestamp' => 'SOME_STRING_VALUE',\n              'newestTimestamp' => 'SOME_STRING_VALUE',\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'userKey' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/messages?ownerPhoneNumber=SOME_STRING_VALUE&contactPhoneNumber=SOME_ARRAY_VALUE&oldestTimestamp=SOME_STRING_VALUE&newestTimestamp=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&userKey=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    post:\n      summary: Send a message\n      description: |\n        Sends a new message to up to 10 contacts from a given phone number.\n\n        When sending a message, get opt-outs request is used to verify if any of the contact phone numbers is opted out.\n        Sending-message request will be rejected if any of the contact phone number is opted out. The following\n        error code: PHONE_NUMBER_OPTED_OUT will be returned in this case. Message will be successfully sent only if\n        there is no opted out contact phone number in the list.\n\n        There is a limit on outbound SMS per month per organization. The following error code: TOO_MANY_REQUESTS\n        will be returned in this case. Reach out to support if this limit must be increased.\n\n        ### Authentication Scopes\n\n        `messaging.v1.send` must be used when a token is requested from the Authentication API.\n\n        ### Example Interaction with curl\n\n        ```\n        curl -X \"POST\" \"https://api.goto.com/messaging/v1/messages\" \\\n          -H \"Content-Type: application/json\" \\\n          -d '{\"ownerPhoneNumber\": \"{ownerPhoneNumber}\", \"contactPhoneNumbers\": [ \"{contactPhoneNumber}\" ], \"body\": \"{message}\"}' \\\n          -H 'Authorization: Bearer {token}'\n        ```\n\n        For sending a new message with attached media files a `multipart/form-data` request is used.\n        Note: it is possible to send a message with no media files with a `multipart/form-data`\n        request as long as it has message body to it.\n\n        Example:\n\n        ```\n        curl -J -X POST 'https://api.goto.com/messaging/v1/messages' \\\n          -H \"Content-Type: multipart/form-data\" \\\n          -H \"Accept: application/json\" \\\n          -H \"Authorization: Bearer {token}\" \\\n          -F \"ownerPhoneNumber={ownerPhoneNumber};type=text/plain\" \\\n          -F \"contactPhoneNumbers={contactPhoneNumber};type=text/plain\" \\\n          -F \"body=\\\"{message}\\\";type=text/plain\" \\\n          -F \"media=@file1.jpg;type=image/jpeg\" \\\n          -F \"media=@file2.jpg;type=image/jpeg\"\n        ```\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              properties:\n                ownerPhoneNumber:\n                  type: string\n                  description: |\n                    The user's phone number which is an E164-formatted phone number for sending and receiving messages. The given user in the authentication token must be allowed to monitor this phone number. This number will be used as the `authorPhoneNumber` when retrieving the message.\n                  example: '+15145552672'\n                contactPhoneNumbers:\n                  type: array\n                  items:\n                    type: string\n                  uniqueItems: true\n                  minItems: 1\n                  maxItems: 10\n                  example:\n                    - '+15145557777'\n                  description: |\n                    Each contact's phone number is an E164-formatted phone number.\n                body:\n                  type: string\n                  description: The message body.\n                  minLength: 0\n                  maxLength: 1000\n                  example: Hi Bob!\n                userKey:\n                  type: string\n                  description: |\n                    The key of the user on behalf of which this request is being made. For use by user with SuperAdmin privileges. Requests made for the user of the bearer token don't require this parameter.\n              required:\n                - ownerPhoneNumber\n                - contactPhoneNumbers\n                - body\n          multipart/form-data:\n            schema:\n              type: object\n              properties:\n                ownerPhoneNumber:\n                  type: string\n                  description: |\n                    This is the user's E164-formatted phone number. The given user in the authentication token must be allowed to monitor this phone number. This number will be used as the `authorPhoneNumber` when retrieving the message.\n                  example: '+15145552672'\n                contactPhoneNumbers:\n                  type: array\n                  description: |\n                    Each contact's phone number is an E164-formatted phone number.\n                  items:\n                    type: string\n                  uniqueItems: true\n                  minItems: 1\n                  maxItems: 10\n                  example:\n                    - '+15145557777'\n                body:\n                  type: string\n                  description: The message body (optional if the message has at least one media file attached).\n                  minLength: 0\n                  maxLength: 1000\n                  example: Hi Bob!\n                userKey:\n                  type: string\n                  description: |\n                    The key of the user on behalf of which this request is being made. For use by user with SuperAdmin privileges. Requests made for the user of the bearer token don't require this parameter.\n                media:\n                  type: array\n                  description: |\n                    The media you want to send (optional if the body is not empty). Any typical mime type listed\n                    [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) will be supported as the `type` parameter.\n                  minItems: 0\n                  maxItems: 10\n                  items:\n                    type: string\n                    format: binary\n              required:\n                - ownerPhoneNumber\n                - contactPhoneNumbers\n        description: |\n          A new message to send to all the specified contacts.\n        required: true\n      tags:\n        - Message\n      responses:\n        '201':\n          description: The sent message\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - ownerPhoneNumber\n                      - contactPhoneNumbers\n                      - authorPhoneNumber\n                      - id\n                      - timestamp\n                      - direction\n                      - deliveryStatuses\n                      - authorExternalUserKey\n                    properties:\n                      ownerPhoneNumber:\n                        type: string\n                        description: |\n                          The user's phone number which is an E164-formatted phone number for sending and receiving messages.\n                        example: '+15145552672'\n                      contactPhoneNumbers:\n                        type: array\n                        items:\n                          type: string\n                        uniqueItems: true\n                        minItems: 1\n                        maxItems: 1\n                        example:\n                          - '+15145557777'\n                        description: The contact's phone number which is an E164-formatted phone number. Currently it can only contain one phone number.\n                      authorPhoneNumber:\n                        type: string\n                        description: |\n                          The author's phone number which is an E164-formatted phone number.\n                        example: '+15145552672'\n                      authorExternalUserKey:\n                        type: string\n                        description: |\n                          The author's user key or null for incoming message. This field represent the\n                          user that send the message.\n                        example: '972138946283750'\n                      id:\n                        type: string\n                        description: Unique identifier representing the message.\n                        example: iaZAG2KDVTvqBe6hCOqDu\n                      timestamp:\n                        type: string\n                        format: date-time\n                        description: |\n                          Timestamp when the message was sent or received, the date-time notation as defined by ISO 8601.\n                        example: 2017-07-21T17:32:28.000Z\n                      direction:\n                        type: string\n                        enum:\n                          - OUT\n                          - IN\n                        description: |\n                          Indicates if this message is inbound or outbound relative to the owner's phone number.\n                      deletedTimestamp:\n                        type: string\n                        format: date-time\n                        description: |\n                          Timestamp when the message was deleted, the date-time notation as defined by ISO 8601.\n                        example: 2017-08-21T17:32:28.000Z\n                      deliveryStatuses:\n                        type: array\n                        items:\n                          type: object\n                          properties:\n                            messageId:\n                              type: string\n                              description: Unique identifier representing the message.\n                              example: iaZAG2KDVTvqBe6hCOqDu\n                            contactPhoneNumber:\n                              type: string\n                              description: The contact's phone number which is an E164-formatted phone number.\n                              example: '+15145556666'\n                            timestamp:\n                              type: string\n                              description: Timestamp of the delivery event\n                              example: 2017-07-21T17:32:28.000Z\n                            deliveryStatusCode:\n                              type: integer\n                              format: int32\n                              description: 4 digit code\n                              example: 4000\n                            deliveryStatusDescription:\n                              type: string\n                              description: The description of the error\n                              example: INVALID_DESTINATION\n                            retryable:\n                              type: boolean\n                              description: Indicate if the client can retry the request and expect a different result\n                              example: false\n                        description: |\n                          List of delivery status for this message. The array will have items only on errors for outbound messages.\n                          The fields `deliveryStatusCode` and `deliveryStatusDescription` are one of the following:\n\n                          | Code | Description | Additional Details |\n                          | :--- | :---: | :--- |\n                          | 4000 | INVALID_DESTINATION | Invalid recipient. The recipient phone number may not support text or multimedia messaging (for example, a landline), may not exist or may be otherwise unreachable through messaging. |\n                          | 4010 | FORBIDDEN_DESTINATION | Invalid recipient. Messaging to this recipient phone number is forbidden. |\n                          | 4020 | UNALLOCATED_DESTINATION | Invalid recipient. The recipient phone number, while a valid number, is not yet assigned to a carrier and the message cannot be sent downstream. |\n                          | 4100 | PROVISIONING_ISSUE | Number provisioning changes are in progress for the owner phone number. As a result, messaging is not currently available. This is usually resolved in a matter of a few hours to a few days. |\n                          | 4110 | BLOCKED_UNREGISTERED | The source phone number is not registered to a 10DLC campaign. |\n                          | 4200 | REJECTED_BY_CARRIER | An upstream carrier has rejected this message due to a policy violation before it reached the recipient. |\n                          | 4210 | VOLUMETRIC_VIOLATION | An upstream carrier has rejected this message due to a volumetric violation. |\n                          | 4300 | INTERNATIONAL_DENIED | One or more recipients are not in a supported destination due to billing or location restrictions. |\n                          | 4400 | TOO_MANY_REQUESTS | The sender has sent too many requests in a given amount of time and needs to back off sending. |\n                          | 4500 | OUTSIDE_MESSAGING_SESSION | The message was sent outside of the allowed messaging session. |\n                          | 4600 | MEDIA_PROCESSING_ERROR | Failed to process media content. This may occur due to unsupported message type or failure to upload or retrieve media content. |\n                          | 5000 | UNKNOWN_SERVER_ERROR | An unknown error has caused the delivery of this message to fail. |\n                          | 5100 | DELIVERY_FAILED | The recipient's carrier failed to accept the message for an unknown reason. |\n                          | 5200 | TEMPORARY_DELIVERY_FAILURE | An upstream carrier experienced a temporary failure processing the message. A retry may result in a different outcome. |\n                  - type: object\n                    properties:\n                      body:\n                        type: string\n                        description: |\n                          The message body. This value will not be present in the case of a message that has been deleted.\n                        example: Hi Bob!\n                      media:\n                        type: array\n                        items:\n                          type: object\n                          properties:\n                            id:\n                              type: string\n                              description: Unique identifier of this media.\n                              example: e312d3c3-187a-4db4-9859-e29449229ab4\n                            filename:\n                              type: string\n                              description: Filename of the media.\n                              example: happy_face.jpg\n                            contentType:\n                              type: string\n                              description: The media type as listed [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types).\n                              example: image/jpg\n                            size:\n                              type: integer\n                              format: int64\n                              description: Size of this media, in bytes.\n                              example: 1345\n                        description: List of media objects for this message.\n              examples:\n                SMS:\n                  value:\n                    ownerPhoneNumber: '+15145552672'\n                    contactPhoneNumbers:\n                      - '+15145557777'\n                    authorPhoneNumber: '+15145552672'\n                    id: iaZAG2KDVTvqBe6hCOqDu\n                    timestamp: 2017-07-21T17:32:28.000Z\n                    direction: OUT\n                    body: Hi Bob!\n                    deliveryStatuses:\n                      - messageId: iaZAG2KDVTvqBe6hCOqDu\n                        contactPhoneNumber: '+15145556666'\n                        timestamp: '2017-07-21T17:32:28Z'\n                        deliveryStatusCode: 4000\n                        deliveryStatusDescription: INVALID_DESTINATION\n                        retryable: false\n                    authorExternalUserKey: '972138946283750'\n                MMS:\n                  value:\n                    ownerPhoneNumber: '+15145552672'\n                    contactPhoneNumbers:\n                      - '+15145557777'\n                    authorPhoneNumber: '+15145552672'\n                    id: iaZAG2KDVTvqBe6hCOqDu\n                    timestamp: 2017-07-21T17:32:28.000Z\n                    direction: OUT\n                    body: Hi Bob!\n                    media:\n                      - id: e312d3c3-187a-4db4-9859-e29449229ab4\n                        filename: happy_face.jpeg\n                        contentType: image/jpeg\n                        size: 31416\n                    deliveryStatuses:\n                      - messageId: iaZAG2KDVTvqBe6hCOqDu\n                        contactPhoneNumber: '+15145556666'\n                        timestamp: '2017-07-21T17:32:28Z'\n                        deliveryStatusCode: 4000\n                        deliveryStatusDescription: INVALID_DESTINATION\n                        retryable: false\n                    authorExternalUserKey: '972138946283750'\n        '400':\n          description: |\n            A non E164-formatted phone number was provided, the owner phone number is missing or the contact phone numbers list is empty.\n            The `BAD_REQUEST` error code will be returned in such case.\n\n            A contact number is opted out.\n            The `BAD_REQUEST` error code will be returned in this case.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                message: The request is not valid.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            Errors returned for authorization issues with error code like :\n            - `UNAUTHORIZED` - The `ownerPhoneNumber` doesn't belong to this user or is not linked to a fully registered 10DLC campaign for traffic towards US recipients.\n            - `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAUTHORIZED\n                message: Forbidden access to phone number +15551234567\n        '413':\n          description: |\n            The message payload is too large. 1024KB is the maximum size for each file. While 2MB is the maximum size for the sum of all the files. The maximum size of the message body is 1024 characters.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: qg2TJHt5EoNqrMQUPpR9aTYZFNJnZK5g\n                errorCode: PAYLOAD_TOO_LARGE\n                message: Total media content too large, total size of all media files must be under 3.75MB\n        '429':\n          description: |\n            The client has sent too many requests in a given amount of time. The API returns a number of `errorCode` values in the response that provide additional details. Requests for this account will continue returning `429` response until the returned `Retry-After` number of seconds has elapsed.\n            There is a limit on outbound SMS per month per organization. The following error code: TOO_MANY_REQUESTS will be returned in this case. Reach out to support if this limit must be increased.\n            * `TOO_MANY_REQUESTS` - The client has sent too many requests in a given amount of time.\n            * `QUOTA_REACHED` - For accounts with monthly message quotas, this indicates the maximum number of\n              messages that can be sent for the month has been reached. The limit resets on the following First\n              of the Month (GMT +00:00).\n          headers:\n            Retry-After:\n              schema:\n                type: integer\n              description: Delay in seconds until the next request SHOULD be done.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: TOO_MANY_REQUESTS\n                message: The client has sent too many requests in a given amount of time.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/messaging/v1/messages',\n              data: {\n                ownerPhoneNumber: '+15145552672',\n                contactPhoneNumbers: ['+15145557777'],\n                body: 'Hi Bob!',\n                userKey: 'string'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/messaging/v1/messages \\\n              --header 'content-type: application/json' \\\n              --data '{\"ownerPhoneNumber\":\"+15145552672\",\"contactPhoneNumbers\":[\"+15145557777\"],\"body\":\"Hi Bob!\",\"userKey\":\"string\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"ownerPhoneNumber\\\":\\\"+15145552672\\\",\\\"contactPhoneNumbers\\\":[\\\"+15145557777\\\"],\\\"body\\\":\\\"Hi Bob!\\\",\\\"userKey\\\":\\\"string\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/messaging/v1/messages\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"ownerPhoneNumber\":\"+15145552672\",\"contactPhoneNumbers\":[\"+15145557777\"],\"body\":\"Hi Bob!\",\"userKey\":\"string\"}');\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/messages');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/messages\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"ownerPhoneNumber\\\":\\\"+15145552672\\\",\\\"contactPhoneNumbers\\\":[\\\"+15145557777\\\"],\\\"body\\\":\\\"Hi Bob!\\\",\\\"userKey\\\":\\\"string\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v1/messages/{messageId}:\n    get:\n      summary: Get a specific message\n      description: |\n        Obtains a specific message. If the message is deleted, there will be\n        no body and additional information about when it was deleted.\n\n        ### Authentication Scopes\n\n        `messaging.v1.read` must be used when a token is requested from the Authentication API.\n\n        ### Example Interaction with curl\n\n        ```\n        curl \"https://api.goto.com/messaging/v1/messages/{messageId}\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: messageId\n          in: path\n          description: The message's unique identifier.\n          required: true\n          schema:\n            type: string\n            format: MessageId\n        - name: userKey\n          in: query\n          description: |\n            The key of the user on behalf of which this request is being made.\n            To be used by user with super admin privileges. Requests made for the user of the\n            bearer token don't require this parameter.\n          required: false\n          schema:\n            type: string\n      tags:\n        - Message\n      responses:\n        '200':\n          description: The message\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - ownerPhoneNumber\n                      - contactPhoneNumbers\n                      - authorPhoneNumber\n                      - id\n                      - timestamp\n                      - direction\n                      - deliveryStatuses\n                      - authorExternalUserKey\n                    properties:\n                      ownerPhoneNumber:\n                        type: string\n                        description: |\n                          The user's phone number which is an E164-formatted phone number for sending and receiving messages.\n                        example: '+15145552672'\n                      contactPhoneNumbers:\n                        type: array\n                        items:\n                          type: string\n                        uniqueItems: true\n                        minItems: 1\n                        maxItems: 1\n                        example:\n                          - '+15145557777'\n                        description: The contact's phone number which is an E164-formatted phone number. Currently it can only contain one phone number.\n                      authorPhoneNumber:\n                        type: string\n                        description: |\n                          The author's phone number which is an E164-formatted phone number.\n                        example: '+15145552672'\n                      authorExternalUserKey:\n                        type: string\n                        description: |\n                          The author's user key or null for incoming message. This field represent the\n                          user that send the message.\n                        example: '972138946283750'\n                      id:\n                        type: string\n                        description: Unique identifier representing the message.\n                        example: iaZAG2KDVTvqBe6hCOqDu\n                      timestamp:\n                        type: string\n                        format: date-time\n                        description: |\n                          Timestamp when the message was sent or received, the date-time notation as defined by ISO 8601.\n                        example: 2017-07-21T17:32:28.000Z\n                      direction:\n                        type: string\n                        enum:\n                          - OUT\n                          - IN\n                        description: |\n                          Indicates if this message is inbound or outbound relative to the owner's phone number.\n                      deletedTimestamp:\n                        type: string\n                        format: date-time\n                        description: |\n                          Timestamp when the message was deleted, the date-time notation as defined by ISO 8601.\n                        example: 2017-08-21T17:32:28.000Z\n                      deliveryStatuses:\n                        type: array\n                        items:\n                          type: object\n                          properties:\n                            messageId:\n                              type: string\n                              description: Unique identifier representing the message.\n                              example: iaZAG2KDVTvqBe6hCOqDu\n                            contactPhoneNumber:\n                              type: string\n                              description: The contact's phone number which is an E164-formatted phone number.\n                              example: '+15145556666'\n                            timestamp:\n                              type: string\n                              description: Timestamp of the delivery event\n                              example: 2017-07-21T17:32:28.000Z\n                            deliveryStatusCode:\n                              type: integer\n                              format: int32\n                              description: 4 digit code\n                              example: 4000\n                            deliveryStatusDescription:\n                              type: string\n                              description: The description of the error\n                              example: INVALID_DESTINATION\n                            retryable:\n                              type: boolean\n                              description: Indicate if the client can retry the request and expect a different result\n                              example: false\n                        description: |\n                          List of delivery status for this message. The array will have items only on errors for outbound messages.\n                          The fields `deliveryStatusCode` and `deliveryStatusDescription` are one of the following:\n\n                          | Code | Description | Additional Details |\n                          | :--- | :---: | :--- |\n                          | 4000 | INVALID_DESTINATION | Invalid recipient. The recipient phone number may not support text or multimedia messaging (for example, a landline), may not exist or may be otherwise unreachable through messaging. |\n                          | 4010 | FORBIDDEN_DESTINATION | Invalid recipient. Messaging to this recipient phone number is forbidden. |\n                          | 4020 | UNALLOCATED_DESTINATION | Invalid recipient. The recipient phone number, while a valid number, is not yet assigned to a carrier and the message cannot be sent downstream. |\n                          | 4100 | PROVISIONING_ISSUE | Number provisioning changes are in progress for the owner phone number. As a result, messaging is not currently available. This is usually resolved in a matter of a few hours to a few days. |\n                          | 4110 | BLOCKED_UNREGISTERED | The source phone number is not registered to a 10DLC campaign. |\n                          | 4200 | REJECTED_BY_CARRIER | An upstream carrier has rejected this message due to a policy violation before it reached the recipient. |\n                          | 4210 | VOLUMETRIC_VIOLATION | An upstream carrier has rejected this message due to a volumetric violation. |\n                          | 4300 | INTERNATIONAL_DENIED | One or more recipients are not in a supported destination due to billing or location restrictions. |\n                          | 4400 | TOO_MANY_REQUESTS | The sender has sent too many requests in a given amount of time and needs to back off sending. |\n                          | 4500 | OUTSIDE_MESSAGING_SESSION | The message was sent outside of the allowed messaging session. |\n                          | 4600 | MEDIA_PROCESSING_ERROR | Failed to process media content. This may occur due to unsupported message type or failure to upload or retrieve media content. |\n                          | 5000 | UNKNOWN_SERVER_ERROR | An unknown error has caused the delivery of this message to fail. |\n                          | 5100 | DELIVERY_FAILED | The recipient's carrier failed to accept the message for an unknown reason. |\n                          | 5200 | TEMPORARY_DELIVERY_FAILURE | An upstream carrier experienced a temporary failure processing the message. A retry may result in a different outcome. |\n                  - type: object\n                    properties:\n                      body:\n                        type: string\n                        description: |\n                          The message body. This value will not be present in the case of a message that has been deleted.\n                        example: Hi Bob!\n                      media:\n                        type: array\n                        items:\n                          type: object\n                          properties:\n                            id:\n                              type: string\n                              description: Unique identifier of this media.\n                              example: e312d3c3-187a-4db4-9859-e29449229ab4\n                            filename:\n                              type: string\n                              description: Filename of the media.\n                              example: happy_face.jpg\n                            contentType:\n                              type: string\n                              description: The media type as listed [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types).\n                              example: image/jpg\n                            size:\n                              type: integer\n                              format: int64\n                              description: Size of this media, in bytes.\n                              example: 1345\n                        description: List of media objects for this message.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            Errors returned for authorization issues with error code like :\n            - `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: The provided `messageId` doesn't exist. The `NOT_FOUND` error code will be returned in such case.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: 020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\n                errorCode: NOT_FOUND\n                message: Message with ID 257f6944-aad6-4372-802a-57faa4780b2c does not exist\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/messaging/v1/messages/%7BmessageId%7D',\n              params: {userKey: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/messaging/v1/messages/%7BmessageId%7D?userKey=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/messaging/v1/messages/%7BmessageId%7D?userKey=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/messages/%7BmessageId%7D');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'userKey' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/messages/%7BmessageId%7D?userKey=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      summary: Delete a specific message\n      description: |\n        Marks a message as deleted by removing the message body and\n        adding information about when it was deleted.\n\n        Note: subsequent `GET` will return the deleted message, not a `404` response.\n\n        ### Authentication Scopes\n\n        `messaging.v1.write` must be used when a token is requested from the Authentication API.\n\n        ### Example Interaction with curl\n\n        ```\n        curl -X \"DELETE\" \"https://api.goto.com/messaging/v1/messages/{messageId}\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: messageId\n          in: path\n          description: The message's unique identifier.\n          required: true\n          schema:\n            type: string\n            format: MessageId\n        - name: userKey\n          in: query\n          description: |\n            The key of the user on behalf of which this request is being made.\n            To be used by user with super admin privileges. Requests made for the user of the\n            bearer token don't require this parameter.\n          required: false\n          schema:\n            type: string\n      tags:\n        - Message\n      responses:\n        '200':\n          description: The deleted message information.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - ownerPhoneNumber\n                      - contactPhoneNumbers\n                      - authorPhoneNumber\n                      - id\n                      - timestamp\n                      - direction\n                      - deliveryStatuses\n                      - authorExternalUserKey\n                    properties:\n                      ownerPhoneNumber:\n                        type: string\n                        description: |\n                          The user's phone number which is an E164-formatted phone number for sending and receiving messages.\n                        example: '+15145552672'\n                      contactPhoneNumbers:\n                        type: array\n                        items:\n                          type: string\n                        uniqueItems: true\n                        minItems: 1\n                        maxItems: 1\n                        example:\n                          - '+15145557777'\n                        description: The contact's phone number which is an E164-formatted phone number. Currently it can only contain one phone number.\n                      authorPhoneNumber:\n                        type: string\n                        description: |\n                          The author's phone number which is an E164-formatted phone number.\n                        example: '+15145552672'\n                      authorExternalUserKey:\n                        type: string\n                        description: |\n                          The author's user key or null for incoming message. This field represent the\n                          user that send the message.\n                        example: '972138946283750'\n                      id:\n                        type: string\n                        description: Unique identifier representing the message.\n                        example: iaZAG2KDVTvqBe6hCOqDu\n                      timestamp:\n                        type: string\n                        format: date-time\n                        description: |\n                          Timestamp when the message was sent or received, the date-time notation as defined by ISO 8601.\n                        example: 2017-07-21T17:32:28.000Z\n                      direction:\n                        type: string\n                        enum:\n                          - OUT\n                          - IN\n                        description: |\n                          Indicates if this message is inbound or outbound relative to the owner's phone number.\n                      deletedTimestamp:\n                        type: string\n                        format: date-time\n                        description: |\n                          Timestamp when the message was deleted, the date-time notation as defined by ISO 8601.\n                        example: 2017-08-21T17:32:28.000Z\n                      deliveryStatuses:\n                        type: array\n                        items:\n                          type: object\n                          properties:\n                            messageId:\n                              type: string\n                              description: Unique identifier representing the message.\n                              example: iaZAG2KDVTvqBe6hCOqDu\n                            contactPhoneNumber:\n                              type: string\n                              description: The contact's phone number which is an E164-formatted phone number.\n                              example: '+15145556666'\n                            timestamp:\n                              type: string\n                              description: Timestamp of the delivery event\n                              example: 2017-07-21T17:32:28.000Z\n                            deliveryStatusCode:\n                              type: integer\n                              format: int32\n                              description: 4 digit code\n                              example: 4000\n                            deliveryStatusDescription:\n                              type: string\n                              description: The description of the error\n                              example: INVALID_DESTINATION\n                            retryable:\n                              type: boolean\n                              description: Indicate if the client can retry the request and expect a different result\n                              example: false\n                        description: |\n                          List of delivery status for this message. The array will have items only on errors for outbound messages.\n                          The fields `deliveryStatusCode` and `deliveryStatusDescription` are one of the following:\n\n                          | Code | Description | Additional Details |\n                          | :--- | :---: | :--- |\n                          | 4000 | INVALID_DESTINATION | Invalid recipient. The recipient phone number may not support text or multimedia messaging (for example, a landline), may not exist or may be otherwise unreachable through messaging. |\n                          | 4010 | FORBIDDEN_DESTINATION | Invalid recipient. Messaging to this recipient phone number is forbidden. |\n                          | 4020 | UNALLOCATED_DESTINATION | Invalid recipient. The recipient phone number, while a valid number, is not yet assigned to a carrier and the message cannot be sent downstream. |\n                          | 4100 | PROVISIONING_ISSUE | Number provisioning changes are in progress for the owner phone number. As a result, messaging is not currently available. This is usually resolved in a matter of a few hours to a few days. |\n                          | 4110 | BLOCKED_UNREGISTERED | The source phone number is not registered to a 10DLC campaign. |\n                          | 4200 | REJECTED_BY_CARRIER | An upstream carrier has rejected this message due to a policy violation before it reached the recipient. |\n                          | 4210 | VOLUMETRIC_VIOLATION | An upstream carrier has rejected this message due to a volumetric violation. |\n                          | 4300 | INTERNATIONAL_DENIED | One or more recipients are not in a supported destination due to billing or location restrictions. |\n                          | 4400 | TOO_MANY_REQUESTS | The sender has sent too many requests in a given amount of time and needs to back off sending. |\n                          | 4500 | OUTSIDE_MESSAGING_SESSION | The message was sent outside of the allowed messaging session. |\n                          | 4600 | MEDIA_PROCESSING_ERROR | Failed to process media content. This may occur due to unsupported message type or failure to upload or retrieve media content. |\n                          | 5000 | UNKNOWN_SERVER_ERROR | An unknown error has caused the delivery of this message to fail. |\n                          | 5100 | DELIVERY_FAILED | The recipient's carrier failed to accept the message for an unknown reason. |\n                          | 5200 | TEMPORARY_DELIVERY_FAILURE | An upstream carrier experienced a temporary failure processing the message. A retry may result in a different outcome. |\n                  - required:\n                      - deletedTimestamp\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            Errors returned for authorization issues with error code like :\n            - `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: The provided `messageId` doesn't exist. The `NOT_FOUND` error code will be returned in such case.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: 020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\n                errorCode: NOT_FOUND\n                message: Message with ID 257f6944-aad6-4372-802a-57faa4780b2c does not exist\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/messaging/v1/messages/%7BmessageId%7D',\n              params: {userKey: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url 'https://api.goto.com/messaging/v1/messages/%7BmessageId%7D?userKey=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/messaging/v1/messages/%7BmessageId%7D?userKey=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/messages/%7BmessageId%7D');\n            $request->setRequestMethod('DELETE');\n            $request->setQuery(new http\\QueryString([\n              'userKey' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/messages/%7BmessageId%7D?userKey=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v1/media/{mediaId}:\n    get:\n      summary: Get a specific media\n      description: |\n        Obtains a specific media.\n\n        ### Authentication Scopes\n\n        `messaging.v1.read` must be used when a token is requested from the Authentication API.\n\n        ### Example Interaction with curl\n\n        ```\n        curl \"https://api.goto.com/messaging/v1/media/{mediaId}\" \\\n          -H 'Authorization: Bearer {token}' --output {filename}\n        ```\n      parameters:\n        - name: mediaId\n          in: path\n          description: The media's unique identifier.\n          required: true\n          schema:\n            type: string\n        - name: userKey\n          in: query\n          description: |\n            The key of the user on behalf of which this request is being made.\n            To be used by user with super admin privileges. Requests made for the user of the\n            bearer token don't require this parameter.\n          required: false\n          schema:\n            type: string\n      tags:\n        - Media\n      responses:\n        '200':\n          description: The media specified by the ID. Content type depends on the type of media.\n          content:\n            '*/*':\n              schema:\n                type: string\n                format: byte\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            Errors returned for authorization issues with error code like :\n            - `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: The provided `mediaId` doesn't exist or the given token can't download it.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: 020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\n                errorCode: NOT_FOUND\n                message: Media with ID 257f6944-aad6-4372-802a-57faa4780b2c does not exist\n        '429':\n          description: |\n            Too many requests have been sent for this user and ownerPhoneNumber combination. Requests for this user and parameters will continue returning `429` responses until the returned `Retry-After` number of seconds has elapsed.\n          headers:\n            Retry-After:\n              schema:\n                type: integer\n              description: Delay in seconds until the next request SHOULD be done.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: TOO_MANY_REQUESTS\n                message: The client has sent too many requests in a given amount of time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/messaging/v1/media/%7BmediaId%7D',\n              params: {userKey: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/messaging/v1/media/%7BmediaId%7D?userKey=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/messaging/v1/media/%7BmediaId%7D?userKey=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/media/%7BmediaId%7D');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'userKey' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/media/%7BmediaId%7D?userKey=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v1/media-metadata:\n    get:\n      summary: Get media metadata\n      description: |\n        Obtains a paginated list of media metadata in a conversation between the\n        user's phone number and the specified contact's phone number, sorted\n        by most recent media first. A time range can be specified to limit the result set.\n\n        ### Example Interaction with curl\n\n        ```\n        curl \"https://api.goto.com/messaging/v1/media-metadata?ownerPhoneNumber={ownerPhoneNumber}&contactPhoneNumber={contactPhoneNumber}\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: ownerPhoneNumber\n          in: query\n          description: |\n            The user's phone number, which is an E164-formatted phone number, for sending and receiving messages. The given user in the authentication token must be allowed to monitor this phone number.\n          required: true\n          schema:\n            type: string\n        - name: contactPhoneNumber\n          in: query\n          description: |\n            The contact's phone number which is an E164-formatted phone number. This is the other phone number that is sending messages to or receiving messages from the owner's phone number. If a list of `contactPhoneNumber`, the endpoint will find the conversation matching the full list.\n          required: true\n          schema:\n            type: array\n            items:\n              type: string\n            uniqueItems: true\n            minItems: 1\n            maxItems: 10\n          explode: true\n        - name: oldestTimestamp\n          in: query\n          description: |\n            Oldest ISO-8601 formatted timestamp of the queried time range. For example, 2017-07-21T17:32:28Z\n          required: false\n          schema:\n            type: string\n            format: date-time\n            default: 1970-01-01T00:00:00.000Z\n        - name: newestTimestamp\n          in: query\n          description: |\n            Newest ISO-8601 formatted timestamp of the queried time range. For example, 2017-07-21T17:32:28Z. This field is set with current timestamp by default.\n          required: false\n          schema:\n            type: string\n            format: date-time\n        - name: contentType\n          in: query\n          description: |\n            Restrict the media type(s) included in the result set. Use of the wildcard character\n            are permitted. For example, `image/*` or `*/*`. Media types must be RFC 2046 compliant.\n          required: false\n          schema:\n            type: string\n            default: '*/*'\n        - name: pageMarker\n          in: query\n          description: |\n            The returned `nextPageMarker` from a paginated collection is used here to fetch the starting item for the paginated result.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 0\n            maximum: 100\n            default: 50\n        - name: userKey\n          in: query\n          description: |\n            The key of the user on behalf of which this request is being made.\n            To be used by user with super admin privileges. Requests made for the user of the\n            bearer token don't require this parameter.\n          required: false\n          schema:\n            type: string\n      tags:\n        - Media\n      responses:\n        '200':\n          description: List of paginated Media Metadata\n          content:\n            application/json:\n              schema:\n                description: Paginated list of media metadata.\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          The next page marker value, to be used for fetching the next page via the `pageMarker` query parameter.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          description: Metadata for a media object.\n                          allOf:\n                            - type: object\n                              properties:\n                                id:\n                                  type: string\n                                  description: Unique identifier of this media.\n                                  example: e312d3c3-187a-4db4-9859-e29449229ab4\n                                filename:\n                                  type: string\n                                  description: Filename of the media.\n                                  example: happy_face.jpg\n                                contentType:\n                                  type: string\n                                  description: The media type as listed [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types).\n                                  example: image/jpg\n                                size:\n                                  type: integer\n                                  format: int64\n                                  description: Size of this media, in bytes.\n                                  example: 1345\n                            - type: object\n                              properties:\n                                messageId:\n                                  type: string\n                                  description: Unique identifier of the message related to this media.\n                                  example: e312d3c3-187a-4db4-9859-e29449229ab4\n                                messageTime:\n                                  type: string\n                                  format: date-time\n                                  description: |\n                                    Timestamp when the message was created, the date-time notation as defined by ISO 8601.\n                                  example: 2017-08-21T17:32:28.000Z\n        '400':\n          description: |\n            The `BAD_REQUEST` error code will be returned in the following cases:\n              - A non E164-formatted phone number was provided\n              - the owner phone number is missing\n              - the contact phone numbers list is empty\n              - an invalid timestamp was provided\n              - the `pageMarker` format is invalid\n              - the `pageSize` format is invalid\n              - the `contentType` value is invalid.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                message: The request is not valid.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            Errors returned for authorization issues with error code like :\n            - `UNAUTHORIZED` - The `ownerPhoneNumber` doesn't belong to this user\n            - `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAUTHORIZED\n                message: Forbidden access to phone number +15551234567\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/messaging/v1/media-metadata',\n              params: {\n                ownerPhoneNumber: 'SOME_STRING_VALUE',\n                contactPhoneNumber: 'SOME_ARRAY_VALUE',\n                oldestTimestamp: 'SOME_STRING_VALUE',\n                newestTimestamp: 'SOME_STRING_VALUE',\n                contentType: 'SOME_STRING_VALUE',\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                userKey: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/messaging/v1/media-metadata?ownerPhoneNumber=SOME_STRING_VALUE&contactPhoneNumber=SOME_ARRAY_VALUE&oldestTimestamp=SOME_STRING_VALUE&newestTimestamp=SOME_STRING_VALUE&contentType=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&userKey=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/messaging/v1/media-metadata?ownerPhoneNumber=SOME_STRING_VALUE&contactPhoneNumber=SOME_ARRAY_VALUE&oldestTimestamp=SOME_STRING_VALUE&newestTimestamp=SOME_STRING_VALUE&contentType=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&userKey=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/media-metadata');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'ownerPhoneNumber' => 'SOME_STRING_VALUE',\n              'contactPhoneNumber' => 'SOME_ARRAY_VALUE',\n              'oldestTimestamp' => 'SOME_STRING_VALUE',\n              'newestTimestamp' => 'SOME_STRING_VALUE',\n              'contentType' => 'SOME_STRING_VALUE',\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'userKey' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/media-metadata?ownerPhoneNumber=SOME_STRING_VALUE&contactPhoneNumber=SOME_ARRAY_VALUE&oldestTimestamp=SOME_STRING_VALUE&newestTimestamp=SOME_STRING_VALUE&contentType=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&userKey=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v1/subscriptions:\n    post:\n      summary: |\n        Create a subscription for a given phone number.\n      description: |\n        Create a subscription for the user defined in the authorization\n        token. The subscription activates notifications towards the provided\n        notification channel ID. The OAuth client ID used to get\n        the access token that will be provided for the creation must be the same one used to create the channel.\n\n        ### Authentication Scopes\n\n        `messaging.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n\n        ### Example Interaction with curl\n\n        ```\n        curl -X \"POST\" \"https://api.goto.com/messaging/v1/subscriptions\" \\\n          -H \"Content-Type: application/json\" \\\n          -d '{\"ownerPhoneNumber\": \"{ownerPhoneNumber}\", \"eventTypes\": [{types}], \"channelId\": \"id\"}' \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      operationId: createSubscription\n      tags:\n        - Subscription\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Required details for creating a phone number Subscription.\n              properties:\n                ownerPhoneNumber:\n                  type: string\n                  description: |\n                    The user's phone number which is an E164-formatted phone number for sending and receiving messages.\n                  example: '+15145552672'\n                eventTypes:\n                  type: array\n                  items:\n                    description: |-\n                      A notification type to subscribe to.\n                      - INCOMING_MESSAGE are for new incoming message notifications. That will trigger `message` notification types.\n                      - INCOMING_MESSAGE_SNIPPET are for new incoming message snippet notifications. Will only send the first 50 characters of the message.\n                      - OUTGOING_MESSAGE are for new outgoing message notifications. That will trigger `message` notification types.\n                      - READ_UPDATE_CONVERSATION are for last message seen update notifications. That will trigger `conversation-update` notification types.\n                      - DELETED_MESSAGE are for message marked for deletion notifications. That will trigger `message` notification types.\n                      - DELETED_CONVERSATION are for conversation marked for deletion notifications. That will trigger `conversation-update` notification types.\n                      - DELIVERY_STATUS are for notifications of delivery statuses from outgoing messages. That will trigger `delivery-status` notification types.\n                      - QUOTA_EXCEEDED are for blocked message notifications (inbound or outbound).\n                      - QUOTA_REACHED is sent when the message quota is reached (inbound or outbound).\n                    type: string\n                    enum:\n                      - INCOMING_MESSAGE\n                      - INCOMING_MESSAGE_SNIPPET\n                      - OUTGOING_MESSAGE\n                      - READ_UPDATE_CONVERSATION\n                      - DELETED_MESSAGE\n                      - DELETED_CONVERSATION\n                      - DELIVERY_STATUS\n                      - QUOTA_EXCEEDED\n                      - QUOTA_REACHED\n                  description: |-\n                    List of one or more event types to subscribe to.\n                    - `INCOMING_MESSAGE` are for new incoming message notifications (including messages with media). That will trigger `message` notification types.\n                    - `OUTGOING_MESSAGE` are for new outgoing message notifications (including messages with media). That will trigger `message` notification types.\n                    - `READ_UPDATE_CONVERSATION` are for last message seen update notifications. That will trigger `conversation-update` notification types.\n                    - `DELETED_MESSAGE` are for message marked for deletion notifications. That will trigger `message` notification types.\n                    - `DELETED_CONVERSATION` are for conversation marked for deletion notifications. That will trigger `conversation-update` notification types.\n                    - `DELIVERY_STATUS` are for notifications of delivery statuses from outgoing messages. That will trigger `delivery-status` notification types.\n                channelId:\n                  description: The notification channel's ID.\n                  type: string\n                  example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n              required:\n                - ownerPhoneNumber\n                - eventTypes\n                - channelId\n              example:\n                ownerPhoneNumber: '+15149871234'\n                eventTypes:\n                  - INCOMING_MESSAGE\n                  - OUTGOING_MESSAGE\n                  - READ_UPDATE_CONVERSATION\n                  - DELETED_MESSAGE\n                  - DELETED_CONVERSATION\n                  - DELIVERY_STATUS\n                channelId: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n        description: Data required to create a subscription to receive messaging events.\n        required: true\n      responses:\n        '201':\n          description: The successfully created subscription.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Single Subscription.\n                properties:\n                  id:\n                    type: string\n                    description: Unique identifier for the subscription. Provided by the server.\n                  ownerPhoneNumber:\n                    type: string\n                    description: |\n                      The user's phone number which is an E164-formatted phone number for sending and receiving messages.\n                    example: '+15145552672'\n                  eventTypes:\n                    type: array\n                    items:\n                      description: |-\n                        A notification type to subscribe to.\n                        - INCOMING_MESSAGE are for new incoming message notifications. That will trigger `message` notification types.\n                        - INCOMING_MESSAGE_SNIPPET are for new incoming message snippet notifications. Will only send the first 50 characters of the message.\n                        - OUTGOING_MESSAGE are for new outgoing message notifications. That will trigger `message` notification types.\n                        - READ_UPDATE_CONVERSATION are for last message seen update notifications. That will trigger `conversation-update` notification types.\n                        - DELETED_MESSAGE are for message marked for deletion notifications. That will trigger `message` notification types.\n                        - DELETED_CONVERSATION are for conversation marked for deletion notifications. That will trigger `conversation-update` notification types.\n                        - DELIVERY_STATUS are for notifications of delivery statuses from outgoing messages. That will trigger `delivery-status` notification types.\n                        - QUOTA_EXCEEDED are for blocked message notifications (inbound or outbound).\n                        - QUOTA_REACHED is sent when the message quota is reached (inbound or outbound).\n                      type: string\n                      enum:\n                        - INCOMING_MESSAGE\n                        - INCOMING_MESSAGE_SNIPPET\n                        - OUTGOING_MESSAGE\n                        - READ_UPDATE_CONVERSATION\n                        - DELETED_MESSAGE\n                        - DELETED_CONVERSATION\n                        - DELIVERY_STATUS\n                        - QUOTA_EXCEEDED\n                        - QUOTA_REACHED\n                    description: |\n                      List of one or more event types to subscribe to. Omitting this parameter or providing an empty list will create a subscription on all event types.\n                  channelId:\n                    description: The notification channel's ID.\n                    type: string\n                    example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                required:\n                  - id\n                  - ownerPhoneNumber\n                  - eventTypes\n                example:\n                  id: 7732cf5d-b186-42c9-a1bf-b84d1bfe2934\n                  ownerPhoneNumber: '+15149871234'\n                  eventTypes:\n                    - INCOMING_MESSAGE\n                    - OUTGOING_MESSAGE\n                    - READ_UPDATE_CONVERSATION\n                    - DELETED_MESSAGE\n                    - DELETED_CONVERSATION\n                    - DELIVERY_STATUS\n        '400':\n          description: A field was missing. The `BAD_REQUEST` error code will be returned in such case.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - allOf:\n                      - type: object\n                        required:\n                          - reference\n                          - errorCode\n                        properties:\n                          reference:\n                            type: string\n                            description: A unique identifier used to lookup the error on internal systems.\n                          errorCode:\n                            type: string\n                            description: A machine readable identifier of the error type.\n                          message:\n                            type: string\n                            description: A human readable message describing the issue.\n                        example:\n                          reference: jhkasdf89hjn3298fs\n                          errorCode: CONSTRAINT_VIOLATION\n                          message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n                constraintViolations:\n                  - field: channelId\n                    constraint: Required\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            Errors returned for authorization issues with error code like :\n            - `UNAUTHORIZED` - The `ownerPhoneNumber` doesn't belong to this user\n            - `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAUTHORIZED\n                message: Forbidden access to phone number +15551234567\n        '409':\n          description: |\n            If a subscription already exists for this given phone number and user, defined by the authorization token, a `HTTP 409 Conflict` will be returned.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - allOf:\n                      - type: object\n                        required:\n                          - reference\n                          - errorCode\n                        properties:\n                          reference:\n                            type: string\n                            description: A unique identifier used to lookup the error on internal systems.\n                          errorCode:\n                            type: string\n                            description: A machine readable identifier of the error type.\n                          message:\n                            type: string\n                            description: A human readable message describing the issue.\n                        example:\n                          reference: jhkasdf89hjn3298fs\n                          errorCode: CONSTRAINT_VIOLATION\n                          message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: MrLkIdckZ7LGZqJcqgQybRpBVqMaLuUQ\n                constraintViolations:\n                  - field: ownerPhoneNumber\n                    constraint: Subscription already exists\n                errorCode: CONFLICT\n                message: The subscription already exists for the channelId [Webhook.039e84dd-b339-4ac2-a6f6-bfacfd4ef78c]\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/messaging/v1/subscriptions',\n              data: {\n                ownerPhoneNumber: '+15149871234',\n                eventTypes: [\n                  'INCOMING_MESSAGE',\n                  'OUTGOING_MESSAGE',\n                  'READ_UPDATE_CONVERSATION',\n                  'DELETED_MESSAGE',\n                  'DELETED_CONVERSATION',\n                  'DELIVERY_STATUS'\n                ],\n                channelId: 'cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/messaging/v1/subscriptions \\\n              --header 'content-type: application/json' \\\n              --data '{\"ownerPhoneNumber\":\"+15149871234\",\"eventTypes\":[\"INCOMING_MESSAGE\",\"OUTGOING_MESSAGE\",\"READ_UPDATE_CONVERSATION\",\"DELETED_MESSAGE\",\"DELETED_CONVERSATION\",\"DELIVERY_STATUS\"],\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"ownerPhoneNumber\\\":\\\"+15149871234\\\",\\\"eventTypes\\\":[\\\"INCOMING_MESSAGE\\\",\\\"OUTGOING_MESSAGE\\\",\\\"READ_UPDATE_CONVERSATION\\\",\\\"DELETED_MESSAGE\\\",\\\"DELETED_CONVERSATION\\\",\\\"DELIVERY_STATUS\\\"],\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/messaging/v1/subscriptions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"ownerPhoneNumber\":\"+15149871234\",\"eventTypes\":[\"INCOMING_MESSAGE\",\"OUTGOING_MESSAGE\",\"READ_UPDATE_CONVERSATION\",\"DELETED_MESSAGE\",\"DELETED_CONVERSATION\",\"DELIVERY_STATUS\"],\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\"}');\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/subscriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/subscriptions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"ownerPhoneNumber\\\":\\\"+15149871234\\\",\\\"eventTypes\\\":[\\\"INCOMING_MESSAGE\\\",\\\"OUTGOING_MESSAGE\\\",\\\"READ_UPDATE_CONVERSATION\\\",\\\"DELETED_MESSAGE\\\",\\\"DELETED_CONVERSATION\\\",\\\"DELIVERY_STATUS\\\"],\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      summary: Get subscriptions\n      description: |\n        Obtains the subscription details of the desired user where the user is\n        defined by the authorization token. The OAuth client ID used to get\n        the access token that will be provided for this request must be the same that the\n        one used to get the channel. Filter can have channelId or ownerPhoneNumber or both.\n        If filter contains both channelId and ownerPhoneNumber, then the result should match\n        both channelId and ownerPhoneNumber.\n\n        ### Authentication Scopes\n\n        `messaging.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n\n        ### Example Interaction with curl\n\n        ```\n        curl \"https://api.goto.com/messaging/v1/subscriptions\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      operationId: getPagedSubscriptionList\n      parameters:\n        - name: pageMarker\n          in: query\n          description: |\n            The returned `nextPageMarker` from a paginated collection is used here to fetch the starting item for the paginated result.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 0\n            maximum: 100\n            default: 50\n        - name: ownerPhoneNumber\n          in: query\n          description: |\n            The owner's phone number which is an E164-formatted phone number. If provided, filters the results to only subscriptions of the provided owner's phone number.\n          required: false\n          schema:\n            type: string\n        - name: channelId\n          in: query\n          description: |\n            If the channelId is provided, filters the results to only the specific channel id.\n          required: false\n          schema:\n            type: string\n      tags:\n        - Subscription\n      responses:\n        '200':\n          description: The subscription list\n          content:\n            application/json:\n              schema:\n                description: List of Subscriptions segmented by page.\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          The next page marker value, to be used for fetching the next page via the `pageMarker` query parameter.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        description: List of Subscriptions.\n                        type: array\n                        items:\n                          type: object\n                          description: Single Subscription.\n                          properties:\n                            id:\n                              type: string\n                              description: Unique identifier for the subscription. Provided by the server.\n                            ownerPhoneNumber:\n                              type: string\n                              description: |\n                                The user's phone number which is an E164-formatted phone number for sending and receiving messages.\n                              example: '+15145552672'\n                            eventTypes:\n                              type: array\n                              items:\n                                description: |-\n                                  A notification type to subscribe to.\n                                  - INCOMING_MESSAGE are for new incoming message notifications. That will trigger `message` notification types.\n                                  - INCOMING_MESSAGE_SNIPPET are for new incoming message snippet notifications. Will only send the first 50 characters of the message.\n                                  - OUTGOING_MESSAGE are for new outgoing message notifications. That will trigger `message` notification types.\n                                  - READ_UPDATE_CONVERSATION are for last message seen update notifications. That will trigger `conversation-update` notification types.\n                                  - DELETED_MESSAGE are for message marked for deletion notifications. That will trigger `message` notification types.\n                                  - DELETED_CONVERSATION are for conversation marked for deletion notifications. That will trigger `conversation-update` notification types.\n                                  - DELIVERY_STATUS are for notifications of delivery statuses from outgoing messages. That will trigger `delivery-status` notification types.\n                                  - QUOTA_EXCEEDED are for blocked message notifications (inbound or outbound).\n                                  - QUOTA_REACHED is sent when the message quota is reached (inbound or outbound).\n                                type: string\n                                enum:\n                                  - INCOMING_MESSAGE\n                                  - INCOMING_MESSAGE_SNIPPET\n                                  - OUTGOING_MESSAGE\n                                  - READ_UPDATE_CONVERSATION\n                                  - DELETED_MESSAGE\n                                  - DELETED_CONVERSATION\n                                  - DELIVERY_STATUS\n                                  - QUOTA_EXCEEDED\n                                  - QUOTA_REACHED\n                              description: |\n                                List of one or more event types to subscribe to. Omitting this parameter or providing an empty list will create a subscription on all event types.\n                            channelId:\n                              description: The notification channel's ID.\n                              type: string\n                              example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                          required:\n                            - id\n                            - ownerPhoneNumber\n                            - eventTypes\n                          example:\n                            id: 7732cf5d-b186-42c9-a1bf-b84d1bfe2934\n                            ownerPhoneNumber: '+15149871234'\n                            eventTypes:\n                              - INCOMING_MESSAGE\n                              - OUTGOING_MESSAGE\n                              - READ_UPDATE_CONVERSATION\n                              - DELETED_MESSAGE\n                              - DELETED_CONVERSATION\n                              - DELIVERY_STATUS\n        '400':\n          description: |\n            The `pageMarker` or `pageSize` is invalid. The `BAD_REQUEST` error code will be returned in such case.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - allOf:\n                      - type: object\n                        required:\n                          - reference\n                          - errorCode\n                        properties:\n                          reference:\n                            type: string\n                            description: A unique identifier used to lookup the error on internal systems.\n                          errorCode:\n                            type: string\n                            description: A machine readable identifier of the error type.\n                          message:\n                            type: string\n                            description: A human readable message describing the issue.\n                        example:\n                          reference: jhkasdf89hjn3298fs\n                          errorCode: CONSTRAINT_VIOLATION\n                          message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\n                constraintViolations:\n                  - field: pageSize\n                    constraint: 'Invalid (expected: between 1 and 100)'\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            Errors returned for authorization issues with error code like :\n            - `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/messaging/v1/subscriptions',\n              params: {\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                ownerPhoneNumber: 'SOME_STRING_VALUE',\n                channelId: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/messaging/v1/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&ownerPhoneNumber=SOME_STRING_VALUE&channelId=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/messaging/v1/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&ownerPhoneNumber=SOME_STRING_VALUE&channelId=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/subscriptions');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'ownerPhoneNumber' => 'SOME_STRING_VALUE',\n              'channelId' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&ownerPhoneNumber=SOME_STRING_VALUE&channelId=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v1/subscriptions/{subscriptionId}:\n    parameters:\n      - name: subscriptionId\n        in: path\n        description: The subscription's unique identifier.\n        required: true\n        schema:\n          type: string\n          format: uuid\n    patch:\n      summary: |\n        Update a subscription.\n      description: |\n        Update a subscription for a desired user's phone number where the user\n        is defined in the authorization token. The OAuth client ID used to get\n        the access token that will be provided for the update must be the same that the one used to create the channel.\n\n        ### Authentication Scopes\n\n        `messaging.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n\n        ### Example Interaction with curl\n\n        ```\n        curl -X \"PATCH\" \"https://api.goto.com/messaging/v1/subscriptions/{subscriptionId}\" \\\n          -H \"Content-Type: application/json\" \\\n          -d '{\"eventTypes\": [{types}]}' \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      operationId: updateSubscription\n      tags:\n        - Subscription\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Data required to update a subscription.\n              properties:\n                eventTypes:\n                  type: array\n                  items:\n                    description: |-\n                      A notification type to subscribe to.\n                      - INCOMING_MESSAGE are for new incoming message notifications. That will trigger `message` notification types.\n                      - INCOMING_MESSAGE_SNIPPET are for new incoming message snippet notifications. Will only send the first 50 characters of the message.\n                      - OUTGOING_MESSAGE are for new outgoing message notifications. That will trigger `message` notification types.\n                      - READ_UPDATE_CONVERSATION are for last message seen update notifications. That will trigger `conversation-update` notification types.\n                      - DELETED_MESSAGE are for message marked for deletion notifications. That will trigger `message` notification types.\n                      - DELETED_CONVERSATION are for conversation marked for deletion notifications. That will trigger `conversation-update` notification types.\n                      - DELIVERY_STATUS are for notifications of delivery statuses from outgoing messages. That will trigger `delivery-status` notification types.\n                      - QUOTA_EXCEEDED are for blocked message notifications (inbound or outbound).\n                      - QUOTA_REACHED is sent when the message quota is reached (inbound or outbound).\n                    type: string\n                    enum:\n                      - INCOMING_MESSAGE\n                      - INCOMING_MESSAGE_SNIPPET\n                      - OUTGOING_MESSAGE\n                      - READ_UPDATE_CONVERSATION\n                      - DELETED_MESSAGE\n                      - DELETED_CONVERSATION\n                      - DELIVERY_STATUS\n                      - QUOTA_EXCEEDED\n                      - QUOTA_REACHED\n                  description: |\n                    List of one or more event types to subscribe to. The list provided here will replace all the pre-existing values.\n              required:\n                - eventTypes\n              example:\n                eventTypes:\n                  - INCOMING_MESSAGE\n                  - OUTGOING_MESSAGE\n                  - READ_UPDATE_CONVERSATION\n                  - DELETED_MESSAGE\n                  - DELETED_CONVERSATION\n                  - DELIVERY_STATUS\n        description: Data required to update a subscription.\n        required: true\n      responses:\n        '200':\n          description: The subscription is successfully updated.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Single Subscription.\n                properties:\n                  id:\n                    type: string\n                    description: Unique identifier for the subscription. Provided by the server.\n                  ownerPhoneNumber:\n                    type: string\n                    description: |\n                      The user's phone number which is an E164-formatted phone number for sending and receiving messages.\n                    example: '+15145552672'\n                  eventTypes:\n                    type: array\n                    items:\n                      description: |-\n                        A notification type to subscribe to.\n                        - INCOMING_MESSAGE are for new incoming message notifications. That will trigger `message` notification types.\n                        - INCOMING_MESSAGE_SNIPPET are for new incoming message snippet notifications. Will only send the first 50 characters of the message.\n                        - OUTGOING_MESSAGE are for new outgoing message notifications. That will trigger `message` notification types.\n                        - READ_UPDATE_CONVERSATION are for last message seen update notifications. That will trigger `conversation-update` notification types.\n                        - DELETED_MESSAGE are for message marked for deletion notifications. That will trigger `message` notification types.\n                        - DELETED_CONVERSATION are for conversation marked for deletion notifications. That will trigger `conversation-update` notification types.\n                        - DELIVERY_STATUS are for notifications of delivery statuses from outgoing messages. That will trigger `delivery-status` notification types.\n                        - QUOTA_EXCEEDED are for blocked message notifications (inbound or outbound).\n                        - QUOTA_REACHED is sent when the message quota is reached (inbound or outbound).\n                      type: string\n                      enum:\n                        - INCOMING_MESSAGE\n                        - INCOMING_MESSAGE_SNIPPET\n                        - OUTGOING_MESSAGE\n                        - READ_UPDATE_CONVERSATION\n                        - DELETED_MESSAGE\n                        - DELETED_CONVERSATION\n                        - DELIVERY_STATUS\n                        - QUOTA_EXCEEDED\n                        - QUOTA_REACHED\n                    description: |\n                      List of one or more event types to subscribe to. Omitting this parameter or providing an empty list will create a subscription on all event types.\n                  channelId:\n                    description: The notification channel's ID.\n                    type: string\n                    example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                required:\n                  - id\n                  - ownerPhoneNumber\n                  - eventTypes\n                example:\n                  id: 7732cf5d-b186-42c9-a1bf-b84d1bfe2934\n                  ownerPhoneNumber: '+15149871234'\n                  eventTypes:\n                    - INCOMING_MESSAGE\n                    - OUTGOING_MESSAGE\n                    - READ_UPDATE_CONVERSATION\n                    - DELETED_MESSAGE\n                    - DELETED_CONVERSATION\n                    - DELIVERY_STATUS\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - allOf:\n                      - type: object\n                        required:\n                          - reference\n                          - errorCode\n                        properties:\n                          reference:\n                            type: string\n                            description: A unique identifier used to lookup the error on internal systems.\n                          errorCode:\n                            type: string\n                            description: A machine readable identifier of the error type.\n                          message:\n                            type: string\n                            description: A human readable message describing the issue.\n                        example:\n                          reference: jhkasdf89hjn3298fs\n                          errorCode: CONSTRAINT_VIOLATION\n                          message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            Errors returned for authorization issues with error code like :\n            - `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The provided subscriptionId doesn't exist or the subscription doesn't belong to the user defined by the authorization token.\n            The `NOT_FOUND` error code will be returned in such case.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: 020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\n                errorCode: NOT_FOUND\n                message: SubscriptionId [257f6944-aad6-4372-802a-57faa4780b2c] not found\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/messaging/v1/subscriptions/%7BsubscriptionId%7D',\n              data: {\n                eventTypes: [\n                  'INCOMING_MESSAGE',\n                  'OUTGOING_MESSAGE',\n                  'READ_UPDATE_CONVERSATION',\n                  'DELETED_MESSAGE',\n                  'DELETED_CONVERSATION',\n                  'DELIVERY_STATUS'\n                ]\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url https://api.goto.com/messaging/v1/subscriptions/%7BsubscriptionId%7D \\\n              --header 'content-type: application/json' \\\n              --data '{\"eventTypes\":[\"INCOMING_MESSAGE\",\"OUTGOING_MESSAGE\",\"READ_UPDATE_CONVERSATION\",\"DELETED_MESSAGE\",\"DELETED_CONVERSATION\",\"DELIVERY_STATUS\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"eventTypes\\\":[\\\"INCOMING_MESSAGE\\\",\\\"OUTGOING_MESSAGE\\\",\\\"READ_UPDATE_CONVERSATION\\\",\\\"DELETED_MESSAGE\\\",\\\"DELETED_CONVERSATION\\\",\\\"DELIVERY_STATUS\\\"]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PATCH\", \"/messaging/v1/subscriptions/%7BsubscriptionId%7D\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"eventTypes\":[\"INCOMING_MESSAGE\",\"OUTGOING_MESSAGE\",\"READ_UPDATE_CONVERSATION\",\"DELETED_MESSAGE\",\"DELETED_CONVERSATION\",\"DELIVERY_STATUS\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/subscriptions/%7BsubscriptionId%7D');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"eventTypes\\\":[\\\"INCOMING_MESSAGE\\\",\\\"OUTGOING_MESSAGE\\\",\\\"READ_UPDATE_CONVERSATION\\\",\\\"DELETED_MESSAGE\\\",\\\"DELETED_CONVERSATION\\\",\\\"DELIVERY_STATUS\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      summary: Delete a subscription\n      description: |\n        Delete a subscription for a desired user's phone number where the user\n        is defined in the authorization token. The OAuth client ID used to get\n        the access token that will be provided for the deletion must be the same that the one used to create the channel.\n\n        ### Authentication Scopes\n\n        `messaging.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n\n        ### Example Interaction with curl\n\n        ```\n        curl -X \"DELETE\" \"https://api.goto.com/messaging/v1/subscriptions/{subscriptionId}\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      operationId: deleteSubscription\n      tags:\n        - Subscription\n      responses:\n        '204':\n          description: Successfully removed the subscription.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            Errors returned for authorization issues with error code like :\n            - `AUTHZ_INSUFFICIENT_SCOPE` - The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action or the request supplied no token.\n        '404':\n          description: |\n            The provided subscriptionId doesn't exist or the subscription doesn't belong to the user defined by the authorization token.\n            The `NOT_FOUND` error code will be returned in such case.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: 020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\n                errorCode: NOT_FOUND\n                message: SubscriptionId [257f6944-aad6-4372-802a-57faa4780b2c] not found\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/messaging/v1/subscriptions/%7BsubscriptionId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/messaging/v1/subscriptions/%7BsubscriptionId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/messaging/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/subscriptions/%7BsubscriptionId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v1/organization-subscriptions:\n    post:\n      summary: Create a subscription on all phone numbers linked to an organization.\n      description: |\n        This endpoint is intended for intergrators and can only be called by a Super-Admin user.\n\n        Create a subscription for the user defined in the authorization token. The subscription\n        activates notifications towards the provided notification channel ID. The request may contain\n        one or more event types to subscribe to.\n\n        The resulting subscription applies to all phone numbers linked to the organization. For example,\n        if a new phone number is provisioned and starts sending/receiving text messages, and the\n        subscription includes INBOUND_MESSAGE or OUTBOUND_MESSAGE event types, it will immediately begin\n        receiving notifications for this phone number.\n\n        Important note: the resulting subscription is bound to the user used to create it. If the user\n        is deactivated, loses their Super-Admin privileges, or is removed from the organization,\n        notifications will no longer be sent to the associated channel.\n\n        Either the `organizationId` or the `accountKey` must be provided for this request.\n      operationId: createOrganizationSubscription\n      tags:\n        - Subscription\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Required details for creating an Organization Subscription.\n              properties:\n                organizationId:\n                  type: string\n                  format: uuid\n                  description: |\n                    Identifier of an organization.\n                accountKey:\n                  type: string\n                  description: |\n                    Identifier of an account.\n                eventTypes:\n                  type: array\n                  items:\n                    description: |-\n                      A notification type to subscribe to.\n                      - INCOMING_MESSAGE are for new incoming message notifications. That will trigger `message` notification types.\n                      - INCOMING_MESSAGE_SNIPPET are for new incoming message snippet notifications. Will only send the first 50 characters of the message.\n                      - OUTGOING_MESSAGE are for new outgoing message notifications. That will trigger `message` notification types.\n                      - READ_UPDATE_CONVERSATION are for last message seen update notifications. That will trigger `conversation-update` notification types.\n                      - DELETED_MESSAGE are for message marked for deletion notifications. That will trigger `message` notification types.\n                      - DELETED_CONVERSATION are for conversation marked for deletion notifications. That will trigger `conversation-update` notification types.\n                      - DELIVERY_STATUS are for notifications of delivery statuses from outgoing messages. That will trigger `delivery-status` notification types.\n                      - QUOTA_EXCEEDED are for blocked message notifications (inbound or outbound).\n                      - QUOTA_REACHED is sent when the message quota is reached (inbound or outbound).\n                    type: string\n                    enum:\n                      - INCOMING_MESSAGE\n                      - INCOMING_MESSAGE_SNIPPET\n                      - OUTGOING_MESSAGE\n                      - READ_UPDATE_CONVERSATION\n                      - DELETED_MESSAGE\n                      - DELETED_CONVERSATION\n                      - DELIVERY_STATUS\n                      - QUOTA_EXCEEDED\n                      - QUOTA_REACHED\n                  description: |\n                    List of one or more event types to subscribe to.\n                channelId:\n                  description: The notification channel's ID.\n                  type: string\n                  example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n              required:\n                - eventTypes\n                - channelId\n              example:\n                organizationId: d21114fe-c35b-40e8-bdde-16bd4906648b\n                eventTypes:\n                  - INCOMING_MESSAGE\n                  - INCOMING_MESSAGE_SNIPPET\n                  - OUTGOING_MESSAGE\n                  - READ_UPDATE_CONVERSATION\n                  - DELETED_MESSAGE\n                  - DELETED_CONVERSATION\n                  - DELIVERY_STATUS\n                  - QUOTA_EXCEEDED\n                  - QUOTA_REACHED\n                channelId: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n        description: Data required to create an organization-subscription to receive messaging events.\n        required: true\n      responses:\n        '201':\n          description: The successfully created subscription.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Single Organization Subscription.\n                properties:\n                  id:\n                    type: string\n                    description: Unique identifier for the organization subscription. Provided by the server.\n                  organizationId:\n                    type: string\n                    format: uuid\n                    description: |\n                      Identifier of an organization.\n                  eventTypes:\n                    type: array\n                    items:\n                      description: |-\n                        A notification type to subscribe to.\n                        - INCOMING_MESSAGE are for new incoming message notifications. That will trigger `message` notification types.\n                        - INCOMING_MESSAGE_SNIPPET are for new incoming message snippet notifications. Will only send the first 50 characters of the message.\n                        - OUTGOING_MESSAGE are for new outgoing message notifications. That will trigger `message` notification types.\n                        - READ_UPDATE_CONVERSATION are for last message seen update notifications. That will trigger `conversation-update` notification types.\n                        - DELETED_MESSAGE are for message marked for deletion notifications. That will trigger `message` notification types.\n                        - DELETED_CONVERSATION are for conversation marked for deletion notifications. That will trigger `conversation-update` notification types.\n                        - DELIVERY_STATUS are for notifications of delivery statuses from outgoing messages. That will trigger `delivery-status` notification types.\n                        - QUOTA_EXCEEDED are for blocked message notifications (inbound or outbound).\n                        - QUOTA_REACHED is sent when the message quota is reached (inbound or outbound).\n                      type: string\n                      enum:\n                        - INCOMING_MESSAGE\n                        - INCOMING_MESSAGE_SNIPPET\n                        - OUTGOING_MESSAGE\n                        - READ_UPDATE_CONVERSATION\n                        - DELETED_MESSAGE\n                        - DELETED_CONVERSATION\n                        - DELIVERY_STATUS\n                        - QUOTA_EXCEEDED\n                        - QUOTA_REACHED\n                    description: |\n                      List of one or more event types to subscribe to. Omitting this parameter or providing an empty list will create a subscription on all event types.\n                  channelId:\n                    description: The notification channel's ID.\n                    type: string\n                    example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                required:\n                  - id\n                  - organizationId\n                  - eventTypes\n                  - channelId\n                example:\n                  id: 7732cf5d-b186-42c9-a1bf-b84d1bfe2934\n                  organizationId: d21114fe-c35b-40e8-bdde-16bd4906648b\n                  eventTypes:\n                    - INCOMING_MESSAGE\n                    - INCOMING_MESSAGE_SNIPPET\n                    - OUTGOING_MESSAGE\n                    - READ_UPDATE_CONVERSATION\n                    - DELETED_MESSAGE\n                    - DELETED_CONVERSATION\n                    - DELIVERY_STATUS\n                    - QUOTA_EXCEEDED\n                    - QUOTA_REACHED\n                  channelId: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            The `organizationId`, `accountKey` or `channelId` isn't associated to this user\n            and/or doesn't exist.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '409':\n          description: |\n            If a subscription already exists for this given organization and user defined by the authorization token, an `HTTP Code 409 Conflict` will be returned.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: 020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\n                errorCode: CONFLICT\n                message: Subscription already exists\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/messaging/v1/organization-subscriptions',\n              data: {\n                organizationId: 'd21114fe-c35b-40e8-bdde-16bd4906648b',\n                eventTypes: [\n                  'INCOMING_MESSAGE',\n                  'INCOMING_MESSAGE_SNIPPET',\n                  'OUTGOING_MESSAGE',\n                  'READ_UPDATE_CONVERSATION',\n                  'DELETED_MESSAGE',\n                  'DELETED_CONVERSATION',\n                  'DELIVERY_STATUS',\n                  'QUOTA_EXCEEDED',\n                  'QUOTA_REACHED'\n                ],\n                channelId: 'cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/messaging/v1/organization-subscriptions \\\n              --header 'content-type: application/json' \\\n              --data '{\"organizationId\":\"d21114fe-c35b-40e8-bdde-16bd4906648b\",\"eventTypes\":[\"INCOMING_MESSAGE\",\"INCOMING_MESSAGE_SNIPPET\",\"OUTGOING_MESSAGE\",\"READ_UPDATE_CONVERSATION\",\"DELETED_MESSAGE\",\"DELETED_CONVERSATION\",\"DELIVERY_STATUS\",\"QUOTA_EXCEEDED\",\"QUOTA_REACHED\"],\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"organizationId\\\":\\\"d21114fe-c35b-40e8-bdde-16bd4906648b\\\",\\\"eventTypes\\\":[\\\"INCOMING_MESSAGE\\\",\\\"INCOMING_MESSAGE_SNIPPET\\\",\\\"OUTGOING_MESSAGE\\\",\\\"READ_UPDATE_CONVERSATION\\\",\\\"DELETED_MESSAGE\\\",\\\"DELETED_CONVERSATION\\\",\\\"DELIVERY_STATUS\\\",\\\"QUOTA_EXCEEDED\\\",\\\"QUOTA_REACHED\\\"],\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/messaging/v1/organization-subscriptions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"organizationId\":\"d21114fe-c35b-40e8-bdde-16bd4906648b\",\"eventTypes\":[\"INCOMING_MESSAGE\",\"INCOMING_MESSAGE_SNIPPET\",\"OUTGOING_MESSAGE\",\"READ_UPDATE_CONVERSATION\",\"DELETED_MESSAGE\",\"DELETED_CONVERSATION\",\"DELIVERY_STATUS\",\"QUOTA_EXCEEDED\",\"QUOTA_REACHED\"],\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\"}');\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/organization-subscriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/organization-subscriptions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"organizationId\\\":\\\"d21114fe-c35b-40e8-bdde-16bd4906648b\\\",\\\"eventTypes\\\":[\\\"INCOMING_MESSAGE\\\",\\\"INCOMING_MESSAGE_SNIPPET\\\",\\\"OUTGOING_MESSAGE\\\",\\\"READ_UPDATE_CONVERSATION\\\",\\\"DELETED_MESSAGE\\\",\\\"DELETED_CONVERSATION\\\",\\\"DELIVERY_STATUS\\\",\\\"QUOTA_EXCEEDED\\\",\\\"QUOTA_REACHED\\\"],\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      summary: Get organization subscriptions\n      description: |\n        Obtain the list of subscriptions associated to the requesting user, as defined by the authorization\n        token.\n      operationId: getPagedOrganizationSubscriptionList\n      parameters:\n        - name: pageMarker\n          in: query\n          description: |\n            The returned `nextPageMarker` from a paginated collection is used here to fetch the starting item for the paginated result.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 0\n            maximum: 100\n            default: 50\n        - name: organizationId\n          in: query\n          description: |\n            If the organizationId is provided, filters the results to only the specific organization.\n          required: false\n          schema:\n            type: string\n            format: uuid\n        - name: accountKey\n          in: query\n          description: |\n            If the accountKey is provided, filters the results to only the specific account.\n          required: false\n          schema:\n            type: string\n        - name: channelId\n          in: query\n          description: |\n            If the channelId is provided, filters the results to only the specific channel id.\n          required: false\n          schema:\n            type: string\n      tags:\n        - Subscription\n      responses:\n        '200':\n          description: The organization subscription list\n          content:\n            application/json:\n              schema:\n                description: List of Organization Subscriptions segmented by page.\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          The next page marker value, to be used for fetching the next page via the `pageMarker` query parameter.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        description: List of Organization Subscriptions.\n                        type: array\n                        items:\n                          type: object\n                          description: Single Organization Subscription.\n                          properties:\n                            id:\n                              type: string\n                              description: Unique identifier for the organization subscription. Provided by the server.\n                            organizationId:\n                              type: string\n                              format: uuid\n                              description: |\n                                Identifier of an organization.\n                            eventTypes:\n                              type: array\n                              items:\n                                description: |-\n                                  A notification type to subscribe to.\n                                  - INCOMING_MESSAGE are for new incoming message notifications. That will trigger `message` notification types.\n                                  - INCOMING_MESSAGE_SNIPPET are for new incoming message snippet notifications. Will only send the first 50 characters of the message.\n                                  - OUTGOING_MESSAGE are for new outgoing message notifications. That will trigger `message` notification types.\n                                  - READ_UPDATE_CONVERSATION are for last message seen update notifications. That will trigger `conversation-update` notification types.\n                                  - DELETED_MESSAGE are for message marked for deletion notifications. That will trigger `message` notification types.\n                                  - DELETED_CONVERSATION are for conversation marked for deletion notifications. That will trigger `conversation-update` notification types.\n                                  - DELIVERY_STATUS are for notifications of delivery statuses from outgoing messages. That will trigger `delivery-status` notification types.\n                                  - QUOTA_EXCEEDED are for blocked message notifications (inbound or outbound).\n                                  - QUOTA_REACHED is sent when the message quota is reached (inbound or outbound).\n                                type: string\n                                enum:\n                                  - INCOMING_MESSAGE\n                                  - INCOMING_MESSAGE_SNIPPET\n                                  - OUTGOING_MESSAGE\n                                  - READ_UPDATE_CONVERSATION\n                                  - DELETED_MESSAGE\n                                  - DELETED_CONVERSATION\n                                  - DELIVERY_STATUS\n                                  - QUOTA_EXCEEDED\n                                  - QUOTA_REACHED\n                              description: |\n                                List of one or more event types to subscribe to. Omitting this parameter or providing an empty list will create a subscription on all event types.\n                            channelId:\n                              description: The notification channel's ID.\n                              type: string\n                              example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                          required:\n                            - id\n                            - organizationId\n                            - eventTypes\n                            - channelId\n                          example:\n                            id: 7732cf5d-b186-42c9-a1bf-b84d1bfe2934\n                            organizationId: d21114fe-c35b-40e8-bdde-16bd4906648b\n                            eventTypes:\n                              - INCOMING_MESSAGE\n                              - INCOMING_MESSAGE_SNIPPET\n                              - OUTGOING_MESSAGE\n                              - READ_UPDATE_CONVERSATION\n                              - DELETED_MESSAGE\n                              - DELETED_CONVERSATION\n                              - DELIVERY_STATUS\n                              - QUOTA_EXCEEDED\n                              - QUOTA_REACHED\n                            channelId: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n        '400':\n          description: |\n            The `pageMarker` or `pageSize` is invalid\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\n                constraintViolations:\n                  - field: pageSize\n                    constraint: 'Invalid (expected: between 1 and 100)'\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/messaging/v1/organization-subscriptions',\n              params: {\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                organizationId: 'SOME_STRING_VALUE',\n                accountKey: 'SOME_STRING_VALUE',\n                channelId: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/messaging/v1/organization-subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&organizationId=SOME_STRING_VALUE&accountKey=SOME_STRING_VALUE&channelId=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/messaging/v1/organization-subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&organizationId=SOME_STRING_VALUE&accountKey=SOME_STRING_VALUE&channelId=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/organization-subscriptions');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'organizationId' => 'SOME_STRING_VALUE',\n              'accountKey' => 'SOME_STRING_VALUE',\n              'channelId' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/organization-subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&organizationId=SOME_STRING_VALUE&accountKey=SOME_STRING_VALUE&channelId=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v1/organization-subscriptions/{subscriptionId}:\n    parameters:\n      - name: subscriptionId\n        in: path\n        description: The subscription's unique identifier.\n        required: true\n        schema:\n          type: string\n          format: uuid\n    patch:\n      summary: Update an organization subscription.\n      description: |\n        Update an organization subscription. The request must be made by the Super-Admin user who created the\n        subscription. Their account must be active and their Super-Admin privileges still granted.\n      operationId: updateOrganizationSubscription\n      tags:\n        - Subscription\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Data required to update an organization subscription.\n              properties:\n                eventTypes:\n                  type: array\n                  items:\n                    description: |-\n                      A notification type to subscribe to.\n                      - INCOMING_MESSAGE are for new incoming message notifications. That will trigger `message` notification types.\n                      - INCOMING_MESSAGE_SNIPPET are for new incoming message snippet notifications. Will only send the first 50 characters of the message.\n                      - OUTGOING_MESSAGE are for new outgoing message notifications. That will trigger `message` notification types.\n                      - READ_UPDATE_CONVERSATION are for last message seen update notifications. That will trigger `conversation-update` notification types.\n                      - DELETED_MESSAGE are for message marked for deletion notifications. That will trigger `message` notification types.\n                      - DELETED_CONVERSATION are for conversation marked for deletion notifications. That will trigger `conversation-update` notification types.\n                      - DELIVERY_STATUS are for notifications of delivery statuses from outgoing messages. That will trigger `delivery-status` notification types.\n                      - QUOTA_EXCEEDED are for blocked message notifications (inbound or outbound).\n                      - QUOTA_REACHED is sent when the message quota is reached (inbound or outbound).\n                    type: string\n                    enum:\n                      - INCOMING_MESSAGE\n                      - INCOMING_MESSAGE_SNIPPET\n                      - OUTGOING_MESSAGE\n                      - READ_UPDATE_CONVERSATION\n                      - DELETED_MESSAGE\n                      - DELETED_CONVERSATION\n                      - DELIVERY_STATUS\n                      - QUOTA_EXCEEDED\n                      - QUOTA_REACHED\n                  description: |\n                    List of one or more event types to subscribe to. The list provided here will overwrite all the pre-existing values.\n              required:\n                - eventTypes\n              example:\n                eventTypes:\n                  - INCOMING_MESSAGE\n                  - INCOMING_MESSAGE_SNIPPET\n                  - OUTGOING_MESSAGE\n                  - READ_UPDATE_CONVERSATION\n                  - DELETED_MESSAGE\n                  - DELETED_CONVERSATION\n                  - DELIVERY_STATUS\n                  - QUOTA_EXCEEDED\n                  - QUOTA_REACHED\n        description: Data required to update a subscription.\n        required: true\n      responses:\n        '200':\n          description: The subscription is successfully updated.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Single Organization Subscription.\n                properties:\n                  id:\n                    type: string\n                    description: Unique identifier for the organization subscription. Provided by the server.\n                  organizationId:\n                    type: string\n                    format: uuid\n                    description: |\n                      Identifier of an organization.\n                  eventTypes:\n                    type: array\n                    items:\n                      description: |-\n                        A notification type to subscribe to.\n                        - INCOMING_MESSAGE are for new incoming message notifications. That will trigger `message` notification types.\n                        - INCOMING_MESSAGE_SNIPPET are for new incoming message snippet notifications. Will only send the first 50 characters of the message.\n                        - OUTGOING_MESSAGE are for new outgoing message notifications. That will trigger `message` notification types.\n                        - READ_UPDATE_CONVERSATION are for last message seen update notifications. That will trigger `conversation-update` notification types.\n                        - DELETED_MESSAGE are for message marked for deletion notifications. That will trigger `message` notification types.\n                        - DELETED_CONVERSATION are for conversation marked for deletion notifications. That will trigger `conversation-update` notification types.\n                        - DELIVERY_STATUS are for notifications of delivery statuses from outgoing messages. That will trigger `delivery-status` notification types.\n                        - QUOTA_EXCEEDED are for blocked message notifications (inbound or outbound).\n                        - QUOTA_REACHED is sent when the message quota is reached (inbound or outbound).\n                      type: string\n                      enum:\n                        - INCOMING_MESSAGE\n                        - INCOMING_MESSAGE_SNIPPET\n                        - OUTGOING_MESSAGE\n                        - READ_UPDATE_CONVERSATION\n                        - DELETED_MESSAGE\n                        - DELETED_CONVERSATION\n                        - DELIVERY_STATUS\n                        - QUOTA_EXCEEDED\n                        - QUOTA_REACHED\n                    description: |\n                      List of one or more event types to subscribe to. Omitting this parameter or providing an empty list will create a subscription on all event types.\n                  channelId:\n                    description: The notification channel's ID.\n                    type: string\n                    example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                required:\n                  - id\n                  - organizationId\n                  - eventTypes\n                  - channelId\n                example:\n                  id: 7732cf5d-b186-42c9-a1bf-b84d1bfe2934\n                  organizationId: d21114fe-c35b-40e8-bdde-16bd4906648b\n                  eventTypes:\n                    - INCOMING_MESSAGE\n                    - INCOMING_MESSAGE_SNIPPET\n                    - OUTGOING_MESSAGE\n                    - READ_UPDATE_CONVERSATION\n                    - DELETED_MESSAGE\n                    - DELETED_CONVERSATION\n                    - DELIVERY_STATUS\n                    - QUOTA_EXCEEDED\n                    - QUOTA_REACHED\n                  channelId: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The provided subscriptionId doesn't exist or the subscription doesn't belong to the provided user, defined by the authorization token.\n            The `NOT_FOUND` error code will be returned in such case.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: 020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\n                errorCode: NOT_FOUND\n                message: SubscriptionId [257f6944-aad6-4372-802a-57faa4780b2c] not found\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/messaging/v1/organization-subscriptions/%7BsubscriptionId%7D',\n              data: {\n                eventTypes: [\n                  'INCOMING_MESSAGE',\n                  'INCOMING_MESSAGE_SNIPPET',\n                  'OUTGOING_MESSAGE',\n                  'READ_UPDATE_CONVERSATION',\n                  'DELETED_MESSAGE',\n                  'DELETED_CONVERSATION',\n                  'DELIVERY_STATUS',\n                  'QUOTA_EXCEEDED',\n                  'QUOTA_REACHED'\n                ]\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url https://api.goto.com/messaging/v1/organization-subscriptions/%7BsubscriptionId%7D \\\n              --header 'content-type: application/json' \\\n              --data '{\"eventTypes\":[\"INCOMING_MESSAGE\",\"INCOMING_MESSAGE_SNIPPET\",\"OUTGOING_MESSAGE\",\"READ_UPDATE_CONVERSATION\",\"DELETED_MESSAGE\",\"DELETED_CONVERSATION\",\"DELIVERY_STATUS\",\"QUOTA_EXCEEDED\",\"QUOTA_REACHED\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"eventTypes\\\":[\\\"INCOMING_MESSAGE\\\",\\\"INCOMING_MESSAGE_SNIPPET\\\",\\\"OUTGOING_MESSAGE\\\",\\\"READ_UPDATE_CONVERSATION\\\",\\\"DELETED_MESSAGE\\\",\\\"DELETED_CONVERSATION\\\",\\\"DELIVERY_STATUS\\\",\\\"QUOTA_EXCEEDED\\\",\\\"QUOTA_REACHED\\\"]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PATCH\", \"/messaging/v1/organization-subscriptions/%7BsubscriptionId%7D\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"eventTypes\":[\"INCOMING_MESSAGE\",\"INCOMING_MESSAGE_SNIPPET\",\"OUTGOING_MESSAGE\",\"READ_UPDATE_CONVERSATION\",\"DELETED_MESSAGE\",\"DELETED_CONVERSATION\",\"DELIVERY_STATUS\",\"QUOTA_EXCEEDED\",\"QUOTA_REACHED\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/organization-subscriptions/%7BsubscriptionId%7D');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/organization-subscriptions/%7BsubscriptionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"eventTypes\\\":[\\\"INCOMING_MESSAGE\\\",\\\"INCOMING_MESSAGE_SNIPPET\\\",\\\"OUTGOING_MESSAGE\\\",\\\"READ_UPDATE_CONVERSATION\\\",\\\"DELETED_MESSAGE\\\",\\\"DELETED_CONVERSATION\\\",\\\"DELIVERY_STATUS\\\",\\\"QUOTA_EXCEEDED\\\",\\\"QUOTA_REACHED\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      summary: Delete an organization subscription\n      description: |\n        Delete an organization subscription. The request must be made by the user who created the\n        subscription. Their account must be active and their Super-Admin privileges still granted.\n      operationId: deleteOrganizationSubscription\n      tags:\n        - Subscription\n      responses:\n        '204':\n          description: Successfully removed the subscription.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '404':\n          description: |\n            The provided `subscriptionId` doesn't exist or the subscription\n            doesn't belong to the provided user, defined by the authorization token.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: 020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\n                errorCode: NOT_FOUND\n                message: SubscriptionId [257f6944-aad6-4372-802a-57faa4780b2c] not found\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/messaging/v1/organization-subscriptions/%7BsubscriptionId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/messaging/v1/organization-subscriptions/%7BsubscriptionId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/messaging/v1/organization-subscriptions/%7BsubscriptionId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/organization-subscriptions/%7BsubscriptionId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/organization-subscriptions/%7BsubscriptionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v1/opt-outs:\n    parameters:\n      - name: accountKey\n        in: query\n        description: Identifier of an account.\n        required: true\n        schema:\n          type: string\n    post:\n      tags:\n        - Opt-Out\n      summary: Add an opt-out\n      description: |\n        Add an opt-out for an account. \n      operationId: addOptOut\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              properties:\n                phoneNumber:\n                  type: string\n                  example: '+15145551234'\n                features:\n                  type: array\n                  minItems: 1\n                  uniqueItems: true\n                  items:\n                    description: Used to specify the opt-out type\n                    type: string\n                    enum:\n                      - ALL_MESSAGING\n        required: true\n      responses:\n        '201':\n          description: created successfully\n          content:\n            application/json:\n              schema:\n                type: object\n                properties:\n                  phoneNumber:\n                    type: string\n                    example: '+15145551234'\n                  features:\n                    type: array\n                    items:\n                      description: Used to specify the opt-out type\n                      type: string\n                      enum:\n                        - ALL_MESSAGING\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '409':\n          description: The request could not be completed because this phone number has already been opted out.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/messaging/v1/opt-outs',\n              params: {accountKey: 'SOME_STRING_VALUE'},\n              data: {phoneNumber: '+15145551234', features: ['ALL_MESSAGING']}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url 'https://api.goto.com/messaging/v1/opt-outs?accountKey=SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"phoneNumber\":\"+15145551234\",\"features\":[\"ALL_MESSAGING\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"phoneNumber\\\":\\\"+15145551234\\\",\\\"features\\\":[\\\"ALL_MESSAGING\\\"]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/messaging/v1/opt-outs?accountKey=SOME_STRING_VALUE\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"phoneNumber\":\"+15145551234\",\"features\":[\"ALL_MESSAGING\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/opt-outs');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => 'SOME_STRING_VALUE'\n            ]));\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/opt-outs?accountKey=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"phoneNumber\\\":\\\"+15145551234\\\",\\\"features\\\":[\\\"ALL_MESSAGING\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      tags:\n        - Opt-Out\n      summary: List opt-outs\n      description: |\n        Get a paginated list of opt-outs for an account, sorted by most recently updated. Returns \n        an empty list if there are no opted-out phone numbers for the filters used.\n      operationId: getOptOuts\n      parameters:\n        - name: phoneNumber\n          in: query\n          description: |\n            The phone numbers, which is an E164-formatted phone number. \n            If multiple numbers are provided, the opt-outs for each of these numbers will be returned\n          required: false\n          schema:\n            type: array\n            items:\n              type: string\n              example: '+15145551234'\n        - name: feature\n          in: query\n          description: |\n            The features for which the number is opted-out. If provided, only\n            the opt-outs containing these features will be returned.\n          required: false\n          schema:\n            type: array\n            items:\n              description: Used to specify the opt-out type\n              type: string\n              enum:\n                - ALL_MESSAGING\n            uniqueItems: true\n        - name: pageMarker\n          in: query\n          description: |\n            The returned `nextPageMarker` from a paginated collection is used here to fetch the starting item for the paginated result.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 0\n            maximum: 100\n            default: 50\n      responses:\n        '200':\n          description: successful operation\n          content:\n            application/json:\n              schema:\n                description: List of paginated opt-outs\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          The next page marker value, to be used for fetching the next page via the `pageMarker` query parameter.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          type: object\n                          properties:\n                            phoneNumber:\n                              type: string\n                              example: '+15145551234'\n                            features:\n                              type: array\n                              items:\n                                description: Used to specify the opt-out type\n                                type: string\n                                enum:\n                                  - ALL_MESSAGING\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/messaging/v1/opt-outs',\n              params: {\n                accountKey: 'SOME_STRING_VALUE',\n                phoneNumber: 'SOME_ARRAY_VALUE',\n                feature: 'SOME_ARRAY_VALUE',\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/messaging/v1/opt-outs?accountKey=SOME_STRING_VALUE&phoneNumber=SOME_ARRAY_VALUE&feature=SOME_ARRAY_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/messaging/v1/opt-outs?accountKey=SOME_STRING_VALUE&phoneNumber=SOME_ARRAY_VALUE&feature=SOME_ARRAY_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/opt-outs');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => 'SOME_STRING_VALUE',\n              'phoneNumber' => 'SOME_ARRAY_VALUE',\n              'feature' => 'SOME_ARRAY_VALUE',\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/opt-outs?accountKey=SOME_STRING_VALUE&phoneNumber=SOME_ARRAY_VALUE&feature=SOME_ARRAY_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      tags:\n        - Opt-Out\n      summary: Delete opt-outs\n      description: |\n        Delete all opt-out for the specified phone number.\n      operationId: deleteOptOut\n      parameters:\n        - name: phoneNumber\n          in: query\n          description: A phone number, which is E164-formatted.\n          required: true\n          schema:\n            type: string\n            example: '+15145551234'\n      responses:\n        '204':\n          description: No content\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/messaging/v1/opt-outs',\n              params: {accountKey: 'SOME_STRING_VALUE', phoneNumber: '+15145551234'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url 'https://api.goto.com/messaging/v1/opt-outs?accountKey=SOME_STRING_VALUE&phoneNumber=%2B15145551234'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/messaging/v1/opt-outs?accountKey=SOME_STRING_VALUE&phoneNumber=%2B15145551234\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/opt-outs');\n            $request->setRequestMethod('DELETE');\n            $request->setQuery(new http\\QueryString([\n              'accountKey' => 'SOME_STRING_VALUE',\n              'phoneNumber' => '+15145551234'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/opt-outs?accountKey=SOME_STRING_VALUE&phoneNumber=%2B15145551234\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v1/opt-outs/subscriptions:\n    post:\n      summary: |\n        Create an Opt-Out subscription for a given account.\n      description: |\n        Create a subscription for the account provided.\n        The subscription activates opt-out notifications towards the provided notification channel ID.\n\n        Example:\n\n        ```\n        curl -X \"POST\" \"https://api.goto.com/messaging/v1/opt-outs/subscriptions\" \\\n          -H \"Content-Type: application/json\" \\\n          -d '{\"accountKey\": \"{accountKey}\", \"channelId\": \"{channelId}\"}' \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      operationId: createOptOutSubscription\n      tags:\n        - Opt-Out\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Required details to create a subscription.\n              properties:\n                accountKey:\n                  type: string\n                  description: |\n                    Identifier of an account.\n                channelId:\n                  description: The notification channel's ID.\n                  type: string\n                  example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n              required:\n                - accountKey\n                - channelId\n              example:\n                accountKey: '724318505795231'\n                channelId: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n        description: Data required to create a subscription to receive optout events.\n        required: true\n      responses:\n        '201':\n          description: The successfully created subscription.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Single Opt-Out Subscription.\n                properties:\n                  id:\n                    type: string\n                    description: Unique identifier for the subscription. Provided by the server.\n                  organizationId:\n                    type: string\n                    format: uuid\n                    description: |\n                      Identifier of an organization.\n                  accountKey:\n                    type: string\n                    description: |\n                      Identifier of an account.\n                  channelId:\n                    description: The notification channel's ID.\n                    type: string\n                    example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                example:\n                  id: 7732cf5d-b186-42c9-a1bf-b84d1bfe2934\n                  accountKey: '724318505795231'\n                  channelId: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - allOf:\n                      - type: object\n                        required:\n                          - reference\n                          - errorCode\n                        properties:\n                          reference:\n                            type: string\n                            description: A unique identifier used to lookup the error on internal systems.\n                          errorCode:\n                            type: string\n                            description: A machine readable identifier of the error type.\n                          message:\n                            type: string\n                            description: A human readable message describing the issue.\n                        example:\n                          reference: jhkasdf89hjn3298fs\n                          errorCode: CONSTRAINT_VIOLATION\n                          message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            The `channelId` doesn't belong to this user and/or doesn't exist,\n            the user does not belong to the accountKey provided or the \n            user does not have the required scope.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n        '409':\n          description: |\n            If a subscription already exists for this account and user, an `HTTP 409 Conflict` will be returned.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n            * `AUTHN_UNKOWN` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/messaging/v1/opt-outs/subscriptions',\n              data: {\n                accountKey: '724318505795231',\n                channelId: 'cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/messaging/v1/opt-outs/subscriptions \\\n              --header 'content-type: application/json' \\\n              --data '{\"accountKey\":\"724318505795231\",\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"accountKey\\\":\\\"724318505795231\\\",\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/messaging/v1/opt-outs/subscriptions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"accountKey\":\"724318505795231\",\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\"}');\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/opt-outs/subscriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/opt-outs/subscriptions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"accountKey\\\":\\\"724318505795231\\\",\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      summary: Get Opt-Out subscriptions\n      description: |\n        Obtain the list of subscriptions associated to the requesting user, as defined by the authorization\n        token.\n\n        Example:\n\n        ```\n        curl \"https://api.goto.com/messaging/v1/opt-outs/subscriptions?accountKey={accountKey}\" \\\n        -H 'Authorization: Bearer {token}'\n        ```\n      operationId: getPagedOptOutSubscriptionList\n      parameters:\n        - name: pageMarker\n          in: query\n          description: |\n            The returned `nextPageMarker` from a paginated collection is used here to fetch the starting item for the paginated result.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 0\n            maximum: 100\n            default: 50\n        - name: accountKey\n          in: query\n          description: Identifier of an account.\n          required: true\n          schema:\n            type: string\n        - name: channelId\n          in: query\n          description: |\n            If the channelId is provided, filters the results to only the specific channel id.\n          required: false\n          schema:\n            type: string\n      tags:\n        - Opt-Out\n      responses:\n        '200':\n          description: The Opt-Out subscription list\n          content:\n            application/json:\n              schema:\n                description: List of Opt-Out Subscriptions segmented by page.\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          The next page marker value, to be used for fetching the next page via the `pageMarker` query parameter.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        description: List of Opt-Out Subscriptions.\n                        type: array\n                        items:\n                          type: object\n                          description: Single Opt-Out Subscription.\n                          properties:\n                            id:\n                              type: string\n                              description: Unique identifier for the subscription. Provided by the server.\n                            organizationId:\n                              type: string\n                              format: uuid\n                              description: |\n                                Identifier of an organization.\n                            accountKey:\n                              type: string\n                              description: |\n                                Identifier of an account.\n                            channelId:\n                              description: The notification channel's ID.\n                              type: string\n                              example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                          example:\n                            id: 7732cf5d-b186-42c9-a1bf-b84d1bfe2934\n                            accountKey: '724318505795231'\n                            channelId: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n        '400':\n          description: |\n            The `accountKey`, `pageMarker` or `pageSize` is invalid\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - allOf:\n                      - type: object\n                        required:\n                          - reference\n                          - errorCode\n                        properties:\n                          reference:\n                            type: string\n                            description: A unique identifier used to lookup the error on internal systems.\n                          errorCode:\n                            type: string\n                            description: A machine readable identifier of the error type.\n                          message:\n                            type: string\n                            description: A human readable message describing the issue.\n                        example:\n                          reference: jhkasdf89hjn3298fs\n                          errorCode: CONSTRAINT_VIOLATION\n                          message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: Hnu9UaPo0sJzl7ws7jLIEqJLAe6u5gQp\n                constraintViolations:\n                  - field: pageSize\n                    constraint: 'Invalid (expected: between 1 and 100)'\n                errorCode: BAD_REQUEST\n                message: Provided parameter(s) must be valid\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            The `channelId` doesn't belong to this user and/or doesn't exist,\n            the user does not belong to the accountKey provided or the \n            user does not have the required scope.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/messaging/v1/opt-outs/subscriptions',\n              params: {\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                accountKey: 'SOME_STRING_VALUE',\n                channelId: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/messaging/v1/opt-outs/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&accountKey=SOME_STRING_VALUE&channelId=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/messaging/v1/opt-outs/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&accountKey=SOME_STRING_VALUE&channelId=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/opt-outs/subscriptions');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'accountKey' => 'SOME_STRING_VALUE',\n              'channelId' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/opt-outs/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&accountKey=SOME_STRING_VALUE&channelId=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v1/opt-outs/subscriptions/{subscriptionId}:\n    parameters:\n      - name: subscriptionId\n        in: path\n        description: The subscription's unique identifier.\n        required: true\n        schema:\n          type: string\n          format: uuid\n    delete:\n      summary: Delete an Opt-Out subscription\n      description: |\n        Delete a subscription for a user where the user is defined in the authorization token.\n\n        Example:\n\n        ```\n        curl -X \"DELETE\" \"https://api.goto.com/messaging/v1/opt-outs/subscriptions/{subscriptionId}\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      operationId: deleteOptOutSubscription\n      tags:\n        - Opt-Out\n      responses:\n        '204':\n          description: Successfully removed the subscription.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The provided `subscriptionId` doesn't exist or the subscription\n            doesn't belong to the provided user defined by the authorization token.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/messaging/v1/opt-outs/subscriptions/%7BsubscriptionId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/messaging/v1/opt-outs/subscriptions/%7BsubscriptionId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/messaging/v1/opt-outs/subscriptions/%7BsubscriptionId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v1/opt-outs/subscriptions/%7BsubscriptionId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v1/opt-outs/subscriptions/%7BsubscriptionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v2/accounts/{accountKey}/messages:\n    post:\n      summary: Send a message\n      description: |\n        Sends a message from a GoTo touchpoint to one or more contact touchpoints on the specified channel.\n        The request must include message `components`. File `attachments` are optional.\n\n        ### Request Format\n\n        The request uses `multipart/form-data` encoding with:\n        - A `request` part containing the JSON message payload (`SimpleSendMessageRequest` or\n          `TemplateSendMessageRequest`)\n        - Zero or more `attachments` parts containing binary file data\n\n        ### Message Types\n\n        Two message types are currently supported, distinguished by the `type` field.\n        New types may be added in the future to support richer functionalities for the channels.\n\n        - **`simple`** — A text and/or media message. Use this for standard conversational\n          messages containing text, images, video, audio, or documents.\n        - **`template`** — A pre-approved template message (WhatsApp only). Use this to\n          initiate outbound-first conversations or to send messages outside the 24-hour service window.\n\n        ### Simple Message Example\n\n        ```bash\n        curl -X POST 'https://api.goto.com/messaging/v2/accounts/{accountKey}/messages' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\n          -H 'Content-Type: multipart/form-data' \\\n          -F 'request={\n            \"channel\": \"SMS\",\n            \"from\": \"+15145551111\",\n            \"to\": [\"+15145552222\"],\n            \"type\": \"simple\",\n            \"components\": [{\n              \"type\": \"body\",\n              \"components\": [{\n                \"type\": \"text\",\n                \"attributes\": { \"text\": \"Hello from GoTo!\" }\n              }]\n            }]\n          };type=application/json'\n        ```\n\n        ### Simple Message with Attachment Example\n\n        ```bash\n        curl -X POST 'https://api.goto.com/messaging/v2/accounts/{accountKey}/messages' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\n          -H 'Content-Type: multipart/form-data' \\\n          -F 'request={\n            \"channel\": \"WHATSAPP\",\n            \"from\": \"137169456416846\",\n            \"to\": [\"+15145552222\"],\n            \"type\": \"simple\",\n            \"components\": [{\n              \"type\": \"body\",\n              \"components\": [{\n                \"type\": \"image\",\n                \"attributes\": {\n                  \"attachmentName\": \"photo.jpg\",\n                  \"caption\": \"Check out this image!\"\n                }\n              }]\n            }]\n          };type=application/json' \\\n          -F 'attachments=@photo.jpg;type=image/jpeg'\n        ```\n\n        ### Template Message Example (WhatsApp)\n\n        ```bash\n        curl -X POST 'https://api.goto.com/messaging/v2/accounts/{accountKey}/messages' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\n          -H 'Content-Type: multipart/form-data' \\\n          -F 'request={\n            \"channel\": \"WHATSAPP\",\n            \"from\": \"137169456416846\",\n            \"to\": [\"+15145552222\"],\n            \"type\": \"template\",\n            \"attributes\": {\n              \"name\": \"order_confirmation\",\n              \"languageCode\": \"en-US\"\n            },\n            \"components\": [{\n              \"type\": \"body\",\n              \"parameters\": [\n                { \"name\": \"customer_name\", \"value\": \"John\" },\n                { \"name\": \"order_id\", \"value\": \"ORD-12345\" }\n              ]\n            }]\n          };type=application/json'\n        ```\n      operationId: messagingV2SendMessage\n      tags:\n        - Messages\n      parameters:\n        - name: accountKey\n          in: path\n          required: true\n          description: The unique account identifier.\n          schema:\n            type: string\n          example: '9502350087451835131'\n      requestBody:\n        required: true\n        content:\n          multipart/form-data:\n            schema:\n              type: object\n              description: Multipart request for sending a message with optional file attachments.\n              required:\n                - request\n              properties:\n                request:\n                  description: |\n                    The JSON message payload, sent as a form part with content type `application/json`.\n                    This object must conform to either `SimpleSendMessageRequest` (for text/media messages)\n                    or `TemplateSendMessageRequest` (for WhatsApp template messages), determined by the\n                    `type` field. Required fields: `channel`, `from`, `to`, `type`, and `components`\n                    (for simple) or `attributes` (for template). When attaching files, reference them\n                    in a media sub-component's `attachmentName` field using the filename of the\n                    corresponding `attachments` part.\n                  allOf:\n                    - oneOf:\n                        - title: Simple Message\n                          type: object\n                          description: |\n                            A simple text and/or media message. Contains a single body component with nested\n                            sub-components for text and media content.\n\n                            **Supported channels:** SMS, WHATSAPP, EMAIL, FACEBOOK, INSTAGRAM, WEB_CHAT\n                          properties:\n                            channel:\n                              type: string\n                              description: The communication channel through which messages are sent.\n                              enum:\n                                - SMS\n                                - EMAIL\n                                - FACEBOOK\n                                - INSTAGRAM\n                                - WHATSAPP\n                                - WEB_CHAT\n                            from:\n                              type: string\n                              description: |\n                                The touchpoint from which the message is sent. Format varies by channel:\n                                - **SMS**: E.164 format phone number (e.g., `+15145551111`)\n                                - **WHATSAPP**: Meta WhatsApp phone number ID — a numeric-only string\n                                  (e.g., `137169456416846`)\n                                - **EMAIL**: Email address (e.g., `sender@example.com`)\n                                - **FACEBOOK/INSTAGRAM**: Page ID\n                                - **WEB_CHAT**: Widget ID or unique identifier\n                              example: '+15145551111'\n                            to:\n                              type: array\n                              description: |\n                                A list of recipient touchpoints. Format must match the channel type.\n                                SMS supports up to 10 recipients; all other channels require exactly one.\n                              items:\n                                type: string\n                                example: '+15145552222'\n                              minItems: 1\n                              maxItems: 10\n                            type:\n                              type: string\n                              description: |\n                                The message type discriminator. Must be `simple` or `template`.\n                            externalReference:\n                              type: string\n                              description: |\n                                Client-provided reference to associate the message with external data.\n                                This value is not interpreted by the platform and is echoed back in\n                                the response.\n                              example: my-tracking-id-12345\n                            components:\n                              type: array\n                              description: Must contain exactly one body component.\n                              items:\n                                type: object\n                                description: |\n                                  The body component of a simple message. Contains nested sub-components\n                                  for text and media content.\n                                properties:\n                                  type:\n                                    type: string\n                                    description: Must be `body`.\n                                    enum:\n                                      - body\n                                    example: body\n                                  components:\n                                    type: array\n                                    description: |\n                                      Nested sub-components for text and media content. At most one text\n                                      sub-component is allowed. For WHATSAPP, FACEBOOK, and INSTAGRAM channels,\n                                      include either a text component OR a single media component (not both).\n                                    items:\n                                      oneOf:\n                                        - title: Text\n                                          type: object\n                                          description: A text content sub-component.\n                                          properties:\n                                            type:\n                                              type: string\n                                              description: Must be `text`.\n                                              enum:\n                                                - text\n                                              example: text\n                                            attributes:\n                                              type: object\n                                              description: Attributes for a text sub-component.\n                                              required:\n                                                - text\n                                              properties:\n                                                text:\n                                                  type: string\n                                                  description: The message text content.\n                                                  example: Hello, this is a text message\n                                          required:\n                                            - type\n                                            - attributes\n                                        - title: Image\n                                          type: object\n                                          description: An image content sub-component.\n                                          properties:\n                                            type:\n                                              type: string\n                                              description: Must be `image`.\n                                              enum:\n                                                - image\n                                              example: image\n                                            attributes:\n                                              type: object\n                                              description: Attributes for the image attachment.\n                                              required:\n                                                - attachmentName\n                                              properties:\n                                                attachmentName:\n                                                  type: string\n                                                  description: |\n                                                    The filename of the corresponding multipart attachment. Must match the\n                                                    filename of one of the uploaded binary parts in the multipart request.\n                                                  minLength: 1\n                                                  example: photo.jpg\n                                                caption:\n                                                  type: string\n                                                  description: |\n                                                    Optional caption for the media. Supported for image, video, document, and\n                                                    audio components.\n                                                  example: Check out this image!\n                                                name:\n                                                  type: string\n                                                  description: Display file name for the media attachment.\n                                                  example: photo.jpg\n                                          required:\n                                            - type\n                                            - attributes\n                                        - title: Video\n                                          type: object\n                                          description: A video content sub-component.\n                                          properties:\n                                            type:\n                                              type: string\n                                              description: Must be `video`.\n                                              enum:\n                                                - video\n                                              example: video\n                                            attributes:\n                                              type: object\n                                              description: Attributes for the video attachment.\n                                              required:\n                                                - attachmentName\n                                              properties:\n                                                attachmentName:\n                                                  type: string\n                                                  description: |\n                                                    The filename of the corresponding multipart attachment. Must match the\n                                                    filename of one of the uploaded binary parts in the multipart request.\n                                                  minLength: 1\n                                                  example: video.mp4\n                                                caption:\n                                                  type: string\n                                                  description: Optional caption for the media.\n                                                  example: Check out this video!\n                                                name:\n                                                  type: string\n                                                  description: Display file name for the media attachment.\n                                                  example: Demo.mp4\n                                          required:\n                                            - type\n                                            - attributes\n                                        - title: Audio\n                                          type: object\n                                          description: An audio content sub-component.\n                                          properties:\n                                            type:\n                                              type: string\n                                              description: Must be `audio`.\n                                              enum:\n                                                - audio\n                                              example: audio\n                                            attributes:\n                                              type: object\n                                              description: Attributes for the audio attachment.\n                                              required:\n                                                - attachmentName\n                                              properties:\n                                                attachmentName:\n                                                  type: string\n                                                  description: |\n                                                    The filename of the corresponding multipart attachment. Must match the\n                                                    filename of one of the uploaded binary parts in the multipart request.\n                                                  minLength: 1\n                                                  example: audio.mp3\n                                                caption:\n                                                  type: string\n                                                  description: Optional caption for the media.\n                                                  example: Listen to this!\n                                                name:\n                                                  type: string\n                                                  description: Display file name for the media attachment.\n                                                  example: Recording.mp3\n                                          required:\n                                            - type\n                                            - attributes\n                                        - title: Document\n                                          type: object\n                                          description: A document content sub-component.\n                                          properties:\n                                            type:\n                                              type: string\n                                              description: Must be `document`.\n                                              enum:\n                                                - document\n                                              example: document\n                                            attributes:\n                                              type: object\n                                              description: Attributes for the document attachment.\n                                              required:\n                                                - attachmentName\n                                              properties:\n                                                attachmentName:\n                                                  type: string\n                                                  description: |\n                                                    The filename of the corresponding multipart attachment. Must match the\n                                                    filename of one of the uploaded binary parts in the multipart request.\n                                                  minLength: 1\n                                                  example: report.pdf\n                                                caption:\n                                                  type: string\n                                                  description: Optional caption for the document.\n                                                  example: Q4 Report\n                                                name:\n                                                  type: string\n                                                  description: Display file name for the media attachment.\n                                                  example: Report Q4 2025.pdf\n                                          required:\n                                            - type\n                                            - attributes\n                                    minItems: 1\n                                required:\n                                  - type\n                                  - components\n                              minItems: 1\n                              maxItems: 1\n                          required:\n                            - channel\n                            - from\n                            - to\n                            - type\n                            - components\n                        - title: Template Message\n                          type: object\n                          description: |\n                            A pre-approved template message. Used to initiate conversations on WhatsApp\n                            outside the 24-hour customer service window.\n\n                            **Supported channels:** WHATSAPP only\n                          properties:\n                            channel:\n                              type: string\n                              description: The communication channel through which messages are sent.\n                              enum:\n                                - SMS\n                                - EMAIL\n                                - FACEBOOK\n                                - INSTAGRAM\n                                - WHATSAPP\n                                - WEB_CHAT\n                            from:\n                              type: string\n                              description: |\n                                The touchpoint from which the message is sent. Format varies by channel:\n                                - **SMS**: E.164 format phone number (e.g., `+15145551111`)\n                                - **WHATSAPP**: Meta WhatsApp phone number ID — a numeric-only string\n                                  (e.g., `137169456416846`)\n                                - **EMAIL**: Email address (e.g., `sender@example.com`)\n                                - **FACEBOOK/INSTAGRAM**: Page ID\n                                - **WEB_CHAT**: Widget ID or unique identifier\n                              example: '+15145551111'\n                            to:\n                              type: array\n                              description: |\n                                A list of recipient touchpoints. Format must match the channel type.\n                                SMS supports up to 10 recipients; all other channels require exactly one.\n                              items:\n                                type: string\n                                example: '+15145552222'\n                              minItems: 1\n                              maxItems: 10\n                            type:\n                              type: string\n                              description: |\n                                The message type discriminator. Must be `simple` or `template`.\n                            externalReference:\n                              type: string\n                              description: |\n                                Client-provided reference to associate the message with external data.\n                                This value is not interpreted by the platform and is echoed back in\n                                the response.\n                              example: my-tracking-id-12345\n                            attributes:\n                              type: object\n                              description: |\n                                Metadata for template messages. The template must be pre-approved by the\n                                channel provider (e.g., Meta for WhatsApp) before it can be used.\n                              properties:\n                                name:\n                                  type: string\n                                  description: |\n                                    The template name as registered with the channel provider. Must match\n                                    exactly (case-sensitive).\n                                  example: order_confirmation\n                                languageCode:\n                                  type: string\n                                  description: |\n                                    The language code for the template in BCP 47 format.\n                                  example: en-US\n                              required:\n                                - name\n                                - languageCode\n                            components:\n                              type: array\n                              description: |\n                                The structural components of the template message (e.g., header, body,\n                                footer, buttons). Used for variable substitution and media attachment\n                                in template placeholders.\n                              items:\n                                type: object\n                                description: |\n                                  A structural component within a template message. Top-level components represent\n                                  sections of the template (header, body, footer, buttons). Supports variable\n                                  substitution via parameters.\n                                properties:\n                                  type:\n                                    type: string\n                                    description: The template component type.\n                                    enum:\n                                      - body\n                                      - buttons\n                                      - header\n                                      - footer\n                                    example: body\n                                  components:\n                                    type: array\n                                    description: Nested sub-components (applicable for top-level components).\n                                    items:\n                                      type: object\n                                      description: |\n                                        A nested sub-component within a template message component.\n                                        Has the same structure as MessageComponent but without further nesting.\n                                      properties:\n                                        type:\n                                          type: string\n                                          description: The sub-component type.\n                                          example: button\n                                        attributes:\n                                          type: array\n                                          items:\n                                            type: object\n                                            description: |\n                                              An attribute on a template component. Used to attach media information to\n                                              header components (e.g., an image URL or uploaded media reference).\n                                            properties:\n                                              name:\n                                                type: string\n                                                description: Optional attribute name.\n                                                example: header_image\n                                              text:\n                                                type: string\n                                                description: A text value or media URL for this attribute.\n                                                example: https://example.com/image.png\n                                              attachmentName:\n                                                type: string\n                                                description: |\n                                                  The filename of an uploaded media attachment for this attribute. Must\n                                                  match a filename in the multipart attachments.\n                                                example: header-image.jpg\n                                              caption:\n                                                type: string\n                                                description: Optional caption for the media.\n                                                nullable: true\n                                        parameters:\n                                          type: array\n                                          items:\n                                            type: object\n                                            description: A parameter value for template variable substitution.\n                                            properties:\n                                              name:\n                                                type: string\n                                                description: Named variable identifier as defined by the template.\n                                                example: customer_name\n                                              value:\n                                                type: string\n                                                description: The value to substitute for this template variable.\n                                                example: John Doe\n                                            required:\n                                              - name\n                                              - value\n                                      required:\n                                        - type\n                                  attributes:\n                                    type: array\n                                    description: |\n                                      Attributes for this component. Used for header components that embed\n                                      media such as IMAGE, VIDEO, or DOCUMENT.\n                                    items:\n                                      type: object\n                                      description: |\n                                        An attribute on a template component. Used to attach media information to\n                                        header components (e.g., an image URL or uploaded media reference).\n                                      properties:\n                                        name:\n                                          type: string\n                                          description: Optional attribute name.\n                                          example: header_image\n                                        text:\n                                          type: string\n                                          description: A text value or media URL for this attribute.\n                                          example: https://example.com/image.png\n                                        attachmentName:\n                                          type: string\n                                          description: |\n                                            The filename of an uploaded media attachment for this attribute. Must\n                                            match a filename in the multipart attachments.\n                                          example: header-image.jpg\n                                        caption:\n                                          type: string\n                                          description: Optional caption for the media.\n                                          nullable: true\n                                  parameters:\n                                    type: array\n                                    description: |\n                                      Template variable parameters for substitution. Each parameter specifies a\n                                      variable name and the value to substitute.\n                                      For `buttons` components, each parameter corresponds to one button slot\n                                      where `name` identifies the variable and `value` is the substitution.\n                                    items:\n                                      type: object\n                                      description: A parameter value for template variable substitution.\n                                      properties:\n                                        name:\n                                          type: string\n                                          description: Named variable identifier as defined by the template.\n                                          example: customer_name\n                                        value:\n                                          type: string\n                                          description: The value to substitute for this template variable.\n                                          example: John Doe\n                                      required:\n                                        - name\n                                        - value\n                                required:\n                                  - type\n                          required:\n                            - channel\n                            - from\n                            - to\n                            - type\n                            - attributes\n                      discriminator:\n                        propertyName: type\n                        mapping:\n                          simple: '#/components/schemas/SimpleSendMessageRequest'\n                          template: '#/components/schemas/TemplateSendMessageRequest'\n                attachments:\n                  type: array\n                  description: |\n                    Optional binary file attachments to include with the message. Multiple files\n                    can be attached by repeating this field. Each attachment must be referenced by\n                    a media sub-component in the request via its filename.\n                  items:\n                    type: string\n                    format: binary\n      responses:\n        '201':\n          description: |\n            Message sent successfully. Returns the created message with server-generated\n            fields including the message ID, conversation ID, and timestamp. Final delivery\n            status will be provided via notification.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Represents a sent message returned by the API.\n                properties:\n                  id:\n                    type: string\n                    description: Unique identifier for the message (UUID format).\n                    example: 123e4567-e89b-12d3-a456-426614174000\n                  conversationId:\n                    type: string\n                    description: Unique identifier for the conversation to which the message belongs.\n                    example: c9b1f8d2-3e4f-11ec-bf63-0242ac130002\n                  accountKey:\n                    type: string\n                    description: The account identifier used in the request.\n                    example: '9502350087451835131'\n                  timestamp:\n                    type: string\n                    format: date-time\n                    description: The timestamp when the message was accepted, in ISO 8601 format.\n                    example: '2025-01-15T14:30:00Z'\n                  channel:\n                    type: string\n                    description: The communication channel through which messages are sent.\n                    enum:\n                      - SMS\n                      - EMAIL\n                      - FACEBOOK\n                      - INSTAGRAM\n                      - WHATSAPP\n                      - WEB_CHAT\n                  body:\n                    type: string\n                    description: The text content of the message, if applicable.\n                    example: Hello, this is a test message.\n                  direction:\n                    type: string\n                    description: The direction of the message from the perspective of the organization.\n                    enum:\n                      - INBOUND\n                      - OUTBOUND\n                    example: OUTBOUND\n                  owner:\n                    type: string\n                    description: |\n                      The organization's touchpoint (e.g., phone number, email, etc) that owns the\n                      conversation. Format depends on channel: E.164 for SMS/WhatsApp, email address\n                      for Email, page ID for Facebook/Instagram, widget ID for Web Chat.\n                    example: '+15145551111'\n                  from:\n                    type: string\n                    description: |\n                      The sender's touchpoint. For outbound messages, this is the organization's\n                      touchpoint.\n                    example: '+15145551111'\n                  to:\n                    type: array\n                    description: The recipient touchpoints.\n                    items:\n                      type: string\n                      example: '+15145552222'\n                  externalReference:\n                    type: string\n                    description: |\n                      Echo of the client-provided external reference from the request. Only present if\n                      provided in the original request.\n                    example: my-tracking-id-12345\n                  attachments:\n                    type: array\n                    description: A list of attachments included with the message.\n                    items:\n                      type: object\n                      description: Represents a file attached to a message.\n                      properties:\n                        id:\n                          type: string\n                          description: Unique identifier for the attachment.\n                          example: a861306b-cf44-417e-a4b5-0fc7875f4180\n                        name:\n                          type: string\n                          description: The filename of the attachment.\n                          example: photo.jpg\n                        contentType:\n                          type: string\n                          description: The MIME type of the attachment.\n                          example: image/jpeg\n                        size:\n                          type: integer\n                          format: int64\n                          description: The size of the attachment in bytes.\n                          example: 25946\n                      required:\n                        - id\n                        - name\n                        - contentType\n                        - size\n                required:\n                  - id\n                  - conversationId\n                  - accountKey\n                  - timestamp\n                  - channel\n                  - direction\n                  - owner\n                  - from\n                  - to\n              example:\n                id: 123e4567-e89b-12d3-a456-426614174000\n                conversationId: c9b1f8d2-3e4f-11ec-bf63-0242ac130002\n                accountKey: '9502350087451835131'\n                timestamp: '2025-01-15T14:30:00Z'\n                channel: SMS\n                body: Hello from GoTo!\n                direction: OUTBOUND\n                owner: '+15145551111'\n                from: '+15145551111'\n                to:\n                  - '+15145552222'\n                attachments: []\n        '400':\n          description: |\n            The request is invalid. Common causes include:\n            * An invalid touchpoint format was provided (see Supported Channels table for valid formats)\n            * Required fields are missing or malformed\n            * The JSON body is not valid or cannot be parsed (`MALFORMED_REQUEST`)\n            * Template not found (for template messages)\n            * Content rules violated (e.g., text and media combined on WHATSAPP)\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              examples:\n                invalidPhoneNumber:\n                  summary: Invalid phone number format\n                  value:\n                    reference: abc123def456\n                    errorCode: BAD_REQUEST\n                    message: Invalid message request\n                templateNotFound:\n                  summary: Template not found\n                  value:\n                    reference: abc123def456\n                    errorCode: BAD_REQUEST\n                    message: Template 'order_confirmation' with language 'en-US' not found\n                malformedRequest:\n                  summary: Malformed request\n                  value:\n                    reference: abc123def456\n                    errorCode: MALFORMED_REQUEST\n                    message: The request is malformed and cannot be interpreted\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            The user is forbidden to send the message. This can occur when:\n            * The authenticated user is not authorized to send messages on the touchpoint (`from`)\n            * The sender touchpoint does not exist\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: abc123def456\n                errorCode: FORBIDDEN\n                message: Access denied\n        '404':\n          description: |\n            The specified account key does not exist.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: abc123def456\n                errorCode: NOT_FOUND\n                message: Account not found\n        '413':\n          description: |\n            The message payload (including attachments) exceeds the maximum allowed size.\n            See the Payload Size Limits section in the API description for channel-specific limits.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: abc123def456\n                errorCode: PAYLOAD_TOO_LARGE\n                message: Message too large\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples: []\n    servers:\n      - url: https://api.goto.com\n  /messaging/v2/accounts/{accountKey}/attachments/{attachmentId}:\n    get:\n      summary: Get an attachment download URL\n      description: |\n        Resolves the download location for a message attachment. Returns a `302 Found`\n        redirect to a pre-signed URL where the attachment content can be retrieved.\n\n        The pre-signed URL expires after 60 seconds. Clients should follow the redirect\n        immediately and not store the URL for later use.\n\n        The caller must be authorized to access the inbox or touchpoint that owns the\n        message containing the attachment.\n      operationId: messagingV2GetAttachmentById\n      tags:\n        - Messages\n      parameters:\n        - name: accountKey\n          in: path\n          required: true\n          description: The unique account identifier.\n          schema:\n            type: string\n          example: '9502350087451835131'\n        - name: attachmentId\n          in: path\n          required: true\n          description: The unique identifier of the attachment (UUID format).\n          schema:\n            type: string\n            format: uuid\n          example: a861306b-cf44-417e-a4b5-0fc7875f4180\n      responses:\n        '302':\n          description: |\n            Redirect to the attachment download URL. The `Location` header contains\n            a pre-signed URL where the attachment content can be downloaded.\n          headers:\n            Location:\n              description: The pre-signed URL to download the attachment content.\n              schema:\n                type: string\n                format: uri\n              example: https://media.goto.com/attachments/a861306b-cf44-417e-a4b5-0fc7875f4180/photo.jpg?token=abc123\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The attachment was not found. This can occur when:\n            * The `attachmentId` is not a valid UUID format\n            * The `attachmentId` does not exist\n            * The attachment's underlying media has been deleted or has expired\n            * The caller is not authorized to access the owning inbox or touchpoint\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: abc123def456\n                errorCode: NOT_FOUND\n                message: Resource not found\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/messaging/v2/accounts/9502350087451835131/attachments/a861306b-cf44-417e-a4b5-0fc7875f4180'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/messaging/v2/accounts/9502350087451835131/attachments/a861306b-cf44-417e-a4b5-0fc7875f4180\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/messaging/v2/accounts/9502350087451835131/attachments/a861306b-cf44-417e-a4b5-0fc7875f4180\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v2/accounts/9502350087451835131/attachments/a861306b-cf44-417e-a4b5-0fc7875f4180');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v2/accounts/9502350087451835131/attachments/a861306b-cf44-417e-a4b5-0fc7875f4180\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v2/accounts/{accountKey}/message-templates:\n    get:\n      summary: List message templates\n      description: |\n        Returns a paginated list of message templates available for the account.\n\n        Currently, only WhatsApp templates are supported. Specifying a non-WhatsApp\n        channel returns an empty list.\n\n        Templates are fetched from the channel provider (e.g., Meta for WhatsApp) and\n        include their approval status, category, and structural components with parameter\n        placeholders. Use this endpoint to discover which templates are available before\n        sending a template message via the Send Message endpoint.\n      operationId: messagingV2ListMessageTemplates\n      tags:\n        - Templates\n      parameters:\n        - name: accountKey\n          in: path\n          required: true\n          description: The unique account identifier.\n          schema:\n            type: string\n          example: '9502350087451835131'\n        - name: ownerTouchpoint\n          in: query\n          required: false\n          description: |\n            Filter templates by a specific touchpoint (e.g., a WhatsApp phone number ID).\n          schema:\n            type: string\n            maxLength: 256\n        - name: pageMarker\n          in: query\n          required: false\n          description: |\n            Opaque cursor for pagination. Use the `nextPageMarker` value from a previous\n            response to fetch the next page of results.\n          schema:\n            type: string\n            maxLength: 2048\n        - name: pageSize\n          in: query\n          required: false\n          description: |\n            Maximum number of templates to return per page.\n          schema:\n            type: integer\n            minimum: 1\n            maximum: 100\n            default: 50\n      responses:\n        '200':\n          description: A paginated list of message templates.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: A paginated list of message templates.\n                properties:\n                  items:\n                    type: array\n                    description: The list of message templates in this page.\n                    items:\n                      type: object\n                      description: A message template retrieved from the channel provider.\n                      properties:\n                        name:\n                          type: string\n                          description: The template name as registered with the channel provider.\n                          example: order_confirmation\n                        languageCode:\n                          type: string\n                          description: The language code for the template in BCP 47 format.\n                          example: en-US\n                        channel:\n                          type: string\n                          description: The communication channel through which messages are sent.\n                          enum:\n                            - SMS\n                            - EMAIL\n                            - FACEBOOK\n                            - INSTAGRAM\n                            - WHATSAPP\n                            - WEB_CHAT\n                        status:\n                          type: string\n                          description: |\n                            The approval status of the template. Values are extensible and new statuses\n                            may be added without notice.\n\n                            Known values: `APPROVED`, `IN_APPEAL`, `PENDING`, `REJECTED`, `PENDING_DELETION`,\n                            `DELETED`, `REINSTATED`, `FLAGGED`, `FIRST_PAUSED`, `SECOND_PAUSED`, `DISABLED`\n                          example: APPROVED\n                        category:\n                          type: string\n                          description: |\n                            The template category. Values are extensible and new categories may be\n                            added without notice.\n\n                            Known values: `MARKETING`, `UTILITY`, `AUTHENTICATION`\n                          example: UTILITY\n                        components:\n                          type: array\n                          description: The structural components of the template (header, body, footer, buttons).\n                          items:\n                            type: object\n                            description: |\n                              A structural component of a message template. Represents a section such as\n                              header, body, footer, or buttons.\n                            properties:\n                              type:\n                                type: string\n                                description: The component type.\n                                enum:\n                                  - header\n                                  - body\n                                  - footer\n                                  - buttons\n                                  - button\n                                example: body\n                              components:\n                                type: array\n                                description: Nested sub-components (e.g., individual buttons within a buttons component).\n                                items:\n                                  type: object\n                                  description: A nested sub-component within a template component (e.g., an individual button).\n                                  properties:\n                                    type:\n                                      type: string\n                                      description: The sub-component type.\n                                      example: button\n                                    attributes:\n                                      type: array\n                                      items:\n                                        type: object\n                                        description: An attribute on a template component.\n                                        properties:\n                                          name:\n                                            type: string\n                                            description: The attribute name.\n                                            example: format\n                                          text:\n                                            type: string\n                                            description: The attribute value.\n                                            example: IMAGE\n                                    parameters:\n                                      type: array\n                                      items:\n                                        type: object\n                                        description: A parameter placeholder within a template component.\n                                        properties:\n                                          name:\n                                            type: string\n                                            description: Named parameter identifier.\n                                            example: customer_name\n                                          example:\n                                            type: string\n                                            description: Example value for this parameter placeholder.\n                                            example: John Doe\n                                        required:\n                                          - name\n                                  required:\n                                    - type\n                              attributes:\n                                type: array\n                                description: Attributes providing additional information about the component (e.g., media type for headers).\n                                items:\n                                  type: object\n                                  description: An attribute on a template component.\n                                  properties:\n                                    name:\n                                      type: string\n                                      description: The attribute name.\n                                      example: format\n                                    text:\n                                      type: string\n                                      description: The attribute value.\n                                      example: IMAGE\n                              parameters:\n                                type: array\n                                description: |\n                                  Parameter placeholders within this component. Each entry describes a named\n                                  variable with an optional example value.\n                                items:\n                                  type: object\n                                  description: A parameter placeholder within a template component.\n                                  properties:\n                                    name:\n                                      type: string\n                                      description: Named parameter identifier.\n                                      example: customer_name\n                                    example:\n                                      type: string\n                                      description: Example value for this parameter placeholder.\n                                      example: John Doe\n                                  required:\n                                    - name\n                            required:\n                              - type\n                      required:\n                        - name\n                        - languageCode\n                        - channel\n                        - status\n                  nextPageMarker:\n                    type: string\n                    maxLength: 2048\n                    description: |\n                      Opaque cursor to retrieve the next page. Absent when there are no more results.\n                    example: eyJ3YWJhSWRzIjpbXSwiY3VycmVudEluZGV4IjowfQ==\n                required:\n                  - items\n        '400':\n          description: |\n            The request is invalid. For example, the `pageMarker` is malformed or expired.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The requested resource was not found. This can occur when:\n            * The `accountKey` does not resolve to a known organization\n            * The caller is not a member of the account\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: abc123def456\n                errorCode: NOT_FOUND\n                message: Resource not found\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/messaging/v2/accounts/9502350087451835131/message-templates',\n              params: {\n                ownerTouchpoint: 'SOME_STRING_VALUE',\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/messaging/v2/accounts/9502350087451835131/message-templates?ownerTouchpoint=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/messaging/v2/accounts/9502350087451835131/message-templates?ownerTouchpoint=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v2/accounts/9502350087451835131/message-templates');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'ownerTouchpoint' => 'SOME_STRING_VALUE',\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v2/accounts/9502350087451835131/message-templates?ownerTouchpoint=SOME_STRING_VALUE&pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v2/subscriptions:\n    post:\n      summary: Create a subscription\n      description: |\n        Create a subscription for a given owner entity to receive messaging event notifications.\n\n        **Authorization:** This endpoint can only be called by a Super-Admin user.\n\n        The resulting subscription is bound to the user used to create it. If the user is\n        deactivated, loses their Super-Admin privileges, or is removed from the organization,\n        notifications will no longer be sent to the associated channel.\n\n        ### Example\n\n        ```bash\n        curl -X POST 'https://api.goto.com/messaging/v2/subscriptions' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\n          -H 'Content-Type: application/json' \\\n          -d '{\n            \"accountKey\": \"9502350087451835131\",\n            \"ownerEntity\": \"9502350087451835131\",\n            \"ownerEntityType\": \"ORGANIZATION\",\n            \"channelId\": \"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\n            \"eventTypes\": [\"INBOUND_MESSAGE\", \"OUTBOUND_MESSAGE\", \"DELIVERY_STATUS\"]\n          }'\n        ```\n      operationId: messagingV2CreateSubscription\n      tags:\n        - Subscriptions\n      requestBody:\n        required: true\n        description: Subscription creation request.\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Required details for creating a subscription.\n              properties:\n                accountKey:\n                  type: string\n                  description: The account identifier for which the subscription is created.\n                  example: '9502350087451835131'\n                ownerEntity:\n                  type: string\n                  description: |\n                    The entity identifier to subscribe to. The format depends on `ownerEntityType`:\n                    - For `ORGANIZATION`: an account key (e.g. `9502350087451835131`).\n                    - For `TOUCHPOINT`: a channel-specific identifier (e.g. E.164 phone number).\n                  example: '9502350087451835131'\n                ownerEntityType:\n                  type: string\n                  description: |\n                    The type of entity identified by `ownerEntity`. Values are extensible and new\n                    owner entity types may be added without notice. Consumers should gracefully handle unknown values.\n\n                    - `ORGANIZATION` — An organization (`ownerEntity` must be a valid account key).\n                    - `TOUCHPOINT` — *(Coming soon)* A contact touchpoint (`ownerEntity` is a channel-specific identifier,\n                      e.g. a phone number in E.164 format for SMS).\n                  enum:\n                    - ORGANIZATION\n                    - TOUCHPOINT\n                channelId:\n                  type: string\n                  description: |\n                    The notification channel ID where events will be delivered.\n                    Obtain a channel ID from the Notification Channel API.\n                  example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                eventTypes:\n                  type: array\n                  description: List of one or more event types to subscribe to.\n                  minItems: 1\n                  items:\n                    description: |\n                      Event type discriminator for notification envelopes. Values are extensible and new\n                      event types may be added without notice. Consumers should gracefully handle unknown values.\n\n                      - `INBOUND_MESSAGE` — A message was received from an external party.\n                      - `OUTBOUND_MESSAGE` — A message was sent to an external party.\n                      - `DELIVERY_STATUS` — The delivery status of a sent message changed (e.g. delivered, failed).\n                      - `INBOUND_REACTION` — A reaction was received on a message from an external party.\n                      - `OUTBOUND_REACTION` — A reaction was sent on a message to an external party.\n                    type: string\n                    enum:\n                      - INBOUND_MESSAGE\n                      - OUTBOUND_MESSAGE\n                      - DELIVERY_STATUS\n                      - INBOUND_REACTION\n                      - OUTBOUND_REACTION\n              required:\n                - accountKey\n                - ownerEntity\n                - ownerEntityType\n                - channelId\n                - eventTypes\n      callbacks:\n        Inbound Message:\n          '{request.body#}':\n            post:\n              summary: Inbound message\n              description: Delivered when a message is received from an external party. The `type` will be `INBOUND_MESSAGE`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      description: Notification envelope for inbound message events.\n                      allOf:\n                        - type: object\n                          description: Base polymorphic notification envelope with type discriminator.\n                          properties:\n                            id:\n                              type: string\n                              format: uuid\n                              description: Unique identifier for the event.\n                              example: 456e7890-e12b-34d5-a678-901234567890\n                            source:\n                              type: string\n                              description: Source identifier from the notification platform.\n                              example: inbox-notification\n                            type:\n                              description: |\n                                Notification event types available for messaging event subscriptions.\n                              type: string\n                              enum:\n                                - INBOUND_MESSAGE\n                                - OUTBOUND_MESSAGE\n                                - DELIVERY_STATUS\n                                - INBOUND_REACTION\n                                - OUTBOUND_REACTION\n                            usage:\n                              type: string\n                              description: Usage type from the notification platform.\n                              enum:\n                                - ALERT\n                                - BACKGROUND\n                              example: BACKGROUND\n                            timestamp:\n                              type: string\n                              format: date-time\n                              description: ISO 8601 timestamp when the notification was created.\n                              example: '2025-07-31T10:30:00Z'\n                            ttl:\n                              type: integer\n                              format: int32\n                              description: Time to live in seconds for the notification.\n                              example: 604800\n                          required:\n                            - id\n                            - source\n                            - type\n                            - usage\n                            - timestamp\n                            - ttl\n                        - type: object\n                          properties:\n                            type:\n                              type: string\n                              description: Notification type for inbound message events. Expected value is `INBOUND_MESSAGE`.\n                              enum:\n                                - INBOUND_MESSAGE\n                            content:\n                              allOf:\n                                - type: object\n                                  description: Base content structure for notification events.\n                                  properties:\n                                    accountKey:\n                                      type: string\n                                      description: The account key associated with the event.\n                                      example: '1234567890123456789'\n                                  required:\n                                    - accountKey\n                                - type: object\n                                  properties:\n                                    payload:\n                                      type: object\n                                      description: Event payload for an inbound message notification. The `direction` property will always be `INBOUND`.\n                                      allOf:\n                                        - type: object\n                                          description: Shared properties schema for message details used in notification event payloads.\n                                          properties:\n                                            messageId:\n                                              type: string\n                                              format: uuid\n                                              description: Unique identifier for the message.\n                                              example: 123e4567-e89b-12d3-a456-426614174000\n                                            conversationId:\n                                              type: string\n                                              description: Unique identifier for the conversation this message belongs to.\n                                              example: 987fcdeb-51a2-43d1-b789-123456789abc\n                                            direction:\n                                              type: string\n                                              description: Direction of the message flow.\n                                              enum:\n                                                - OUTBOUND\n                                                - INBOUND\n                                              example: INBOUND\n                                            channel:\n                                              type: string\n                                              description: Communication channel used for the conversation.\n                                              enum:\n                                                - SMS\n                                                - EMAIL\n                                                - FACEBOOK\n                                                - INSTAGRAM\n                                                - WHATSAPP\n                                                - WEB_CHAT\n                                              example: WHATSAPP\n                                            timestamp:\n                                              type: string\n                                              format: date-time\n                                              description: ISO 8601 timestamp when the message was created.\n                                              example: '2025-07-31T10:30:00Z'\n                                            body:\n                                              type: string\n                                              description: The message body.\n                                              example: Hello, how can I help you today?\n                                            bodyTruncated:\n                                              type: boolean\n                                              description: |-\n                                                Indicates whether the body value is truncated in this payload.\n                                                If true, the body exceeds payload limits. Retrieve the full message by\n                                                calling GET /accounts/{accountKey}/messages/{messageId} (coming soon).\n                                            attachments:\n                                              type: object\n                                              description: Attachments metadata including count and items.\n                                              properties:\n                                                count:\n                                                  type: integer\n                                                  description: Number of attachments included in `items`.\n                                                  example: 2\n                                                items:\n                                                  type: array\n                                                  items:\n                                                    type: object\n                                                    description: Metadata for a single attachment.\n                                                    properties:\n                                                      name:\n                                                        type: string\n                                                        description: Attachment filename.\n                                                        example: document.pdf\n                                                      contentType:\n                                                        type: string\n                                                        description: MIME type of the attachment.\n                                                        example: application/pdf\n                                                      size:\n                                                        type: integer\n                                                        description: Attachment size in bytes.\n                                                        example: 1024000\n                                                      attachmentId:\n                                                        type: string\n                                                        description: |\n                                                          Opaque identifier for the attachment. Use this ID with the\n                                                          `GET /accounts/{accountKey}/attachments/{attachmentId}` endpoint to\n                                                          download the binary file.\n                                                        example: cb_123e4567-e89b-12d3-a456-426614174000\n                                                    required:\n                                                      - name\n                                                      - contentType\n                                                      - size\n                                                      - attachmentId\n                                              required:\n                                                - count\n                                                - items\n                                              example:\n                                                count: 2\n                                                items:\n                                                  - name: document.pdf\n                                                    contentType: application/pdf\n                                                    size: 1024000\n                                                    attachmentId: cb_123e4567-e89b-12d3-a456-426614174000\n                                                  - name: image.jpg\n                                                    contentType: image/jpeg\n                                                    size: 512000\n                                                    attachmentId: cb_987fcdeb-51a2-43d1-b789-123456789abc\n                                            contactTouchpoints:\n                                              type: array\n                                              description: |\n                                                List of contact touchpoint identifiers.\n                                                The format of each touchpoint is channel-specific; see the Supported Channels table for format details per channel.\n                                              items:\n                                                type: string\n                                              example:\n                                                - '+15551234567'\n                                                - user@example.com\n                                            ownerTouchpoint:\n                                              type: string\n                                              description: |\n                                                Touchpoint that owns the conversation.\n                                                The format is channel-specific; see the Supported Channels table for format details per channel.\n                                              example: '+15559876543'\n                                            authorTouchpoint:\n                                              type: string\n                                              description: |\n                                                Touchpoint that authored the message.\n                                                The format is channel-specific; see the Supported Channels table for format details per channel.\n                                              example: '+15551234567'\n                                          required:\n                                            - messageId\n                                            - conversationId\n                                            - direction\n                                            - channel\n                                            - ownerTouchpoint\n                                            - authorTouchpoint\n                                            - timestamp\n                                  required:\n                                    - payload\n                          required:\n                            - content\n              responses:\n                '200':\n                  description: Notification received.\n        Outbound Message:\n          '{request.body#}':\n            post:\n              summary: Outbound message\n              description: Delivered when a message is sent to an external party. The `type` will be `OUTBOUND_MESSAGE`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      description: Notification envelope for outbound message events.\n                      allOf:\n                        - type: object\n                          description: Base polymorphic notification envelope with type discriminator.\n                          properties:\n                            id:\n                              type: string\n                              format: uuid\n                              description: Unique identifier for the event.\n                              example: 456e7890-e12b-34d5-a678-901234567890\n                            source:\n                              type: string\n                              description: Source identifier from the notification platform.\n                              example: inbox-notification\n                            type:\n                              description: |\n                                Notification event types available for messaging event subscriptions.\n                              type: string\n                              enum:\n                                - INBOUND_MESSAGE\n                                - OUTBOUND_MESSAGE\n                                - DELIVERY_STATUS\n                                - INBOUND_REACTION\n                                - OUTBOUND_REACTION\n                            usage:\n                              type: string\n                              description: Usage type from the notification platform.\n                              enum:\n                                - ALERT\n                                - BACKGROUND\n                              example: BACKGROUND\n                            timestamp:\n                              type: string\n                              format: date-time\n                              description: ISO 8601 timestamp when the notification was created.\n                              example: '2025-07-31T10:30:00Z'\n                            ttl:\n                              type: integer\n                              format: int32\n                              description: Time to live in seconds for the notification.\n                              example: 604800\n                          required:\n                            - id\n                            - source\n                            - type\n                            - usage\n                            - timestamp\n                            - ttl\n                        - type: object\n                          properties:\n                            type:\n                              type: string\n                              description: Notification type for outbound message events. Expected value is `OUTBOUND_MESSAGE`.\n                              enum:\n                                - OUTBOUND_MESSAGE\n                            content:\n                              allOf:\n                                - type: object\n                                  description: Base content structure for notification events.\n                                  properties:\n                                    accountKey:\n                                      type: string\n                                      description: The account key associated with the event.\n                                      example: '1234567890123456789'\n                                  required:\n                                    - accountKey\n                                - type: object\n                                  properties:\n                                    payload:\n                                      type: object\n                                      description: Event payload for an outbound message notification. The `direction` property will always be `OUTBOUND`.\n                                      allOf:\n                                        - type: object\n                                          description: Shared properties schema for message details used in notification event payloads.\n                                          properties:\n                                            messageId:\n                                              type: string\n                                              format: uuid\n                                              description: Unique identifier for the message.\n                                              example: 123e4567-e89b-12d3-a456-426614174000\n                                            conversationId:\n                                              type: string\n                                              description: Unique identifier for the conversation this message belongs to.\n                                              example: 987fcdeb-51a2-43d1-b789-123456789abc\n                                            direction:\n                                              type: string\n                                              description: Direction of the message flow.\n                                              enum:\n                                                - OUTBOUND\n                                                - INBOUND\n                                              example: INBOUND\n                                            channel:\n                                              type: string\n                                              description: Communication channel used for the conversation.\n                                              enum:\n                                                - SMS\n                                                - EMAIL\n                                                - FACEBOOK\n                                                - INSTAGRAM\n                                                - WHATSAPP\n                                                - WEB_CHAT\n                                              example: WHATSAPP\n                                            timestamp:\n                                              type: string\n                                              format: date-time\n                                              description: ISO 8601 timestamp when the message was created.\n                                              example: '2025-07-31T10:30:00Z'\n                                            body:\n                                              type: string\n                                              description: The message body.\n                                              example: Hello, how can I help you today?\n                                            bodyTruncated:\n                                              type: boolean\n                                              description: |-\n                                                Indicates whether the body value is truncated in this payload.\n                                                If true, the body exceeds payload limits. Retrieve the full message by\n                                                calling GET /accounts/{accountKey}/messages/{messageId} (coming soon).\n                                            attachments:\n                                              type: object\n                                              description: Attachments metadata including count and items.\n                                              properties:\n                                                count:\n                                                  type: integer\n                                                  description: Number of attachments included in `items`.\n                                                  example: 2\n                                                items:\n                                                  type: array\n                                                  items:\n                                                    type: object\n                                                    description: Metadata for a single attachment.\n                                                    properties:\n                                                      name:\n                                                        type: string\n                                                        description: Attachment filename.\n                                                        example: document.pdf\n                                                      contentType:\n                                                        type: string\n                                                        description: MIME type of the attachment.\n                                                        example: application/pdf\n                                                      size:\n                                                        type: integer\n                                                        description: Attachment size in bytes.\n                                                        example: 1024000\n                                                      attachmentId:\n                                                        type: string\n                                                        description: |\n                                                          Opaque identifier for the attachment. Use this ID with the\n                                                          `GET /accounts/{accountKey}/attachments/{attachmentId}` endpoint to\n                                                          download the binary file.\n                                                        example: cb_123e4567-e89b-12d3-a456-426614174000\n                                                    required:\n                                                      - name\n                                                      - contentType\n                                                      - size\n                                                      - attachmentId\n                                              required:\n                                                - count\n                                                - items\n                                              example:\n                                                count: 2\n                                                items:\n                                                  - name: document.pdf\n                                                    contentType: application/pdf\n                                                    size: 1024000\n                                                    attachmentId: cb_123e4567-e89b-12d3-a456-426614174000\n                                                  - name: image.jpg\n                                                    contentType: image/jpeg\n                                                    size: 512000\n                                                    attachmentId: cb_987fcdeb-51a2-43d1-b789-123456789abc\n                                            contactTouchpoints:\n                                              type: array\n                                              description: |\n                                                List of contact touchpoint identifiers.\n                                                The format of each touchpoint is channel-specific; see the Supported Channels table for format details per channel.\n                                              items:\n                                                type: string\n                                              example:\n                                                - '+15551234567'\n                                                - user@example.com\n                                            ownerTouchpoint:\n                                              type: string\n                                              description: |\n                                                Touchpoint that owns the conversation.\n                                                The format is channel-specific; see the Supported Channels table for format details per channel.\n                                              example: '+15559876543'\n                                            authorTouchpoint:\n                                              type: string\n                                              description: |\n                                                Touchpoint that authored the message.\n                                                The format is channel-specific; see the Supported Channels table for format details per channel.\n                                              example: '+15551234567'\n                                          required:\n                                            - messageId\n                                            - conversationId\n                                            - direction\n                                            - channel\n                                            - ownerTouchpoint\n                                            - authorTouchpoint\n                                            - timestamp\n                                  required:\n                                    - payload\n                          required:\n                            - content\n              responses:\n                '200':\n                  description: Notification received.\n        Delivery Status:\n          '{request.body#}':\n            post:\n              summary: Delivery status\n              description: Delivered when the delivery status of a sent message changes. The `type` will be `DELIVERY_STATUS`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      description: Notification envelope for delivery status events.\n                      allOf:\n                        - type: object\n                          description: Base polymorphic notification envelope with type discriminator.\n                          properties:\n                            id:\n                              type: string\n                              format: uuid\n                              description: Unique identifier for the event.\n                              example: 456e7890-e12b-34d5-a678-901234567890\n                            source:\n                              type: string\n                              description: Source identifier from the notification platform.\n                              example: inbox-notification\n                            type:\n                              description: |\n                                Notification event types available for messaging event subscriptions.\n                              type: string\n                              enum:\n                                - INBOUND_MESSAGE\n                                - OUTBOUND_MESSAGE\n                                - DELIVERY_STATUS\n                                - INBOUND_REACTION\n                                - OUTBOUND_REACTION\n                            usage:\n                              type: string\n                              description: Usage type from the notification platform.\n                              enum:\n                                - ALERT\n                                - BACKGROUND\n                              example: BACKGROUND\n                            timestamp:\n                              type: string\n                              format: date-time\n                              description: ISO 8601 timestamp when the notification was created.\n                              example: '2025-07-31T10:30:00Z'\n                            ttl:\n                              type: integer\n                              format: int32\n                              description: Time to live in seconds for the notification.\n                              example: 604800\n                          required:\n                            - id\n                            - source\n                            - type\n                            - usage\n                            - timestamp\n                            - ttl\n                        - type: object\n                          properties:\n                            type:\n                              type: string\n                              description: Notification type for delivery status events. Expected value is `DELIVERY_STATUS`.\n                              enum:\n                                - DELIVERY_STATUS\n                            content:\n                              allOf:\n                                - type: object\n                                  description: Base content structure for notification events.\n                                  properties:\n                                    accountKey:\n                                      type: string\n                                      description: The account key associated with the event.\n                                      example: '1234567890123456789'\n                                  required:\n                                    - accountKey\n                                - type: object\n                                  properties:\n                                    payload:\n                                      type: object\n                                      description: Event payload for a delivery status notification.\n                                      allOf:\n                                        - type: object\n                                          properties:\n                                            conversationId:\n                                              type: string\n                                              description: Unique identifier for the conversation this message belongs to.\n                                              example: 987fcdeb-51a2-43d1-b789-123456789abc\n                                            messageId:\n                                              type: string\n                                              format: uuid\n                                              description: Unique identifier for the message.\n                                              example: 123e4567-e89b-12d3-a456-426614174000\n                                            contactTouchpoint:\n                                              type: string\n                                              description: |\n                                                Contact touchpoint for which this status applies.\n                                                The format is channel-specific; see the Supported Channels table for format details per channel.\n                                              example: '+15551234567'\n                                            ownerTouchpoint:\n                                              type: string\n                                              description: |\n                                                Touchpoint that owns the conversation.\n                                                The format is channel-specific; see the Supported Channels table for format details per channel.\n                                              example: '+15559876543'\n                                            timestamp:\n                                              type: string\n                                              format: date-time\n                                              description: ISO 8601 timestamp when the delivery status occurred.\n                                              example: '2025-07-31T10:30:00Z'\n                                            deliveryStatus:\n                                              type: object\n                                              description: Details of a delivery status for an outbound message.\n                                              properties:\n                                                code:\n                                                  type: integer\n                                                  description: Status code for the delivery attempt.\n                                                  example: 4000\n                                                description:\n                                                  type: string\n                                                  description: Human-readable description for the delivery status code.\n                                                  example: INVALID_DESTINATION\n                                                retryable:\n                                                  type: boolean\n                                                  description: Whether the delivery can be retried.\n                                              required:\n                                                - code\n                                                - description\n                                                - retryable\n                                          required:\n                                            - conversationId\n                                            - messageId\n                                            - contactTouchpoint\n                                            - timestamp\n                                            - deliveryStatus\n                                  required:\n                                    - payload\n                          required:\n                            - content\n              responses:\n                '200':\n                  description: Notification received.\n        Inbound Reaction:\n          '{request.body#}':\n            post:\n              summary: Inbound reaction\n              description: Delivered when a reaction is received on a message from an external party. The `type` will be `INBOUND_REACTION`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      description: Notification envelope for inbound reaction events.\n                      allOf:\n                        - type: object\n                          description: Base polymorphic notification envelope with type discriminator.\n                          properties:\n                            id:\n                              type: string\n                              format: uuid\n                              description: Unique identifier for the event.\n                              example: 456e7890-e12b-34d5-a678-901234567890\n                            source:\n                              type: string\n                              description: Source identifier from the notification platform.\n                              example: inbox-notification\n                            type:\n                              description: |\n                                Notification event types available for messaging event subscriptions.\n                              type: string\n                              enum:\n                                - INBOUND_MESSAGE\n                                - OUTBOUND_MESSAGE\n                                - DELIVERY_STATUS\n                                - INBOUND_REACTION\n                                - OUTBOUND_REACTION\n                            usage:\n                              type: string\n                              description: Usage type from the notification platform.\n                              enum:\n                                - ALERT\n                                - BACKGROUND\n                              example: BACKGROUND\n                            timestamp:\n                              type: string\n                              format: date-time\n                              description: ISO 8601 timestamp when the notification was created.\n                              example: '2025-07-31T10:30:00Z'\n                            ttl:\n                              type: integer\n                              format: int32\n                              description: Time to live in seconds for the notification.\n                              example: 604800\n                          required:\n                            - id\n                            - source\n                            - type\n                            - usage\n                            - timestamp\n                            - ttl\n                        - type: object\n                          properties:\n                            type:\n                              type: string\n                              description: Notification type for inbound reaction events. Expected value is `INBOUND_REACTION`.\n                              enum:\n                                - INBOUND_REACTION\n                            content:\n                              allOf:\n                                - type: object\n                                  description: Base content structure for notification events.\n                                  properties:\n                                    accountKey:\n                                      type: string\n                                      description: The account key associated with the event.\n                                      example: '1234567890123456789'\n                                  required:\n                                    - accountKey\n                                - type: object\n                                  properties:\n                                    payload:\n                                      type: object\n                                      description: Event payload for an inbound reaction notification.\n                                      allOf:\n                                        - type: object\n                                          description: Shared payload for reaction notification events.\n                                          allOf:\n                                            - type: object\n                                              properties:\n                                                conversationId:\n                                                  type: string\n                                                  description: Unique identifier for the conversation this message belongs to.\n                                                  example: 987fcdeb-51a2-43d1-b789-123456789abc\n                                                messageId:\n                                                  type: string\n                                                  format: uuid\n                                                  description: Unique identifier for the message.\n                                                  example: 123e4567-e89b-12d3-a456-426614174000\n                                                emoji:\n                                                  type: string\n                                                  description: Unicode emoji representing the reaction.\n                                                  example: 👍\n                                                timestamp:\n                                                  type: string\n                                                  format: date-time\n                                                  description: ISO 8601 timestamp when the reaction occurred.\n                                                  example: '2025-07-31T10:30:00Z'\n                                              required:\n                                                - conversationId\n                                                - messageId\n                                                - emoji\n                                                - timestamp\n                                  required:\n                                    - payload\n                          required:\n                            - content\n              responses:\n                '200':\n                  description: Notification received.\n        Outbound Reaction:\n          '{request.body#}':\n            post:\n              summary: Outbound reaction\n              description: Delivered when a reaction is sent on a message to an external party. The `type` will be `OUTBOUND_REACTION`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      description: Notification envelope for outbound reaction events.\n                      allOf:\n                        - type: object\n                          description: Base polymorphic notification envelope with type discriminator.\n                          properties:\n                            id:\n                              type: string\n                              format: uuid\n                              description: Unique identifier for the event.\n                              example: 456e7890-e12b-34d5-a678-901234567890\n                            source:\n                              type: string\n                              description: Source identifier from the notification platform.\n                              example: inbox-notification\n                            type:\n                              description: |\n                                Notification event types available for messaging event subscriptions.\n                              type: string\n                              enum:\n                                - INBOUND_MESSAGE\n                                - OUTBOUND_MESSAGE\n                                - DELIVERY_STATUS\n                                - INBOUND_REACTION\n                                - OUTBOUND_REACTION\n                            usage:\n                              type: string\n                              description: Usage type from the notification platform.\n                              enum:\n                                - ALERT\n                                - BACKGROUND\n                              example: BACKGROUND\n                            timestamp:\n                              type: string\n                              format: date-time\n                              description: ISO 8601 timestamp when the notification was created.\n                              example: '2025-07-31T10:30:00Z'\n                            ttl:\n                              type: integer\n                              format: int32\n                              description: Time to live in seconds for the notification.\n                              example: 604800\n                          required:\n                            - id\n                            - source\n                            - type\n                            - usage\n                            - timestamp\n                            - ttl\n                        - type: object\n                          properties:\n                            type:\n                              type: string\n                              description: Notification type for outbound reaction events. Expected value is `OUTBOUND_REACTION`.\n                              enum:\n                                - OUTBOUND_REACTION\n                            content:\n                              allOf:\n                                - type: object\n                                  description: Base content structure for notification events.\n                                  properties:\n                                    accountKey:\n                                      type: string\n                                      description: The account key associated with the event.\n                                      example: '1234567890123456789'\n                                  required:\n                                    - accountKey\n                                - type: object\n                                  properties:\n                                    payload:\n                                      type: object\n                                      description: Event payload for an outbound reaction notification.\n                                      allOf:\n                                        - type: object\n                                          description: Shared payload for reaction notification events.\n                                          allOf:\n                                            - type: object\n                                              properties:\n                                                conversationId:\n                                                  type: string\n                                                  description: Unique identifier for the conversation this message belongs to.\n                                                  example: 987fcdeb-51a2-43d1-b789-123456789abc\n                                                messageId:\n                                                  type: string\n                                                  format: uuid\n                                                  description: Unique identifier for the message.\n                                                  example: 123e4567-e89b-12d3-a456-426614174000\n                                                emoji:\n                                                  type: string\n                                                  description: Unicode emoji representing the reaction.\n                                                  example: 👍\n                                                timestamp:\n                                                  type: string\n                                                  format: date-time\n                                                  description: ISO 8601 timestamp when the reaction occurred.\n                                                  example: '2025-07-31T10:30:00Z'\n                                              required:\n                                                - conversationId\n                                                - messageId\n                                                - emoji\n                                                - timestamp\n                                  required:\n                                    - payload\n                          required:\n                            - content\n              responses:\n                '200':\n                  description: Notification received.\n      responses:\n        '201':\n          description: Subscription created.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Subscription representation.\n                properties:\n                  id:\n                    type: string\n                    readOnly: true\n                    description: Unique identifier for the subscription.\n                    example: MTIzNDp4eXo=\n                  ownerEntity:\n                    type: string\n                    description: |\n                      The entity identifier subscribed to. The format depends on `ownerEntityType`:\n                      - For `ORGANIZATION`: an account key (e.g. `9502350087451835131`).\n                      - For `TOUCHPOINT`: a channel-specific identifier (e.g. E.164 phone number).\n                    example: '9502350087451835131'\n                  ownerEntityType:\n                    type: string\n                    description: |\n                      The type of entity identified by `ownerEntity`. Values are extensible and new\n                      owner entity types may be added without notice. Consumers should gracefully handle unknown values.\n\n                      - `ORGANIZATION` — An organization (`ownerEntity` must be a valid account key).\n                      - `TOUCHPOINT` — *(Coming soon)* A contact touchpoint (`ownerEntity` is a channel-specific identifier,\n                        e.g. a phone number in E.164 format for SMS).\n                    enum:\n                      - ORGANIZATION\n                      - TOUCHPOINT\n                  channelId:\n                    type: string\n                    description: The notification channel ID.\n                    example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                  eventTypes:\n                    type: array\n                    description: List of event types that have been subscribed.\n                    minItems: 1\n                    items:\n                      description: |\n                        Event type discriminator for notification envelopes. Values are extensible and new\n                        event types may be added without notice. Consumers should gracefully handle unknown values.\n\n                        - `INBOUND_MESSAGE` — A message was received from an external party.\n                        - `OUTBOUND_MESSAGE` — A message was sent to an external party.\n                        - `DELIVERY_STATUS` — The delivery status of a sent message changed (e.g. delivered, failed).\n                        - `INBOUND_REACTION` — A reaction was received on a message from an external party.\n                        - `OUTBOUND_REACTION` — A reaction was sent on a message to an external party.\n                      type: string\n                      enum:\n                        - INBOUND_MESSAGE\n                        - OUTBOUND_MESSAGE\n                        - DELIVERY_STATUS\n                        - INBOUND_REACTION\n                        - OUTBOUND_REACTION\n                required:\n                  - id\n                  - ownerEntity\n                  - ownerEntityType\n                  - channelId\n                  - eventTypes\n        '400':\n          description: |\n            The request is invalid. Common causes include:\n            * The JSON body is not valid or cannot be parsed (`MALFORMED_REQUEST`)\n            * Missing required fields (`ownerEntity`, `ownerEntityType`, `channelId`, `eventTypes`)\n            * Invalid or unsupported `eventTypes` values\n            * Invalid `channelId` format or non-existent channel (errorCode: `CHANNEL_NOT_FOUND`)\n            * Invalid `ownerEntityType` value\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: 020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: eventTypes\n                    constraint: MIN_SIZE\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '409':\n          description: |\n            A subscription already exists for this owner entity and user. The response\n            includes metadata with the ID of the conflicting subscription.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    properties:\n                      metadata:\n                        type: object\n                        description: Additional metadata about the conflict.\n                        properties:\n                          conflictingSubscriptionId:\n                            type: string\n                            description: The ID of the existing subscription that caused the conflict.\n                            example: MTIzNDp4eXo=\n              example:\n                reference: 020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\n                errorCode: CONFLICT\n                message: The requested subscription conflicts with an existing one\n                metadata:\n                  conflictingSubscriptionId: MTIzNDp4eXo=\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/messaging/v2/subscriptions',\n              data: {\n                accountKey: '9502350087451835131',\n                ownerEntity: '9502350087451835131',\n                ownerEntityType: 'ORGANIZATION',\n                channelId: 'cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76',\n                eventTypes: ['INBOUND_MESSAGE']\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/messaging/v2/subscriptions \\\n              --header 'content-type: application/json' \\\n              --data '{\"accountKey\":\"9502350087451835131\",\"ownerEntity\":\"9502350087451835131\",\"ownerEntityType\":\"ORGANIZATION\",\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\"eventTypes\":[\"INBOUND_MESSAGE\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"accountKey\\\":\\\"9502350087451835131\\\",\\\"ownerEntity\\\":\\\"9502350087451835131\\\",\\\"ownerEntityType\\\":\\\"ORGANIZATION\\\",\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\\"eventTypes\\\":[\\\"INBOUND_MESSAGE\\\"]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/messaging/v2/subscriptions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"accountKey\":\"9502350087451835131\",\"ownerEntity\":\"9502350087451835131\",\"ownerEntityType\":\"ORGANIZATION\",\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\"eventTypes\":[\"INBOUND_MESSAGE\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v2/subscriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v2/subscriptions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"accountKey\\\":\\\"9502350087451835131\\\",\\\"ownerEntity\\\":\\\"9502350087451835131\\\",\\\"ownerEntityType\\\":\\\"ORGANIZATION\\\",\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\\"eventTypes\\\":[\\\"INBOUND_MESSAGE\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      summary: Search subscriptions\n      description: |\n        Returns subscriptions for the authenticated user, optionally filtered by owner entity\n        and additional filters. Only subscriptions created by the calling user are returned.\n\n        ### Example\n\n        ```bash\n        curl 'https://api.goto.com/messaging/v2/subscriptions?accountKey=9502350087451835131&ownerEntity=9502350087451835131&ownerEntityType=ORGANIZATION' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'\n        ```\n      operationId: messagingV2SearchSubscriptions\n      tags:\n        - Subscriptions\n      parameters:\n        - name: pageMarker\n          in: query\n          description: The opaque identifier representing a valid marker for the desired page. Default to first page when not provided.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n        - name: accountKey\n          in: query\n          description: Account key to filter subscriptions by.\n          required: true\n          schema:\n            type: string\n          example: '9502350087451835131'\n        - name: ownerEntity\n          in: query\n          description: |\n            The owner entity identifier to filter subscriptions by. The value depends on\n            `ownerEntityType` (e.g., an account key for `ORGANIZATION`).\n          required: false\n          schema:\n            type: string\n          example: '9502350087451835131'\n        - name: ownerEntityType\n          in: query\n          description: The type of entity identified by `ownerEntity`. Required when `ownerEntity` is provided.\n          required: false\n          schema:\n            type: string\n            description: |\n              The type of entity identified by `ownerEntity`. Values are extensible and new\n              owner entity types may be added without notice. Consumers should gracefully handle unknown values.\n\n              - `ORGANIZATION` — An organization (`ownerEntity` must be a valid account key).\n              - `TOUCHPOINT` — *(Coming soon)* A contact touchpoint (`ownerEntity` is a channel-specific identifier,\n                e.g. a phone number in E.164 format for SMS).\n            enum:\n              - ORGANIZATION\n              - TOUCHPOINT\n        - name: channelId\n          in: query\n          description: Optional channel identifier filter.\n          required: false\n          schema:\n            type: string\n      responses:\n        '200':\n          description: Subscription list.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Paginated collection of subscriptions.\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      description: Subscription representation.\n                      properties:\n                        id:\n                          type: string\n                          readOnly: true\n                          description: Unique identifier for the subscription.\n                          example: MTIzNDp4eXo=\n                        ownerEntity:\n                          type: string\n                          description: |\n                            The entity identifier subscribed to. The format depends on `ownerEntityType`:\n                            - For `ORGANIZATION`: an account key (e.g. `9502350087451835131`).\n                            - For `TOUCHPOINT`: a channel-specific identifier (e.g. E.164 phone number).\n                          example: '9502350087451835131'\n                        ownerEntityType:\n                          type: string\n                          description: |\n                            The type of entity identified by `ownerEntity`. Values are extensible and new\n                            owner entity types may be added without notice. Consumers should gracefully handle unknown values.\n\n                            - `ORGANIZATION` — An organization (`ownerEntity` must be a valid account key).\n                            - `TOUCHPOINT` — *(Coming soon)* A contact touchpoint (`ownerEntity` is a channel-specific identifier,\n                              e.g. a phone number in E.164 format for SMS).\n                          enum:\n                            - ORGANIZATION\n                            - TOUCHPOINT\n                        channelId:\n                          type: string\n                          description: The notification channel ID.\n                          example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                        eventTypes:\n                          type: array\n                          description: List of event types that have been subscribed.\n                          minItems: 1\n                          items:\n                            description: |\n                              Event type discriminator for notification envelopes. Values are extensible and new\n                              event types may be added without notice. Consumers should gracefully handle unknown values.\n\n                              - `INBOUND_MESSAGE` — A message was received from an external party.\n                              - `OUTBOUND_MESSAGE` — A message was sent to an external party.\n                              - `DELIVERY_STATUS` — The delivery status of a sent message changed (e.g. delivered, failed).\n                              - `INBOUND_REACTION` — A reaction was received on a message from an external party.\n                              - `OUTBOUND_REACTION` — A reaction was sent on a message to an external party.\n                            type: string\n                            enum:\n                              - INBOUND_MESSAGE\n                              - OUTBOUND_MESSAGE\n                              - DELIVERY_STATUS\n                              - INBOUND_REACTION\n                              - OUTBOUND_REACTION\n                      required:\n                        - id\n                        - ownerEntity\n                        - ownerEntityType\n                        - channelId\n                        - eventTypes\n                  pageSize:\n                    type: integer\n                    format: int32\n                    description: The page size used in the response.\n                    readOnly: true\n                  nextPageMarker:\n                    type: string\n                    description: |\n                      The marker for the next page. Omitted when there are no more pages.\n                    readOnly: true\n                required:\n                  - items\n                  - pageSize\n        '400':\n          description: |\n            The request is invalid. Common causes include:\n            * Invalid or unrecognized `ownerEntityType` value\n            * Invalid `pageMarker` or `pageSize` value\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/messaging/v2/subscriptions',\n              params: {\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                accountKey: '9502350087451835131',\n                ownerEntity: '9502350087451835131',\n                ownerEntityType: 'SOME_STRING_VALUE',\n                channelId: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/messaging/v2/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&accountKey=9502350087451835131&ownerEntity=9502350087451835131&ownerEntityType=SOME_STRING_VALUE&channelId=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/messaging/v2/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&accountKey=9502350087451835131&ownerEntity=9502350087451835131&ownerEntityType=SOME_STRING_VALUE&channelId=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v2/subscriptions');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'accountKey' => '9502350087451835131',\n              'ownerEntity' => '9502350087451835131',\n              'ownerEntityType' => 'SOME_STRING_VALUE',\n              'channelId' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v2/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&accountKey=9502350087451835131&ownerEntity=9502350087451835131&ownerEntityType=SOME_STRING_VALUE&channelId=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /messaging/v2/subscriptions/{subscriptionId}:\n    parameters:\n      - name: subscriptionId\n        in: path\n        description: |\n          Unique identifier of the subscription. This is a Base64url-encoded string (RFC 4648 §5) — characters are restricted to `A-Z`, `a-z`, `0-9`, `-`, `_`, and `=`.\n        required: true\n        schema:\n          type: string\n          pattern: ^[A-Za-z0-9\\-_=]+$\n        example: MTIzNDp4eXo=\n    delete:\n      summary: Delete a subscription\n      description: |\n        Deletes an existing subscription. Once deleted, notifications\n        will no longer be delivered to the associated channel.\n\n        The `subscriptionId` is returned in the `POST /subscriptions` response\n        and in each item of the `GET /subscriptions` list.\n\n        ### Example\n\n        ```bash\n        curl -X DELETE 'https://api.goto.com/messaging/v2/subscriptions/MTIzNDp4eXo=' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'\n        ```\n      operationId: messagingV2DeleteSubscription\n      tags:\n        - Subscriptions\n      responses:\n        '204':\n          description: Subscription deleted.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The provided `subscriptionId` does not exist or does not belong to the\n            authenticated user.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: 020LhBsf4wABwhZwvHYBIMKAHjlBgYaE\n                errorCode: NOT_FOUND\n                message: SubscriptionId [MTIzNDp4eXo=] not found\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/messaging/v2/subscriptions/MTIzNDp4eXo='\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/messaging/v2/subscriptions/MTIzNDp4eXo=\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/messaging/v2/subscriptions/MTIzNDp4eXo=\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/messaging/v2/subscriptions/MTIzNDp4eXo=');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/messaging/v2/subscriptions/MTIzNDp4eXo=\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /presence/v1/subscriptions:\n    post:\n      summary: Create a subscription to get notified of presence changes for the specified user(s).\n      description: |\n        Create one or many presence subscription(s) for the specified user(s).\n\n        This operation activates push notifications towards the provided Notification Service's channel.\n\n        The presence updates pushed through the Notification service follow the `PresenceNotification` model below.\n\n        This operation creates a subscription and returns a `subscriptionId` in the response body for each specified `userKey`/`channelId` pair. The request will fail if one of the specified `userKey`/`channelId` pair is already created.\n\n        The service will report an `UNAVAILABLE` appearance for the presence of an `userKey` which does not exist.\n\n        The authorization token identifies the calling user and is used to verify if he/she is authorized to request presence from the specified `userKey`s. Users may only request presence for `userKey`s belonging in an organization they belong to. This authorization process will not only take place at the initial subscription but also continously while the subscription(s) are active. When subscriptions fail on the authorization criteria, the service will report an `UNAVAILABLE` appearance as the presence of the corresponding `userKey`s.\n\n        For each subscription, it is guaranteed that at least one `PresenceNotification` will be sent shortly through the specified channel after this endpoint is called.\n\n        The service may send presence events at any time on the notification channel which do not necessarily contain actual presence change, i.e. duplicate presence events.\n\n        Up to 500 concurrent subscriptions can be created per `channelId`, in a single or multiple smaller requests.\n\n        ### Example\n        ```\n        curl 'https://api.goto.com/presence/v1/subscriptions' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\n          -H 'Content-Type: application/json' \\\n          -d ' \\\n        { \\\n          \"channelId\": \"2856d8d4-173d-4852-81d4-c0651af1dcb0\", \\\n          \"userKeys\": [\"123456123456\", \"456789456789\"] \\\n        }'\n        ```\n        Response:\n        ```json\n        {\n          \"items\": [\n            {\n              \"channelId\": \"2856d8d4-173d-4852-81d4-c0651af1dcb0\",\n              \"userKey\": \"123456123456\",\n              \"subscriptionId\": \"Mjg1NmQ4ZDQtMTczZC00ODUyLTgxZDQtYzA2NTFhZjFkY2IwLTEyMzQ1NjEyMzQ1Ng==\"\n            },\n            {\n              \"channelId\": \"2856d8d4-173d-4852-81d4-c0651af1dcb0\",\n              \"userKey\": \"456789456789\",\n              \"subscriptionId\": \"Mjg1NmQ4ZDQtMTczZC00ODUyLTgxZDQtYzA2NTFhZjFkY2IwLTQ1Njc4OTQ1Njc4OQ==\"\n            }\n          ]\n        }\n        ```\n        Events in the notification channel:\n        ```json\n        {\n          \"source\": \"presence\",\n          \"type\": \"presence\",\n          \"timestamp\": \"2019-07-25T17:32:28.444Z\",\n          \"content\": {\n            \"userKey\": \"123456123456\",\n            \"timestamp\": \"2019-07-25T17:31:06.555Z\",\n            \"appearance\": \"ONLINE\",\n            \"userAgents\": [\n              {\n                \"name\": \"GoToConnect\",\n                \"family\": \"WEB\"\n              }\n            ],\n            \"userAppearance\": \"NONE\",\n            \"userDoNotDisturb\": \"NONE\",\n            \"userStatus\": \"NONE\",\n            \"userNote\": \"Working from home\"\n          }\n        }\n        {\n          \"source\": \"presence\",\n          \"type\": \"presence\",\n          \"timestamp\": \"2019-07-25T17:32:28.444Z\",\n          \"content\": {\n            \"userKey\": \"456789456789\",\n            \"timestamp\": \"2019-07-25T17:32:28.441Z\",\n            \"appearance\": \"UNAVAILABLE\"\n          }\n        }\n        {\n          \"source\": \"presence\",\n          \"type\": \"presence\",\n          \"timestamp\": \"2019-07-25T17:35:28.444Z\",\n          \"content\": {\n            \"userKey\": \"456789456789\",\n            \"timestamp\": \"2019-07-25T17:35:28.441Z\",\n            \"appearance\": \"BUSY\",\n            \"userAgents\": [\n              {\n                \"name\": \"GoToConnect\",\n                \"family\": \"WEB\"\n              }\n            ],\n            \"status\": \"IN_A_CALENDAR_EVENT\",\n            \"statusDetails\": {\n              \"scheduledEndTime\": \"2019-07-25T18:00.000Z\",\n              \"provider\": \"OUTLOOK\"\n            },\n            \"userAppearance\": \"NONE\",\n            \"userDoNotDisturb\": \"NONE\",\n            \"userStatus\": \"NONE\",\n            \"userNote\": \"Working from home\"\n          }\n        } ```\n\n        ### Authentication Scopes\n        - `presence.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n      operationId: createPresenceSubscription\n      tags:\n        - Presence Notifications\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: |\n                Information required to create one or many presence subscription(s)\n              properties:\n                userKeys:\n                  type: array\n                  items:\n                    description: |\n                      The user key of the user on behalf for which presence is to be obtained\n                    type: string\n                channelId:\n                  description: |\n                    Channel ID provided by the Notification Service on which the presence events will be sent.\n                  type: string\n              required:\n                - userKeys\n                - channelId\n        description: Data required to create a subscription to receive presence events.\n        required: true\n      responses:\n        '201':\n          description: The subscription request has succeeded and the subscriptions are returned\n          content:\n            application/json:\n              schema:\n                type: object\n                description: |\n                  Contents of the subscription creation response\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      description: |\n                        Information representing a subscription\n                      properties:\n                        channelId:\n                          description: |\n                            Channel ID provided by the Notification Service on which the presence events will be sent.\n                          type: string\n                        userKey:\n                          description: |\n                            The user key of the user on behalf for which presence is to be obtained\n                          type: string\n                        subscriptionId:\n                          description: |\n                            ID of the subscription\n                          type: string\n                      required:\n                        - channelId\n                        - userKey\n                        - subscriptionId\n                required:\n                  - items\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in\n            the response that provide additional details.  The response may contain one ore more\n            values in `constraintViolations` to provide additional details useful in debugging.\n\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n            * TOO_MANY_SUBSCRIPTIONS - This request would add subscriptions to a total which exceeds the maximum of 500 subscriptions per channel.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '409':\n          description: This request would add subscription(s) which already exist.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      callbacks:\n        presence:\n          '{$request.body#/channelId}':\n            post:\n              summary: New presence event\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      allOf:\n                        - description: |\n                            Describes a notification sent through the Notification Service's channel. The `content` field is specific to each type of notification. For now, there is only one type of notification: `PresenceNotification`.\n                          type: object\n                          properties:\n                            source:\n                              description: |\n                                Identifies the source of the notification. For notifications originating from this version of the presence API, this field will always be set to `presence`.\n\n                                The `timestamp` represents the time at which the notification was sent.\n                              type: string\n                            type:\n                              description: |\n                                Identifies the type of the notification. For now, only the `presence` value is used.\n                              type: string\n                              example: presence\n                            timestamp:\n                              description: |\n                                ISO 8601 timestamp representing the date and time in UTC.\n                              type: string\n                              format: date-time\n                              example: 2019-09-13T11:26:52.000Z\n                          required:\n                            - source\n                            - type\n                            - timestamp\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              description: |\n                                Describes the presence status of a user at a point in time.\n\n                                The `userAppearance`, `userDoNotDisturb`, `doNotDisturbDetails`, `userDoNotDisturbExpiration` and `userStatus` fields will only show up if the monitored user is the one requesting the presence.\n                                `userDoNotDisturbExpiration` will be omitted if not set.\n\n                                In order to derive if an online presence is from a deskphone, a mobile phone, a web browser or a desktop application, the displayed presence must be aggregated by the client using the `appearance` and `userAgents` fields.\n\n                                The `timestamp` represents the time at which the presence change was first observed.\n                              properties:\n                                userKey:\n                                  description: |\n                                    The user key of the user on behalf for which presence is to be obtained\n                                  type: string\n                                timestamp:\n                                  description: |\n                                    ISO 8601 timestamp representing the date and time in UTC.\n                                  type: string\n                                  format: date-time\n                                  example: 2019-09-13T11:26:52.000Z\n                                appearance:\n                                  description: |\n                                    The functional state of the observed user's presence status.\n                                    This state is defined using the ordered list of rules below:\n\n                                    |Test (applied from top to bottom in order. If yes, take appearance on the right). |Appearance|\n                                    |-----|----------|\n                                    |The requesting user isn't authorized to see the other user presence | UNAVAILABLE |\n                                    |All of the observed user's devices are reporting their SIP presence status as OFFLINE, or its userAppearance is set to OFFLINE | OFFLINE |\n                                    |The observed user set their userDoNotDisturb field to DO_NOT_DISTURB| DO_NOT_DISTURB |\n                                    |The observed user set their userAppearance field to AWAY, BUSY or AVAILABLE | AWAY, BUSY or AVAILABLE |\n                                    |The observed user has a SIP device in a state of RINGING, ON THE PHONE, or ON HOLD| BUSY |\n                                    |The observed user is in a meeting or a calendar event | BUSY |\n                                    |The observed user is not in any of the above state | ONLINE |\n                                  type: string\n                                  enum:\n                                    - UNAVAILABLE\n                                    - OFFLINE\n                                    - ONLINE\n                                    - BUSY\n                                    - DO_NOT_DISTURB\n                                    - AWAY\n                                userAgents:\n                                  type: array\n                                  items:\n                                    description: |\n                                      Describes one user agent that the user is currently online on. A user can be active on several user agents at once.\n                                    type: object\n                                    properties:\n                                      name:\n                                        type: string\n                                        description: A well-known name for the User-Agent. Unrecognized user agents will be reported as 'Unknown' and a family of 'DESKPHONE'.\n                                      family:\n                                        type: string\n                                        enum:\n                                          - DESKPHONE\n                                          - MOBILE\n                                          - MOBILE_PUSH\n                                          - DESKTOP\n                                          - WEB\n                                    required:\n                                      - name\n                                      - family\n                                status:\n                                  description: |\n                                    The detailed state of the observed user's presence status.\n                                    This state is defined using the ordered list of rules below:\n\n                                    |Test (applied from top to bottom in order. If yes, take Status on the right). |Status|\n                                    |-----|----------|\n                                    |The observed user has a SIP device in a state of RINGING, ON THE PHONE, or ON HOLD | IN_A_CALL|\n                                    |The observed user is in a meeting | IN_A_MEETING |\n                                    |The observed user is in a calendar event | IN_A_CALENDAR_EVENT |\n                                    |The observed user is not in any of those states | No status displayed |\n                                  type: string\n                                  enum:\n                                    - IN_A_CALL\n                                    - IN_A_MEETING\n                                    - IN_A_CALENDAR_EVENT\n                                statusDetails:\n                                  description: |\n                                    Various extra details about the observed user's presence status, such as the origin of the status or the meeting end time.\n                                  type: object\n                                  properties:\n                                    scheduledEndTime:\n                                      type: string\n                                      format: date-time\n                                      example: 2019-09-13T11:26:52.000Z\n                                    provider:\n                                      description: |\n                                        The provider that is setting the presence status.\n                                      type: string\n                                      example: OUTLOOK\n                                      enum:\n                                        - OUTLOOK\n                                userAppearance:\n                                  description: |\n                                    In conjunction with `UserDoNotDisturb` and `UserStatus`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n\n                                    The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                                  type: string\n                                  enum:\n                                    - NONE\n                                    - ONLINE\n                                    - OFFLINE\n                                    - AWAY\n                                    - BUSY\n                                userDoNotDisturb:\n                                  description: |-\n                                    In conjunction with `UserAppearance` and `UserStatus`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n                                    The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                                  type: string\n                                  enum:\n                                    - NONE\n                                    - DO_NOT_DISTURB\n                                userDoNotDisturbExpiration:\n                                  description: |\n                                    ISO 8601 timestamp representing the date and time in UTC.\n                                  type: string\n                                  format: date-time\n                                  example: 2019-09-13T11:26:52.000Z\n                                doNotDisturbDetails:\n                                  description: |\n                                    Various extra details about the observed user's Do Not Disturb status.\n                                  type: object\n                                  properties:\n                                    dndSources:\n                                      type: array\n                                      items:\n                                        description: |\n                                          A DoNotDisturbStatusSource is a value that identifies the origin of a DND status.\n                                          A user can be in Do Not Disturb via several sources at once and the status\n                                          sources helps distinguish them to understand what ultimately decides on the effective DND.\n\n                                          The sources are in a list, with the highest priority source\n                                          at the beginning of the list.\n\n                                          If a source has a status of \"NONE\", the next source is considered.\n                                          If all sources have a status of \"NONE\", the user will not be in `DO_NOT_DISTURB` appearance.\n\n                                          | Status value | Description |\n                                          |-----|-----|\n                                          | ON | Source is requesting to be on Do Not Disturb |\n                                          | OFF | The source is requesting to be OFF Do Not Disturb |\n                                          | NONE | The source is not set, sources with lower priority will be considered |\n                                        type: object\n                                        properties:\n                                          source:\n                                            description: |\n                                              This field describes the origin of the configuration that requested the user\n                                              to be in a Do Not Disturb state.\n\n                                              | Source | Description |\n                                              |-----|-----|\n                                              | USER_SET   | Any DoNotDisturb requested by the user  |\n                                              | ONE_TIME_PERIOD | A scheduled Do Not Disturb used to override the schedule |\n                                              | WORK_PERIOD | A Do Not Disturb set by a schedule |\n                                            type: string\n                                            enum:\n                                              - USER_SET\n                                              - ONE_TIME_PERIOD\n                                              - WORK_PERIOD\n                                          status:\n                                            type: string\n                                            enum:\n                                              - 'ON'\n                                              - 'OFF'\n                                              - NONE\n                                userStatus:\n                                  description: |\n                                    In conjunction with `UserAppearance` and `UserDoNotDisturb`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n\n                                    The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                                  type: string\n                                  enum:\n                                    - NONE\n                                    - IN_A_MEETING\n                                userNote:\n                                  description: |\n                                    Custom text set by the user which is to be displayed in his/her contact card.\n\n                                    The maximum length is 80 characters. An empty string resets the text so that it's not longer included in presence notifications and responses.\n                                  type: string\n                                  minLength: 0\n                                  maxLength: 80\n                              required:\n                                - userKey\n                                - timestamp\n                                - appearance\n                          required:\n                            - content\n              responses:\n                '204':\n                  description: Success\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/presence/v1/subscriptions',\n              data: {userKeys: ['string'], channelId: 'string'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/presence/v1/subscriptions \\\n              --header 'content-type: application/json' \\\n              --data '{\"userKeys\":[\"string\"],\"channelId\":\"string\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"userKeys\\\":[\\\"string\\\"],\\\"channelId\\\":\\\"string\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/presence/v1/subscriptions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"userKeys\":[\"string\"],\"channelId\":\"string\"}');\n\n            $request->setRequestUrl('https://api.goto.com/presence/v1/subscriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/presence/v1/subscriptions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"userKeys\\\":[\\\"string\\\"],\\\"channelId\\\":\\\"string\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      summary: Delete subscriptions\n      description: |\n        Delete all subscriptions corresponding to a `channelId`.\n\n        ### Example\n        ```\n        curl -XDELETE 'https://api.goto.com/presence/v1/subscriptions?channelId=2856d8d4-173d-4852-81d4-c0651af1dcb0' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'\n        ```\n\n        ### Authentication Scopes\n        - `presence.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n      operationId: deletePresenceSubscriptions\n      tags:\n        - Presence Notifications\n      parameters:\n        - name: channelId\n          in: query\n          description: |\n            Channel ID corresponding to all subscriptions to delete\n          required: true\n          schema:\n            type: string\n      responses:\n        '204':\n          description: The deletion request has succeeded\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in\n            the response that provide additional details.  The response may contain one ore more\n            values in `constraintViolations` to provide additional details useful in debugging.\n\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n            * UNKNOWN_CHANNEL_ID - No subscriptions corresponding to the `channelId` were found for the current user\n          content:\n            '*/*':\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/presence/v1/subscriptions',\n              params: {channelId: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url 'https://api.goto.com/presence/v1/subscriptions?channelId=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/presence/v1/subscriptions?channelId=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/presence/v1/subscriptions');\n            $request->setRequestMethod('DELETE');\n            $request->setQuery(new http\\QueryString([\n              'channelId' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/presence/v1/subscriptions?channelId=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /presence/v1/subscriptions/{subscriptionId}:\n    delete:\n      summary: Delete subscription\n      description: |\n        Delete `subscriptionId`s from the service to stop receiving notifications.\n\n        ### Example\n        ```\n        curl -XDELETE 'https://api.goto.com/presence/v1/subscriptions/123456123456' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'\n        ```\n\n        ### Authentication Scopes\n        - `presence.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n      operationId: deletePresenceSubscription\n      tags:\n        - Presence Notifications\n      parameters:\n        - name: subscriptionId\n          in: path\n          description: |\n            Subscription ID to delete\n          required: true\n          schema:\n            type: string\n      responses:\n        '204':\n          description: The deletion request has succeeded\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n            * TIMESTAMP_ALREADY_EXPIRED - The request contains a timestamp that is in the past.\n            * MISSING_STATUS - The request contains a timestamp without a status.\n          content:\n            '*/*':\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: The specified `subscriptionId` does not exist for the current user\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/presence/v1/subscriptions/%7BsubscriptionId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/presence/v1/subscriptions/%7BsubscriptionId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/presence/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/presence/v1/subscriptions/%7BsubscriptionId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/presence/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /presence/v1/presence:\n    get:\n      summary: Get the presence of the specified user(s)\n      description: |\n        Obtains the presence of the specified user(s).\n\n        For any long-running client the /subscriptions endpoint should be preferred.\n\n        The service responds with a presence item for each `userKey` specified in the request.\n\n        The service will return an `UNAVAILABLE` appearance for presence of `userKey`s which do not exist.\n\n        The authorization token identifies the calling user and is used to verify if he/she is authorized to request presence from the specified `userKey`s. Users may only request presence for `userKey`s belonging in an organization they belong to. When subscriptions fail on the authorization criteria, the service will return an `UNAVAILABLE` appearance as the presence of the corresponding `userKey`s.\n\n        There is a limit of 100 `userKey`s per request.\n        For technical reasons the server may temporarily fail to process the request and would then respond with a 503 status. The client may retry the request as soon as they want.\n\n        ### Example 1\n        Request for `userKey`s 123456123456, 456789456789 and 12345:\n        ```\n        curl 'https://api.goto.com/presence/v1/presence?userKey=123456123456&userKey=456789456789&userKey=12345' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\n          -H 'Content-Type: application/json'\n        ```\n        Response:\n        ```json\n        {\n          \"items\": [\n            {\n              \"userKey\": \"123456123456\",\n              \"timestamp\": \"2019-07-25T17:31:06.555Z\",\n              \"appearance\": \"ONLINE\",\n              \"userAgents\": [\n                {\n                  \"name\": \"GoToConnect\",\n                  \"family\": \"DESKTOP\"\n                }\n              ],\n              \"userNote\": \"Working from home\"\n            },\n            {\n              \"userKey\": \"456789456789\",\n              \"timestamp\": \"2019-07-25T17:33:56.646Z\",\n              \"appearance\": \"UNAVAILABLE\"\n            },\n            {\n              \"userKey\": \"12345\",\n              \"timestamp\": \"2019-07-25T17:33:56.646Z\",\n              \"appearance\": \"UNAVAILABLE\"\n            }\n          ]\n        }\n        ``` ### Example 2\n        Request for the requester's own `userKey` (here, 123456123456). Here, the user is in DO_NOT_DISTURB because they set it via `/user-presence`. If userDoNotDisturbExpiration is set, it will present in the response.\n        ```\n        curl 'https://api.goto.com/presence/v1/presence?userKey=123456123456' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\n          -H 'Content-Type: application/json'\n        ```\n        Response:\n\n        ```json\n        {\n          \"items\": [\n            {\n              \"userKey\": \"6577912271309795852\",\n              \"timestamp\": \"2024-11-20T21:07:00.419944Z\",\n              \"appearance\": \"DO_NOT_DISTURB\",\n              \"userAgents\": [\n                {\n                  \"name\": \"Unknown\",\n                  \"family\": \"MOBILE_PUSH\"\n                },\n                {\n                  \"name\": \"GoTo\",\n                  \"family\": \"WEB\"\n                },\n                {\n                  \"name\": \"GoTo\",\n                  \"family\": \"MOBILE_PUSH\"\n                }\n              ],\n              \"userAppearance\": \"NONE\",\n              \"userDoNotDisturb\": \"DO_NOT_DISTURB\",\n              \"userDoNotDisturbExpiration\": \"2024-11-20T21:10:00.419944Z\",\n              \"doNotDisturbDetails\": {\n                \"dndSources\": [\n                  {\n                    \"source\": \"USER_SET\",\n                    \"status\": \"ON\",\n                  },\n                  {\n                    \"source\": \"ONE_TIME_PERIOD\",\n                    \"status\": \"NONE\",\n                  },\n                  {\n                    \"source\": \"WORK_PERIOD\",\n                    \"status\": \"OFF\",\n                  }\n                ],\n              },\n              \"userStatus\": \"NONE\",\n              \"userNote\": \"This is a note example.\"\n            }\n          ]\n        }\n\n        ```\n        ### Authentication Scopes\n        - `presence.v1.read` must be used when a token is requested from the Authentication API.\n      operationId: getPresence\n      tags:\n        - Presence\n      parameters:\n        - name: userKey\n          in: query\n          description: |\n            The user key of the user for which user-presence is to be obtained\n          required: true\n          explode: true\n          schema:\n            type: array\n            items:\n              type: string\n            minItems: 1\n            maxItems: 100\n            uniqueItems: true\n      responses:\n        '200':\n          description: The presence request has completed and results are to be found in the response body\n          content:\n            application/json:\n              schema:\n                type: object\n                description: |\n                  Contents of a presence response from the /presence endpoint\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      description: |\n                        Describes the presence status of a user at a point in time.\n\n                        The `userAppearance`, `userDoNotDisturb`, `doNotDisturbDetails`, `userDoNotDisturbExpiration` and `userStatus` fields will only show up if the monitored user is the one requesting the presence.\n                        `userDoNotDisturbExpiration` will be omitted if not set.\n\n                        In order to derive if an online presence is from a deskphone, a mobile phone, a web browser or a desktop application, the displayed presence must be aggregated by the client using the `appearance` and `userAgents` fields.\n\n                        The `timestamp` represents the time at which the presence change was first observed.\n                      properties:\n                        userKey:\n                          description: |\n                            The user key of the user on behalf for which presence is to be obtained\n                          type: string\n                        timestamp:\n                          description: |\n                            ISO 8601 timestamp representing the date and time in UTC.\n                          type: string\n                          format: date-time\n                          example: 2019-09-13T11:26:52.000Z\n                        appearance:\n                          description: |\n                            The functional state of the observed user's presence status.\n                            This state is defined using the ordered list of rules below:\n\n                            |Test (applied from top to bottom in order. If yes, take appearance on the right). |Appearance|\n                            |-----|----------|\n                            |The requesting user isn't authorized to see the other user presence | UNAVAILABLE |\n                            |All of the observed user's devices are reporting their SIP presence status as OFFLINE, or its userAppearance is set to OFFLINE | OFFLINE |\n                            |The observed user set their userDoNotDisturb field to DO_NOT_DISTURB| DO_NOT_DISTURB |\n                            |The observed user set their userAppearance field to AWAY, BUSY or AVAILABLE | AWAY, BUSY or AVAILABLE |\n                            |The observed user has a SIP device in a state of RINGING, ON THE PHONE, or ON HOLD| BUSY |\n                            |The observed user is in a meeting or a calendar event | BUSY |\n                            |The observed user is not in any of the above state | ONLINE |\n                          type: string\n                          enum:\n                            - UNAVAILABLE\n                            - OFFLINE\n                            - ONLINE\n                            - BUSY\n                            - DO_NOT_DISTURB\n                            - AWAY\n                        userAgents:\n                          type: array\n                          items:\n                            description: |\n                              Describes one user agent that the user is currently online on. A user can be active on several user agents at once.\n                            type: object\n                            properties:\n                              name:\n                                type: string\n                                description: A well-known name for the User-Agent. Unrecognized user agents will be reported as 'Unknown' and a family of 'DESKPHONE'.\n                              family:\n                                type: string\n                                enum:\n                                  - DESKPHONE\n                                  - MOBILE\n                                  - MOBILE_PUSH\n                                  - DESKTOP\n                                  - WEB\n                            required:\n                              - name\n                              - family\n                        status:\n                          description: |\n                            The detailed state of the observed user's presence status.\n                            This state is defined using the ordered list of rules below:\n\n                            |Test (applied from top to bottom in order. If yes, take Status on the right). |Status|\n                            |-----|----------|\n                            |The observed user has a SIP device in a state of RINGING, ON THE PHONE, or ON HOLD | IN_A_CALL|\n                            |The observed user is in a meeting | IN_A_MEETING |\n                            |The observed user is in a calendar event | IN_A_CALENDAR_EVENT |\n                            |The observed user is not in any of those states | No status displayed |\n                          type: string\n                          enum:\n                            - IN_A_CALL\n                            - IN_A_MEETING\n                            - IN_A_CALENDAR_EVENT\n                        statusDetails:\n                          description: |\n                            Various extra details about the observed user's presence status, such as the origin of the status or the meeting end time.\n                          type: object\n                          properties:\n                            scheduledEndTime:\n                              type: string\n                              format: date-time\n                              example: 2019-09-13T11:26:52.000Z\n                            provider:\n                              description: |\n                                The provider that is setting the presence status.\n                              type: string\n                              example: OUTLOOK\n                              enum:\n                                - OUTLOOK\n                        userAppearance:\n                          description: |\n                            In conjunction with `UserDoNotDisturb` and `UserStatus`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n\n                            The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                          type: string\n                          enum:\n                            - NONE\n                            - ONLINE\n                            - OFFLINE\n                            - AWAY\n                            - BUSY\n                        userDoNotDisturb:\n                          description: |-\n                            In conjunction with `UserAppearance` and `UserStatus`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n                            The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                          type: string\n                          enum:\n                            - NONE\n                            - DO_NOT_DISTURB\n                        userDoNotDisturbExpiration:\n                          description: |\n                            ISO 8601 timestamp representing the date and time in UTC.\n                          type: string\n                          format: date-time\n                          example: 2019-09-13T11:26:52.000Z\n                        doNotDisturbDetails:\n                          description: |\n                            Various extra details about the observed user's Do Not Disturb status.\n                          type: object\n                          properties:\n                            dndSources:\n                              type: array\n                              items:\n                                description: |\n                                  A DoNotDisturbStatusSource is a value that identifies the origin of a DND status.\n                                  A user can be in Do Not Disturb via several sources at once and the status\n                                  sources helps distinguish them to understand what ultimately decides on the effective DND.\n\n                                  The sources are in a list, with the highest priority source\n                                  at the beginning of the list.\n\n                                  If a source has a status of \"NONE\", the next source is considered.\n                                  If all sources have a status of \"NONE\", the user will not be in `DO_NOT_DISTURB` appearance.\n\n                                  | Status value | Description |\n                                  |-----|-----|\n                                  | ON | Source is requesting to be on Do Not Disturb |\n                                  | OFF | The source is requesting to be OFF Do Not Disturb |\n                                  | NONE | The source is not set, sources with lower priority will be considered |\n                                type: object\n                                properties:\n                                  source:\n                                    description: |\n                                      This field describes the origin of the configuration that requested the user\n                                      to be in a Do Not Disturb state.\n\n                                      | Source | Description |\n                                      |-----|-----|\n                                      | USER_SET   | Any DoNotDisturb requested by the user  |\n                                      | ONE_TIME_PERIOD | A scheduled Do Not Disturb used to override the schedule |\n                                      | WORK_PERIOD | A Do Not Disturb set by a schedule |\n                                    type: string\n                                    enum:\n                                      - USER_SET\n                                      - ONE_TIME_PERIOD\n                                      - WORK_PERIOD\n                                  status:\n                                    type: string\n                                    enum:\n                                      - 'ON'\n                                      - 'OFF'\n                                      - NONE\n                        userStatus:\n                          description: |\n                            In conjunction with `UserAppearance` and `UserDoNotDisturb`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n\n                            The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                          type: string\n                          enum:\n                            - NONE\n                            - IN_A_MEETING\n                        userNote:\n                          description: |\n                            Custom text set by the user which is to be displayed in his/her contact card.\n\n                            The maximum length is 80 characters. An empty string resets the text so that it's not longer included in presence notifications and responses.\n                          type: string\n                          minLength: 0\n                          maxLength: 80\n                      required:\n                        - userKey\n                        - timestamp\n                        - appearance\n                required:\n                  - items\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n            * TIMESTAMP_ALREADY_EXPIRED - The request contains a timestamp that is in the past.\n            * MISSING_STATUS - The request contains a timestamp without a status.\n          content:\n            '*/*':\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/presence/v1/presence',\n              params: {userKey: 'SOME_ARRAY_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/presence/v1/presence?userKey=SOME_ARRAY_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/presence/v1/presence?userKey=SOME_ARRAY_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/presence/v1/presence');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'userKey' => 'SOME_ARRAY_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/presence/v1/presence?userKey=SOME_ARRAY_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /presence/v1/user-presence:\n    get:\n      summary: Get user presence fields for the current user\n      description: |\n        ### Example\n        ```\n        curl 'https://api.goto.com/presence/v1/user-presence' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\n          -H 'Content-Type: application/json'\n        ```\n        Response:\n        ```json\n        {\n          \"userAppearance\": \"NONE\",\n          \"userDoNotDisturb\": \"DO_NOT_DISTURB\",\n          \"userDoNotDisturbExpiration\": \"2029-04-30T01:17:23Z\",\n          \"userStatus\": \"NONE\",\n          \"userNote\": \"Live, laugh, love\"\n        }\n        ```\n\n        ### Authentication Scopes\n        - `presence.v1.read` must be used when a token is requested from the Authentication API.\n      operationId: getUserPresence\n      tags:\n        - User Presence\n      responses:\n        '200':\n          description: The request has completed and results are to be found in the response body\n          content:\n            application/json:\n              schema:\n                type: object\n                description: |\n                  Information which is used on top of the current user's presence to produce presence state.\n                properties:\n                  userAppearance:\n                    description: |\n                      In conjunction with `UserDoNotDisturb` and `UserStatus`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n\n                      The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                    type: string\n                    enum:\n                      - NONE\n                      - ONLINE\n                      - OFFLINE\n                      - AWAY\n                      - BUSY\n                  userDoNotDisturb:\n                    description: |-\n                      In conjunction with `UserAppearance` and `UserStatus`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n                      The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                    type: string\n                    enum:\n                      - NONE\n                      - DO_NOT_DISTURB\n                  userDoNotDisturbExpiration:\n                    description: |\n                      ISO 8601 timestamp representing the date and time in UTC.\n                    type: string\n                    format: date-time\n                    example: 2019-09-13T11:26:52.000Z\n                  userStatus:\n                    description: |\n                      In conjunction with `UserAppearance` and `UserDoNotDisturb`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n\n                      The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                    type: string\n                    enum:\n                      - NONE\n                      - IN_A_MEETING\n                  userNote:\n                    description: |\n                      Custom text set by the user which is to be displayed in his/her contact card.\n\n                      The maximum length is 80 characters. An empty string resets the text so that it's not longer included in presence notifications and responses.\n                    type: string\n                    minLength: 0\n                    maxLength: 80\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {method: 'GET', url: 'https://api.goto.com/presence/v1/user-presence'};\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/presence/v1/user-presence\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/presence/v1/user-presence\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/presence/v1/user-presence');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/presence/v1/user-presence\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    patch:\n      summary: Set presence fields for a user\n      description: \"Set presence fields for a user which will be aggregated into its final presence status to be broadcasted to subscribed users.\\n\\nThis endpoint uses the [JSON Merge Patch](https://tools.ietf.org/html/rfc7386) style of patching. Fields cannot be removed by using a `null` value and they can be reset as explained below.\\n\\nSince the service behind this API doesn't know when the client posting to this endpoint becomes offline, the lifetime of the user presence must be handled through this endpoint. Specifically, when the service has previously received a `userStatus` of `IN_A_MEETING` and the status wasn't posted again for 60 seconds, it is assumed that the client has gone offline and that it is no longer in the meeting (and thus this status is reset). To keep your `IN_A_MEETING` status active, it must be sent continuously before it expires. A refresh period of about 50 seconds is recommended to protect yourself from unexpected latencies.\\n\\nAbsent fields do not reset values. As such, if `userAppearance`, `userDoNotDisturb`, `userDoNotDisturbExpiration`, `userStatus` or `userNote` are omitted, they are considered as if they were set to their respective previous values. In order to reset an appearance or meeting status, the fields must be explicitly set to `NONE`. To reset the `userNote` field, it must be set to `\\\"\\\"` (empty string). To reset the `userDoNotDisturbExpiration` field, reset the `userDoNotDisturb` field.\\n\\nThe presence service persists the `userAppearance`, `userDoNotDisturb`, `userStatus` and `userNote` fields and aggregates them into presence notification/responses even though the client which set them is offline.\\n\\nIn addition to the `/user-presence` endpoint, clients may also read their own user presence fields through the `/presence` endpoint or by subscribing to their own `userKey`. Only in these particular cases will the `userAppearance`, `userDoNotDisturb` and `userStatus` fields be available in the `Presence` object.\\nWhen setting the `userDoNotDisturbExpiration` field with a valid ISO 8601 timestamp, the `userDoNotDisturb` field must also be set to `DO_NOT_DISTURB`. The `userDoNotDisturb` field will then keep that state until the timestamp is reached, at which point the `userDoNotDisturb` will expire and be reset to `NONE`. An expired `userDoNotDisturbExpiration` timestamp will be omitted from the response. A `userDoNotDisturbExpiration` timestamp in the past will be rejected.\\nThe modified user's presence defaults to the owner of the authentication token and can otherwise be specified with the `userKey` parameter. Modifying another user's presence requires super admin permissions and modifications are limited to DoNotDisturb\\n### Example #1\\n```\\ncurl -XPATCH 'https://api.goto.com/presence/v1/user-presence' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{ \\\"userStatus\\\": \\\"IN_A_MEETING\\\" }'\\n```\\nResponse:\\n```json\\n{\\n  \\\"userAppearance\\\": \\\"NONE\\\",\\n  \\\"userDoNotDisturb\\\": \\\"NONE\\\",\\n  \\\"userStatus\\\": \\\"IN_A_MEETING\\\",\\n  \\\"userNote\\\": \\\"Live, laugh, love\\\"\\n}\\n```\\n\\n### Example #2\\n```\\ncurl -XPATCH 'https://api.goto.com/presence/v1/user-presence' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{\\_\\\\\\n    \\\"userStatus\\\": \\\"NONE\\\", \\\\\\n    \\\"userNote\\\": \\\"\\\" \\\\\\n  }'\\n```\\nResponse:\\n```json\\n{\\n  \\\"userAppearance\\\": \\\"NONE\\\",\\n  \\\"userDoNotDisturb\\\": \\\"NONE\\\",\\n  \\\"userStatus\\\": \\\"NONE\\\",\\n  \\\"userNote\\\": \\\"\\\"\\n}\\n```\\n### Example #3\\n```\\ncurl -XPATCH 'https://api.goto.com/presence/v1/user-presence' \\\\\\n  -H 'Authorization: Bearer {ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{ \\\\\\n    \\\"userDoNotDisturb\\\": \\\"DO_NOT_DISTURB\\\", \\\\\\n    \\\"userDoNotDisturbExpiration\\\": \\\"2029-11-30T01:17:23Z\\\" \\\\\\n  }'\\n```\\nResponse:\\n```json\\n{\\n  \\\"userAppearance\\\": \\\"NONE\\\",\\n  \\\"userDoNotDisturb\\\": \\\"DO_NOT_DISTURB\\\",\\n  \\\"userDoNotDisturbExpiration\\\": \\\"2029-11-30T01:17:23Z\\\",\\n  \\\"userStatus\\\": \\\"NONE\\\",\\n  \\\"userNote\\\": \\\"\\\"\\n}\\n```\\n### Example #4 (modifying another user's user presence)\\n```\\ncurl -XPATCH 'https://api.goto.com/presence/v1/user-presence?userKey={COLLEAGUE_USER_KEY}' \\\\\\n  -H 'Authorization: Bearer {SUPER_ADMIN_ACCESS_TOKEN}' \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{ \\\\\\n    \\\"userDoNotDisturb\\\": \\\"DO_NOT_DISTURB\\\", \\\\\\n    \\\"userDoNotDisturbExpiration\\\": \\\"2029-11-30T01:17:23Z\\\" \\\\\\n  }'\\n```\\nResponse:\\n```json\\n{\\n  \\\"userDoNotDisturb\\\": \\\"DO_NOT_DISTURB\\\",\\n  \\\"userDoNotDisturbExpiration\\\": \\\"2029-11-30T01:17:23Z\\\",\\n}\\n```\\n### Authentication Scopes\\n- `presence.v1.write` must be used when a token is requested from the Authentication API.\\n\"\n      operationId: setUserPresence\n      tags:\n        - User Presence\n      parameters:\n        - name: userKey\n          schema:\n            type: string\n          in: query\n          required: false\n          description: |\n            The user key of the user for which user-presence is to be modified. Defaults to the oauth token's user if omitted. Modifying another user's user presence requires super admin permissions.\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: |\n                Information which is used on top of the current user's presence to produce presence state.\n              properties:\n                userAppearance:\n                  description: |\n                    In conjunction with `UserDoNotDisturb` and `UserStatus`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n\n                    The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                  type: string\n                  enum:\n                    - NONE\n                    - ONLINE\n                    - OFFLINE\n                    - AWAY\n                    - BUSY\n                userDoNotDisturb:\n                  description: |-\n                    In conjunction with `UserAppearance` and `UserStatus`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n                    The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                  type: string\n                  enum:\n                    - NONE\n                    - DO_NOT_DISTURB\n                userDoNotDisturbExpiration:\n                  description: |\n                    ISO 8601 timestamp representing the date and time in UTC.\n                  type: string\n                  format: date-time\n                  example: 2019-09-13T11:26:52.000Z\n                userStatus:\n                  description: |\n                    In conjunction with `UserAppearance` and `UserDoNotDisturb`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n\n                    The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                  type: string\n                  enum:\n                    - NONE\n                    - IN_A_MEETING\n                userNote:\n                  description: |\n                    Custom text set by the user which is to be displayed in his/her contact card.\n\n                    The maximum length is 80 characters. An empty string resets the text so that it's not longer included in presence notifications and responses.\n                  type: string\n                  minLength: 0\n                  maxLength: 80\n        description: User presence information.\n        required: true\n      responses:\n        '200':\n          description: The user presence fields were updated successfully. The API returns the complete updated presence.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: |\n                  Information which is used on top of the current user's presence to produce presence state.\n                properties:\n                  userAppearance:\n                    description: |\n                      In conjunction with `UserDoNotDisturb` and `UserStatus`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n\n                      The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                    type: string\n                    enum:\n                      - NONE\n                      - ONLINE\n                      - OFFLINE\n                      - AWAY\n                      - BUSY\n                  userDoNotDisturb:\n                    description: |-\n                      In conjunction with `UserAppearance` and `UserStatus`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n                      The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                    type: string\n                    enum:\n                      - NONE\n                      - DO_NOT_DISTURB\n                  userDoNotDisturbExpiration:\n                    description: |\n                      ISO 8601 timestamp representing the date and time in UTC.\n                    type: string\n                    format: date-time\n                    example: 2019-09-13T11:26:52.000Z\n                  userStatus:\n                    description: |\n                      In conjunction with `UserAppearance` and `UserDoNotDisturb`, this field is aggregated into the functional state of the user's presence status. This is set by the client.\n\n                      The `NONE` value for this field resets it so that it is no longer considered for presence composition.\n                    type: string\n                    enum:\n                      - NONE\n                      - IN_A_MEETING\n                  userNote:\n                    description: |\n                      Custom text set by the user which is to be displayed in his/her contact card.\n\n                      The maximum length is 80 characters. An empty string resets the text so that it's not longer included in presence notifications and responses.\n                    type: string\n                    minLength: 0\n                    maxLength: 80\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n            * TIMESTAMP_ALREADY_EXPIRED - The request contains a timestamp that is in the past.\n            * MISSING_STATUS - The request contains a timestamp without a status.\n          content:\n            '*/*':\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://api.goto.com/presence/v1/user-presence',\n              params: {userKey: 'SOME_STRING_VALUE'},\n              data: {\n                userAppearance: 'NONE',\n                userDoNotDisturb: 'NONE',\n                userDoNotDisturbExpiration: '2019-09-13T11:26:52.000Z',\n                userStatus: 'NONE',\n                userNote: 'string'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url 'https://api.goto.com/presence/v1/user-presence?userKey=SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"userAppearance\":\"NONE\",\"userDoNotDisturb\":\"NONE\",\"userDoNotDisturbExpiration\":\"2019-09-13T11:26:52.000Z\",\"userStatus\":\"NONE\",\"userNote\":\"string\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"userAppearance\\\":\\\"NONE\\\",\\\"userDoNotDisturb\\\":\\\"NONE\\\",\\\"userDoNotDisturbExpiration\\\":\\\"2019-09-13T11:26:52.000Z\\\",\\\"userStatus\\\":\\\"NONE\\\",\\\"userNote\\\":\\\"string\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PATCH\", \"/presence/v1/user-presence?userKey=SOME_STRING_VALUE\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"userAppearance\":\"NONE\",\"userDoNotDisturb\":\"NONE\",\"userDoNotDisturbExpiration\":\"2019-09-13T11:26:52.000Z\",\"userStatus\":\"NONE\",\"userNote\":\"string\"}');\n\n            $request->setRequestUrl('https://api.goto.com/presence/v1/user-presence');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setQuery(new http\\QueryString([\n              'userKey' => 'SOME_STRING_VALUE'\n            ]));\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/presence/v1/user-presence?userKey=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"userAppearance\\\":\\\"NONE\\\",\\\"userDoNotDisturb\\\":\\\"NONE\\\",\\\"userDoNotDisturbExpiration\\\":\\\"2019-09-13T11:26:52.000Z\\\",\\\"userStatus\\\":\\\"NONE\\\",\\\"userNote\\\":\\\"string\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /notification-channel/v1/channels/integrations:\n    post:\n      summary: Create a notification channel\n      description: |\n        Creates a new notification channel for the authenticated user (e.g. the user in the given access token). If the channel type is not specified, a WebSocket channel will be created.\n        The maximum number of open WebSocket allowed for a given user is 50. Once this threshold is exceeded, creating a new WebSocket channel will fail with a 409 response. It is critical for applications to teardown un-needed WebSocket channels. A maximum of 1 Webhook channel can be created per Webhook  URL for the tuple Webhook URL, userKey and oauthClientId, if a second one is created it will  update the existing one with the new information.\n        ### Example Interaction with curl\n        ```\n        curl -XPOST 'https://api.goto.com/notification-channel/v1/channels/integrations'          \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'                \\\n          -H 'Content-Type: application/json'                      \\\n          -d '{\"channelType\": \"Webhook\", \"webhookChannelData\": {\"webhook\": {\"url\": \"https://my.company.com/webhook\"}}}'\n\n        ``` \n      operationId: createChannel\n      tags:\n        - Channels\n      requestBody:\n        content:\n          application/json:\n            schema:\n              description: |\n                Information required to create a notification channel. For the creation of Push notification channel, the pushChannelData must be provided.\n              type: object\n              required:\n                - channelType\n                - webhookChannelData\n              properties:\n                channelType:\n                  type: string\n                  description: Identifies the underlying type of notification channel that is used.\n                  enum:\n                    - WebSockets\n                    - Webhook\n                channelData:\n                  description: Data for a WebSockets based Notification Channel\n                  required:\n                    - channelType\n                    - isConnected\n                    - channelURL\n                  type: object\n                  properties:\n                    channelType:\n                      type: string\n                      description: Identifies the underlying type of notification channel that is used.\n                      enum:\n                        - WebSockets\n                        - Webhook\n                    isConnected:\n                      type: boolean\n                      default: false\n                      description: |\n                        true when the remote party has an active WebSocket connection.\n\n                        **NOTE:** This field will always be set to its default value (false) when gotten from the channel list endpoint,\n                        retrieving its actual value requires retrieving the channel individually.\n                    channelURL:\n                      type: string\n                      format: anyURI\n                      description: |\n                        Specified by the server. Contains the URL used to open a WebSockets connection to receive event notifications. Shall not be included in the request to create a channel but is included in the response.\n                  example:\n                    channelType: WebSockets\n                    channelURL: |\n                      wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\n                    isConnected: false\n                webhookChannelData:\n                  description: Specific data to create a Webhook Notification Channel\n                  type: object\n                  required:\n                    - webhook\n                  properties:\n                    webhook:\n                      description: Webhook information\n                      type: object\n                      required:\n                        - url\n                      properties:\n                        url:\n                          description: URL to send the notification to\n                          type: string\n                    signature:\n                      type: object\n                      required:\n                        - sharedSecret\n                      properties:\n                        sharedSecret:\n                          type: string\n                          description: |\n                            Shared secrets are pushed through when creating a channel and are  used by the notification platform for signing notifications. Signatures will be in the form  of the 'Signature-Input' and 'Signature' HTTP headers which one shall use to verify the source of a given notification as specified in https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-message-signatures-05\n                channelLifetime:\n                  description: |\n                    Lifetime (duration) of Notification Channel in seconds. Client can  specify desired lifetime of Notification Channel in POST request when creating Notification Channel. However, the server in the response to the request may change the desired lifetime according to its server policy. If the element is not present in the POST request, a default channel lifetime specified by server policy will apply. The server MUST  always include the channel lifetime in the response. A notification channel lifetime of \"Integer MAX (2^31-1)\" corresponds to an infinite lifetime. Once the lifetime is expired the channel is deleted.\n                  type: integer\n              example:\n                channelType: Webhook\n                webhookChannelData:\n                  webhook:\n                    url: https://mycompany.com/sms-webhook\n                channelLifetime: 10800\n        description: Data required to create the notification channel.\n      responses:\n        '201':\n          description: Successfully created the notification channel.\n          content:\n            application/json:\n              schema:\n                description: |\n                  The notification channel object.\n                type: object\n                required:\n                  - channelId\n                  - channelNickname\n                  - channelData\n                  - webhookChannelData\n                properties:\n                  channelId:\n                    type: string\n                    description: Unique identifier for the notification channel\n                  channelNickname:\n                    type: string\n                    description: |\n                      Nickname used by the client to name the channel.  `integrations` in case the channel was created by an integrator.\n                  channelData:\n                    description: Data for a WebSockets based Notification Channel\n                    required:\n                      - channelType\n                      - isConnected\n                      - channelURL\n                    type: object\n                    properties:\n                      channelType:\n                        type: string\n                        description: Identifies the underlying type of notification channel that is used.\n                        enum:\n                          - WebSockets\n                          - Webhook\n                      isConnected:\n                        type: boolean\n                        default: false\n                        description: |\n                          true when the remote party has an active WebSocket connection.\n\n                          **NOTE:** This field will always be set to its default value (false) when gotten from the channel list endpoint,\n                          retrieving its actual value requires retrieving the channel individually.\n                      channelURL:\n                        type: string\n                        format: anyURI\n                        description: |\n                          Specified by the server. Contains the URL used to open a WebSockets connection to receive event notifications. Shall not be included in the request to create a channel but is included in the response.\n                    example:\n                      channelType: WebSockets\n                      channelURL: |\n                        wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\n                      isConnected: false\n                  webhookChannelData:\n                    description: Specific data about a Webhook Notification Channel\n                    type: object\n                    required:\n                      - webhook\n                      - channelType\n                    properties:\n                      webhook:\n                        description: Webhook information\n                        type: object\n                        required:\n                          - url\n                        properties:\n                          url:\n                            description: URL to send the notification to\n                            type: string\n                      channelType:\n                        type: string\n                        description: Identifies the underlying type of notification channel that is used.\n                        enum:\n                          - WebSockets\n                          - Webhook\n                      unreachableTimestamp:\n                        type: string\n                        format: date-time\n                        description: |\n                          Timestamp when the webhook endpoint first became unreachable.  A webhook endpoint is considered unreachable when publishing a notification to it  returns an HTTP 404 or 410 response code. A webhook channel that is unreachable for more than 7 days will be automatically deleted.\n                        example: '2025-11-26T12:00:00Z'\n                  channelLifetime:\n                    description: |\n                      Lifetime (duration) of Notification Channel in seconds. The server MUST always include the channel lifetime in the response. A notification channel lifetime of \"Integer MAX (2^31-1)\" corresponds to an infinite lifetime. Once the lifetime is expired, the channel is deleted.\n                    type: integer\n                example:\n                  channelId: Webhook.1e143eab-6ae6-46ed-80db-512ee2a9cbb4\n                  channelNickname: integrations\n                  channelData:\n                    channelType: WebSockets\n                    channelURL: |\n                      wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\n                    isConnected: false\n                  webhookChannelData:\n                    webhook:\n                      url: https://mycompany.com/sms-webhook\n                    channelType: Webhook\n                  channelLifetime: 10800\n        '400':\n          description: |\n            The client has made an error in formatting the request. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: VkiqK285CEML093OtqRycw7B2MpsXkpT\n                errorCode: BAD_REQUEST\n                message: The request is not valid\n                constraintViolations:\n                  - field: pageSize\n                    constraint: must be between 1 and 100\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: VkiqK285CEML093OtqRycw7B2MpsXkpT\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAUTHORIZED\n                message: The user is unauthorized to perform the action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An error occurred on the server or downstream while processing the request. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              examples:\n                UNKNOWN_ERROR:\n                  summary: Server Side Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNKNOWN_ERROR\n                    message: An unknown error ocurred\n      callbacks:\n        WebSocketCallback:\n          '{response.body#/channelData/channelURL}':\n            post:\n              summary: WebSocketCallback\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: An object representing a payload sent over websocket.\n                      properties:\n                        event:\n                          type: string\n                          description: Event type, it is always Notification\n                          example: Notification\n                        eventId:\n                          type: integer\n                          format: int32\n                          description: A monotonic counter for the websocket to identify and order events\n                          example: 24\n                        timestamp:\n                          description: The time the notification was sent by the Notification Platform in ISO 8601 format.\n                          type: string\n                          format: date-time\n                          example: '2021-09-20T17:32:28Z'\n                        data:\n                          description: |\n                            Base type for all notifications received over a notification channel. The notification max size is 1MB.\n                          type: object\n                          required:\n                            - source\n                            - type\n                            - timestamp\n                          properties:\n                            id:\n                              type: string\n                              description: |\n                                Unique identifier for the notification. This is used to identify  and deduplicate notifications.\n                            source:\n                              description: |\n                                Identifies the source application issuing the notification.\n                              type: string\n                            type:\n                              description: |\n                                Type of the event. Used as a discriminator of the server application to determine the content.\n                              type: string\n                            usage:\n                              default: BACKGROUND\n                              type: string\n                              description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notification should not be displayed to the user, it should be transfered towards the application.\n                              enum:\n                                - VOIP\n                                - ALERT\n                                - BACKGROUND\n                            timestamp:\n                              description: The time of the event. Used to indicate when the event occur\n                              type: string\n                              format: date-time\n                            ttl:\n                              description: Time to live in seconds for the notification\n                              type: integer\n                            contentVersion:\n                              type: string\n                              description: |\n                                Version of the notification content data structure that allows to know the version of the content without checking the actual payload or content.\n                            content:\n                              description: |\n                                Actual content of the notification that varies depending on the source and the type of the notification.\n                              type: object\n              responses:\n                '204':\n                  description: Successfully.\n        WebSocketMarcoRequest:\n          '{response.body#/channelData/channelURL}':\n            post:\n              summary: WebSocketEventMarcoRequest\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: |\n                        Request for an application level heartbeat (marco-polo).  This is a command that can be sent to the service to validate the liveliness of the websocket channel. The notification service will never send a Marco Request to a websocket but it will respond to one such request with a Polo response.\n                      properties:\n                        correlationId:\n                          type: integer\n                          format: int32\n                          description: A Correlation Id to map the request to a response\n                          example: 1\n                        command:\n                          type: string\n                          description: Command type, it is always marco\n                          example: marco\n              responses:\n                '204':\n                  description: Successfully.\n        WebSocketPoloResponse:\n          '{response.body#/channelData/channelURL}':\n            post:\n              summary: WebSocketEventPoloResponse\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: |\n                        Response for an application level heartbeat (marco-polo)\n                      properties:\n                        code:\n                          type: integer\n                          format: int32\n                          description: A status code describing status\n                          example: 200\n                        correlationId:\n                          type: integer\n                          format: int32\n                          description: Correlation Id of the Marco request\n                          example: 1\n                        data:\n                          description: A Marco-Polo response\n                          type: object\n                          properties:\n                            type:\n                              description: Response type, it is always polo\n                              example: polo\n                            receivedTimestamp:\n                              description: The time the marco request was received\n                              type: string\n                              format: date-time\n                              example: '2021-09-20T17:32:28.789Z'\n                            acknowledgeTimeStamp:\n                              description: The time the marco request was acknowledged\n                              type: string\n                              format: date-time\n                              example: '2021-09-20T17:32:28.791Z'\n                        error:\n                          type: object\n                          description: A map providing additional details about the error\n                        errorModel:\n                          type: object\n                          required:\n                            - reference\n                            - errorCode\n                          properties:\n                            reference:\n                              type: string\n                              description: A unique identifier used to lookup the error on internal systems.\n                            errorCode:\n                              type: string\n                              description: A machine readable identifier of the error type.\n                            message:\n                              type: string\n                              description: A human readable message describing the issue.\n                          example:\n                            reference: jhkasdf89hjn3298fs\n                            errorCode: CONSTRAINT_VIOLATION\n                            message: Invalid data was provided\n              responses:\n                '204':\n                  description: Successfully.\n        WebhookCallback:\n          '{response.body#/webhookChannelData/webhook/url}':\n            options:\n              summary: Webhook callback validation on creation\n              responses:\n                '204':\n                  description: Succesfully.\n            post:\n              summary: WebhookCallback\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      description: |\n                        Base type for all notifications received over a notification channel. The notification max size is 1MB.\n                      type: object\n                      required:\n                        - source\n                        - type\n                        - timestamp\n                      properties:\n                        id:\n                          type: string\n                          description: |\n                            Unique identifier for the notification. This is used to identify  and deduplicate notifications.\n                        source:\n                          description: |\n                            Identifies the source application issuing the notification.\n                          type: string\n                        type:\n                          description: |\n                            Type of the event. Used as a discriminator of the server application to determine the content.\n                          type: string\n                        usage:\n                          default: BACKGROUND\n                          type: string\n                          description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notification should not be displayed to the user, it should be transfered towards the application.\n                          enum:\n                            - VOIP\n                            - ALERT\n                            - BACKGROUND\n                        timestamp:\n                          description: The time of the event. Used to indicate when the event occur\n                          type: string\n                          format: date-time\n                        ttl:\n                          description: Time to live in seconds for the notification\n                          type: integer\n                        contentVersion:\n                          type: string\n                          description: |\n                            Version of the notification content data structure that allows to know the version of the content without checking the actual payload or content.\n                        content:\n                          description: |\n                            Actual content of the notification that varies depending on the source and the type of the notification.\n                          type: object\n              responses:\n                '204':\n                  description: Succesfully.\n                '404':\n                  description: Webhook channel doesn't exist and will be deleted\n                '410':\n                  description: Webhook channel is gone and will be deleted\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/notification-channel/v1/channels/integrations',\n              data: {\n                channelType: 'Webhook',\n                webhookChannelData: {webhook: {url: 'https://mycompany.com/sms-webhook'}},\n                channelLifetime: 10800\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/notification-channel/v1/channels/integrations \\\n              --header 'content-type: application/json' \\\n              --data '{\"channelType\":\"Webhook\",\"webhookChannelData\":{\"webhook\":{\"url\":\"https://mycompany.com/sms-webhook\"}},\"channelLifetime\":10800}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"channelType\\\":\\\"Webhook\\\",\\\"webhookChannelData\\\":{\\\"webhook\\\":{\\\"url\\\":\\\"https://mycompany.com/sms-webhook\\\"}},\\\"channelLifetime\\\":10800}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/notification-channel/v1/channels/integrations\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"channelType\":\"Webhook\",\"webhookChannelData\":{\"webhook\":{\"url\":\"https://mycompany.com/sms-webhook\"}},\"channelLifetime\":10800}');\n\n            $request->setRequestUrl('https://api.goto.com/notification-channel/v1/channels/integrations');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/notification-channel/v1/channels/integrations\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"channelType\\\":\\\"Webhook\\\",\\\"webhookChannelData\\\":{\\\"webhook\\\":{\\\"url\\\":\\\"https://mycompany.com/sms-webhook\\\"}},\\\"channelLifetime\\\":10800}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /notification-channel/v1/channels:\n    get:\n      summary: Fetch all notification channels\n      description: |\n\n        ### Example Interaction with curl\n        ```\n        curl -XGET 'https://api.goto.com/notification-channel/v1/channels'          \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'         \n\n        ``` \n      operationId: fetchChannelList\n      tags:\n        - Channels\n      parameters:\n        - name: pageMarker\n          in: query\n          description: |\n            The opaque identifier representing a valid marker for the desired page. The value of `nextPageMarker` from a response SHOULD be used to get the next batch of results.\n          required: false\n          schema:\n            type: string\n            default: none (first items will be fetched)\n        - name: pageSize\n          in: query\n          description: Maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            default: 100\n      responses:\n        '200':\n          description: Paginated list of notification channels of the authenticated user in descending creation time order.\n          content:\n            application/json:\n              schema:\n                description: Paginated list of notification channels\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      pageSize:\n                        type: integer\n                        format: int32\n                        description: |\n                          The zero-based integer representing the page desired.\n                        example: 50\n                      nextPageMarker:\n                        type: string\n                        description: |\n                          The next page marker value, to be used for fetching the next page via the PageMarker query parameter.\n                        example: a159e8fbea8e53848\n                  - type: object\n                    properties:\n                      items:\n                        type: array\n                        items:\n                          description: |\n                            The notification channel object.\n                          type: object\n                          required:\n                            - channelId\n                            - channelNickname\n                            - channelData\n                            - webhookChannelData\n                          properties:\n                            channelId:\n                              type: string\n                              description: Unique identifier for the notification channel\n                            channelNickname:\n                              type: string\n                              description: |\n                                Nickname used by the client to name the channel.  `integrations` in case the channel was created by an integrator.\n                            channelData:\n                              description: Data for a WebSockets based Notification Channel\n                              required:\n                                - channelType\n                                - isConnected\n                                - channelURL\n                              type: object\n                              properties:\n                                channelType:\n                                  type: string\n                                  description: Identifies the underlying type of notification channel that is used.\n                                  enum:\n                                    - WebSockets\n                                    - Webhook\n                                isConnected:\n                                  type: boolean\n                                  default: false\n                                  description: |\n                                    true when the remote party has an active WebSocket connection.\n\n                                    **NOTE:** This field will always be set to its default value (false) when gotten from the channel list endpoint,\n                                    retrieving its actual value requires retrieving the channel individually.\n                                channelURL:\n                                  type: string\n                                  format: anyURI\n                                  description: |\n                                    Specified by the server. Contains the URL used to open a WebSockets connection to receive event notifications. Shall not be included in the request to create a channel but is included in the response.\n                              example:\n                                channelType: WebSockets\n                                channelURL: |\n                                  wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\n                                isConnected: false\n                            webhookChannelData:\n                              description: Specific data about a Webhook Notification Channel\n                              type: object\n                              required:\n                                - webhook\n                                - channelType\n                              properties:\n                                webhook:\n                                  description: Webhook information\n                                  type: object\n                                  required:\n                                    - url\n                                  properties:\n                                    url:\n                                      description: URL to send the notification to\n                                      type: string\n                                channelType:\n                                  type: string\n                                  description: Identifies the underlying type of notification channel that is used.\n                                  enum:\n                                    - WebSockets\n                                    - Webhook\n                                unreachableTimestamp:\n                                  type: string\n                                  format: date-time\n                                  description: |\n                                    Timestamp when the webhook endpoint first became unreachable.  A webhook endpoint is considered unreachable when publishing a notification to it  returns an HTTP 404 or 410 response code. A webhook channel that is unreachable for more than 7 days will be automatically deleted.\n                                  example: '2025-11-26T12:00:00Z'\n                            channelLifetime:\n                              description: |\n                                Lifetime (duration) of Notification Channel in seconds. The server MUST always include the channel lifetime in the response. A notification channel lifetime of \"Integer MAX (2^31-1)\" corresponds to an infinite lifetime. Once the lifetime is expired, the channel is deleted.\n                              type: integer\n                          example:\n                            channelId: Webhook.1e143eab-6ae6-46ed-80db-512ee2a9cbb4\n                            channelNickname: integrations\n                            channelData:\n                              channelType: WebSockets\n                              channelURL: |\n                                wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\n                              isConnected: false\n                            webhookChannelData:\n                              webhook:\n                                url: https://mycompany.com/sms-webhook\n                              channelType: Webhook\n                            channelLifetime: 10800\n                example:\n                  items:\n                    - channelId: Webhook.1e143eab-6ae6-46ed-80db-512ee2a9cbb4\n                      channelNickname: integrations\n                      webhookChannelData:\n                        webhook:\n                          url: https://mycompany.com/sms-webhook\n                        channelType: Webhook\n                  pageSize: 50\n                  nextPageMarker: a159e8fbea8e53848\n        '400':\n          description: |\n            The client has made an error in formatting the request. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: VkiqK285CEML093OtqRycw7B2MpsXkpT\n                errorCode: BAD_REQUEST\n                message: The request is not valid\n                constraintViolations:\n                  - field: pageSize\n                    constraint: must be between 1 and 100\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: VkiqK285CEML093OtqRycw7B2MpsXkpT\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAUTHORIZED\n                message: The user is unauthorized to perform the action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An error occurred on the server or downstream while processing the request. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              examples:\n                UNKNOWN_ERROR:\n                  summary: Server Side Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNKNOWN_ERROR\n                    message: An unknown error ocurred\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/notification-channel/v1/channels',\n              params: {pageMarker: 'SOME_STRING_VALUE', pageSize: 'SOME_INTEGER_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/notification-channel/v1/channels?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/notification-channel/v1/channels?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/notification-channel/v1/channels');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/notification-channel/v1/channels?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /notification-channel/v1/channels/integrations/{channelId}:\n    parameters:\n      - name: channelId\n        in: path\n        description: Unique notification channel identifier.\n        required: true\n        schema:\n          type: string\n          format: ChannelId\n    get:\n      summary: Obtain information on a notification channel\n      description: |\n        Retrieves a specific channel's information.\n        ### Example Interaction with curl\n        ```\n        curl -XGET 'https://api.goto.com/notification-channel/v1/channels/integrations/Webhook.a387047e...'  \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'         \n\n        ```\n      operationId: getChannel\n      tags:\n        - Channels\n      responses:\n        '200':\n          description: The channel information.\n          content:\n            application/json:\n              schema:\n                description: |\n                  The notification channel object.\n                type: object\n                required:\n                  - channelId\n                  - channelNickname\n                  - channelData\n                  - webhookChannelData\n                properties:\n                  channelId:\n                    type: string\n                    description: Unique identifier for the notification channel\n                  channelNickname:\n                    type: string\n                    description: |\n                      Nickname used by the client to name the channel.  `integrations` in case the channel was created by an integrator.\n                  channelData:\n                    description: Data for a WebSockets based Notification Channel\n                    required:\n                      - channelType\n                      - isConnected\n                      - channelURL\n                    type: object\n                    properties:\n                      channelType:\n                        type: string\n                        description: Identifies the underlying type of notification channel that is used.\n                        enum:\n                          - WebSockets\n                          - Webhook\n                      isConnected:\n                        type: boolean\n                        default: false\n                        description: |\n                          true when the remote party has an active WebSocket connection.\n\n                          **NOTE:** This field will always be set to its default value (false) when gotten from the channel list endpoint,\n                          retrieving its actual value requires retrieving the channel individually.\n                      channelURL:\n                        type: string\n                        format: anyURI\n                        description: |\n                          Specified by the server. Contains the URL used to open a WebSockets connection to receive event notifications. Shall not be included in the request to create a channel but is included in the response.\n                    example:\n                      channelType: WebSockets\n                      channelURL: |\n                        wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\n                      isConnected: false\n                  webhookChannelData:\n                    description: Specific data about a Webhook Notification Channel\n                    type: object\n                    required:\n                      - webhook\n                      - channelType\n                    properties:\n                      webhook:\n                        description: Webhook information\n                        type: object\n                        required:\n                          - url\n                        properties:\n                          url:\n                            description: URL to send the notification to\n                            type: string\n                      channelType:\n                        type: string\n                        description: Identifies the underlying type of notification channel that is used.\n                        enum:\n                          - WebSockets\n                          - Webhook\n                      unreachableTimestamp:\n                        type: string\n                        format: date-time\n                        description: |\n                          Timestamp when the webhook endpoint first became unreachable.  A webhook endpoint is considered unreachable when publishing a notification to it  returns an HTTP 404 or 410 response code. A webhook channel that is unreachable for more than 7 days will be automatically deleted.\n                        example: '2025-11-26T12:00:00Z'\n                  channelLifetime:\n                    description: |\n                      Lifetime (duration) of Notification Channel in seconds. The server MUST always include the channel lifetime in the response. A notification channel lifetime of \"Integer MAX (2^31-1)\" corresponds to an infinite lifetime. Once the lifetime is expired, the channel is deleted.\n                    type: integer\n                example:\n                  channelId: Webhook.1e143eab-6ae6-46ed-80db-512ee2a9cbb4\n                  channelNickname: integrations\n                  channelData:\n                    channelType: WebSockets\n                    channelURL: |\n                      wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\n                    isConnected: false\n                  webhookChannelData:\n                    webhook:\n                      url: https://mycompany.com/sms-webhook\n                    channelType: Webhook\n                  channelLifetime: 10800\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: VkiqK285CEML093OtqRycw7B2MpsXkpT\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAUTHORIZED\n                message: The user is unauthorized to perform the action.\n        '404':\n          description: The channel doesn't exist or the client can't manage the channel.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: z79ojI9ITRPu22OLFaHsfbvymU3VT0xt\n                errorCode: RTC-NOTIFICATION-CHANNEL-NOT-FOUND\n                message: Notification channel does not exist\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An error occurred on the server or downstream while processing the request. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              examples:\n                UNKNOWN_ERROR:\n                  summary: Server Side Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNKNOWN_ERROR\n                    message: An unknown error ocurred\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/notification-channel/v1/channels/integrations/%7BchannelId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    put:\n      summary: Update a notification channel\n      description: |\n        Update the notification channel with new data. All values must be passed as if you were creating a new notification channel.\n        ### Example Interaction with curl\n        ```\n        curl -XPUT 'https://api.goto.com/notification-channel/v1/channels/integrations/Webhook.a387047e...'          \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'                \\\n          -H 'Content-Type: application/json'                      \\\n          -d '{\"channelType\": \"Webhook\", \"webhookChannelData\": {\"webhook\": {\"url\": \"https://my.company.com/webhook\"}}}'\n\n        ```\n      operationId: updateChannel\n      tags:\n        - Channels\n      requestBody:\n        content:\n          application/json:\n            schema:\n              description: |\n                Information required to create a notification channel. For the creation of Push notification channel, the pushChannelData must be provided.\n              type: object\n              required:\n                - channelType\n                - webhookChannelData\n              properties:\n                channelType:\n                  type: string\n                  description: Identifies the underlying type of notification channel that is used.\n                  enum:\n                    - WebSockets\n                    - Webhook\n                channelData:\n                  description: Data for a WebSockets based Notification Channel\n                  required:\n                    - channelType\n                    - isConnected\n                    - channelURL\n                  type: object\n                  properties:\n                    channelType:\n                      type: string\n                      description: Identifies the underlying type of notification channel that is used.\n                      enum:\n                        - WebSockets\n                        - Webhook\n                    isConnected:\n                      type: boolean\n                      default: false\n                      description: |\n                        true when the remote party has an active WebSocket connection.\n\n                        **NOTE:** This field will always be set to its default value (false) when gotten from the channel list endpoint,\n                        retrieving its actual value requires retrieving the channel individually.\n                    channelURL:\n                      type: string\n                      format: anyURI\n                      description: |\n                        Specified by the server. Contains the URL used to open a WebSockets connection to receive event notifications. Shall not be included in the request to create a channel but is included in the response.\n                  example:\n                    channelType: WebSockets\n                    channelURL: |\n                      wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\n                    isConnected: false\n                webhookChannelData:\n                  description: Specific data to create a Webhook Notification Channel\n                  type: object\n                  required:\n                    - webhook\n                  properties:\n                    webhook:\n                      description: Webhook information\n                      type: object\n                      required:\n                        - url\n                      properties:\n                        url:\n                          description: URL to send the notification to\n                          type: string\n                    signature:\n                      type: object\n                      required:\n                        - sharedSecret\n                      properties:\n                        sharedSecret:\n                          type: string\n                          description: |\n                            Shared secrets are pushed through when creating a channel and are  used by the notification platform for signing notifications. Signatures will be in the form  of the 'Signature-Input' and 'Signature' HTTP headers which one shall use to verify the source of a given notification as specified in https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-message-signatures-05\n                channelLifetime:\n                  description: |\n                    Lifetime (duration) of Notification Channel in seconds. Client can  specify desired lifetime of Notification Channel in POST request when creating Notification Channel. However, the server in the response to the request may change the desired lifetime according to its server policy. If the element is not present in the POST request, a default channel lifetime specified by server policy will apply. The server MUST  always include the channel lifetime in the response. A notification channel lifetime of \"Integer MAX (2^31-1)\" corresponds to an infinite lifetime. Once the lifetime is expired the channel is deleted.\n                  type: integer\n              example:\n                channelType: Webhook\n                webhookChannelData:\n                  webhook:\n                    url: https://mycompany.com/sms-webhook\n                channelLifetime: 10800\n      responses:\n        '200':\n          description: The channel information.\n          content:\n            application/json:\n              schema:\n                description: |\n                  The notification channel object.\n                type: object\n                required:\n                  - channelId\n                  - channelNickname\n                  - channelData\n                  - webhookChannelData\n                properties:\n                  channelId:\n                    type: string\n                    description: Unique identifier for the notification channel\n                  channelNickname:\n                    type: string\n                    description: |\n                      Nickname used by the client to name the channel.  `integrations` in case the channel was created by an integrator.\n                  channelData:\n                    description: Data for a WebSockets based Notification Channel\n                    required:\n                      - channelType\n                      - isConnected\n                      - channelURL\n                    type: object\n                    properties:\n                      channelType:\n                        type: string\n                        description: Identifies the underlying type of notification channel that is used.\n                        enum:\n                          - WebSockets\n                          - Webhook\n                      isConnected:\n                        type: boolean\n                        default: false\n                        description: |\n                          true when the remote party has an active WebSocket connection.\n\n                          **NOTE:** This field will always be set to its default value (false) when gotten from the channel list endpoint,\n                          retrieving its actual value requires retrieving the channel individually.\n                      channelURL:\n                        type: string\n                        format: anyURI\n                        description: |\n                          Specified by the server. Contains the URL used to open a WebSockets connection to receive event notifications. Shall not be included in the request to create a channel but is included in the response.\n                    example:\n                      channelType: WebSockets\n                      channelURL: |\n                        wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\n                      isConnected: false\n                  webhookChannelData:\n                    description: Specific data about a Webhook Notification Channel\n                    type: object\n                    required:\n                      - webhook\n                      - channelType\n                    properties:\n                      webhook:\n                        description: Webhook information\n                        type: object\n                        required:\n                          - url\n                        properties:\n                          url:\n                            description: URL to send the notification to\n                            type: string\n                      channelType:\n                        type: string\n                        description: Identifies the underlying type of notification channel that is used.\n                        enum:\n                          - WebSockets\n                          - Webhook\n                      unreachableTimestamp:\n                        type: string\n                        format: date-time\n                        description: |\n                          Timestamp when the webhook endpoint first became unreachable.  A webhook endpoint is considered unreachable when publishing a notification to it  returns an HTTP 404 or 410 response code. A webhook channel that is unreachable for more than 7 days will be automatically deleted.\n                        example: '2025-11-26T12:00:00Z'\n                  channelLifetime:\n                    description: |\n                      Lifetime (duration) of Notification Channel in seconds. The server MUST always include the channel lifetime in the response. A notification channel lifetime of \"Integer MAX (2^31-1)\" corresponds to an infinite lifetime. Once the lifetime is expired, the channel is deleted.\n                    type: integer\n                example:\n                  channelId: Webhook.1e143eab-6ae6-46ed-80db-512ee2a9cbb4\n                  channelNickname: integrations\n                  channelData:\n                    channelType: WebSockets\n                    channelURL: |\n                      wss://webrtc.jive.com/notification-channel/v1/channels/2856d8d4-173d-4852-81d4-c0651af1dcb0/channelId/ws\n                    isConnected: false\n                  webhookChannelData:\n                    webhook:\n                      url: https://mycompany.com/sms-webhook\n                    channelType: Webhook\n                  channelLifetime: 10800\n        '400':\n          description: |\n            Client side error. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              examples:\n                OPTIONS_WEBHOOK:\n                  value:\n                    reference: VkiqK285CEML093OtqRycw7B2MpsXkpT\n                    errorCode: BAD_REQUEST\n                    message: Webhook URL did not respond as expected\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: VkiqK285CEML093OtqRycw7B2MpsXkpT\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAUTHORIZED\n                message: The user is unauthorized to perform the action.\n        '404':\n          description: The channel doesn't exist or the client can't manage the channel.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: z79ojI9ITRPu22OLFaHsfbvymU3VT0xt\n                errorCode: RTC-NOTIFICATION-CHANNEL-NOT-FOUND\n                message: Notification channel does not exist\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An error occurred on the server or downstream while processing the request. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              examples:\n                UNKNOWN_ERROR:\n                  summary: Server Side Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNKNOWN_ERROR\n                    message: An unknown error ocurred\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PUT',\n              url: 'https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D',\n              data: {\n                channelType: 'Webhook',\n                webhookChannelData: {webhook: {url: 'https://mycompany.com/sms-webhook'}},\n                channelLifetime: 10800\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PUT \\\n              --url https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D \\\n              --header 'content-type: application/json' \\\n              --data '{\"channelType\":\"Webhook\",\"webhookChannelData\":{\"webhook\":{\"url\":\"https://mycompany.com/sms-webhook\"}},\"channelLifetime\":10800}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"channelType\\\":\\\"Webhook\\\",\\\"webhookChannelData\\\":{\\\"webhook\\\":{\\\"url\\\":\\\"https://mycompany.com/sms-webhook\\\"}},\\\"channelLifetime\\\":10800}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PUT\", \"/notification-channel/v1/channels/integrations/%7BchannelId%7D\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"channelType\":\"Webhook\",\"webhookChannelData\":{\"webhook\":{\"url\":\"https://mycompany.com/sms-webhook\"}},\"channelLifetime\":10800}');\n\n            $request->setRequestUrl('https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D');\n            $request->setRequestMethod('PUT');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Put.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"channelType\\\":\\\"Webhook\\\",\\\"webhookChannelData\\\":{\\\"webhook\\\":{\\\"url\\\":\\\"https://mycompany.com/sms-webhook\\\"}},\\\"channelLifetime\\\":10800}\"\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      summary: Destroy a notification channel\n      description: |\n        Removes an individual notification channel for the authenticated user.\n        ### Example Interaction with curl\n        ```\n        curl -XDELETE 'https://api.goto.com/notification-channel/v1/channels/integrations/Webhook.a387047e...' \\\n          -H 'Authorization: Bearer {ACCESS_TOKEN}'                \n\n        ```\n      operationId: deleteChannel\n      tags:\n        - Channels\n      responses:\n        '204':\n          description: Successfully removed the notification channel.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: VkiqK285CEML093OtqRycw7B2MpsXkpT\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAUTHORIZED\n                message: The user is unauthorized to perform the action.\n        '404':\n          description: The channel doesn't exist or the client can't manage the channel.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: z79ojI9ITRPu22OLFaHsfbvymU3VT0xt\n                errorCode: RTC-NOTIFICATION-CHANNEL-NOT-FOUND\n                message: Notification channel does not exist\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An error occurred on the server or downstream while processing the request. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              examples:\n                UNKNOWN_ERROR:\n                  summary: Server Side Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNKNOWN_ERROR\n                    message: An unknown error ocurred\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/notification-channel/v1/channels/integrations/%7BchannelId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /notification-channel/v1/channels/integrations/{channelId}/channel-lifetime:\n    parameters:\n      - name: channelId\n        in: path\n        description: Unique notification channel identifier.\n        required: true\n        schema:\n          type: string\n          format: ChannelId\n    get:\n      summary: Obtain the remaining lifetime\n      description: Retrieves the remaining lifetime of the notification channel.\n      operationId: getChannelLifetime\n      tags:\n        - Channels\n      responses:\n        '200':\n          description: OK\n          content:\n            application/json:\n              schema:\n                type: object\n                properties:\n                  channelLifetime:\n                    type: integer\n                    description: |\n                      Remaining lifetime (duration) of the Notification Channel in seconds. A notification channel lifetime of \"Integer MAX (2^31-1)\" corresponds to an infinite lifetime. Once the lifetime is expired, the the channel is deleted.\n                required:\n                  - channelLifetime\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: VkiqK285CEML093OtqRycw7B2MpsXkpT\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '404':\n          description: The channel doesn't exist or the client can't manage the channel.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: z79ojI9ITRPu22OLFaHsfbvymU3VT0xt\n                errorCode: RTC-NOTIFICATION-CHANNEL-NOT-FOUND\n                message: Notification channel does not exist\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An error occurred on the server or downstream while processing the request. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              examples:\n                UNKNOWN_ERROR:\n                  summary: Server Side Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNKNOWN_ERROR\n                    message: An unknown error ocurred\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D/channel-lifetime'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D/channel-lifetime\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/notification-channel/v1/channels/integrations/%7BchannelId%7D/channel-lifetime\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D/channel-lifetime');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D/channel-lifetime\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    put:\n      summary: Refresh remaining lifetime\n      description: |\n        Refreshes the channel, resetting the remaining lifetime.\n        If the owner of the channel has been deleted, a `404 Not Found` will be returned. If the owner account has been suspended, a `409 Conflict` will be returned.\n      operationId: refreshChannelLifetime\n      tags:\n        - Channels\n      responses:\n        '200':\n          description: OK\n          content:\n            application/json:\n              schema:\n                type: object\n                properties:\n                  channelLifetime:\n                    type: integer\n                    description: |\n                      Remaining lifetime (duration) of the Notification Channel in seconds. A notification channel lifetime of \"Integer MAX (2^31-1)\" corresponds to an infinite lifetime. Once the lifetime is expired, the the channel is deleted.\n                required:\n                  - channelLifetime\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: VkiqK285CEML093OtqRycw7B2MpsXkpT\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '404':\n          description: The channel doesn't exist or the client can't manage the channel.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              example:\n                reference: z79ojI9ITRPu22OLFaHsfbvymU3VT0xt\n                errorCode: RTC-NOTIFICATION-CHANNEL-NOT-FOUND\n                message: Notification channel does not exist\n        '409':\n          description: |\n            The operation wasn't completed caused by a suspended user.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An error occurred on the server or downstream while processing the request. Details can be found in the response body.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n              examples:\n                UNKNOWN_ERROR:\n                  summary: Server Side Error\n                  value:\n                    reference: FUAsUBDEDvfWKYyRVbQlPKIVSWXaQI1M\n                    errorCode: UNKNOWN_ERROR\n                    message: An unknown error ocurred\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PUT',\n              url: 'https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D/channel-lifetime'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PUT \\\n              --url https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D/channel-lifetime\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"PUT\", \"/notification-channel/v1/channels/integrations/%7BchannelId%7D/channel-lifetime\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D/channel-lifetime');\n            $request->setRequestMethod('PUT');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/notification-channel/v1/channels/integrations/%7BchannelId%7D/channel-lifetime\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Put.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /recording/v1/recordings/{recordingId}/content:\n    get:\n      operationId: getRecordingToken\n      tags:\n        - Recordings\n      summary: Retrieves a content token used to access the requested recording\n      description: |\n        Generates a short-lived content token used to create a download link to the content.  This content token\n        serves as a component to a URL designed to allow a browser's native download capabilities to handle the\n        file download and must be treated as a such.  It should not be shared indiscriminently.  The returned\n        information contains the expiration date for the returned token.  Tokens should not be used after their\n        expiration date.\n\n        ### Retrieving Content Tokens and Recording status\n        This API does not generate content tokens for recordings that have not reached the `UPLOADED` status.\n        Calling this endpoint for a recording with a status other than `UPLOADED` results in a `400` response.\n\n        ### Security\n        The API only allows access to recordings for organizations associated to the requesting principal and for\n        which this API has been enabled.\n\n        ### Authentication Scopes\n        `recording.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: recordingId\n          in: path\n          description: Recording identifier\n          required: true\n          schema:\n            type: string\n      responses:\n        '200':\n          description: The content token used to generate a download link\n          content:\n            application/json:\n              schema:\n                type: object\n                allOf:\n                  - type: object\n                    required:\n                      - token\n                      - expires\n                    properties:\n                      token:\n                        type: string\n                        description: The token granting access to the content\n                      expires:\n                        type: string\n                        format: date-time\n                        description: Time at which the token expires\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '406':\n          description: |\n            The accepted response formats supplied with the request are not supported for the requested resource type and operation. Accepted response format detection occurs before other authorization decisions and is based solely on the resource type and requested action. This response provides no indication of the existence of the specific resource targeted by the request.  A `NOT_ACCEPTABLE` `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_ACCEPTABLE\n                message: The request contains data that is not in an acceptable form.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '502':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n        '504':\n          description: |\n            There was an issue routing the request.  A `UNKNOWN_ERROR`\n            `errorCode` accompanies this response.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/recording/v1/recordings/%7BrecordingId%7D/content'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/recording/v1/recordings/%7BrecordingId%7D/content\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/recording/v1/recordings/%7BrecordingId%7D/content\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/recording/v1/recordings/%7BrecordingId%7D/content');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/recording/v1/recordings/%7BrecordingId%7D/content\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /recording/v1/recordings/{recordingId}/content/{token}:\n    get:\n      operationId: getRecording\n      tags:\n        - Recordings\n      summary: Retrieves the recording content\n      description: Returns the recording audio content\n      parameters:\n        - name: recordingId\n          in: path\n          description: Recording identifier\n          required: true\n          schema:\n            type: string\n        - name: token\n          in: path\n          description: Token granted via the `/content` path for the supplied `recordingId`\n          required: true\n          schema:\n            type: string\n      responses:\n        '302':\n          description: A redirect to the recording content\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/recording/v1/recordings/%7BrecordingId%7D/content/%7Btoken%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/recording/v1/recordings/%7BrecordingId%7D/content/%7Btoken%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/recording/v1/recordings/%7BrecordingId%7D/content/%7Btoken%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/recording/v1/recordings/%7BrecordingId%7D/content/%7Btoken%7D');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/recording/v1/recordings/%7BrecordingId%7D/content/%7Btoken%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /recording/v1/subscriptions:\n    post:\n      summary: Subscribe to recording notifications\n      description: |\n        Create a subscription for the user defined in the authorization token. The subscription activates notifications towards the provided notification channel ID. The request may contain one or more event types to subscribe to.\n        ### Authentication Scopes\n        `recording.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n      operationId: createRecordingSubscription\n      tags:\n        - Recording Subscriptions\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Required details for creating a recording Subscription.\n              properties:\n                accountKey:\n                  description: An account key\n                  type: string\n                  example: '1555226665'\n                channelId:\n                  description: The notification channel's ID.\n                  type: string\n                  format: uuid\n                  example: cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\n                eventTypes:\n                  description: List of one or more event types to subscribe to.\n                  type: array\n                  items:\n                    description: |\n                      A notification type to subscribe to.\n                    type: string\n                    enum:\n                      - RECORDING_UPLOADED\n                      - RECORDING_TRANSCRIPT_UPLOADED\n              required:\n                - eventTypes\n                - channelId\n                - accountKey\n      responses:\n        '201':\n          description: Content of the new subscription.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Single Subscription.\n                properties:\n                  id:\n                    description: Unique identifier for the subscription.\n                  accountKey:\n                    description: The accountKey for which the subscription was made\n                    type: string\n                  channelId:\n                    description: The notification channel's ID.\n                    type: string\n                    format: uuid\n                  timestamp:\n                    description: The time when the subscription was created\n                    type: string\n                    format: date-time\n                  eventTypes:\n                    description: |\n                      List of one or more types of events that have been subscribed.\n                    type: array\n                    items:\n                      description: |\n                        A notification type to subscribe to.\n                      type: string\n                      enum:\n                        - RECORDING_UPLOADED\n                        - RECORDING_TRANSCRIPT_UPLOADED\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      callbacks:\n        RecordingNotification:\n          '{request.body#}':\n            post:\n              summary: RecordingNotification\n              description: A notification will be sent each time a recording media file or transciprtion is uploaded.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      allOf:\n                        - description: |\n                            Base type for all notifications received over a notification channel. From the notification service API.\n                          type: object\n                          required:\n                            - source\n                            - type\n                            - timestamp\n                          properties:\n                            source:\n                              description: |\n                                Identifies the source application issuing the notification. For encrypted notifications, the source will always be `notification` and the encrypted payload will contain the actual `source` of the notification.\n                              type: string\n                            type:\n                              description: |\n                                Type of the event. Used as a discriminator of the server application to determine the content. For encrypted notifications, the `type` will always be `encryptedData` and the encrypted payload will contain the actual `type` of the notification.\n                              type: string\n                            usage:\n                              type: string\n                              description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage must be used only to initiate a call or a meeting. This will make the device ring and the user will be prompted to answer a call or a video call/conference.<br/> * The `ALERT` must be used when the notification needs to be display immediately to the user, such as an incoming messages.<br/> * The `BACKGROUND` notification is not displayed to the user, it is transfered towards the application.\n                              enum:\n                                - VOIP\n                                - ALERT\n                                - BACKGROUND\n                              default: BACKGROUND\n                            timestamp:\n                              description: The time of the event. Used to indicate when the event occur\n                              type: string\n                              format: date-time\n                            ttl:\n                              description: Time to live in seconds for the notification\n                              type: integer\n                              default: 3600\n                            bypassDoNotDisturb:\n                              type: boolean\n                              default: false\n                              description: |\n                                Flag to bypass the Do-Not-Disturb setting, where notification events will be sent out regardless if the user has set his Do-Not-Disturb flag or not.\n                            contentVersion:\n                              type: string\n                              description: Version of the notification content data structure that allows to know the version of the content without checking the actual payload or content.\n                        - type: object\n                          description: |\n                            Base type for all notifications received over a notification channel. From the notification service API.\n                          required:\n                            - content\n                          properties:\n                            content:\n                              description: |\n                                Recording notification only provides the recording id of the recording media file or transcript that have successfully been uploaded\n                              type: object\n                              properties:\n                                recordingId:\n                                  description: Recording id associated to the recording media file or transcript that have been uploaded\n                                  type: string\n                                  format: uuid\n              responses:\n                '204':\n                  description: Succesfully.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://api.goto.com/recording/v1/subscriptions',\n              data: {\n                accountKey: '1555226665',\n                channelId: 'cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76',\n                eventTypes: ['RECORDING_UPLOADED']\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://api.goto.com/recording/v1/subscriptions \\\n              --header 'content-type: application/json' \\\n              --data '{\"accountKey\":\"1555226665\",\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\"eventTypes\":[\"RECORDING_UPLOADED\"]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            payload = \"{\\\"accountKey\\\":\\\"1555226665\\\",\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\\"eventTypes\\\":[\\\"RECORDING_UPLOADED\\\"]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/recording/v1/subscriptions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"accountKey\":\"1555226665\",\"channelId\":\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\",\"eventTypes\":[\"RECORDING_UPLOADED\"]}');\n\n            $request->setRequestUrl('https://api.goto.com/recording/v1/subscriptions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/recording/v1/subscriptions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"accountKey\\\":\\\"1555226665\\\",\\\"channelId\\\":\\\"cfeb8e9a-495c-4e48-b3bf-fe1b4cf1cf76\\\",\\\"eventTypes\\\":[\\\"RECORDING_UPLOADED\\\"]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      summary: Get subscriptions\n      description: |\n        Obtains the subscription details of the desired user where the user is defined by the authorization token. Note that users can only retrieve subscriptions they own.\n        ### Authentication Scopes\n        `recording.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n      operationId: getSubscriptions\n      tags:\n        - Recording Subscriptions\n      parameters:\n        - name: pageMarker\n          in: query\n          description: |\n            The returned `NextPageMarker` from a Paginated Collection is used here to\n            fetch the starting item for the paginated result.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 0\n            maximum: 100\n            default: 50\n      responses:\n        '200':\n          description: The subscription list\n          content:\n            application/json:\n              schema:\n                description: List of Subscriptions segmented by page.\n                allOf:\n                  - type: object\n                    description: |\n                      A collection that contains the paging information applied during a request for the returned results.\n                    properties:\n                      NextPageMarker:\n                        type: string\n                        description: |\n                          The next page marker value, to be used for fetching the next page via the `pageMarker` query parameter.\n                  - type: object\n                    properties:\n                      items:\n                        description: List of Subscriptions.\n                        type: array\n                        items:\n                          type: object\n                          description: Single Subscription.\n                          properties:\n                            id:\n                              description: Unique identifier for the subscription.\n                            accountKey:\n                              description: The accountKey for which the subscription was made\n                              type: string\n                            channelId:\n                              description: The notification channel's ID.\n                              type: string\n                              format: uuid\n                            timestamp:\n                              description: The time when the subscription was created\n                              type: string\n                              format: date-time\n                            eventTypes:\n                              description: |\n                                List of one or more types of events that have been subscribed.\n                              type: array\n                              items:\n                                description: |\n                                  A notification type to subscribe to.\n                                type: string\n                                enum:\n                                  - RECORDING_UPLOADED\n                                  - RECORDING_TRANSCRIPT_UPLOADED\n        '400':\n          description: |\n            The `pageMarker` or `pageSize` is invalid\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: pageMarker\n                    constraint: INVALID\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/recording/v1/subscriptions',\n              params: {pageMarker: 'SOME_STRING_VALUE', pageSize: 'SOME_INTEGER_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://api.goto.com/recording/v1/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/recording/v1/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/recording/v1/subscriptions');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/recording/v1/subscriptions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /recording/v1/subscriptions/{subscriptionId}:\n    delete:\n      summary: Remove a subscription on recording notifications.\n      description: |\n        Delete a subscription for a desired ID where the user is defined in the authorization token.\n        ### Authentication Scopes\n        `recording.v1.notifications.manage` must be used when a token is requested from the Authentication API.\n      operationId: deleteRecordingSubscription\n      parameters:\n        - name: subscriptionId\n          in: path\n          required: true\n          schema:\n            description: Unique identifier for the subscription.\n      tags:\n        - Recording Subscriptions\n      responses:\n        '204':\n          description: Succesfully removed the subscription.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://api.goto.com/recording/v1/subscriptions/%7BsubscriptionId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://api.goto.com/recording/v1/subscriptions/%7BsubscriptionId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"DELETE\", \"/recording/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/recording/v1/subscriptions/%7BsubscriptionId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/recording/v1/subscriptions/%7BsubscriptionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /recording/v1/transcriptions/{transcriptId}:\n    get:\n      operationId: getRecordingTranscription\n      tags:\n        - Transcriptions\n      summary: Retrieves the transcription content\n      description: |\n        Returns the transcription content, via an HTTP redirection.\n\n        ### Security\n\n        The API only allows access to transcriptions for organizations associated to the requesting principal.\n\n        ### Authentication Scopes\n\n        `recording.v1.read` must be used when a token is requested from the Authentication API.\n\n        ### Transcript Formats\n\n        Transcript formats are versioned. They are defined by the `version` field in the transcript content.\n\n        See the following object schema definition for more details, note that this is not an example of the \n        object that you will get on the given Location header value but the exact definition of the object.\n        For more information on JSON schemas, please refer to https://json-schema.org/understanding-json-schema.\n\n        #### Version 1 Schema\n\n        ```\n\n        {\n          \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n          \"$id\": \"https://goto.com/schemas/transcript/v1\",\n          \"type\": \"object\",\n          \"description\": \"Definition of the transcript format version 1\",\n          \"properties\": {\n            \"version\": {\n              \"type\": \"string\",\n              \"description\": \"The version of the transcript format\",\n              \"enum\": [\"1\"]\n            },\n            \"results\": {\n              \"type\": \"array\",\n              \"items\": {\n                \"type\": \"object\",\n                \"required\": [\n                  \"type\",\n                  \"transcript\",\n                  \"final\",\n                  \"startTimeMs\",\n                  \"endTimeMs\",\n                  \"channel\"\n                ],\n                \"properties\": {\n                  \"type\": {\n                    \"type\": \"string\",\n                    \"description\": \"The type of the transcript\",\n                    \"enum\": [\"utterances\"]\n                  },\n                  \"transcript\": {\n                    \"type\": \"string\",\n                    \"description\": \"The words that were spoken\"\n                  },\n                  \"final\": {\n                    \"type\": \"boolean\",\n                    \"description\": \"Always true since this is the final transcript\"\n                  },\n                  \"startTimeMs\": {\n                    \"type\": \"integer\",\n                    \"description\": \"Timestamp in milliseconds from the start of recording when the associated words started\"\n                  },\n                  \"endTimeMs\": {\n                    \"type\": \"integer\",\n                    \"description\": \"Timestamp in milliseconds from the start of recording when the associated words stopped\"\n                  },\n                  \"channel\": {\n                    \"type\": \"integer\",\n                    \"description\": \"In which channel the words were said. Channel 0 is what the participant said, channel 1 is what the participant heard. If recording was in mono format, everything will be in channel 0\"\n                  },\n                  \"languageCode\": {\n                    \"type\": \"string\",\n                    \"description\": \"Language detected by the transcription engine (ISO 639-1 format)\",\n                    \"example\": \"en\"\n                  }\n                }\n              }\n            }\n          },\n          \"required\": [\"version\", \"results\"]\n        }\n\n        ```\n      parameters:\n        - name: transcriptId\n          in: path\n          description: Transcript identifier\n          required: true\n          schema:\n            type: string\n      responses:\n        '302':\n          description: |\n            A redirect to the transcription content\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://api.goto.com/recording/v1/transcriptions/%7BtranscriptId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://api.goto.com/recording/v1/transcriptions/%7BtranscriptId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"api.goto.com\")\n\n            conn.request(\"GET\", \"/recording/v1/transcriptions/%7BtranscriptId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://api.goto.com/recording/v1/transcriptions/%7BtranscriptId%7D');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://api.goto.com/recording/v1/transcriptions/%7BtranscriptId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://api.goto.com\n  /web-calls/v1/sessions:\n    post:\n      deprecated: true\n      summary: Create a new session\n      description: |\n        Creates a new session for an extension to be able to send and receive calls as well as receive notifications. If a session already exists for the given user, organization, and extension, the existing session will be updated with the information provided in the request.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl -X \"POST\" \"https://webrtc.jive.com/web-calls/v1/sessions\" \\\n          -H \"Content-Type: application/json\" \\\n          -d '{\n            \"organizationId\": \"01234567-aaaa-0123-bbbb-000000000001\",\n            \"extensionNumber\": \"1121\",\n            \"clientInformation\": {\n              \"appId\": \"my-application-name\",\n              \"appVersion\": \"2.3.1\",\n              \"platform\": \"INTEGRATOR\"\n              },\n            \"callbackReference\": {\n              \"incomingCallChannelId\": \"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\n              \"sessionManagementChannelId\": \"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"\n            }\n          }' \\\n          -H 'Authorization: Bearer {token}'\n\n        ```\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Request for a device session to be created.\n              required:\n                - organizationId\n                - extensionNumber\n              properties:\n                organizationId:\n                  type: string\n                  description: Unique ID for the organization.\n                  example: 01234567-aaaa-0123-bbbb-000000000001\n                extensionNumber:\n                  type: string\n                  description: Extension number for the line to register.\n                  example: '1234'\n                clientInformation:\n                  type: object\n                  description: The client's device or browser information used for the creation of a the session.\n                  required:\n                    - appId\n                    - appVersion\n                    - platform\n                  properties:\n                    appId:\n                      type: string\n                      description: |\n                        The application's ID. This should be a static identifier for the application.\n                      maxLength: 128\n                      example: my-application-name\n                    appVersion:\n                      type: string\n                      description: |\n                        The application's version of the application ID.\n                      maxLength: 128\n                      example: 2.3.1\n                    platform:\n                      type: string\n                      description: Metadata specifying the device platform.\n                      enum:\n                        - INTEGRATOR\n                      example: INTEGRATOR\n                callbackReference:\n                  type: object\n                  description: URL to be used to notify the client of an event over their preferred event channel. The callback reference is returned when a client creates a notification channel.\n                  required:\n                    - incomingCallChannelId\n                    - sessionManagementChannelId\n                  properties:\n                    incomingCallChannelId:\n                      type: string\n                      description: Channel Id used to receive the incoming call events.\n                      maxLength: 128\n                      example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                    sessionManagementChannelId:\n                      type: string\n                      description: Channel Id used to receive the session management events  which include Greeting, RefreshNeeded and Unregistered event.\n                      maxLength: 128\n                      example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n        required: true\n      operationId: createSession\n      tags:\n        - Sessions\n      responses:\n        '201':\n          description: Successfully create the session.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Description of the state of the session, its active ongoing calls and incoming calls.\n                required:\n                  - id\n                  - organizationId\n                  - extensionNumber\n                  - callbackReference\n                  - calls\n                properties:\n                  id:\n                    type: string\n                    description: Unique session ID issued when the session was created. It is used in all subsequent requests and events.\n                    example: someUniqueSessionID\n                  expires:\n                    type: integer\n                    format: int64\n                    description: deprecated - Not use anymore.\n                    deprecated: true\n                  name:\n                    type: string\n                    description: deprecated - Not use anymore..\n                    deprecated: true\n                  organizationId:\n                    type: string\n                    description: Unique ID for the organization.\n                    example: dddfbe74-540a-4aa8-9551-ae6202e635df\n                  extensionNumber:\n                    type: string\n                    description: Extension number for the line to register.\n                    example: '1234'\n                  callbackReference:\n                    type: object\n                    description: URL to be used to notify the client of an event over their preferred event channel. The callback reference is returned when a client creates a notification channel.\n                    required:\n                      - incomingCallChannelId\n                      - sessionManagementChannelId\n                    properties:\n                      incomingCallChannelId:\n                        type: string\n                        description: Channel Id used to receive the incoming call events.\n                        maxLength: 128\n                        example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                      sessionManagementChannelId:\n                        type: string\n                        description: Channel Id used to receive the session management events  which include Greeting, RefreshNeeded and Unregistered event.\n                        maxLength: 128\n                        example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                  calls:\n                    type: array\n                    description: List of all active and new incoming calls.\n                    items:\n                      type: object\n                      description: Description of the state of an ongoing call when the client has a valid session.\n                      required:\n                        - id\n                        - number\n                        - name\n                        - isMuted\n                        - isOnHold\n                        - hasMedia\n                        - isRinging\n                        - status\n                        - timestamp\n                      properties:\n                        id:\n                          type: string\n                          description: Call ID issued when the call was created or invite received.\n                          example: someUniqueCallID\n                        number:\n                          type: string\n                          description: Dial string of the recipient. Can be an extension or a phone number.\n                          example: '18667685429'\n                        name:\n                          type: string\n                          description: Display name of the caller or callee if available.\n                          example: Awesome Dev\n                        isMuted:\n                          type: boolean\n                          description: Mute state for the call.\n                          example: false\n                        isOnHold:\n                          type: boolean\n                          description: Hold state for the call.\n                          example: false\n                        mergeId:\n                          type: string\n                          description: Merge ID for the call. If absent, the call is not merged with another call. Two or more calls will have the same merge ID.\n                          example: someUniqueMergeId\n                        hasMedia:\n                          type: boolean\n                          description: Media flowing state for the call.\n                          example: true\n                        ringingInMedia:\n                          type: boolean\n                          description: Ringing in the media stream. The client should not use a local sound for ringing.\n                          example: true\n                        sdp:\n                          type: string\n                          format: JSEP_SDP\n                          description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                          example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                        answerAfter:\n                          type: integer\n                          format: int32\n                          description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                          example: 20000\n                        status:\n                          type: string\n                          description: Current status of the call.\n                          enum:\n                            - INCOMING\n                            - RINGING\n                            - CANCELLED\n                            - REJECTED\n                            - CONNECTING\n                            - CONNECTED\n                            - EARLY_MEDIA\n                            - DISCONNECTED\n                            - TRANSFERRED\n                            - ENDED\n                          example: CONNECTED\n                        statusMessage:\n                          type: string\n                          description: Additional information regarding the current status of the call.\n                          example: Call answered elsewhere.\n                        timestamp:\n                          type: string\n                          format: date-time\n                          description: Timestamp the call was created.\n                          example: 2018-04-17T17:48:41.656Z\n                        inCallChannelId:\n                          type: string\n                          description: Channel Id used to receive in call events.\n                          example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                        impersonateeUserKey:\n                          type: string\n                          description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                          example: '12345678901234567890'\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      callbacks:\n        Greetings:\n          '{request.body#/sessionManagementChannelId}':\n            post:\n              summary: Greetings\n              description: Notification received on Greetings. The `type` will be `\"greetings\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on Greetings. The `type` will be `\"greetings\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: greetings\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:08:50Z'\n                        ttl: 1800\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    sessionId:\n                                      type: string\n                                      example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                      description: Identifier for the session\n                                    organizationId:\n                                      type: string\n                                      example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                      description: Organization Id\n                                    extensionNumber:\n                                      type: string\n                                      example: '1234'\n                                      description: Extension Number\n              responses:\n                '204':\n                  description: Succesfully.\n        IncomingCall:\n          '{request.body#/incomingCallChannelId}':\n            post:\n              summary: IncomingCall\n              description: Notification received on an incoming call. The `type` will be `\"incoming\"` and the `usage` `\"VOIP\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on an incoming call. The `type` will be `\"incoming\"` and the `usage` `\"VOIP\"`.\n                      example:\n                        source: WebRTC\n                        type: incoming\n                        usage: VOIP\n                        timestamp: '2022-08-18T19:13:32Z'\n                        ttl: 20\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          name: Alice Caller\n                          number: '+15555555678'\n                          internalCallId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          answerAfter: 0\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    name:\n                                      type: string\n                                      example: Alice Caller\n                                      description: Caller name\n                                    number:\n                                      type: string\n                                      example: '+15555555678'\n                                      description: Caller number\n                                    internalCallId:\n                                      type: string\n                                      example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                      description: Internal call id\n                                    answerAfter:\n                                      type: integer\n                                      format: int32\n                                      description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                                      example: 0\n              responses:\n                '204':\n                  description: Succesfully.\n        Unregistered:\n          '{request.body#/sessionManagementChannelId}':\n            post:\n              summary: Unregistered\n              description: Notification received when unregistered. The `type` will be `\"unregistered\"` and the `usage` `\"VOIP\"` or `\"ALERT\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received when unregistered. The `type` will be `\"unregistered\"` and the `usage` `\"VOIP\"` or `\"ALERT\"`.\n                      example:\n                        source: WebRTC\n                        type: unregistered\n                        usage: ALERT\n                        timestamp: '2022-08-18T19:16:49Z'\n                        ttl: 1209600\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    sessionId:\n                                      type: string\n                                      example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                      description: Identifier for the session\n                                    organizationId:\n                                      type: string\n                                      example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                      description: Organization Id\n                                    extensionNumber:\n                                      type: string\n                                      example: '1234'\n                                      description: Extension Number\n              responses:\n                '204':\n                  description: Succesfully.\n        RefreshRegistrationNeeded:\n          '{request.body#/sessionManagementChannelId}':\n            post:\n              deprecated: true\n              summary: RefreshRegistrationNeeded\n              description: Deprecated. Notification received when session needs to be refreshed. The `type` will be `\"refreshRegistrationNeeded\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Deprecated. Notification received when session needs to be refreshed. The `type` will be `\"refreshRegistrationNeeded\"` and the `usage` `\"BACKGROUND\"`.\n                      deprecated: true\n                      example:\n                        source: WebRTC\n                        type: refreshRegistrationNeeded\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:19:25Z'\n                        ttl: 129600\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n              responses:\n                '204':\n                  description: Succesfully.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions',\n              data: {\n                organizationId: '01234567-aaaa-0123-bbbb-000000000001',\n                extensionNumber: '1234',\n                clientInformation: {appId: 'my-application-name', appVersion: '2.3.1', platform: 'INTEGRATOR'},\n                callbackReference: {\n                  incomingCallChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg',\n                  sessionManagementChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg'\n                }\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"organizationId\":\"01234567-aaaa-0123-bbbb-000000000001\",\"extensionNumber\":\"1234\",\"clientInformation\":{\"appId\":\"my-application-name\",\"appVersion\":\"2.3.1\",\"platform\":\"INTEGRATOR\"},\"callbackReference\":{\"incomingCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"sessionManagementChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"}}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"organizationId\\\":\\\"01234567-aaaa-0123-bbbb-000000000001\\\",\\\"extensionNumber\\\":\\\"1234\\\",\\\"clientInformation\\\":{\\\"appId\\\":\\\"my-application-name\\\",\\\"appVersion\\\":\\\"2.3.1\\\",\\\"platform\\\":\\\"INTEGRATOR\\\"},\\\"callbackReference\\\":{\\\"incomingCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"sessionManagementChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"}}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"organizationId\":\"01234567-aaaa-0123-bbbb-000000000001\",\"extensionNumber\":\"1234\",\"clientInformation\":{\"appId\":\"my-application-name\",\"appVersion\":\"2.3.1\",\"platform\":\"INTEGRATOR\"},\"callbackReference\":{\"incomingCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"sessionManagementChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"}}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"organizationId\\\":\\\"01234567-aaaa-0123-bbbb-000000000001\\\",\\\"extensionNumber\\\":\\\"1234\\\",\\\"clientInformation\\\":{\\\"appId\\\":\\\"my-application-name\\\",\\\"appVersion\\\":\\\"2.3.1\\\",\\\"platform\\\":\\\"INTEGRATOR\\\"},\\\"callbackReference\\\":{\\\"incomingCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"sessionManagementChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"}}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}:\n    put:\n      deprecated: true\n      summary: Update an existing session\n      description: |\n        Update an existing session with new client values.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl -X \"PUT\" \"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd\" \\\n          -H \"Content-Type: application/json\" \\\n          -d '{\n            \"clientInformation\": {\n              \"appId\": \"my-application-name\",\n              \"appVersion\": \"2.3.1\"\n            },\n            \"callbackReference\": {\n              \"incomingCallChannelId\": \"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\n              \"sessionManagementChannelId\": \"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"\n            }\n          }' \\\n          -H 'Authorization: Bearer {token}'\n\n        ```\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Request for a device session to be updated.\n              properties:\n                clientInformation:\n                  type: object\n                  description: The client's device information of a session that are updatable.\n                  properties:\n                    appId:\n                      type: string\n                      description: |\n                        The application's ID. This should be a static identifier for the application.\n                      maxLength: 128\n                      example: my-application-name\n                    appVersion:\n                      type: string\n                      description: |\n                        The application's version of the application ID.\n                      maxLength: 128\n                      example: 2.3.1\n                callbackReference:\n                  type: object\n                  description: URL to be used to notify the client of an event over their preferred event channel. The callback reference is returned when a client creates a notification channel.\n                  required:\n                    - incomingCallChannelId\n                    - sessionManagementChannelId\n                  properties:\n                    incomingCallChannelId:\n                      type: string\n                      description: Channel Id used to receive the incoming call events.\n                      maxLength: 128\n                      example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                    sessionManagementChannelId:\n                      type: string\n                      description: Channel Id used to receive the session management events  which include Greeting, RefreshNeeded and Unregistered event.\n                      maxLength: 128\n                      example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n        required: true\n      operationId: updateSession\n      tags:\n        - Session\n      responses:\n        '200':\n          description: Successfully update the session.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Description of the state of the session, its active ongoing calls and incoming calls.\n                required:\n                  - id\n                  - organizationId\n                  - extensionNumber\n                  - callbackReference\n                  - calls\n                properties:\n                  id:\n                    type: string\n                    description: Unique session ID issued when the session was created. It is used in all subsequent requests and events.\n                    example: someUniqueSessionID\n                  expires:\n                    type: integer\n                    format: int64\n                    description: deprecated - Not use anymore.\n                    deprecated: true\n                  name:\n                    type: string\n                    description: deprecated - Not use anymore..\n                    deprecated: true\n                  organizationId:\n                    type: string\n                    description: Unique ID for the organization.\n                    example: dddfbe74-540a-4aa8-9551-ae6202e635df\n                  extensionNumber:\n                    type: string\n                    description: Extension number for the line to register.\n                    example: '1234'\n                  callbackReference:\n                    type: object\n                    description: URL to be used to notify the client of an event over their preferred event channel. The callback reference is returned when a client creates a notification channel.\n                    required:\n                      - incomingCallChannelId\n                      - sessionManagementChannelId\n                    properties:\n                      incomingCallChannelId:\n                        type: string\n                        description: Channel Id used to receive the incoming call events.\n                        maxLength: 128\n                        example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                      sessionManagementChannelId:\n                        type: string\n                        description: Channel Id used to receive the session management events  which include Greeting, RefreshNeeded and Unregistered event.\n                        maxLength: 128\n                        example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                  calls:\n                    type: array\n                    description: List of all active and new incoming calls.\n                    items:\n                      type: object\n                      description: Description of the state of an ongoing call when the client has a valid session.\n                      required:\n                        - id\n                        - number\n                        - name\n                        - isMuted\n                        - isOnHold\n                        - hasMedia\n                        - isRinging\n                        - status\n                        - timestamp\n                      properties:\n                        id:\n                          type: string\n                          description: Call ID issued when the call was created or invite received.\n                          example: someUniqueCallID\n                        number:\n                          type: string\n                          description: Dial string of the recipient. Can be an extension or a phone number.\n                          example: '18667685429'\n                        name:\n                          type: string\n                          description: Display name of the caller or callee if available.\n                          example: Awesome Dev\n                        isMuted:\n                          type: boolean\n                          description: Mute state for the call.\n                          example: false\n                        isOnHold:\n                          type: boolean\n                          description: Hold state for the call.\n                          example: false\n                        mergeId:\n                          type: string\n                          description: Merge ID for the call. If absent, the call is not merged with another call. Two or more calls will have the same merge ID.\n                          example: someUniqueMergeId\n                        hasMedia:\n                          type: boolean\n                          description: Media flowing state for the call.\n                          example: true\n                        ringingInMedia:\n                          type: boolean\n                          description: Ringing in the media stream. The client should not use a local sound for ringing.\n                          example: true\n                        sdp:\n                          type: string\n                          format: JSEP_SDP\n                          description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                          example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                        answerAfter:\n                          type: integer\n                          format: int32\n                          description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                          example: 20000\n                        status:\n                          type: string\n                          description: Current status of the call.\n                          enum:\n                            - INCOMING\n                            - RINGING\n                            - CANCELLED\n                            - REJECTED\n                            - CONNECTING\n                            - CONNECTED\n                            - EARLY_MEDIA\n                            - DISCONNECTED\n                            - TRANSFERRED\n                            - ENDED\n                          example: CONNECTED\n                        statusMessage:\n                          type: string\n                          description: Additional information regarding the current status of the call.\n                          example: Call answered elsewhere.\n                        timestamp:\n                          type: string\n                          format: date-time\n                          description: Timestamp the call was created.\n                          example: 2018-04-17T17:48:41.656Z\n                        inCallChannelId:\n                          type: string\n                          description: Channel Id used to receive in call events.\n                          example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                        impersonateeUserKey:\n                          type: string\n                          description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                          example: '12345678901234567890'\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      callbacks:\n        IncomingCall:\n          '{request.body#/incomingCallChannelId}':\n            post:\n              summary: IncomingCall\n              description: Notification received on an incoming call. The `type` will be `\"incoming\"` and the `usage` `\"VOIP\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on an incoming call. The `type` will be `\"incoming\"` and the `usage` `\"VOIP\"`.\n                      example:\n                        source: WebRTC\n                        type: incoming\n                        usage: VOIP\n                        timestamp: '2022-08-18T19:13:32Z'\n                        ttl: 20\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          name: Alice Caller\n                          number: '+15555555678'\n                          internalCallId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          answerAfter: 0\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    name:\n                                      type: string\n                                      example: Alice Caller\n                                      description: Caller name\n                                    number:\n                                      type: string\n                                      example: '+15555555678'\n                                      description: Caller number\n                                    internalCallId:\n                                      type: string\n                                      example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                      description: Internal call id\n                                    answerAfter:\n                                      type: integer\n                                      format: int32\n                                      description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                                      example: 0\n              responses:\n                '204':\n                  description: Succesfully.\n        Unregistered:\n          '{request.body#/sessionManagementChannelId}':\n            post:\n              summary: Unregistered\n              description: Notification received when unregistered. The `type` will be `\"unregistered\"` and the `usage` `\"VOIP\"` or `\"ALERT\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received when unregistered. The `type` will be `\"unregistered\"` and the `usage` `\"VOIP\"` or `\"ALERT\"`.\n                      example:\n                        source: WebRTC\n                        type: unregistered\n                        usage: ALERT\n                        timestamp: '2022-08-18T19:16:49Z'\n                        ttl: 1209600\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    sessionId:\n                                      type: string\n                                      example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                      description: Identifier for the session\n                                    organizationId:\n                                      type: string\n                                      example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                      description: Organization Id\n                                    extensionNumber:\n                                      type: string\n                                      example: '1234'\n                                      description: Extension Number\n              responses:\n                '204':\n                  description: Succesfully.\n        RefreshRegistrationNeeded:\n          '{request.body#/sessionManagementChannelId}':\n            post:\n              deprecated: true\n              summary: RefreshRegistrationNeeded\n              description: Deprecated. Notification received when session needs to be refreshed. The `type` will be `\"refreshRegistrationNeeded\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Deprecated. Notification received when session needs to be refreshed. The `type` will be `\"refreshRegistrationNeeded\"` and the `usage` `\"BACKGROUND\"`.\n                      deprecated: true\n                      example:\n                        source: WebRTC\n                        type: refreshRegistrationNeeded\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:19:25Z'\n                        ttl: 129600\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n              responses:\n                '204':\n                  description: Succesfully.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PUT',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D',\n              data: {\n                clientInformation: {appId: 'my-application-name', appVersion: '2.3.1'},\n                callbackReference: {\n                  incomingCallChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg',\n                  sessionManagementChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg'\n                }\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PUT \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"clientInformation\":{\"appId\":\"my-application-name\",\"appVersion\":\"2.3.1\"},\"callbackReference\":{\"incomingCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"sessionManagementChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"}}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"clientInformation\\\":{\\\"appId\\\":\\\"my-application-name\\\",\\\"appVersion\\\":\\\"2.3.1\\\"},\\\"callbackReference\\\":{\\\"incomingCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"sessionManagementChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"}}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"PUT\", \"/web-calls/v1/sessions/%7BsessionId%7D\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"clientInformation\":{\"appId\":\"my-application-name\",\"appVersion\":\"2.3.1\"},\"callbackReference\":{\"incomingCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"sessionManagementChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"}}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D');\n            $request->setRequestMethod('PUT');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Put.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"clientInformation\\\":{\\\"appId\\\":\\\"my-application-name\\\",\\\"appVersion\\\":\\\"2.3.1\\\"},\\\"callbackReference\\\":{\\\"incomingCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"sessionManagementChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"}}\"\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      deprecated: true\n      summary: Delete session\n      description: |\n        Remove the session and all related calls\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl -X \"DELETE\" \"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n      operationId: deleteSession\n      tags:\n        - Sessions\n      responses:\n        '204':\n          description: Successfully deleted the session and terminated all associated calls. Clients having subscribed to receive session notifications will receive a SessionNotification with updated status.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"DELETE\", \"/web-calls/v1/sessions/%7BsessionId%7D\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D');\n            $request->setRequestMethod('DELETE');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      deprecated: true\n      summary: Retrieves the session state\n      description: |\n        Retrieve the state of the session including all ongoing calls. Note that the /sessions/{sessionId}/calls endpoint should be used if call states need to be polled periodically.\n        ### Authentication Scopes\n        `webrtc.v1.read` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl -X \"GET\" \"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n      operationId: pollSessionEvents\n      tags:\n        - Sessions\n      responses:\n        '200':\n          description: Successfully fetch the session.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Description of the state of the session, its active ongoing calls and incoming calls.\n                required:\n                  - id\n                  - organizationId\n                  - extensionNumber\n                  - callbackReference\n                  - calls\n                properties:\n                  id:\n                    type: string\n                    description: Unique session ID issued when the session was created. It is used in all subsequent requests and events.\n                    example: someUniqueSessionID\n                  expires:\n                    type: integer\n                    format: int64\n                    description: deprecated - Not use anymore.\n                    deprecated: true\n                  name:\n                    type: string\n                    description: deprecated - Not use anymore..\n                    deprecated: true\n                  organizationId:\n                    type: string\n                    description: Unique ID for the organization.\n                    example: dddfbe74-540a-4aa8-9551-ae6202e635df\n                  extensionNumber:\n                    type: string\n                    description: Extension number for the line to register.\n                    example: '1234'\n                  callbackReference:\n                    type: object\n                    description: URL to be used to notify the client of an event over their preferred event channel. The callback reference is returned when a client creates a notification channel.\n                    required:\n                      - incomingCallChannelId\n                      - sessionManagementChannelId\n                    properties:\n                      incomingCallChannelId:\n                        type: string\n                        description: Channel Id used to receive the incoming call events.\n                        maxLength: 128\n                        example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                      sessionManagementChannelId:\n                        type: string\n                        description: Channel Id used to receive the session management events  which include Greeting, RefreshNeeded and Unregistered event.\n                        maxLength: 128\n                        example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                  calls:\n                    type: array\n                    description: List of all active and new incoming calls.\n                    items:\n                      type: object\n                      description: Description of the state of an ongoing call when the client has a valid session.\n                      required:\n                        - id\n                        - number\n                        - name\n                        - isMuted\n                        - isOnHold\n                        - hasMedia\n                        - isRinging\n                        - status\n                        - timestamp\n                      properties:\n                        id:\n                          type: string\n                          description: Call ID issued when the call was created or invite received.\n                          example: someUniqueCallID\n                        number:\n                          type: string\n                          description: Dial string of the recipient. Can be an extension or a phone number.\n                          example: '18667685429'\n                        name:\n                          type: string\n                          description: Display name of the caller or callee if available.\n                          example: Awesome Dev\n                        isMuted:\n                          type: boolean\n                          description: Mute state for the call.\n                          example: false\n                        isOnHold:\n                          type: boolean\n                          description: Hold state for the call.\n                          example: false\n                        mergeId:\n                          type: string\n                          description: Merge ID for the call. If absent, the call is not merged with another call. Two or more calls will have the same merge ID.\n                          example: someUniqueMergeId\n                        hasMedia:\n                          type: boolean\n                          description: Media flowing state for the call.\n                          example: true\n                        ringingInMedia:\n                          type: boolean\n                          description: Ringing in the media stream. The client should not use a local sound for ringing.\n                          example: true\n                        sdp:\n                          type: string\n                          format: JSEP_SDP\n                          description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                          example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                        answerAfter:\n                          type: integer\n                          format: int32\n                          description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                          example: 20000\n                        status:\n                          type: string\n                          description: Current status of the call.\n                          enum:\n                            - INCOMING\n                            - RINGING\n                            - CANCELLED\n                            - REJECTED\n                            - CONNECTING\n                            - CONNECTED\n                            - EARLY_MEDIA\n                            - DISCONNECTED\n                            - TRANSFERRED\n                            - ENDED\n                          example: CONNECTED\n                        statusMessage:\n                          type: string\n                          description: Additional information regarding the current status of the call.\n                          example: Call answered elsewhere.\n                        timestamp:\n                          type: string\n                          format: date-time\n                          description: Timestamp the call was created.\n                          example: 2018-04-17T17:48:41.656Z\n                        inCallChannelId:\n                          type: string\n                          description: Channel Id used to receive in call events.\n                          example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                        impersonateeUserKey:\n                          type: string\n                          description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                          example: '12345678901234567890'\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"GET\", \"/web-calls/v1/sessions/%7BsessionId%7D\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D');\n            $request->setRequestMethod('GET');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/refresh:\n    post:\n      summary: Deprecated. Refresh an existing session\n      description: |\n        Deprecated. Refreshes an existing session to update the expiration delay.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl -X \"POST\" \"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/refresh\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n      operationId: refreshSession\n      deprecated: true\n      tags:\n        - Sessions\n      responses:\n        '200':\n          description: Successfully refreshed the session to update the expiration delay.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Description of the state of the session, its active ongoing calls and incoming calls.\n                required:\n                  - id\n                  - organizationId\n                  - extensionNumber\n                  - callbackReference\n                  - calls\n                properties:\n                  id:\n                    type: string\n                    description: Unique session ID issued when the session was created. It is used in all subsequent requests and events.\n                    example: someUniqueSessionID\n                  expires:\n                    type: integer\n                    format: int64\n                    description: deprecated - Not use anymore.\n                    deprecated: true\n                  name:\n                    type: string\n                    description: deprecated - Not use anymore..\n                    deprecated: true\n                  organizationId:\n                    type: string\n                    description: Unique ID for the organization.\n                    example: dddfbe74-540a-4aa8-9551-ae6202e635df\n                  extensionNumber:\n                    type: string\n                    description: Extension number for the line to register.\n                    example: '1234'\n                  callbackReference:\n                    type: object\n                    description: URL to be used to notify the client of an event over their preferred event channel. The callback reference is returned when a client creates a notification channel.\n                    required:\n                      - incomingCallChannelId\n                      - sessionManagementChannelId\n                    properties:\n                      incomingCallChannelId:\n                        type: string\n                        description: Channel Id used to receive the incoming call events.\n                        maxLength: 128\n                        example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                      sessionManagementChannelId:\n                        type: string\n                        description: Channel Id used to receive the session management events  which include Greeting, RefreshNeeded and Unregistered event.\n                        maxLength: 128\n                        example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                  calls:\n                    type: array\n                    description: List of all active and new incoming calls.\n                    items:\n                      type: object\n                      description: Description of the state of an ongoing call when the client has a valid session.\n                      required:\n                        - id\n                        - number\n                        - name\n                        - isMuted\n                        - isOnHold\n                        - hasMedia\n                        - isRinging\n                        - status\n                        - timestamp\n                      properties:\n                        id:\n                          type: string\n                          description: Call ID issued when the call was created or invite received.\n                          example: someUniqueCallID\n                        number:\n                          type: string\n                          description: Dial string of the recipient. Can be an extension or a phone number.\n                          example: '18667685429'\n                        name:\n                          type: string\n                          description: Display name of the caller or callee if available.\n                          example: Awesome Dev\n                        isMuted:\n                          type: boolean\n                          description: Mute state for the call.\n                          example: false\n                        isOnHold:\n                          type: boolean\n                          description: Hold state for the call.\n                          example: false\n                        mergeId:\n                          type: string\n                          description: Merge ID for the call. If absent, the call is not merged with another call. Two or more calls will have the same merge ID.\n                          example: someUniqueMergeId\n                        hasMedia:\n                          type: boolean\n                          description: Media flowing state for the call.\n                          example: true\n                        ringingInMedia:\n                          type: boolean\n                          description: Ringing in the media stream. The client should not use a local sound for ringing.\n                          example: true\n                        sdp:\n                          type: string\n                          format: JSEP_SDP\n                          description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                          example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                        answerAfter:\n                          type: integer\n                          format: int32\n                          description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                          example: 20000\n                        status:\n                          type: string\n                          description: Current status of the call.\n                          enum:\n                            - INCOMING\n                            - RINGING\n                            - CANCELLED\n                            - REJECTED\n                            - CONNECTING\n                            - CONNECTED\n                            - EARLY_MEDIA\n                            - DISCONNECTED\n                            - TRANSFERRED\n                            - ENDED\n                          example: CONNECTED\n                        statusMessage:\n                          type: string\n                          description: Additional information regarding the current status of the call.\n                          example: Call answered elsewhere.\n                        timestamp:\n                          type: string\n                          format: date-time\n                          description: Timestamp the call was created.\n                          example: 2018-04-17T17:48:41.656Z\n                        inCallChannelId:\n                          type: string\n                          description: Channel Id used to receive in call events.\n                          example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                        impersonateeUserKey:\n                          type: string\n                          description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                          example: '12345678901234567890'\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/refresh',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/refresh \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions/%7BsessionId%7D/refresh\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/refresh');\n            $request->setRequestMethod('POST');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/refresh\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls:\n    post:\n      deprecated: true\n      summary: Create a new call\n      description: |\n        Creates a new outgoing call towards the recipient provided using the local SDP offer.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl -X \"POST\" \"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls\" \\\n          -H \"Content-Type: application/json\" \\\n          -d '{\n            \"dialString\": \"+15559998888\",\n            \"sdp\": \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\na=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\nm=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\na=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\na=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\na=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\na=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\",\n            \"inCallChannelId\": \"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"\n          }' \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Request for a call to be created or reoffer to be initiated.\n              required:\n                - dialString\n                - sdp\n              properties:\n                dialString:\n                  type: string\n                  description: Dial string of the callee. It needs to be a valid tel URI.\n                  example: '18667685429'\n                sdp:\n                  type: string\n                  format: JSEP_SDP\n                  description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                  example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                deviceId:\n                  type: string\n                  description: This string must represents the unique device ID of the client making the request. For a mobile application, it should be the phone hardware ID.\n                  example: '1234567809012343455'\n                organizationId:\n                  type: string\n                  description: Unique ID for the organization.\n                  example: dddfbe74-540a-4aa8-9551-ae6202e635df\n                extensionNumber:\n                  type: string\n                  description: Extension number for the line to register.\n                  example: '1234'\n                inCallChannelId:\n                  type: string\n                  description: Channel Id used to receive in call events.\n                  example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                impersonateeUserKey:\n                  type: string\n                  description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                  example: '12345678901234567890'\n        required: true\n      operationId: createSessionCall\n      tags:\n        - Session Calls\n      responses:\n        '201':\n          description: Successfully create a new call.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Description of the state of an ongoing call when the client has a valid session.\n                required:\n                  - id\n                  - number\n                  - name\n                  - isMuted\n                  - isOnHold\n                  - hasMedia\n                  - isRinging\n                  - status\n                  - timestamp\n                properties:\n                  id:\n                    type: string\n                    description: Call ID issued when the call was created or invite received.\n                    example: someUniqueCallID\n                  number:\n                    type: string\n                    description: Dial string of the recipient. Can be an extension or a phone number.\n                    example: '18667685429'\n                  name:\n                    type: string\n                    description: Display name of the caller or callee if available.\n                    example: Awesome Dev\n                  isMuted:\n                    type: boolean\n                    description: Mute state for the call.\n                    example: false\n                  isOnHold:\n                    type: boolean\n                    description: Hold state for the call.\n                    example: false\n                  mergeId:\n                    type: string\n                    description: Merge ID for the call. If absent, the call is not merged with another call. Two or more calls will have the same merge ID.\n                    example: someUniqueMergeId\n                  hasMedia:\n                    type: boolean\n                    description: Media flowing state for the call.\n                    example: true\n                  ringingInMedia:\n                    type: boolean\n                    description: Ringing in the media stream. The client should not use a local sound for ringing.\n                    example: true\n                  sdp:\n                    type: string\n                    format: JSEP_SDP\n                    description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                    example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                  answerAfter:\n                    type: integer\n                    format: int32\n                    description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                    example: 20000\n                  status:\n                    type: string\n                    description: Current status of the call.\n                    enum:\n                      - INCOMING\n                      - RINGING\n                      - CANCELLED\n                      - REJECTED\n                      - CONNECTING\n                      - CONNECTED\n                      - EARLY_MEDIA\n                      - DISCONNECTED\n                      - TRANSFERRED\n                      - ENDED\n                    example: CONNECTED\n                  statusMessage:\n                    type: string\n                    description: Additional information regarding the current status of the call.\n                    example: Call answered elsewhere.\n                  timestamp:\n                    type: string\n                    format: date-time\n                    description: Timestamp the call was created.\n                    example: 2018-04-17T17:48:41.656Z\n                  inCallChannelId:\n                    type: string\n                    description: Channel Id used to receive in call events.\n                    example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                  impersonateeUserKey:\n                    type: string\n                    description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                    example: '12345678901234567890'\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      callbacks:\n        Ringing:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: Ringing\n              description: Notification received on a call ringing. The `type` will be `\"ringing\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call ringing. The `type` will be `\"ringing\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: ringing\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:08:50Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          inMedia: true\n                          isHoldAllowedInEarlyMedia: true\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    inMedia:\n                                      description: Whether the (early) media is established, and therefore, a ringing tone or other media can be heard. If this is false, the application would need to notify the user explicitly.\n                                      type: boolean\n                                      example: true\n                                    isHoldAllowedInEarlyMedia:\n                                      description: Whether it is allowed to put the call on hold (and resume) in a early media state\n                                      type: boolean\n                                      example: true\n              responses:\n                '204':\n                  description: Succesfully.\n        Answered:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: Answered\n              description: Notification received on a call answered. The `type` will be `\"answered\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call answered. The `type` will be `\"answered\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: answered\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:29:54Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              allOf:\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    sessionId:\n                                      type: string\n                                      example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                      description: Identifier for the session\n                                    organizationId:\n                                      type: string\n                                      example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                      description: Organization Id\n                                    extensionNumber:\n                                      type: string\n                                      example: '1234'\n                                      description: Extension Number\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    callId:\n                                      type: string\n                                      example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                      description: Call Id\n              responses:\n                '204':\n                  description: Succesfully.\n        CallUpdate:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: CallUpdate (CallerID change)\n              description: Notification received on a call update. The `type` will be `\"update\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call update. The `type` will be `\"update\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: update\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:09:08Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          name: Alice Caller\n                          number: '+15555555678'\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    name:\n                                      type: string\n                                      example: Alice Caller\n                                      description: Caller name\n                                    number:\n                                      type: string\n                                      example: '+15555555678'\n                                      description: Caller number\n              responses:\n                '204':\n                  description: Succesfully.\n        Ended:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: Ended\n              description: Notification received on a call ended. The `type` will be `\"ended\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call ended. The `type` will be `\"ended\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: ended\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:26:56Z'\n                        ttl: 3600\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          reasonCode: HANGUP\n                          reason: TextReason\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    reasonCode:\n                                      type: string\n                                      example: HANGUP\n                                      description: Reason code\n                                    reason:\n                                      type: string\n                                      example: TextReason\n                                      description: Reason\n              responses:\n                '204':\n                  description: Succesfully.\n        NoMedia:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: NoMedia\n              description: Notification received on a no media event. The `type` will be `\"noMedia\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a no media event. The `type` will be `\"noMedia\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: noMedia\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:28:19Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          idleDurationSeconds: 15\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    idleDurationSeconds:\n                                      type: integer\n                                      example: 15\n                                      description: Number of seconds idle\n              responses:\n                '204':\n                  description: Succesfully.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls',\n              data: {\n                dialString: '18667685429',\n                sdp: 'v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n',\n                deviceId: '1234567809012343455',\n                organizationId: 'dddfbe74-540a-4aa8-9551-ae6202e635df',\n                extensionNumber: '1234',\n                inCallChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg',\n                impersonateeUserKey: '12345678901234567890'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"dialString\":\"18667685429\",\"sdp\":\"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\",\"deviceId\":\"1234567809012343455\",\"organizationId\":\"dddfbe74-540a-4aa8-9551-ae6202e635df\",\"extensionNumber\":\"1234\",\"inCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"impersonateeUserKey\":\"12345678901234567890\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"dialString\\\":\\\"18667685429\\\",\\\"sdp\\\":\\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\\"deviceId\\\":\\\"1234567809012343455\\\",\\\"organizationId\\\":\\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\\"extensionNumber\\\":\\\"1234\\\",\\\"inCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"impersonateeUserKey\\\":\\\"12345678901234567890\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"dialString\":\"18667685429\",\"sdp\":\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\",\"deviceId\":\"1234567809012343455\",\"organizationId\":\"dddfbe74-540a-4aa8-9551-ae6202e635df\",\"extensionNumber\":\"1234\",\"inCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"impersonateeUserKey\":\"12345678901234567890\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"dialString\\\":\\\"18667685429\\\",\\\"sdp\\\":\\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\\"deviceId\\\":\\\"1234567809012343455\\\",\\\"organizationId\\\":\\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\\"extensionNumber\\\":\\\"1234\\\",\\\"inCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"impersonateeUserKey\\\":\\\"12345678901234567890\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      summary: Retrieve calls\n      deprecated: true\n      description: |\n        Retrieves the current list of active and incoming calls. The intended use is for periodically polling the current call states, as a fallback for when websockets disconnect.\n        ### Authentication Scopes\n        `webrtc.v1.read` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n      operationId: retrieveCalls\n      tags:\n        - Session Calls\n      responses:\n        '200':\n          description: A collection of all the active and incoming calls.\n          content:\n            application/json:\n              schema:\n                type: object\n                title: CallCollection\n                description: An collection of Call objects\n                required:\n                  - items\n                properties:\n                  items:\n                    type: array\n                    items:\n                      type: object\n                      description: Description of the state of an ongoing call when the client has a valid session.\n                      required:\n                        - id\n                        - number\n                        - name\n                        - isMuted\n                        - isOnHold\n                        - hasMedia\n                        - isRinging\n                        - status\n                        - timestamp\n                      properties:\n                        id:\n                          type: string\n                          description: Call ID issued when the call was created or invite received.\n                          example: someUniqueCallID\n                        number:\n                          type: string\n                          description: Dial string of the recipient. Can be an extension or a phone number.\n                          example: '18667685429'\n                        name:\n                          type: string\n                          description: Display name of the caller or callee if available.\n                          example: Awesome Dev\n                        isMuted:\n                          type: boolean\n                          description: Mute state for the call.\n                          example: false\n                        isOnHold:\n                          type: boolean\n                          description: Hold state for the call.\n                          example: false\n                        mergeId:\n                          type: string\n                          description: Merge ID for the call. If absent, the call is not merged with another call. Two or more calls will have the same merge ID.\n                          example: someUniqueMergeId\n                        hasMedia:\n                          type: boolean\n                          description: Media flowing state for the call.\n                          example: true\n                        ringingInMedia:\n                          type: boolean\n                          description: Ringing in the media stream. The client should not use a local sound for ringing.\n                          example: true\n                        sdp:\n                          type: string\n                          format: JSEP_SDP\n                          description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                          example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                        answerAfter:\n                          type: integer\n                          format: int32\n                          description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                          example: 20000\n                        status:\n                          type: string\n                          description: Current status of the call.\n                          enum:\n                            - INCOMING\n                            - RINGING\n                            - CANCELLED\n                            - REJECTED\n                            - CONNECTING\n                            - CONNECTED\n                            - EARLY_MEDIA\n                            - DISCONNECTED\n                            - TRANSFERRED\n                            - ENDED\n                          example: CONNECTED\n                        statusMessage:\n                          type: string\n                          description: Additional information regarding the current status of the call.\n                          example: Call answered elsewhere.\n                        timestamp:\n                          type: string\n                          format: date-time\n                          description: Timestamp the call was created.\n                          example: 2018-04-17T17:48:41.656Z\n                        inCallChannelId:\n                          type: string\n                          description: Channel Id used to receive in call events.\n                          example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                        impersonateeUserKey:\n                          type: string\n                          description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                          example: '12345678901234567890'\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"GET\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls');\n            $request->setRequestMethod('GET');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls/{callId}:\n    parameters:\n      - name: Authorization\n        in: header\n        description: OAuth Token\n        required: true\n        schema:\n          type: string\n      - name: sessionId\n        in: path\n        required: true\n        description: Session ID issued when the device session was created.\n        schema:\n          type: string\n      - name: callId\n        in: path\n        required: true\n        description: Call ID issued when the call was created or invite received.\n        schema:\n          type: string\n    get:\n      deprecated: true\n      summary: Retrieve call information\n      description: |\n        It retrieves the current information and state of the call.\n        ### Authentication Scopes\n        `webrtc.v1.read` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl -X \"GET\" \"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls/1b94f3561664ab3425318e3f69de3634\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      operationId: retrieveSessionCall\n      tags:\n        - Session Calls\n      responses:\n        '200':\n          description: Successfully fetch a call.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Description of the state of an ongoing call when the client has a valid session.\n                required:\n                  - id\n                  - number\n                  - name\n                  - isMuted\n                  - isOnHold\n                  - hasMedia\n                  - isRinging\n                  - status\n                  - timestamp\n                properties:\n                  id:\n                    type: string\n                    description: Call ID issued when the call was created or invite received.\n                    example: someUniqueCallID\n                  number:\n                    type: string\n                    description: Dial string of the recipient. Can be an extension or a phone number.\n                    example: '18667685429'\n                  name:\n                    type: string\n                    description: Display name of the caller or callee if available.\n                    example: Awesome Dev\n                  isMuted:\n                    type: boolean\n                    description: Mute state for the call.\n                    example: false\n                  isOnHold:\n                    type: boolean\n                    description: Hold state for the call.\n                    example: false\n                  mergeId:\n                    type: string\n                    description: Merge ID for the call. If absent, the call is not merged with another call. Two or more calls will have the same merge ID.\n                    example: someUniqueMergeId\n                  hasMedia:\n                    type: boolean\n                    description: Media flowing state for the call.\n                    example: true\n                  ringingInMedia:\n                    type: boolean\n                    description: Ringing in the media stream. The client should not use a local sound for ringing.\n                    example: true\n                  sdp:\n                    type: string\n                    format: JSEP_SDP\n                    description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                    example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                  answerAfter:\n                    type: integer\n                    format: int32\n                    description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                    example: 20000\n                  status:\n                    type: string\n                    description: Current status of the call.\n                    enum:\n                      - INCOMING\n                      - RINGING\n                      - CANCELLED\n                      - REJECTED\n                      - CONNECTING\n                      - CONNECTED\n                      - EARLY_MEDIA\n                      - DISCONNECTED\n                      - TRANSFERRED\n                      - ENDED\n                    example: CONNECTED\n                  statusMessage:\n                    type: string\n                    description: Additional information regarding the current status of the call.\n                    example: Call answered elsewhere.\n                  timestamp:\n                    type: string\n                    format: date-time\n                    description: Timestamp the call was created.\n                    example: 2018-04-17T17:48:41.656Z\n                  inCallChannelId:\n                    type: string\n                    description: Channel Id used to receive in call events.\n                    example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                  impersonateeUserKey:\n                    type: string\n                    description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                    example: '12345678901234567890'\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            conn.request(\"GET\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      summary: Call hangup\n      deprecated: true\n      description: |\n        The call is ended and the media will be terminated.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl -X \"DELETE\" \"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls/1b94f3561664ab3425318e3f69de3634\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      operationId: endSessionCall\n      tags:\n        - Session Calls\n      responses:\n        '204':\n          description: The call is terminated and the media is stopped. The status of the call state is ended.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            conn.request(\"DELETE\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls/{callId}/answer:\n    post:\n      summary: Call answer\n      deprecated: true\n      description: |\n        The incoming call is answered and media will be established.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl -X \"POST\" \"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls/1b94f3561664ab3425318e3f69de3634/answer\" \\\n          -d '{\n            \"sdp\": \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\na=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\nm=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\na=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\na=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\na=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\na=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\",\n            \"inCallChannelId\": \"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"\n          }' \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Request for a call to be answered or reoffer to be initiated. - sdp\n              required:\n                - sdp\n                - inCallChannelId\n              properties:\n                sdp:\n                  type: string\n                  format: JSEP_SDP\n                  description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                  example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                inCallChannelId:\n                  type: string\n                  description: Channel Id used to receive in call events.\n                  example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n      operationId: answerSessionCall\n      tags:\n        - Session Calls\n      responses:\n        '200':\n          description: The call is answered and the media will start. The status of the call state is connected.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Description of the state of an ongoing call when the client has a valid session.\n                required:\n                  - id\n                  - number\n                  - name\n                  - isMuted\n                  - isOnHold\n                  - hasMedia\n                  - isRinging\n                  - status\n                  - timestamp\n                properties:\n                  id:\n                    type: string\n                    description: Call ID issued when the call was created or invite received.\n                    example: someUniqueCallID\n                  number:\n                    type: string\n                    description: Dial string of the recipient. Can be an extension or a phone number.\n                    example: '18667685429'\n                  name:\n                    type: string\n                    description: Display name of the caller or callee if available.\n                    example: Awesome Dev\n                  isMuted:\n                    type: boolean\n                    description: Mute state for the call.\n                    example: false\n                  isOnHold:\n                    type: boolean\n                    description: Hold state for the call.\n                    example: false\n                  mergeId:\n                    type: string\n                    description: Merge ID for the call. If absent, the call is not merged with another call. Two or more calls will have the same merge ID.\n                    example: someUniqueMergeId\n                  hasMedia:\n                    type: boolean\n                    description: Media flowing state for the call.\n                    example: true\n                  ringingInMedia:\n                    type: boolean\n                    description: Ringing in the media stream. The client should not use a local sound for ringing.\n                    example: true\n                  sdp:\n                    type: string\n                    format: JSEP_SDP\n                    description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                    example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                  answerAfter:\n                    type: integer\n                    format: int32\n                    description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                    example: 20000\n                  status:\n                    type: string\n                    description: Current status of the call.\n                    enum:\n                      - INCOMING\n                      - RINGING\n                      - CANCELLED\n                      - REJECTED\n                      - CONNECTING\n                      - CONNECTED\n                      - EARLY_MEDIA\n                      - DISCONNECTED\n                      - TRANSFERRED\n                      - ENDED\n                    example: CONNECTED\n                  statusMessage:\n                    type: string\n                    description: Additional information regarding the current status of the call.\n                    example: Call answered elsewhere.\n                  timestamp:\n                    type: string\n                    format: date-time\n                    description: Timestamp the call was created.\n                    example: 2018-04-17T17:48:41.656Z\n                  inCallChannelId:\n                    type: string\n                    description: Channel Id used to receive in call events.\n                    example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                  impersonateeUserKey:\n                    type: string\n                    description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                    example: '12345678901234567890'\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      callbacks:\n        CallUpdate:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: CallUpdate (CallerID change)\n              description: Notification received on a call update. The `type` will be `\"update\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call update. The `type` will be `\"update\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: update\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:09:08Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          name: Alice Caller\n                          number: '+15555555678'\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    name:\n                                      type: string\n                                      example: Alice Caller\n                                      description: Caller name\n                                    number:\n                                      type: string\n                                      example: '+15555555678'\n                                      description: Caller number\n              responses:\n                '204':\n                  description: Succesfully.\n        Ended:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: Ended\n              description: Notification received on a call ended. The `type` will be `\"ended\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call ended. The `type` will be `\"ended\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: ended\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:26:56Z'\n                        ttl: 3600\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          reasonCode: HANGUP\n                          reason: TextReason\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    reasonCode:\n                                      type: string\n                                      example: HANGUP\n                                      description: Reason code\n                                    reason:\n                                      type: string\n                                      example: TextReason\n                                      description: Reason\n              responses:\n                '204':\n                  description: Succesfully.\n        NoMedia:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: NoMedia\n              description: Notification received on a no media event. The `type` will be `\"noMedia\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a no media event. The `type` will be `\"noMedia\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: noMedia\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:28:19Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          idleDurationSeconds: 15\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    idleDurationSeconds:\n                                      type: integer\n                                      example: 15\n                                      description: Number of seconds idle\n              responses:\n                '204':\n                  description: Succesfully.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/answer',\n              data: {\n                sdp: 'v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n',\n                inCallChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/answer \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"sdp\":\"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\",\"inCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"sdp\\\":\\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\\"inCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/answer\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"sdp\":\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\",\"inCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/answer');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/answer\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"sdp\\\":\\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\\"inCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls/{callId}/ringing:\n    post:\n      summary: Ring the call\n      deprecated: true\n      description: |\n        The ringing request must be sent when a new incoming call is received by the client and the user notified by visual or audio feedback.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl -X \"POST\" \"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls/1b94f3561664ab3425318e3f69de3634/ringing\" \\\n          -d '{\n            \"inCallChannelId\": \"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"\n          }' \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        required: false\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Request confirming an incoming call is ringing, meaning that the user was notified visually or auditorily.\n              properties:\n                inCallChannelId:\n                  type: string\n                  description: Channel Id used to receive in call events.\n                  example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                incomingNotificationTimestamp:\n                  type: string\n                  description: Timestamp (ISO 8601) for the incoming call notification (used for measuring the time between a ringing event and an incoming call notification)\n                  format: date-time\n                  example: '2021-09-20T17:32:28Z'\n      operationId: ringSessionCall\n      tags:\n        - Session Calls\n      responses:\n        '204':\n          description: The incoming call is received and ringing will be played to the caller.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      callbacks:\n        CallUpdate:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: CallUpdate (CallerID change)\n              description: Notification received on a call update. The `type` will be `\"update\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call update. The `type` will be `\"update\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: update\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:09:08Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          name: Alice Caller\n                          number: '+15555555678'\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    name:\n                                      type: string\n                                      example: Alice Caller\n                                      description: Caller name\n                                    number:\n                                      type: string\n                                      example: '+15555555678'\n                                      description: Caller number\n              responses:\n                '204':\n                  description: Succesfully.\n        Ended:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: Ended\n              description: Notification received on a call ended. The `type` will be `\"ended\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call ended. The `type` will be `\"ended\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: ended\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:26:56Z'\n                        ttl: 3600\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          reasonCode: HANGUP\n                          reason: TextReason\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    reasonCode:\n                                      type: string\n                                      example: HANGUP\n                                      description: Reason code\n                                    reason:\n                                      type: string\n                                      example: TextReason\n                                      description: Reason\n              responses:\n                '204':\n                  description: Succesfully.\n        NoMedia:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: NoMedia\n              description: Notification received on a no media event. The `type` will be `\"noMedia\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a no media event. The `type` will be `\"noMedia\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: noMedia\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:28:19Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          idleDurationSeconds: 15\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    idleDurationSeconds:\n                                      type: integer\n                                      example: 15\n                                      description: Number of seconds idle\n              responses:\n                '204':\n                  description: Succesfully.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/ringing',\n              data: {\n                inCallChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg',\n                incomingNotificationTimestamp: '2021-09-20T17:32:28Z'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/ringing \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"inCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"incomingNotificationTimestamp\":\"2021-09-20T17:32:28Z\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"inCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"incomingNotificationTimestamp\\\":\\\"2021-09-20T17:32:28Z\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/ringing\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"inCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"incomingNotificationTimestamp\":\"2021-09-20T17:32:28Z\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/ringing');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/ringing\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"inCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"incomingNotificationTimestamp\\\":\\\"2021-09-20T17:32:28Z\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls/{callId}/reject:\n    post:\n      summary: Reject a call\n      deprecated: true\n      description: |\n        Decline an incoming call.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: |\n                Provides the action when rejecting the call. `SEND_TO_VOICEMAIL` will attempt to send the call directly to voicemail if possible. `DECLINE` will reject the call normally. `FORWARD` will forward the call to another number or extension. Forwarding to an emergency number is not allowed.\n              properties:\n                action:\n                  type: string\n                  enum:\n                    - SEND_TO_VOICEMAIL\n                    - DECLINE\n                    - FORWARD\n                destination:\n                  type: object\n                  description: When forwarding, contains the number or extension to which the caller is being forwarded.\n                  properties:\n                    extensionNumber:\n                      type: string\n                    number:\n                      type: string\n        description: |\n          Provides information to indicate how the call should be rejected. If missing, the call will be rejected using the `DECLINE` action by default.\n      operationId: rejectSessionCall\n      tags:\n        - Session Calls\n      responses:\n        '204':\n          description: The call is rejected and the caller will be notified. The status of the call state is ended.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/reject',\n              data: {\n                action: 'SEND_TO_VOICEMAIL',\n                destination: {extensionNumber: 'string', number: 'string'}\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/reject \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"action\":\"SEND_TO_VOICEMAIL\",\"destination\":{\"extensionNumber\":\"string\",\"number\":\"string\"}}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"action\\\":\\\"SEND_TO_VOICEMAIL\\\",\\\"destination\\\":{\\\"extensionNumber\\\":\\\"string\\\",\\\"number\\\":\\\"string\\\"}}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/reject\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"action\":\"SEND_TO_VOICEMAIL\",\"destination\":{\"extensionNumber\":\"string\",\"number\":\"string\"}}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/reject');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/reject\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"action\\\":\\\"SEND_TO_VOICEMAIL\\\",\\\"destination\\\":{\\\"extensionNumber\\\":\\\"string\\\",\\\"number\\\":\\\"string\\\"}}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls/{callId}/mute:\n    post:\n      summary: Mutes a call\n      deprecated: true\n      description: |\n        Mutes the local input audio stream of the call. If the call is already muted, a 204 will be returned.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      operationId: muteSessionCall\n      tags:\n        - Session Calls\n      responses:\n        '204':\n          description: The local audio stream is muted. The isMuted property of the call state is true.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/mute',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/mute \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/mute\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/mute');\n            $request->setRequestMethod('POST');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/mute\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls/{callId}/unmute:\n    post:\n      summary: Unmute a call\n      description: |\n        Unmutes the local input audio stream of the call. If the call is already unmuted, a 204 will be returned.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl -X \"POST\" \"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls/1b94f3561664ab3425318e3f69de3634/unmute\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      operationId: unmuteSessionCall\n      deprecated: true\n      tags:\n        - Session Calls\n      responses:\n        '204':\n          description: The local audio stream is unmuted. The isMuted property of the call state is false.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/unmute',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/unmute \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/unmute\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/unmute');\n            $request->setRequestMethod('POST');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/unmute\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls/{callId}/hold:\n    post:\n      summary: Places a call on hold\n      deprecated: true\n      description: |\n        Places the call on hold. The remote side will be hearing wait music. If the call is already on hold, a 204 will be returned.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      operationId: holdSessionCall\n      tags:\n        - Session Calls\n      responses:\n        '204':\n          description: The call is placed on hold. The isOnHold property of the call state is true.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/hold',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/hold \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/hold\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/hold');\n            $request->setRequestMethod('POST');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/hold\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls/{callId}/unhold:\n    post:\n      summary: Unhold a call\n      deprecated: true\n      description: |\n        The call media resumes normally and the remote side is no longer in the waiting room. If the call is already resumed, a 204 will be returned.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      operationId: unholdSessionCall\n      tags:\n        - Session Calls\n      responses:\n        '204':\n          description: The call is no longer on hold. The isOnHold property of the call state is false.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/unhold',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/unhold \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/unhold\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/unhold');\n            $request->setRequestMethod('POST');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/unhold\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls/{callId}/offer:\n    put:\n      summary: Modify a call\n      deprecated: true\n      description: |\n        When a network change occurs during a call, or call media changes, this will re-establish the RTP stream and signalling connection. An SDP is sent in the request body, and an updated SDP is received in response from the server.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Request for a call to be answered or reoffer to be initiated. - sdp\n              required:\n                - sdp\n              properties:\n                sdp:\n                  type: string\n                  format: JSEP_SDP\n                  description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                  example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n        required: true\n      operationId: sessionCallOffer\n      tags:\n        - Session Calls\n      responses:\n        '200':\n          description: Successfully sent a new offer. The call has updated its media or connection attributes. The updated SDP is returned in the call.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Description of the state of an ongoing call when the client has a valid session.\n                required:\n                  - id\n                  - number\n                  - name\n                  - isMuted\n                  - isOnHold\n                  - hasMedia\n                  - isRinging\n                  - status\n                  - timestamp\n                properties:\n                  id:\n                    type: string\n                    description: Call ID issued when the call was created or invite received.\n                    example: someUniqueCallID\n                  number:\n                    type: string\n                    description: Dial string of the recipient. Can be an extension or a phone number.\n                    example: '18667685429'\n                  name:\n                    type: string\n                    description: Display name of the caller or callee if available.\n                    example: Awesome Dev\n                  isMuted:\n                    type: boolean\n                    description: Mute state for the call.\n                    example: false\n                  isOnHold:\n                    type: boolean\n                    description: Hold state for the call.\n                    example: false\n                  mergeId:\n                    type: string\n                    description: Merge ID for the call. If absent, the call is not merged with another call. Two or more calls will have the same merge ID.\n                    example: someUniqueMergeId\n                  hasMedia:\n                    type: boolean\n                    description: Media flowing state for the call.\n                    example: true\n                  ringingInMedia:\n                    type: boolean\n                    description: Ringing in the media stream. The client should not use a local sound for ringing.\n                    example: true\n                  sdp:\n                    type: string\n                    format: JSEP_SDP\n                    description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                    example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                  answerAfter:\n                    type: integer\n                    format: int32\n                    description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                    example: 20000\n                  status:\n                    type: string\n                    description: Current status of the call.\n                    enum:\n                      - INCOMING\n                      - RINGING\n                      - CANCELLED\n                      - REJECTED\n                      - CONNECTING\n                      - CONNECTED\n                      - EARLY_MEDIA\n                      - DISCONNECTED\n                      - TRANSFERRED\n                      - ENDED\n                    example: CONNECTED\n                  statusMessage:\n                    type: string\n                    description: Additional information regarding the current status of the call.\n                    example: Call answered elsewhere.\n                  timestamp:\n                    type: string\n                    format: date-time\n                    description: Timestamp the call was created.\n                    example: 2018-04-17T17:48:41.656Z\n                  inCallChannelId:\n                    type: string\n                    description: Channel Id used to receive in call events.\n                    example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                  impersonateeUserKey:\n                    type: string\n                    description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                    example: '12345678901234567890'\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PUT',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/offer',\n              data: {\n                sdp: 'v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PUT \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/offer \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"sdp\":\"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"sdp\\\":\\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"PUT\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/offer\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"sdp\":\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/offer');\n            $request->setRequestMethod('PUT');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/offer\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Put.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"sdp\\\":\\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls/{callId}/dtmf:\n    post:\n      summary: The DTMF tone is sent\n      deprecated: true\n      description: |\n        The DTMF is sent out to the remote side. You must wait for a response before sending another DTMF to guarantee the order in which the DTMF signals are sent.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: DTMF tone sent. A sequence of tones can also be sent as a single string. The response should be received before the client sends another request as sequence is important.\n              required:\n                - tone\n              properties:\n                tone:\n                  type: string\n                  pattern: ^[0-9,#,*]+$\n              example:\n                tone: 1#\n        required: true\n      operationId: sessionCallDtmf\n      tags:\n        - Session Calls\n      responses:\n        '204':\n          description: Successfully sends a DTMF tone on the call for the remote side.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/dtmf',\n              data: {tone: '1#'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/dtmf \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"tone\":\"1#\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"tone\\\":\\\"1#\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/dtmf\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"tone\":\"1#\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/dtmf');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/dtmf\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"tone\\\":\\\"1#\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls/{callId}/merge:\n    post:\n      summary: Merge two ongoing calls\n      deprecated: true\n      description: |\n        A call will be merged with the selected second call.  From that point, the audio from the second call will be combined with the first call and sent along the first call RTP to the client.  Client audio from the first call will be sent to both destinations. If the referId is not found, a 400 bad request will be returned.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl -X \"POST\" \"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls/1b94f3561664ab3425318e3f69de3634/merge\" \\ -d '{\n            \"referId\": \"4f33a3561664ab3425318e3f69jw9678\"\n          }' \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Call ID referred for the transfer of merge request.\n              required:\n                - referId\n              properties:\n                referId:\n                  type: string\n                  description: Call ID issued when the call was created or invite received.\n                  example: someUniqueCallID\n              example:\n                referId: secondCallId\n        required: true\n      operationId: mergeSessionCalls\n      tags:\n        - Session Calls\n      responses:\n        '200':\n          description: Successfully merge two calls.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: The unique Call ID that will appear in the call state of the calls that were merged. The call ID should be the one that was used to merge the calls.\n                properties:\n                  id:\n                    type: string\n                    example: someUniqueCallId\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/merge',\n              data: {referId: 'secondCallId'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/merge \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"referId\":\"secondCallId\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"referId\\\":\\\"secondCallId\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/merge\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"referId\":\"secondCallId\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/merge');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/merge\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"referId\\\":\\\"secondCallId\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls/{callId}/split:\n    post:\n      summary: Split a merged call\n      deprecated: true\n      description: |\n        The merged call will be split back into 2 calls.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n        ### Example Interaction with curl\n        ```\n        curl -X \"POST\" \"https://webrtc.jive.com/web-calls/v1/sessions/0iO2GMahypu5trGOzcfGlGQZLKpUWC2lxvgSLCd/calls/1b94f3561664ab3425318e3f69de3634/split\" \\\n          -H 'Authorization: Bearer {token}'\n        ```\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      operationId: splitSessionCall\n      tags:\n        - Session Calls\n      responses:\n        '204':\n          description: Successfully split the merge call.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/split',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/split \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/split\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/split');\n            $request->setRequestMethod('POST');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/split\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls/{callId}/warm-transfer:\n    post:\n      summary: Warm transfer two calls\n      deprecated: true\n      description: |\n        A warm transfer is to connect two ongoing call together. After the transfer, the current user is no longer in any of the two calls and both remote peer from each calls are now connected together. If the referId is not found, a 400 bad request will be returned.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Call ID referred for the transfer of merge request.\n              required:\n                - referId\n              properties:\n                referId:\n                  type: string\n                  description: Call ID issued when the call was created or invite received.\n                  example: someUniqueCallID\n              example:\n                referId: secondCallId\n        required: true\n      operationId: warmTransferSessionCall\n      tags:\n        - Session Calls\n      responses:\n        '204':\n          description: Successfully warm transferred the calls provided. The status of the calls is ended and the calls must be considered terminated by the client and associated resources may be released.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/warm-transfer',\n              data: {referId: 'secondCallId'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/warm-transfer \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"referId\":\"secondCallId\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"referId\\\":\\\"secondCallId\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/warm-transfer\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"referId\":\"secondCallId\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/warm-transfer');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/warm-transfer\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"referId\\\":\\\"secondCallId\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/sessions/{sessionId}/calls/{callId}/blind-transfer:\n    post:\n      summary: Blind transfer a session call\n      deprecated: true\n      description: |\n        The call is [transferred blindly](https://support.goto.com/connect/help/how-do-i-transfer-a-call) to the provided dial string.\n        ### Authentication Scopes\n        `webrtc.v1.write` must be used when a token is requested from the Authentication API.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: sessionId\n          in: path\n          required: true\n          description: Session ID issued when the device session was created.\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Dial string of the recipient the call should be transferred to.\n              required:\n                - dialString\n              properties:\n                dialString:\n                  type: string\n              example:\n                dialString: '123456789'\n        required: true\n      operationId: blindTransferSessionCall\n      tags:\n        - Session Calls\n      responses:\n        '204':\n          description: Successfully blind transferred the call to the provided dial string. The call is ended and media will stop.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n\n            * `UNAUTHORIZED` - The principal represented by the supplied token is not authorized to\n              perform the specified action on the targeted resource and has the ability to read (GET)\n              the targeted resource.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existence\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/blind-transfer',\n              data: {dialString: '123456789'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/blind-transfer \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"dialString\":\"123456789\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"dialString\\\":\\\"123456789\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/blind-transfer\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"dialString\":\"123456789\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/blind-transfer');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/sessions/%7BsessionId%7D/calls/%7BcallId%7D/blind-transfer\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"dialString\\\":\\\"123456789\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls:\n    post:\n      summary: Create a new call\n      description: |\n        Creates a new outgoing call towards the recipient provided using the\n        local SDP offer.\n\n        An HTTP 409 Conflict response will be returned if the call could not be created due to a\n        misconfigured extension. Re-creating the extensions with the \n        POST \"/devices/{deviceId}/extensions\" endpoint should make sure that the extension is\n        correctly configured.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              allOf:\n                - type: object\n                  description: Request for a call to be created or reoffer to be initiated.\n                  required:\n                    - dialString\n                    - sdp\n                  properties:\n                    dialString:\n                      type: string\n                      description: Dial string of the callee. It needs to be a valid tel URI.\n                      example: '18667685429'\n                    sdp:\n                      type: string\n                      format: JSEP_SDP\n                      description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                      example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                    deviceId:\n                      type: string\n                      description: This string must represents the unique device ID of the client making the request. For a mobile application, it should be the phone hardware ID.\n                      example: '1234567809012343455'\n                    organizationId:\n                      type: string\n                      description: Unique ID for the organization.\n                      example: dddfbe74-540a-4aa8-9551-ae6202e635df\n                    extensionNumber:\n                      type: string\n                      description: Extension number for the line to register.\n                      example: '1234'\n                    inCallChannelId:\n                      type: string\n                      description: Channel Id used to receive in call events.\n                      example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                    impersonateeUserKey:\n                      type: string\n                      description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                      example: '12345678901234567890'\n              required:\n                - deviceId\n                - organizationId\n                - extensionNumber\n        required: true\n      operationId: CreateCall\n      tags:\n        - Calls\n      responses:\n        '201':\n          description: Successfully create a new call.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Description of the state of an ongoing call when the client has a valid session.\n                required:\n                  - id\n                  - number\n                  - name\n                  - isMuted\n                  - isOnHold\n                  - hasMedia\n                  - isRinging\n                  - status\n                  - timestamp\n                properties:\n                  id:\n                    type: string\n                    description: Call ID issued when the call was created or invite received.\n                    example: someUniqueCallID\n                  number:\n                    type: string\n                    description: Dial string of the recipient. Can be an extension or a phone number.\n                    example: '18667685429'\n                  name:\n                    type: string\n                    description: Display name of the caller or callee if available.\n                    example: Awesome Dev\n                  isMuted:\n                    type: boolean\n                    description: Mute state for the call.\n                    example: false\n                  isOnHold:\n                    type: boolean\n                    description: Hold state for the call.\n                    example: false\n                  mergeId:\n                    type: string\n                    description: Merge ID for the call. If absent, the call is not merged with another call. Two or more calls will have the same merge ID.\n                    example: someUniqueMergeId\n                  hasMedia:\n                    type: boolean\n                    description: Media flowing state for the call.\n                    example: true\n                  ringingInMedia:\n                    type: boolean\n                    description: Ringing in the media stream. The client should not use a local sound for ringing.\n                    example: true\n                  sdp:\n                    type: string\n                    format: JSEP_SDP\n                    description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                    example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                  answerAfter:\n                    type: integer\n                    format: int32\n                    description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                    example: 20000\n                  status:\n                    type: string\n                    description: Current status of the call.\n                    enum:\n                      - INCOMING\n                      - RINGING\n                      - CANCELLED\n                      - REJECTED\n                      - CONNECTING\n                      - CONNECTED\n                      - EARLY_MEDIA\n                      - DISCONNECTED\n                      - TRANSFERRED\n                      - ENDED\n                    example: CONNECTED\n                  statusMessage:\n                    type: string\n                    description: Additional information regarding the current status of the call.\n                    example: Call answered elsewhere.\n                  timestamp:\n                    type: string\n                    format: date-time\n                    description: Timestamp the call was created.\n                    example: 2018-04-17T17:48:41.656Z\n                  inCallChannelId:\n                    type: string\n                    description: Channel Id used to receive in call events.\n                    example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                  impersonateeUserKey:\n                    type: string\n                    description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                    example: '12345678901234567890'\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      callbacks:\n        Ringing:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: Ringing\n              description: Notification received on a call ringing. The `type` will be `\"ringing\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call ringing. The `type` will be `\"ringing\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: ringing\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:08:50Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          inMedia: true\n                          isHoldAllowedInEarlyMedia: true\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    inMedia:\n                                      description: Whether the (early) media is established, and therefore, a ringing tone or other media can be heard. If this is false, the application would need to notify the user explicitly.\n                                      type: boolean\n                                      example: true\n                                    isHoldAllowedInEarlyMedia:\n                                      description: Whether it is allowed to put the call on hold (and resume) in a early media state\n                                      type: boolean\n                                      example: true\n              responses:\n                '204':\n                  description: Succesfully.\n        Answered:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: Answered\n              description: Notification received on a call answered. The `type` will be `\"answered\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call answered. The `type` will be `\"answered\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: answered\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:29:54Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              allOf:\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    sessionId:\n                                      type: string\n                                      example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                      description: Identifier for the session\n                                    organizationId:\n                                      type: string\n                                      example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                      description: Organization Id\n                                    extensionNumber:\n                                      type: string\n                                      example: '1234'\n                                      description: Extension Number\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    callId:\n                                      type: string\n                                      example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                      description: Call Id\n              responses:\n                '204':\n                  description: Succesfully.\n        CallUpdate:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: CallUpdate (CallerID change)\n              description: Notification received on a call update. The `type` will be `\"update\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call update. The `type` will be `\"update\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: update\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:09:08Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          name: Alice Caller\n                          number: '+15555555678'\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    name:\n                                      type: string\n                                      example: Alice Caller\n                                      description: Caller name\n                                    number:\n                                      type: string\n                                      example: '+15555555678'\n                                      description: Caller number\n              responses:\n                '204':\n                  description: Succesfully.\n        Ended:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: Ended\n              description: Notification received on a call ended. The `type` will be `\"ended\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call ended. The `type` will be `\"ended\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: ended\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:26:56Z'\n                        ttl: 3600\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          reasonCode: HANGUP\n                          reason: TextReason\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    reasonCode:\n                                      type: string\n                                      example: HANGUP\n                                      description: Reason code\n                                    reason:\n                                      type: string\n                                      example: TextReason\n                                      description: Reason\n              responses:\n                '204':\n                  description: Succesfully.\n        NoMedia:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: NoMedia\n              description: Notification received on a no media event. The `type` will be `\"noMedia\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a no media event. The `type` will be `\"noMedia\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: noMedia\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:28:19Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          idleDurationSeconds: 15\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    idleDurationSeconds:\n                                      type: integer\n                                      example: 15\n                                      description: Number of seconds idle\n              responses:\n                '204':\n                  description: Succesfully.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls',\n              data: {\n                dialString: '18667685429',\n                sdp: 'v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n',\n                deviceId: '1234567809012343455',\n                organizationId: 'dddfbe74-540a-4aa8-9551-ae6202e635df',\n                extensionNumber: '1234',\n                inCallChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg',\n                impersonateeUserKey: '12345678901234567890'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/calls \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"dialString\":\"18667685429\",\"sdp\":\"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\",\"deviceId\":\"1234567809012343455\",\"organizationId\":\"dddfbe74-540a-4aa8-9551-ae6202e635df\",\"extensionNumber\":\"1234\",\"inCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"impersonateeUserKey\":\"12345678901234567890\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"dialString\\\":\\\"18667685429\\\",\\\"sdp\\\":\\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\\"deviceId\\\":\\\"1234567809012343455\\\",\\\"organizationId\\\":\\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\\"extensionNumber\\\":\\\"1234\\\",\\\"inCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"impersonateeUserKey\\\":\\\"12345678901234567890\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/calls\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"dialString\":\"18667685429\",\"sdp\":\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\",\"deviceId\":\"1234567809012343455\",\"organizationId\":\"dddfbe74-540a-4aa8-9551-ae6202e635df\",\"extensionNumber\":\"1234\",\"inCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"impersonateeUserKey\":\"12345678901234567890\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"dialString\\\":\\\"18667685429\\\",\\\"sdp\\\":\\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\\"deviceId\\\":\\\"1234567809012343455\\\",\\\"organizationId\\\":\\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\\"extensionNumber\\\":\\\"1234\\\",\\\"inCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"impersonateeUserKey\\\":\\\"12345678901234567890\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls/{callId}:\n    parameters:\n      - name: Authorization\n        in: header\n        description: OAuth Token\n        required: true\n        schema:\n          type: string\n      - name: callId\n        in: path\n        required: true\n        description: Call ID issued when the call was created or invite received.\n        schema:\n          type: string\n    get:\n      summary: Retrieves specific call information\n      description: |\n        Retrieves the current information and state of the call.\n      operationId: RetrieveCall\n      tags:\n        - Calls\n      responses:\n        '200':\n          description: Successfully fetch a call.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Description of the state of an ongoing call when the client has a valid session.\n                required:\n                  - id\n                  - number\n                  - name\n                  - isMuted\n                  - isOnHold\n                  - hasMedia\n                  - isRinging\n                  - status\n                  - timestamp\n                properties:\n                  id:\n                    type: string\n                    description: Call ID issued when the call was created or invite received.\n                    example: someUniqueCallID\n                  number:\n                    type: string\n                    description: Dial string of the recipient. Can be an extension or a phone number.\n                    example: '18667685429'\n                  name:\n                    type: string\n                    description: Display name of the caller or callee if available.\n                    example: Awesome Dev\n                  isMuted:\n                    type: boolean\n                    description: Mute state for the call.\n                    example: false\n                  isOnHold:\n                    type: boolean\n                    description: Hold state for the call.\n                    example: false\n                  mergeId:\n                    type: string\n                    description: Merge ID for the call. If absent, the call is not merged with another call. Two or more calls will have the same merge ID.\n                    example: someUniqueMergeId\n                  hasMedia:\n                    type: boolean\n                    description: Media flowing state for the call.\n                    example: true\n                  ringingInMedia:\n                    type: boolean\n                    description: Ringing in the media stream. The client should not use a local sound for ringing.\n                    example: true\n                  sdp:\n                    type: string\n                    format: JSEP_SDP\n                    description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                    example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                  answerAfter:\n                    type: integer\n                    format: int32\n                    description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                    example: 20000\n                  status:\n                    type: string\n                    description: Current status of the call.\n                    enum:\n                      - INCOMING\n                      - RINGING\n                      - CANCELLED\n                      - REJECTED\n                      - CONNECTING\n                      - CONNECTED\n                      - EARLY_MEDIA\n                      - DISCONNECTED\n                      - TRANSFERRED\n                      - ENDED\n                    example: CONNECTED\n                  statusMessage:\n                    type: string\n                    description: Additional information regarding the current status of the call.\n                    example: Call answered elsewhere.\n                  timestamp:\n                    type: string\n                    format: date-time\n                    description: Timestamp the call was created.\n                    example: 2018-04-17T17:48:41.656Z\n                  inCallChannelId:\n                    type: string\n                    description: Channel Id used to receive in call events.\n                    example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                  impersonateeUserKey:\n                    type: string\n                    description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                    example: '12345678901234567890'\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {method: 'GET', url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D'};\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            conn.request(\"GET\", \"/web-calls/v1/calls/%7BcallId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      summary: Call hangup\n      description: |\n        The call is ended and the media will be terminated. A reason may be provided to\n        indicate why the call is being hung up.\n      parameters:\n        - name: reason\n          in: query\n          description: |\n            Reason for the hangup action on a call. <br />\n            UNKNOWN - Default value. The reason for the call being hung up is not specified. <br /> USER_ACTION - The user hung up the call. <br /> IDLE_MEDIA - The call is hung up because there is no media received or sent. <br /> DISCONNECTED - The network was disconnected causing the call to be hung up.\n          required: false\n          schema:\n            type: string\n            default: UNKNOWN\n            enum:\n              - UNKNOWN\n              - USER_ACTION\n              - IDLE_MEDIA\n              - DISCONNECTED\n            example: USER_ACTION\n      operationId: endCall\n      tags:\n        - Calls\n      responses:\n        '204':\n          description: The call is terminated and the media is stopped. The status of the call state is ended.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D',\n              params: {reason: 'USER_ACTION'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D?reason=USER_ACTION'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            conn.request(\"DELETE\", \"/web-calls/v1/calls/%7BcallId%7D?reason=USER_ACTION\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D');\n            $request->setRequestMethod('DELETE');\n            $request->setQuery(new http\\QueryString([\n              'reason' => 'USER_ACTION'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D?reason=USER_ACTION\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    put:\n      summary: Update the call information\n      description: |\n        Update the current information of the call.\n      operationId: updateCall\n      tags:\n        - Calls\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Request for a call information to be updated\n              required:\n                - inCallChannelId\n              properties:\n                inCallChannelId:\n                  type: string\n                  description: Channel Id used to receive in call events.\n                  example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n      responses:\n        '200':\n          description: Successfully update the call.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Description of the state of an ongoing call when the client has a valid session.\n                required:\n                  - id\n                  - number\n                  - name\n                  - isMuted\n                  - isOnHold\n                  - hasMedia\n                  - isRinging\n                  - status\n                  - timestamp\n                properties:\n                  id:\n                    type: string\n                    description: Call ID issued when the call was created or invite received.\n                    example: someUniqueCallID\n                  number:\n                    type: string\n                    description: Dial string of the recipient. Can be an extension or a phone number.\n                    example: '18667685429'\n                  name:\n                    type: string\n                    description: Display name of the caller or callee if available.\n                    example: Awesome Dev\n                  isMuted:\n                    type: boolean\n                    description: Mute state for the call.\n                    example: false\n                  isOnHold:\n                    type: boolean\n                    description: Hold state for the call.\n                    example: false\n                  mergeId:\n                    type: string\n                    description: Merge ID for the call. If absent, the call is not merged with another call. Two or more calls will have the same merge ID.\n                    example: someUniqueMergeId\n                  hasMedia:\n                    type: boolean\n                    description: Media flowing state for the call.\n                    example: true\n                  ringingInMedia:\n                    type: boolean\n                    description: Ringing in the media stream. The client should not use a local sound for ringing.\n                    example: true\n                  sdp:\n                    type: string\n                    format: JSEP_SDP\n                    description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                    example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                  answerAfter:\n                    type: integer\n                    format: int32\n                    description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                    example: 20000\n                  status:\n                    type: string\n                    description: Current status of the call.\n                    enum:\n                      - INCOMING\n                      - RINGING\n                      - CANCELLED\n                      - REJECTED\n                      - CONNECTING\n                      - CONNECTED\n                      - EARLY_MEDIA\n                      - DISCONNECTED\n                      - TRANSFERRED\n                      - ENDED\n                    example: CONNECTED\n                  statusMessage:\n                    type: string\n                    description: Additional information regarding the current status of the call.\n                    example: Call answered elsewhere.\n                  timestamp:\n                    type: string\n                    format: date-time\n                    description: Timestamp the call was created.\n                    example: 2018-04-17T17:48:41.656Z\n                  inCallChannelId:\n                    type: string\n                    description: Channel Id used to receive in call events.\n                    example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                  impersonateeUserKey:\n                    type: string\n                    description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                    example: '12345678901234567890'\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      callbacks:\n        Ringing:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: Ringing\n              description: Notification received on a call ringing. The `type` will be `\"ringing\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call ringing. The `type` will be `\"ringing\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: ringing\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:08:50Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          inMedia: true\n                          isHoldAllowedInEarlyMedia: true\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    inMedia:\n                                      description: Whether the (early) media is established, and therefore, a ringing tone or other media can be heard. If this is false, the application would need to notify the user explicitly.\n                                      type: boolean\n                                      example: true\n                                    isHoldAllowedInEarlyMedia:\n                                      description: Whether it is allowed to put the call on hold (and resume) in a early media state\n                                      type: boolean\n                                      example: true\n              responses:\n                '204':\n                  description: Succesfully.\n        Answered:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: Answered\n              description: Notification received on a call answered. The `type` will be `\"answered\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call answered. The `type` will be `\"answered\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: answered\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:29:54Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              allOf:\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    sessionId:\n                                      type: string\n                                      example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                      description: Identifier for the session\n                                    organizationId:\n                                      type: string\n                                      example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                      description: Organization Id\n                                    extensionNumber:\n                                      type: string\n                                      example: '1234'\n                                      description: Extension Number\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    callId:\n                                      type: string\n                                      example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                      description: Call Id\n              responses:\n                '204':\n                  description: Succesfully.\n        CallUpdate:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: CallUpdate (CallerID change)\n              description: Notification received on a call update. The `type` will be `\"update\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call update. The `type` will be `\"update\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: update\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:09:08Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          name: Alice Caller\n                          number: '+15555555678'\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    name:\n                                      type: string\n                                      example: Alice Caller\n                                      description: Caller name\n                                    number:\n                                      type: string\n                                      example: '+15555555678'\n                                      description: Caller number\n              responses:\n                '204':\n                  description: Succesfully.\n        Ended:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: Ended\n              description: Notification received on a call ended. The `type` will be `\"ended\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call ended. The `type` will be `\"ended\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: ended\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:26:56Z'\n                        ttl: 3600\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          reasonCode: HANGUP\n                          reason: TextReason\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    reasonCode:\n                                      type: string\n                                      example: HANGUP\n                                      description: Reason code\n                                    reason:\n                                      type: string\n                                      example: TextReason\n                                      description: Reason\n              responses:\n                '204':\n                  description: Succesfully.\n        NoMedia:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: NoMedia\n              description: Notification received on a no media event. The `type` will be `\"noMedia\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a no media event. The `type` will be `\"noMedia\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: noMedia\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:28:19Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          idleDurationSeconds: 15\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    idleDurationSeconds:\n                                      type: integer\n                                      example: 15\n                                      description: Number of seconds idle\n              responses:\n                '204':\n                  description: Succesfully.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PUT',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D',\n              data: {\n                inCallChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PUT \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D \\\n              --header 'content-type: application/json' \\\n              --data '{\"inCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"inCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PUT\", \"/web-calls/v1/calls/%7BcallId%7D\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"inCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D');\n            $request->setRequestMethod('PUT');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Put.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"inCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls/{callId}/answer:\n    post:\n      summary: Answer a call\n      description: |\n        The incoming call is answered and media will be established.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Request for a call to be answered or reoffer to be initiated. - sdp\n              required:\n                - sdp\n                - inCallChannelId\n              properties:\n                sdp:\n                  type: string\n                  format: JSEP_SDP\n                  description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                  example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                inCallChannelId:\n                  type: string\n                  description: Channel Id used to receive in call events.\n                  example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n      operationId: answerCall\n      tags:\n        - Calls\n      responses:\n        '200':\n          description: The call is answered and the media will start. The status of the call state is connected.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Description of the state of an ongoing call when the client has a valid session.\n                required:\n                  - id\n                  - number\n                  - name\n                  - isMuted\n                  - isOnHold\n                  - hasMedia\n                  - isRinging\n                  - status\n                  - timestamp\n                properties:\n                  id:\n                    type: string\n                    description: Call ID issued when the call was created or invite received.\n                    example: someUniqueCallID\n                  number:\n                    type: string\n                    description: Dial string of the recipient. Can be an extension or a phone number.\n                    example: '18667685429'\n                  name:\n                    type: string\n                    description: Display name of the caller or callee if available.\n                    example: Awesome Dev\n                  isMuted:\n                    type: boolean\n                    description: Mute state for the call.\n                    example: false\n                  isOnHold:\n                    type: boolean\n                    description: Hold state for the call.\n                    example: false\n                  mergeId:\n                    type: string\n                    description: Merge ID for the call. If absent, the call is not merged with another call. Two or more calls will have the same merge ID.\n                    example: someUniqueMergeId\n                  hasMedia:\n                    type: boolean\n                    description: Media flowing state for the call.\n                    example: true\n                  ringingInMedia:\n                    type: boolean\n                    description: Ringing in the media stream. The client should not use a local sound for ringing.\n                    example: true\n                  sdp:\n                    type: string\n                    format: JSEP_SDP\n                    description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                    example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                  answerAfter:\n                    type: integer\n                    format: int32\n                    description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                    example: 20000\n                  status:\n                    type: string\n                    description: Current status of the call.\n                    enum:\n                      - INCOMING\n                      - RINGING\n                      - CANCELLED\n                      - REJECTED\n                      - CONNECTING\n                      - CONNECTED\n                      - EARLY_MEDIA\n                      - DISCONNECTED\n                      - TRANSFERRED\n                      - ENDED\n                    example: CONNECTED\n                  statusMessage:\n                    type: string\n                    description: Additional information regarding the current status of the call.\n                    example: Call answered elsewhere.\n                  timestamp:\n                    type: string\n                    format: date-time\n                    description: Timestamp the call was created.\n                    example: 2018-04-17T17:48:41.656Z\n                  inCallChannelId:\n                    type: string\n                    description: Channel Id used to receive in call events.\n                    example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                  impersonateeUserKey:\n                    type: string\n                    description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                    example: '12345678901234567890'\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      callbacks:\n        CallUpdate:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: CallUpdate (CallerID change)\n              description: Notification received on a call update. The `type` will be `\"update\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call update. The `type` will be `\"update\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: update\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:09:08Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          name: Alice Caller\n                          number: '+15555555678'\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    name:\n                                      type: string\n                                      example: Alice Caller\n                                      description: Caller name\n                                    number:\n                                      type: string\n                                      example: '+15555555678'\n                                      description: Caller number\n              responses:\n                '204':\n                  description: Succesfully.\n        Ended:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: Ended\n              description: Notification received on a call ended. The `type` will be `\"ended\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call ended. The `type` will be `\"ended\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: ended\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:26:56Z'\n                        ttl: 3600\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          reasonCode: HANGUP\n                          reason: TextReason\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    reasonCode:\n                                      type: string\n                                      example: HANGUP\n                                      description: Reason code\n                                    reason:\n                                      type: string\n                                      example: TextReason\n                                      description: Reason\n              responses:\n                '204':\n                  description: Succesfully.\n        NoMedia:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: NoMedia\n              description: Notification received on a no media event. The `type` will be `\"noMedia\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a no media event. The `type` will be `\"noMedia\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: noMedia\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:28:19Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          idleDurationSeconds: 15\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    idleDurationSeconds:\n                                      type: integer\n                                      example: 15\n                                      description: Number of seconds idle\n              responses:\n                '204':\n                  description: Succesfully.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/answer',\n              data: {\n                sdp: 'v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n',\n                inCallChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/answer \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"sdp\":\"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\",\"inCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"sdp\\\":\\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\\"inCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/calls/%7BcallId%7D/answer\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"sdp\":\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\",\"inCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/answer');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/answer\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"sdp\\\":\\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\",\\\"inCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls/{callId}/ringing:\n    post:\n      summary: Send ringing signal\n      description: |\n        The ringing request must be sent when a new incoming call is received by\n        the client and the user notified by visual or audio feedback.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        required: false\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Request confirming an incoming call is ringing, meaning that the user was notified visually or auditorily.\n              properties:\n                inCallChannelId:\n                  type: string\n                  description: Channel Id used to receive in call events.\n                  example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                incomingNotificationTimestamp:\n                  type: string\n                  description: Timestamp (ISO 8601) for the incoming call notification (used for measuring the time between a ringing event and an incoming call notification)\n                  format: date-time\n                  example: '2021-09-20T17:32:28Z'\n      operationId: ringCall\n      tags:\n        - Calls\n      responses:\n        '204':\n          description: The incoming call is received and ringing will be played to the caller.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      callbacks:\n        CallUpdate:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: CallUpdate (CallerID change)\n              description: Notification received on a call update. The `type` will be `\"update\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call update. The `type` will be `\"update\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: update\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:09:08Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          name: Alice Caller\n                          number: '+15555555678'\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    name:\n                                      type: string\n                                      example: Alice Caller\n                                      description: Caller name\n                                    number:\n                                      type: string\n                                      example: '+15555555678'\n                                      description: Caller number\n              responses:\n                '204':\n                  description: Succesfully.\n        Ended:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: Ended\n              description: Notification received on a call ended. The `type` will be `\"ended\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a call ended. The `type` will be `\"ended\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: ended\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:26:56Z'\n                        ttl: 3600\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          reasonCode: HANGUP\n                          reason: TextReason\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    reasonCode:\n                                      type: string\n                                      example: HANGUP\n                                      description: Reason code\n                                    reason:\n                                      type: string\n                                      example: TextReason\n                                      description: Reason\n              responses:\n                '204':\n                  description: Succesfully.\n        NoMedia:\n          '{request.body#/inCallChannelId}':\n            post:\n              summary: NoMedia\n              description: Notification received on a no media event. The `type` will be `\"noMedia\"` and the `usage` `\"BACKGROUND\"`.\n              requestBody:\n                content:\n                  application/json:\n                    schema:\n                      type: object\n                      description: Notification received on a no media event. The `type` will be `\"noMedia\"` and the `usage` `\"BACKGROUND\"`.\n                      example:\n                        source: WebRTC\n                        type: noMedia\n                        usage: BACKGROUND\n                        timestamp: '2022-08-18T19:28:19Z'\n                        ttl: 30\n                        content:\n                          sessionId: someUniqueSessionID\n                          organizationId: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                          extensionNumber: '1234'\n                          callId: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                          idleDurationSeconds: 15\n                      allOf:\n                        - type: object\n                          description: Basic WebRTC notification\n                          allOf:\n                            - description: |\n                                Base type for all notifications received over a notification channel. From the notification channel API.\n                              type: object\n                              required:\n                                - source\n                                - type\n                                - timestamp\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                type:\n                                  description: |\n                                    Type of the event. Used as a discriminator of the server application to determine the content.\n                                  type: string\n                                usage:\n                                  type: string\n                                  description: The usage type of this notification. The usage could be for `VOIP`, `ALERT` or `BACKGROUND` notifications.<br/> * The `VOIP` usage is used only to initiate a call. This would make the device ring and the user will be prompted to answer a call.<br/> * The `ALERT` is used when the notification needs to be displayed immediately to the user, such as an incoming message.<br/> * The `BACKGROUND` notifications are used to provide update events to the application.\n                                  enum:\n                                    - VOIP\n                                    - ALERT\n                                    - BACKGROUND\n                                  default: BACKGROUND\n                                timestamp:\n                                  description: The time of the event. Used to indicate when the event occur\n                                  type: string\n                                  format: date-time\n                                ttl:\n                                  description: Time to live in seconds for the notification\n                                  type: integer\n                                content:\n                                  description: |\n                                    Actual content of the notification that varies depending on the source and the type of the notification.\n                                  type: object\n                            - type: object\n                              properties:\n                                source:\n                                  description: |\n                                    Identifies the source application issuing the notification.\n                                  type: string\n                                  example: WebRTC\n                        - type: object\n                          properties:\n                            content:\n                              type: object\n                              allOf:\n                                - allOf:\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        sessionId:\n                                          type: string\n                                          example: 233310e6-71eb-4d8a-a925-9f30a6057a41\n                                          description: Identifier for the session\n                                        organizationId:\n                                          type: string\n                                          example: 75ead78c-85a0-11eb-8dcd-0242ac130003\n                                          description: Organization Id\n                                        extensionNumber:\n                                          type: string\n                                          example: '1234'\n                                          description: Extension Number\n                                    - type: object\n                                      description: Notification\n                                      properties:\n                                        callId:\n                                          type: string\n                                          example: 19d8f194-85a1-11eb-8dcd-0242ac130003\n                                          description: Call Id\n                                - type: object\n                                  description: Notification\n                                  properties:\n                                    idleDurationSeconds:\n                                      type: integer\n                                      example: 15\n                                      description: Number of seconds idle\n              responses:\n                '204':\n                  description: Succesfully.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/ringing',\n              data: {\n                inCallChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg',\n                incomingNotificationTimestamp: '2021-09-20T17:32:28Z'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/ringing \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"inCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"incomingNotificationTimestamp\":\"2021-09-20T17:32:28Z\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"inCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"incomingNotificationTimestamp\\\":\\\"2021-09-20T17:32:28Z\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/calls/%7BcallId%7D/ringing\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"inCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"incomingNotificationTimestamp\":\"2021-09-20T17:32:28Z\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/ringing');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/ringing\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"inCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"incomingNotificationTimestamp\\\":\\\"2021-09-20T17:32:28Z\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls/{callId}/reject:\n    post:\n      summary: Reject a call\n      description: |\n        Decline an incoming call.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: |\n                Provides the action when rejecting the call. `SEND_TO_VOICEMAIL` will attempt to send the call directly to voicemail if possible. `DECLINE` will reject the call normally. `FORWARD` will forward the call to another number or extension. Forwarding to an emergency number is not allowed.\n              properties:\n                action:\n                  type: string\n                  enum:\n                    - SEND_TO_VOICEMAIL\n                    - DECLINE\n                    - FORWARD\n                destination:\n                  type: object\n                  description: When forwarding, contains the number or extension to which the caller is being forwarded.\n                  properties:\n                    extensionNumber:\n                      type: string\n                    number:\n                      type: string\n        description: |\n          Provides information to indicate how the call should be rejected. If missing, the call will be rejected using the `DECLINE` action by default.\n      operationId: rejectCall\n      tags:\n        - Calls\n      responses:\n        '204':\n          description: The call is rejected and the caller will be notified. The status of the call state is ended.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/reject',\n              data: {\n                action: 'SEND_TO_VOICEMAIL',\n                destination: {extensionNumber: 'string', number: 'string'}\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/reject \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"action\":\"SEND_TO_VOICEMAIL\",\"destination\":{\"extensionNumber\":\"string\",\"number\":\"string\"}}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"action\\\":\\\"SEND_TO_VOICEMAIL\\\",\\\"destination\\\":{\\\"extensionNumber\\\":\\\"string\\\",\\\"number\\\":\\\"string\\\"}}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/calls/%7BcallId%7D/reject\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"action\":\"SEND_TO_VOICEMAIL\",\"destination\":{\"extensionNumber\":\"string\",\"number\":\"string\"}}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/reject');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/reject\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"action\\\":\\\"SEND_TO_VOICEMAIL\\\",\\\"destination\\\":{\\\"extensionNumber\\\":\\\"string\\\",\\\"number\\\":\\\"string\\\"}}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls/{callId}/mute:\n    post:\n      summary: Mutes a call\n      description: |\n        Mutes the local input audio stream of the call. If the call is already\n        muted, a 204 will be returned.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      operationId: muteCall\n      tags:\n        - Calls\n      responses:\n        '204':\n          description: The local audio stream is muted. The isMuted property of the call state is true.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/mute',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/mute \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"POST\", \"/web-calls/v1/calls/%7BcallId%7D/mute\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/mute');\n            $request->setRequestMethod('POST');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/mute\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls/{callId}/unmute:\n    post:\n      summary: Unmutes a call\n      description: |\n        Unmutes the local input audio stream of the call. If the call is already\n        unmuted, a 204 will be returned.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      operationId: unmuteCall\n      tags:\n        - Calls\n      responses:\n        '204':\n          description: The local audio stream is unmuted. The isMuted property of the call state is false.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/unmute',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/unmute \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"POST\", \"/web-calls/v1/calls/%7BcallId%7D/unmute\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/unmute');\n            $request->setRequestMethod('POST');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/unmute\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls/{callId}/hold:\n    post:\n      summary: Places a call on hold\n      description: |\n        Places the call on hold. The remote side will be hearing wait music. If\n        the call is already on hold, a 204 will be returned.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      operationId: holdCall\n      tags:\n        - Calls\n      responses:\n        '204':\n          description: The call is placed on hold. The isOnHold property of the call state is true.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/hold',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/hold \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"POST\", \"/web-calls/v1/calls/%7BcallId%7D/hold\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/hold');\n            $request->setRequestMethod('POST');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/hold\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls/{callId}/unhold:\n    post:\n      summary: Unhold a call\n      description: |\n        The call media resumes normally and the remote side is no longer in the\n        waiting room. If the call is already resumed, a 204 will be returned.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      operationId: unholdCall\n      tags:\n        - Calls\n      responses:\n        '204':\n          description: The call is no longer on hold. The isOnHold property of the call state is false.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/unhold',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/unhold \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"POST\", \"/web-calls/v1/calls/%7BcallId%7D/unhold\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/unhold');\n            $request->setRequestMethod('POST');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/unhold\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls/{callId}/offer:\n    put:\n      summary: Modify a call\n      description: |\n        When a network change occurs during a call, or call media changes, this\n        will re-establish the RTP stream and signalling connection. An SDP is\n        sent in the request body, and an updated SDP is received in response\n        from the server.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Request for a call to be answered or reoffer to be initiated. - sdp\n              required:\n                - sdp\n              properties:\n                sdp:\n                  type: string\n                  format: JSEP_SDP\n                  description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                  example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n        required: true\n      operationId: offerCall\n      tags:\n        - Calls\n      responses:\n        '200':\n          description: Successfully sent a new offer. The call has updated its media or connection attributes. The updated SDP is returned in the Call.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: Description of the state of an ongoing call when the client has a valid session.\n                required:\n                  - id\n                  - number\n                  - name\n                  - isMuted\n                  - isOnHold\n                  - hasMedia\n                  - isRinging\n                  - status\n                  - timestamp\n                properties:\n                  id:\n                    type: string\n                    description: Call ID issued when the call was created or invite received.\n                    example: someUniqueCallID\n                  number:\n                    type: string\n                    description: Dial string of the recipient. Can be an extension or a phone number.\n                    example: '18667685429'\n                  name:\n                    type: string\n                    description: Display name of the caller or callee if available.\n                    example: Awesome Dev\n                  isMuted:\n                    type: boolean\n                    description: Mute state for the call.\n                    example: false\n                  isOnHold:\n                    type: boolean\n                    description: Hold state for the call.\n                    example: false\n                  mergeId:\n                    type: string\n                    description: Merge ID for the call. If absent, the call is not merged with another call. Two or more calls will have the same merge ID.\n                    example: someUniqueMergeId\n                  hasMedia:\n                    type: boolean\n                    description: Media flowing state for the call.\n                    example: true\n                  ringingInMedia:\n                    type: boolean\n                    description: Ringing in the media stream. The client should not use a local sound for ringing.\n                    example: true\n                  sdp:\n                    type: string\n                    format: JSEP_SDP\n                    description: The Session Description Protocol (SDP). It is a format for describing streaming media communications parameters. Only ICE-lite and DTLS 1.2 (and up) are supported.  See [RFC4566](https://datatracker.ietf.org/doc/html/rfc4566) for more details.\n                    example: \"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"\n                  answerAfter:\n                    type: integer\n                    format: int32\n                    description: Number of milliseconds after when the call should be answered automatically. The client is responsible to follow that instruction or not.\n                    example: 20000\n                  status:\n                    type: string\n                    description: Current status of the call.\n                    enum:\n                      - INCOMING\n                      - RINGING\n                      - CANCELLED\n                      - REJECTED\n                      - CONNECTING\n                      - CONNECTED\n                      - EARLY_MEDIA\n                      - DISCONNECTED\n                      - TRANSFERRED\n                      - ENDED\n                    example: CONNECTED\n                  statusMessage:\n                    type: string\n                    description: Additional information regarding the current status of the call.\n                    example: Call answered elsewhere.\n                  timestamp:\n                    type: string\n                    format: date-time\n                    description: Timestamp the call was created.\n                    example: 2018-04-17T17:48:41.656Z\n                  inCallChannelId:\n                    type: string\n                    description: Channel Id used to receive in call events.\n                    example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                  impersonateeUserKey:\n                    type: string\n                    description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                    example: '12345678901234567890'\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PUT',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/offer',\n              data: {\n                sdp: 'v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PUT \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/offer \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"sdp\":\"v=0\\r\\no=rtcweb 1 1 IN IP4 199.88.123.123\\r\\ns=-\\r\\nt=0 0\\r\\na=ice-lite\\r\\n a=group:BUNDLE audio\\r\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\r\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\r\\nc=IN IP4 199.88.123.123\\r\\na=ice-ufrag:YoPy\\r\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\r\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\r\\n a=rtcp:9 IN IP4 0.0.0.0\\r\\na=setup:passive\\r\\na=sendrecv\\r\\na=rtcp-mux\\r\\n a=rtpmap:111 opus/48000/2\\r\\na=rtpmap:126 telephone-event/8000\\r\\na=maxptime:60\\r\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\r\\na=end-of-candidates\\r\\n\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"sdp\\\":\\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"PUT\", \"/web-calls/v1/calls/%7BcallId%7D/offer\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"sdp\":\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/offer');\n            $request->setRequestMethod('PUT');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/offer\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Put.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"sdp\\\":\\\"v=0\\\\r\\\\no=rtcweb 1 1 IN IP4 199.88.123.123\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=ice-lite\\\\r\\\\n a=group:BUNDLE audio\\\\r\\\\na=msid-semantic: WMS ANAUOoBPqN08BQw7SeGk3EhjiTBWNaDXu47M\\\\r\\\\n m=audio 40342 UDP/TLS/RTP/SAVPF 111 126\\\\r\\\\nc=IN IP4 199.88.123.123\\\\r\\\\na=ice-ufrag:YoPy\\\\r\\\\n a=ice-pwd:gv3wCs/e+Rn5YKunE/J7tRi7\\\\r\\\\na=fingerprint:sha-256 F5:F5:F5:F5:F5:F5:F5:F5:F5:F5:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1:A1\\\\r\\\\n a=rtcp:9 IN IP4 0.0.0.0\\\\r\\\\na=setup:passive\\\\r\\\\na=sendrecv\\\\r\\\\na=rtcp-mux\\\\r\\\\n a=rtpmap:111 opus/48000/2\\\\r\\\\na=rtpmap:126 telephone-event/8000\\\\r\\\\na=maxptime:60\\\\r\\\\n a=candidate:0 1 UDP 2113667327 199.88.123.123 40342 typ host\\\\r\\\\na=end-of-candidates\\\\r\\\\n\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls/{callId}/dtmf:\n    post:\n      summary: The DTMF tone is sent\n      description: |\n        The DTMF is sent out to the remote side. You must wait for a response\n        before sending another DTMF to guarantee the order in which the DTMF\n        signals are sent.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: DTMF tone sent. A sequence of tones can also be sent as a single string. The response should be received before the client sends another request as sequence is important.\n              required:\n                - tone\n              properties:\n                tone:\n                  type: string\n                  pattern: ^[0-9,#,*]+$\n              example:\n                tone: 1#\n        required: true\n      operationId: dtmfCall\n      tags:\n        - Calls\n      responses:\n        '204':\n          description: Successfully sends a DTMF tone on the call for the remote side.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/dtmf',\n              data: {tone: '1#'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/dtmf \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"tone\":\"1#\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"tone\\\":\\\"1#\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/calls/%7BcallId%7D/dtmf\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"tone\":\"1#\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/dtmf');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/dtmf\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"tone\\\":\\\"1#\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls/{callId}/merge:\n    post:\n      summary: Merge two ongoing calls\n      description: |\n        The call is merged with the selected second call. If the referId is not\n        found, a 400 bad request will be returned.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Call ID referred for the transfer of merge request.\n              required:\n                - referId\n              properties:\n                referId:\n                  type: string\n                  description: Call ID issued when the call was created or invite received.\n                  example: someUniqueCallID\n              example:\n                referId: secondCallId\n        required: true\n      operationId: mergeCalls\n      tags:\n        - Calls\n      responses:\n        '200':\n          description: Successfully merge two calls.\n          content:\n            application/json:\n              schema:\n                type: object\n                description: The unique Call ID that will appear in the call state of the calls that were merged. The call ID should be the one that was used to merge the calls.\n                properties:\n                  id:\n                    type: string\n                    example: someUniqueCallId\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/merge',\n              data: {referId: 'secondCallId'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/merge \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"referId\":\"secondCallId\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"referId\\\":\\\"secondCallId\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/calls/%7BcallId%7D/merge\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"referId\":\"secondCallId\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/merge');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/merge\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"referId\\\":\\\"secondCallId\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls/{callId}/split:\n    post:\n      summary: Split the merged call\n      description: |\n        The call is split, and the 2 calls are on different streams.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      operationId: splitCall\n      tags:\n        - Calls\n      responses:\n        '204':\n          description: Successfully split the merge call.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/split',\n              headers: {Authorization: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/split \\\n              --header 'Authorization: SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            headers = { 'Authorization': \"SOME_STRING_VALUE\" }\n\n            conn.request(\"POST\", \"/web-calls/v1/calls/%7BcallId%7D/split\", headers=headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/split');\n            $request->setRequestMethod('POST');\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/split\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls/{callId}/warm-transfer:\n    post:\n      summary: Warm transfer two calls\n      description: |\n        A warm transfer is to connect two ongoing call together. After the\n        transfer, the current user is no longer in any of the two calls and both\n        remote peer from each calls are now connected together. If the referId is not\n        found, a 400 bad request will be returned.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Call ID referred for the transfer of merge request.\n              required:\n                - referId\n              properties:\n                referId:\n                  type: string\n                  description: Call ID issued when the call was created or invite received.\n                  example: someUniqueCallID\n              example:\n                referId: secondCallId\n        required: true\n      operationId: warmTransferCall\n      tags:\n        - Calls\n      responses:\n        '204':\n          description: Successfully warm transferred the calls provided. The status of the calls is ended and the calls must be considered terminated by the client and associated resources may be released.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/warm-transfer',\n              data: {referId: 'secondCallId'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/warm-transfer \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"referId\":\"secondCallId\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"referId\\\":\\\"secondCallId\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/calls/%7BcallId%7D/warm-transfer\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"referId\":\"secondCallId\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/warm-transfer');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/warm-transfer\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"referId\\\":\\\"secondCallId\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/calls/{callId}/blind-transfer:\n    post:\n      summary: Blind transfer the call\n      description: |\n        The call is transferred blindly to the provided dial string.\n      parameters:\n        - name: Authorization\n          in: header\n          description: OAuth Token\n          required: true\n          schema:\n            type: string\n        - name: callId\n          in: path\n          required: true\n          description: Call ID issued when the call was created or invite received.\n          schema:\n            type: string\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              description: Dial string of the recipient the call should be transferred to.\n              required:\n                - dialString\n              properties:\n                dialString:\n                  type: string\n              example:\n                dialString: '123456789'\n        required: true\n      operationId: blindTransferCall\n      tags:\n        - Calls\n      responses:\n        '204':\n          description: Successfully blind transferred the call to the provided dial string. The call is ended and media will stop.\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/blind-transfer',\n              data: {dialString: '123456789'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/blind-transfer \\\n              --header 'Authorization: SOME_STRING_VALUE' \\\n              --header 'content-type: application/json' \\\n              --data '{\"dialString\":\"123456789\"}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"dialString\\\":\\\"123456789\\\"}\"\n\n            headers = {\n                'Authorization': \"SOME_STRING_VALUE\",\n                'content-type': \"application/json\"\n                }\n\n            conn.request(\"POST\", \"/web-calls/v1/calls/%7BcallId%7D/blind-transfer\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"dialString\":\"123456789\"}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/blind-transfer');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'Authorization' => 'SOME_STRING_VALUE',\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/calls/%7BcallId%7D/blind-transfer\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"Authorization\"] = 'SOME_STRING_VALUE'\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"dialString\\\":\\\"123456789\\\"}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/devices:\n    parameters:\n      - name: Authorization\n        in: header\n        description: OAuth Token\n        required: true\n        schema:\n          type: string\n    post:\n      summary: Create a single device.\n      description: |\n        Create one device using the supplied client information and notification channel IDs in callback reference. Upon successful registration, the device will be available for registering extensions using the supplied `deviceId`. <br/><br/> If the channel IDs are invalid, a `HTTP 400 Bad Request` response will be returned. <br/><br/> If a device is already registered for the given `deviceId`, a `HTTP 409 Conflict` response will be returned. <br/><br/> **Note:** a device that no longer has any active extension for a period of 24 hours will be deleted by the Web-Calls service.\n      requestBody:\n        required: true\n        content:\n          application/json:\n            schema:\n              type: object\n              description: |\n                Request for creating a device using the client information and channel IDs specified in the callback reference.\n              required:\n                - clientInformation\n                - callbackReference\n              properties:\n                clientInformation:\n                  type: object\n                  description: The client's device or browser information used for the creation of a device.\n                  required:\n                    - appVersion\n                    - platform\n                    - appId\n                    - deviceId\n                  properties:\n                    deviceId:\n                      type: string\n                      description: |\n                        A unique ID for the device used to create a device.\n                        It should only contain characters from the following list `abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-+~:`.\n                      pattern: ^[a-zA-Z0-9\\-+~:]{1,128}$\n                      maxLength: 128\n                      example: '1234567809012343455'\n                    appVersion:\n                      type: string\n                      description: The application's version of the application ID.\n                      maxLength: 128\n                      example: 2.3.1\n                    platform:\n                      type: string\n                      description: Metadata specifying the device platform.\n                      enum:\n                        - INTEGRATOR\n                      example: INTEGRATOR\n                    appId:\n                      type: string\n                      description: The application's ID. This should be a static identifier for the application.\n                      maxLength: 128\n                      example: MyIntegration\n                callbackReference:\n                  type: object\n                  description: URL to be used to notify the client of an event over their preferred event channel. The callback reference is returned when a client creates a notification channel.\n                  required:\n                    - incomingCallChannelId\n                    - sessionManagementChannelId\n                  properties:\n                    incomingCallChannelId:\n                      type: string\n                      description: Channel Id used to receive the incoming call events.\n                      maxLength: 128\n                      example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                    sessionManagementChannelId:\n                      type: string\n                      description: Channel Id used to receive the session management events  which include Greeting, RefreshNeeded and Unregistered event.\n                      maxLength: 128\n                      example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n      operationId: postDevice\n      tags:\n        - Web Calls Devices\n      responses:\n        '201':\n          description: Successfully created the device.\n          content:\n            application/json:\n              schema:\n                type: object\n                title: DeviceInfo\n                description: Informations related to a device object\n                required:\n                  - clientInformation\n                  - callbackReference\n                properties:\n                  clientInformation:\n                    type: object\n                    description: The client's device or browser information used for the creation of a device.\n                    required:\n                      - appVersion\n                      - platform\n                      - appId\n                      - deviceId\n                    properties:\n                      deviceId:\n                        type: string\n                        description: |\n                          A unique ID for the device used to create a device.\n                          It should only contain characters from the following list `abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-+~:`.\n                        pattern: ^[a-zA-Z0-9\\-+~:]{1,128}$\n                        maxLength: 128\n                        example: '1234567809012343455'\n                      appVersion:\n                        type: string\n                        description: The application's version of the application ID.\n                        maxLength: 128\n                        example: 2.3.1\n                      platform:\n                        type: string\n                        description: Metadata specifying the device platform.\n                        enum:\n                          - INTEGRATOR\n                        example: INTEGRATOR\n                      appId:\n                        type: string\n                        description: The application's ID. This should be a static identifier for the application.\n                        maxLength: 128\n                        example: MyIntegration\n                  callbackReference:\n                    type: object\n                    description: URL to be used to notify the client of an event over their preferred event channel. The callback reference is returned when a client creates a notification channel.\n                    required:\n                      - incomingCallChannelId\n                      - sessionManagementChannelId\n                    properties:\n                      incomingCallChannelId:\n                        type: string\n                        description: Channel Id used to receive the incoming call events.\n                        maxLength: 128\n                        example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                      sessionManagementChannelId:\n                        type: string\n                        description: Channel Id used to receive the session management events  which include Greeting, RefreshNeeded and Unregistered event.\n                        maxLength: 128\n                        example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '409':\n          description: The request could not be completed due to a conflict with the target resource.\n          content:\n            '*/*':\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/devices',\n              data: {\n                clientInformation: {\n                  deviceId: '1234567809012343455',\n                  appVersion: '2.3.1',\n                  platform: 'INTEGRATOR',\n                  appId: 'MyIntegration'\n                },\n                callbackReference: {\n                  incomingCallChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg',\n                  sessionManagementChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg'\n                }\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/devices \\\n              --header 'content-type: application/json' \\\n              --data '{\"clientInformation\":{\"deviceId\":\"1234567809012343455\",\"appVersion\":\"2.3.1\",\"platform\":\"INTEGRATOR\",\"appId\":\"MyIntegration\"},\"callbackReference\":{\"incomingCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"sessionManagementChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"}}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"clientInformation\\\":{\\\"deviceId\\\":\\\"1234567809012343455\\\",\\\"appVersion\\\":\\\"2.3.1\\\",\\\"platform\\\":\\\"INTEGRATOR\\\",\\\"appId\\\":\\\"MyIntegration\\\"},\\\"callbackReference\\\":{\\\"incomingCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"sessionManagementChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"}}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/web-calls/v1/devices\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"clientInformation\":{\"deviceId\":\"1234567809012343455\",\"appVersion\":\"2.3.1\",\"platform\":\"INTEGRATOR\",\"appId\":\"MyIntegration\"},\"callbackReference\":{\"incomingCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"sessionManagementChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"}}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/devices');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/devices\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"clientInformation\\\":{\\\"deviceId\\\":\\\"1234567809012343455\\\",\\\"appVersion\\\":\\\"2.3.1\\\",\\\"platform\\\":\\\"INTEGRATOR\\\",\\\"appId\\\":\\\"MyIntegration\\\"},\\\"callbackReference\\\":{\\\"incomingCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"sessionManagementChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"}}\"\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/devices/{deviceId}:\n    parameters:\n      - name: Authorization\n        in: header\n        description: OAuth Token\n        required: true\n        schema:\n          type: string\n      - name: deviceId\n        in: path\n        required: true\n        description: ID associated with the device hardware in case of a mobile or with a tab in case of a browser tab.\n        schema:\n          type: string\n    get:\n      summary: Get details for a specific device.\n      description: |\n        Get callback reference details or client information for a device identified by a `deviceId`.\n      operationId: getSpecificDevice\n      tags:\n        - Web Calls Devices\n      responses:\n        '200':\n          description: Successfully fetched the device details.\n          content:\n            application/json:\n              schema:\n                type: object\n                title: DeviceInfo\n                description: Informations related to a device object\n                required:\n                  - clientInformation\n                  - callbackReference\n                properties:\n                  clientInformation:\n                    type: object\n                    description: The client's device or browser information used for the creation of a device.\n                    required:\n                      - appVersion\n                      - platform\n                      - appId\n                      - deviceId\n                    properties:\n                      deviceId:\n                        type: string\n                        description: |\n                          A unique ID for the device used to create a device.\n                          It should only contain characters from the following list `abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-+~:`.\n                        pattern: ^[a-zA-Z0-9\\-+~:]{1,128}$\n                        maxLength: 128\n                        example: '1234567809012343455'\n                      appVersion:\n                        type: string\n                        description: The application's version of the application ID.\n                        maxLength: 128\n                        example: 2.3.1\n                      platform:\n                        type: string\n                        description: Metadata specifying the device platform.\n                        enum:\n                          - INTEGRATOR\n                        example: INTEGRATOR\n                      appId:\n                        type: string\n                        description: The application's ID. This should be a static identifier for the application.\n                        maxLength: 128\n                        example: MyIntegration\n                  callbackReference:\n                    type: object\n                    description: URL to be used to notify the client of an event over their preferred event channel. The callback reference is returned when a client creates a notification channel.\n                    required:\n                      - incomingCallChannelId\n                      - sessionManagementChannelId\n                    properties:\n                      incomingCallChannelId:\n                        type: string\n                        description: Channel Id used to receive the incoming call events.\n                        maxLength: 128\n                        example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                      sessionManagementChannelId:\n                        type: string\n                        description: Channel Id used to receive the session management events  which include Greeting, RefreshNeeded and Unregistered event.\n                        maxLength: 128\n                        example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            conn.request(\"GET\", \"/web-calls/v1/devices/%7BdeviceId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D');\n            $request->setRequestMethod('GET');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    patch:\n      summary: Update details for a specific device.\n      description: |\n        Update channel IDs or client information for a device identified by a `deviceId`.\n      requestBody:\n        required: true\n        content:\n          application/json:\n            schema:\n              type: object\n              description: |\n                Request for updating a device.\n              properties:\n                clientInformation:\n                  type: object\n                  description: The client's device information that are updatable.\n                  required:\n                    - appId\n                    - appVersion\n                  properties:\n                    appId:\n                      type: string\n                      description: The application's ID. This should be a static identifier for the application.\n                      maxLength: 128\n                      example: GoTo\n                    appVersion:\n                      type: string\n                      description: The application's version of the application ID.\n                      maxLength: 128\n                      example: 2.3.1\n                callbackReference:\n                  type: object\n                  description: URL to be used to notify the client of an event over their preferred event channel. The callback reference is returned when a client creates a notification channel.\n                  required:\n                    - incomingCallChannelId\n                    - sessionManagementChannelId\n                  properties:\n                    incomingCallChannelId:\n                      type: string\n                      description: Channel Id used to receive the incoming call events.\n                      maxLength: 128\n                      example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                    sessionManagementChannelId:\n                      type: string\n                      description: Channel Id used to receive the session management events  which include Greeting, RefreshNeeded and Unregistered event.\n                      maxLength: 128\n                      example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n      operationId: updateSpecificDevice\n      tags:\n        - Web Calls Devices\n      responses:\n        '200':\n          description: Successfully updated the device details.\n          content:\n            application/json:\n              schema:\n                type: object\n                title: DeviceInfo\n                description: Informations related to a device object\n                required:\n                  - clientInformation\n                  - callbackReference\n                properties:\n                  clientInformation:\n                    type: object\n                    description: The client's device or browser information used for the creation of a device.\n                    required:\n                      - appVersion\n                      - platform\n                      - appId\n                      - deviceId\n                    properties:\n                      deviceId:\n                        type: string\n                        description: |\n                          A unique ID for the device used to create a device.\n                          It should only contain characters from the following list `abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-+~:`.\n                        pattern: ^[a-zA-Z0-9\\-+~:]{1,128}$\n                        maxLength: 128\n                        example: '1234567809012343455'\n                      appVersion:\n                        type: string\n                        description: The application's version of the application ID.\n                        maxLength: 128\n                        example: 2.3.1\n                      platform:\n                        type: string\n                        description: Metadata specifying the device platform.\n                        enum:\n                          - INTEGRATOR\n                        example: INTEGRATOR\n                      appId:\n                        type: string\n                        description: The application's ID. This should be a static identifier for the application.\n                        maxLength: 128\n                        example: MyIntegration\n                  callbackReference:\n                    type: object\n                    description: URL to be used to notify the client of an event over their preferred event channel. The callback reference is returned when a client creates a notification channel.\n                    required:\n                      - incomingCallChannelId\n                      - sessionManagementChannelId\n                    properties:\n                      incomingCallChannelId:\n                        type: string\n                        description: Channel Id used to receive the incoming call events.\n                        maxLength: 128\n                        example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n                      sessionManagementChannelId:\n                        type: string\n                        description: Channel Id used to receive the session management events  which include Greeting, RefreshNeeded and Unregistered event.\n                        maxLength: 128\n                        example: 0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'PATCH',\n              url: 'https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D',\n              data: {\n                clientInformation: {appId: 'GoTo', appVersion: '2.3.1'},\n                callbackReference: {\n                  incomingCallChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg',\n                  sessionManagementChannelId: '0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg'\n                }\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request PATCH \\\n              --url https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D \\\n              --header 'content-type: application/json' \\\n              --data '{\"clientInformation\":{\"appId\":\"GoTo\",\"appVersion\":\"2.3.1\"},\"callbackReference\":{\"incomingCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"sessionManagementChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"}}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"clientInformation\\\":{\\\"appId\\\":\\\"GoTo\\\",\\\"appVersion\\\":\\\"2.3.1\\\"},\\\"callbackReference\\\":{\\\"incomingCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"sessionManagementChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"}}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"PATCH\", \"/web-calls/v1/devices/%7BdeviceId%7D\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"clientInformation\":{\"appId\":\"GoTo\",\"appVersion\":\"2.3.1\"},\"callbackReference\":{\"incomingCallChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\",\"sessionManagementChannelId\":\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\"}}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D');\n            $request->setRequestMethod('PATCH');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Patch.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"clientInformation\\\":{\\\"appId\\\":\\\"GoTo\\\",\\\"appVersion\\\":\\\"2.3.1\\\"},\\\"callbackReference\\\":{\\\"incomingCallChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\",\\\"sessionManagementChannelId\\\":\\\"0Nda6GSizLlSPskQkKvY5n0rrgND5X5uyPUfzT_FHuwx1p0umr-JNtVuFDZXHhOrh5SIopdBiNov0hcPi-JkDdg\\\"}}\"\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      summary: Remove a device and all its associated extensions\n      description: |\n        Remove a device identified by a `deviceId` and its associated extensions.\n      operationId: deleteDevice\n      tags:\n        - Web Calls Devices\n      responses:\n        '204':\n          description: Successfully deleted the device and all associated extensions.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D'\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            conn.request(\"DELETE\", \"/web-calls/v1/devices/%7BdeviceId%7D\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D');\n            $request->setRequestMethod('DELETE');\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n  /web-calls/v1/devices/{deviceId}/extensions:\n    parameters:\n      - name: Authorization\n        in: header\n        description: OAuth Token\n        required: true\n        schema:\n          type: string\n      - name: deviceId\n        in: path\n        required: true\n        description: ID associated with the device hardware in case of a mobile or with a tab in case of a browser tab.\n        schema:\n          type: string\n    post:\n      summary: Create extensions under a specific device.\n      description: |\n        Creates one session for each specified extension number of a device to be able to send and receive calls as well as receive notifications. The session is created for a specific device identified by a `deviceId` and for an organization identified by an `organizationId` specified for each extension. <br/><br/> If the channel IDs are invalid, a `HTTP 400 Bad Request` response will be returned. <br/><br/> If no extension number or if more than 20 extension numbers are provided, a `HTTP 400 Bad Request` response will be returned.\n      requestBody:\n        required: true\n        content:\n          application/json:\n            schema:\n              type: object\n              description: |\n                Request for creating multiple device sessions for an array of extensions. The array should contain at least one extension object and at maximum 20.\n              required:\n                - organizationId\n                - extensions\n              properties:\n                organizationId:\n                  type: string\n                  description: Unique ID for the organization.\n                  example: dddfbe74-540a-4aa8-9551-ae6202e635df\n                extensions:\n                  type: array\n                  items:\n                    type: object\n                    description: Represents an extension\n                    required:\n                      - number\n                    properties:\n                      number:\n                        type: string\n                        description: Extension number associated with the extension.\n                        example: '1234'\n                      impersonateeUserKey:\n                        type: string\n                        description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                        example: '12345678901234567890'\n                  minItems: 1\n                  maxItems: 20\n      operationId: createDeviceExtensions\n      tags:\n        - Web Calls Devices\n      responses:\n        '201':\n          description: Successfully created extensions for the device.\n          content:\n            application/json:\n              schema:\n                description: Contains a the result of extensions creation request.\n                type: object\n                properties:\n                  organizationId:\n                    type: string\n                    description: Unique ID for the organization.\n                    example: dddfbe74-540a-4aa8-9551-ae6202e635df\n                  extensions:\n                    description: List of extensions registration result.\n                    type: array\n                    items:\n                      description: Contains the result of a single extension registration request.\n                      type: object\n                      required:\n                        - extensionNumber\n                        - organizationId\n                        - resultCode\n                      properties:\n                        number:\n                          type: string\n                          description: Extension number associated with the extension.\n                          example: '1234'\n                        sessionId:\n                          type: string\n                          description: Unique session ID issued when the session was created. It is used in all subsequent requests and events.\n                          example: someUniqueSessionID\n                        resultCode:\n                          type: integer\n                          description: HTTP code returned by the extension registration process.\n                          example: 200\n                        constraintViolationErrors:\n                          description: Represents a constraint violation error resulting from a request failure.\n                          type: object\n                          properties:\n                            errorCode:\n                              type: string\n                              description: Code of the current error.\n                              example: NOT_FOUND\n                            errorMessage:\n                              type: string\n                              description: More detailed description of the error.\n                              example: Organization is not found\n                            constraintViolations:\n                              type: array\n                              items:\n                                description: Represents a constraint violation.\n                                type: object\n                                properties:\n                                  field:\n                                    type: string\n                                    description: Problematic field involved in the violation.\n                                    example: organizationId\n                                  constraint:\n                                    type: string\n                                    description: More detailed description of the violation.\n                                    example: invalid format\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'POST',\n              url: 'https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D/extensions',\n              data: {\n                organizationId: 'dddfbe74-540a-4aa8-9551-ae6202e635df',\n                extensions: [{number: '1234', impersonateeUserKey: '12345678901234567890'}]\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request POST \\\n              --url https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D/extensions \\\n              --header 'content-type: application/json' \\\n              --data '{\"organizationId\":\"dddfbe74-540a-4aa8-9551-ae6202e635df\",\"extensions\":[{\"number\":\"1234\",\"impersonateeUserKey\":\"12345678901234567890\"}]}'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            payload = \"{\\\"organizationId\\\":\\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\\"extensions\\\":[{\\\"number\\\":\\\"1234\\\",\\\"impersonateeUserKey\\\":\\\"12345678901234567890\\\"}]}\"\n\n            headers = { 'content-type': \"application/json\" }\n\n            conn.request(\"POST\", \"/web-calls/v1/devices/%7BdeviceId%7D/extensions\", payload, headers)\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $body = new http\\Message\\Body;\n            $body->append('{\"organizationId\":\"dddfbe74-540a-4aa8-9551-ae6202e635df\",\"extensions\":[{\"number\":\"1234\",\"impersonateeUserKey\":\"12345678901234567890\"}]}');\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D/extensions');\n            $request->setRequestMethod('POST');\n            $request->setBody($body);\n\n            $request->setHeaders([\n              'content-type' => 'application/json'\n            ]);\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D/extensions\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Post.new(url)\n            request[\"content-type\"] = 'application/json'\n            request.body = \"{\\\"organizationId\\\":\\\"dddfbe74-540a-4aa8-9551-ae6202e635df\\\",\\\"extensions\\\":[{\\\"number\\\":\\\"1234\\\",\\\"impersonateeUserKey\\\":\\\"12345678901234567890\\\"}]}\"\n\n            response = http.request(request)\n            puts response.read_body\n    get:\n      summary: Get extensions associated with a device.\n      description: |\n        Details related to all extensions registered under a device identified by a `deviceId` can be obtained by sending a `GET` request on the `/devices/{deviceId}/extensions`. <br/><br/> The desired extensions can be filtered for a specific organization identified by using and populating the `organizationId` query parameter. Specific extensions can be fetched by specifying one or more `extensionNumber` query parameter along a common parent `organizationId` query parameter. <br/><br/> A paginated extensions list will be returned. The next page of results can be queried using the returned `nextPageMarker` value as a query parameter. The number of extensions per result page can be changed using the query parameter pageSize which defaults to 50 items. If the device exists but no extensions can be found for the `organizationId` or specified `extensionNumber` query params, an empty list will be returned. If no more items are available, the `nextPageMarker` will be set to null. <br/><br/>\n      parameters:\n        - name: pageMarker\n          in: query\n          description: |\n            The returned nextPageMarker from a Paginated Collection is used here to fetch the starting item for the paginated result.\n          required: false\n          schema:\n            type: string\n        - name: pageSize\n          in: query\n          description: The maximum number of items returned in a page.\n          required: false\n          schema:\n            type: integer\n            format: int32\n            minimum: 1\n            maximum: 100\n            default: 50\n        - name: organizationId\n          in: query\n          description: ID of the organization.\n          required: false\n          schema:\n            type: string\n        - name: extensionNumber\n          in: query\n          description: Extension number.\n          required: false\n          schema:\n            type: string\n      operationId: getDeviceExtensions\n      tags:\n        - Web Calls Devices\n      responses:\n        '200':\n          description: Successfully fetched extensions for a device.\n          content:\n            application/json:\n              schema:\n                description: |\n                  Contains a list of extensions information segmented by page. The collection contains the paging information applied during a request for the returned results. This collection uses a string based page marker as value to fetch the next result page.\n                properties:\n                  nextPageMarker:\n                    type: string\n                    description: |\n                      The next page marker value, to be used for fetching the next page via the PageMarker query parameter.\n                    example: a159e8fbea8e53848\n                  pageSize:\n                    type: integer\n                    description: The page size used in the response.\n                    example: 50\n                  extensions:\n                    description: List of extensions.\n                    type: array\n                    items:\n                      type: object\n                      description: Represents a registered extension\n                      allOf:\n                        - type: object\n                          description: Represents an extension\n                          required:\n                            - number\n                          properties:\n                            number:\n                              type: string\n                              description: Extension number associated with the extension.\n                              example: '1234'\n                            impersonateeUserKey:\n                              type: string\n                              description: The user key to impersonate for the registrations of this device. The authenticated user must have SUPER_ADMIN role.\n                              example: '12345678901234567890'\n                        - properties:\n                            organizationId:\n                              type: string\n                              description: Unique ID for the organization.\n                              example: dddfbe74-540a-4aa8-9551-ae6202e635df\n                            sessionId:\n                              type: string\n                              description: Unique session ID issued when the session was created. It is used in all subsequent requests and events.\n                              example: someUniqueSessionID\n        '400':\n          description: |\n            The request has one or more issues.  The API returns a number of `errorCode` values in the response that provide additional details.  The response may contain one ore more values in `constraintViolations` to provide additional details useful in debugging.\n            * BAD_REQUEST - The request is not valid.\n            * MALFORMED_REQUEST - The request is malformed and not interpretable.\n          content:\n            application/json:\n              schema:\n                allOf:\n                  - type: object\n                    required:\n                      - reference\n                      - errorCode\n                    properties:\n                      reference:\n                        type: string\n                        description: A unique identifier used to lookup the error on internal systems.\n                      errorCode:\n                        type: string\n                        description: A machine readable identifier of the error type.\n                      message:\n                        type: string\n                        description: A human readable message describing the issue.\n                    example:\n                      reference: jhkasdf89hjn3298fs\n                      errorCode: CONSTRAINT_VIOLATION\n                      message: Invalid data was provided\n                  - type: object\n                    title: ConstraintViolationError\n                    required:\n                      - constraintViolations\n                    properties:\n                      constraintViolations:\n                        type: array\n                        items:\n                          type: object\n                          required:\n                            - field\n                            - constraint\n                          properties:\n                            field:\n                              type: string\n                              description: Constraint violation target field name.\n                            constraint:\n                              type: string\n                              description: A machine readable identifier of the constraint violation type.\n                          example:\n                            field: name\n                            constraint: MAX_LENGTH\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: BAD_REQUEST\n                constraintViolations:\n                  - field: name\n                    constraint: MAX_LENGTH\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'GET',\n              url: 'https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D/extensions',\n              params: {\n                pageMarker: 'SOME_STRING_VALUE',\n                pageSize: 'SOME_INTEGER_VALUE',\n                organizationId: 'SOME_STRING_VALUE',\n                extensionNumber: 'SOME_STRING_VALUE'\n              }\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request GET \\\n              --url 'https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D/extensions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&organizationId=SOME_STRING_VALUE&extensionNumber=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            conn.request(\"GET\", \"/web-calls/v1/devices/%7BdeviceId%7D/extensions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&organizationId=SOME_STRING_VALUE&extensionNumber=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D/extensions');\n            $request->setRequestMethod('GET');\n            $request->setQuery(new http\\QueryString([\n              'pageMarker' => 'SOME_STRING_VALUE',\n              'pageSize' => 'SOME_INTEGER_VALUE',\n              'organizationId' => 'SOME_STRING_VALUE',\n              'extensionNumber' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D/extensions?pageMarker=SOME_STRING_VALUE&pageSize=SOME_INTEGER_VALUE&organizationId=SOME_STRING_VALUE&extensionNumber=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Get.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    delete:\n      summary: Remove extensions associated with a device.\n      description: |\n        Remove all extensions associated with a device identified by the `deviceId`. The extensions can be deleted under a specific organization by using and populating the `organizationId` query parameter.\n        Specific extensions can be deleted by specifying one or more `extensionNumber` query parameter along a common parent `organizationId` query parameter.\n      parameters:\n        - name: organizationId\n          in: query\n          description: ID of the organization.\n          required: false\n          schema:\n            type: string\n        - name: extensionNumber\n          in: query\n          description: Extension number.\n          required: false\n          schema:\n            type: string\n      operationId: deleteDeviceExtensions\n      tags:\n        - Web Calls Devices\n      responses:\n        '204':\n          description: Successfully deleted all extensions.\n        '401':\n          description: |\n            There was an error during authentication.  The API returns a number of `errorCode` values in\n            the response that provide additional details.\n\n            * `AUTHN_INVALID_TOKEN` - The supplied authentication token is not valid.\n            * `AUTHN_EXPIRED_TOKEN` - The supplied authentication token is expired.\n            * `AUTHN_MALFORMED_TOKEN` - The supplied authentication token is malformed.\n            * `AUTHN_UNSUPPORTED_SCHEME` - The supplied authentication scheme is unsupported.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHN_INVALID_TOKEN\n                message: The supplied authentication token is not valid.\n        '403':\n          description: |\n            There was an error during authorization.  The API returns a number of `errorCode` values in the response that provide additional details.\n            * `AUTHZ_INSUFFICIENT_SCOPE` - The supplied token lacks sufficient scopes to perform the\n              requested action on the requested resource type or the request supplied no token.\n              Enforcement of scopes occurs before other authorization decisions and is based solely on the\n              resource type and requested action. This response provides no indication of the existance\n              of the specific resource targeted by the request.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: AUTHZ_INSUFFICIENT_SCOPE\n                message: The scopes granted to the supplied token are insufficient to perform the requested action.\n        '404':\n          description: |\n            The specified resource does not exist or the requesting principal does not have the ability to read or modify the specified resource.  A `NOT_FOUND` `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: NOT_FOUND\n                message: Not found.\n        '429':\n          description: Your request was denied because you have reached some request limit for this API. Try again later.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - errorCode\n                properties:\n                  errorCode:\n                    type: string\n              examples:\n                '429':\n                  summary: Too Many Requests\n                  value:\n                    errorCode: TOO_MANY_REQUESTS\n        '500':\n          description: |\n            An unknown error occurred. The API returns a number of `errorCode` values in the response that provide additional details.\n            * `UNKNOWN_ERROR` - An unknown error occurred.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNKNOWN_ERROR\n                message: An unknown error occurred.\n        '503':\n          description: |\n            There was an issue routing the request.  A `UNAVAILABLE`\n            `errorCode` accompanies this response.\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - reference\n                  - errorCode\n                properties:\n                  reference:\n                    type: string\n                    description: A unique identifier used to lookup the error on internal systems.\n                  errorCode:\n                    type: string\n                    description: A machine readable identifier of the error type.\n                  message:\n                    type: string\n                    description: A human readable message describing the issue.\n                example:\n                  reference: jhkasdf89hjn3298fs\n                  errorCode: CONSTRAINT_VIOLATION\n                  message: Invalid data was provided\n              example:\n                reference: jhkasdf89hjn3298fs\n                errorCode: UNAVAILABLE\n                message: The requested resource not available at this time.\n      x-codeSamples:\n        - lang: Node + Axios\n          source: |-\n            var axios = require(\"axios\").default;\n\n            var options = {\n              method: 'DELETE',\n              url: 'https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D/extensions',\n              params: {organizationId: 'SOME_STRING_VALUE', extensionNumber: 'SOME_STRING_VALUE'}\n            };\n\n            axios.request(options).then(function (response) {\n              console.log(response.data);\n            }).catch(function (error) {\n              console.error(error);\n            });\n        - lang: Shell + Curl\n          source: |-\n            curl --request DELETE \\\n              --url 'https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D/extensions?organizationId=SOME_STRING_VALUE&extensionNumber=SOME_STRING_VALUE'\n        - lang: Python + Python3\n          source: |-\n            import http.client\n\n            conn = http.client.HTTPSConnection(\"webrtc.jive.com\")\n\n            conn.request(\"DELETE\", \"/web-calls/v1/devices/%7BdeviceId%7D/extensions?organizationId=SOME_STRING_VALUE&extensionNumber=SOME_STRING_VALUE\")\n\n            res = conn.getresponse()\n            data = res.read()\n\n            print(data.decode(\"utf-8\"))\n        - lang: Php + Http2\n          source: |-\n            <?php\n\n            $client = new http\\Client;\n            $request = new http\\Client\\Request;\n\n            $request->setRequestUrl('https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D/extensions');\n            $request->setRequestMethod('DELETE');\n            $request->setQuery(new http\\QueryString([\n              'organizationId' => 'SOME_STRING_VALUE',\n              'extensionNumber' => 'SOME_STRING_VALUE'\n            ]));\n\n            $client->enqueue($request)->send();\n            $response = $client->getResponse();\n\n            echo $response->getBody();\n        - lang: Ruby + Native\n          source: |-\n            require 'uri'\n            require 'net/http'\n            require 'openssl'\n\n            url = URI(\"https://webrtc.jive.com/web-calls/v1/devices/%7BdeviceId%7D/extensions?organizationId=SOME_STRING_VALUE&extensionNumber=SOME_STRING_VALUE\")\n\n            http = Net::HTTP.new(url.host, url.port)\n            http.use_ssl = true\n            http.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\n            request = Net::HTTP::Delete.new(url)\n\n            response = http.request(request)\n            puts response.read_body\n    servers:\n      - url: https://webrtc.jive.com\n"}},"translation":{"translations":{"helmet":{"title":"GoTo Developer Center","description":"Documentation and resources for GoTo APIs"},"homePage":{"heroBanner":{"title":"Welcome to the Dev Center!","subtitle":"Start building with GoTo APIs now!","button":"Sign in"},"exploreGoTo":{"title":"Explore GoTo APIs","subtitle":"Don't have an account?","paragraph":"Creating an account lets you create an OAuth client to access our APIs.","primaryButton":"Sign up","apis":{"gotoConnect":"Communications platform","gotoMeeting":"Video conferencing platform","gotoWebinar":"Virtual event platform","gotoTraining":"Virtual training platform","logMeInResolve":"All-in-one IT management and support","admin":"API for managing account resources","scim":"Manage users in your organization","authentication":"Manage authentications"}},"apisByFeature":{"title":"Browse APIs by feature","paragraph":"Streamline customer workflows with GoTo APIs and connect your system to the most trusted solutions in communications and collaboration.","apis":{"meetings":{"name":"Meetings","paragraph":"Launch a professional HD video conference instantly from your system."},"clickToCall":{"name":"Click to call","paragraph":"Immediately initiate a call by clicking a number from your system."},"campaigns":{"name":"Campaigns","paragraph":"Automatically import webinar attendee lists in your system for marketing campaigns."},"screenPop":{"name":"Screen pop","paragraph":"Display relevant customer information for incoming calls so users are prepared."},"callAnalytics":{"name":"Call analytics","paragraph":"Deliver better insights by incorporating call reports in your analytics."},"messaging":{"name":"Messaging","paragraph":"Communicate with your customers via text messages, including MMS!"}}},"integrationsMarketplace":{"title":"GoTo Integration Marketplace","subtitle":"Empower your ecosystem","description":"Explore Apps that are ready to integrate with GoTo!","button":"Visit Integration Marketplace"}},"guidesPage":{"sections":{"Get Started":"Get Started","Authentication":"Authentication","GoToConnect":"GoToConnect","GoToWebinar":"GoToWebinar","GoToMyPC":"GoToMyPC","Central":"Central","Rescue":"Rescue","SDKs":"SDKs","References":"References"}},"changelogPage":{"title":"GoTo Developer Center Changelog","subscription":{"subscribe":"Subscribe","unsubscribe":"Unsubscribe"},"viewApi":"View API"},"maintenancePage":{"title":"Under Maintenance","description":"We are about to make our GoToDeveloper all new and shiny. Please come back a little bit later, we will be up and running soon."},"signupPage":{"title":"Sign up for a GoTo account","form":{"title":"Create a GoTo account","firstName":{"label":"First Name","placeholder":"Your first name"},"lastName":{"label":"Last Name","placeholder":"Your last name"},"email":{"label":"Email","placeholder":"Your email address"},"password":{"label":"Password","placeholder":"Choose a password"},"confirmPassword":{"label":"Confirm Password","placeholder":"Confirm password"},"passwordsDontMatch":"Passwords do not match","passwordRequirements":{"title":"Password Requirements:","length":"8 - 32 Characters","letter":"Contains at least 1 letter.","number":"Contains at least 1 number."},"terms":{"part1":"I agree to the","part2":"Terms of Use","part3":"and","part4":"Privacy Policy."},"emailVerification":{"title":"Verify your email","instructions":"Follow the instructions sent to:","sendAgainInstructions":{"part1":"If it doesn't arrive soon, look in your spam folder or have us","part2":"send it again."},"verificationCode":{"label":"Verification code","placeholder":"Verification code from email goes here","errorMessage":"Enter a valid verification code.","submit":"Continue","anotherCodeSent":"We've sent you another email with a new verification code."},"userAlreadyExists":{"message":"A user with {{email}} email address already exists. Please","signinLink":"Sign in here."},"mailboxImgAltText":"A mailbox image","malformedEmailError":"Email malformed"},"signupButton":"Sign up","alreadyHaveAccount":{"label":"Already have an account?","button":"Sign in"},"genericError":"We had a generic server error. Please try again."}},"notFoundPage":{"title":"404 - The dreaded Page Not Found","description":{"part1":"This could mean a bad or outdated link, or maybe a mistyped web address. Please let us know at","part2":"if you think something is broken."}},"redoc":{"labels":{"enum":"Enum","enumSingleValue":"Value","enumArray":"Items","default":"Default","deprecated":"Deprecated","example":"Example","examples":"Examples","recursive":"Recursive","arrayOf":"Array of ","webhook":"Event","const":"Value","noResultsFound":"No results found","download":"Download","downloadSpecification":"Download OpenAPI specification","responses":"Responses","callbackResponses":"Callback responses","requestSamples":"Request samples","responseSamples":"Response samples"}},"header":{"profile":{"accountTitle":"Account: {{accountName}}","myAccount":"My Account","clientManagement":"OAuth Clients","signOut":"Sign Out"},"topRightMenu":{"apiStatus":"API Status","signup":"Sign Up","login":"Sign In"},"globalMenu":{"guides":"Guides","changelog":"Changelog","contactSupport":"Contact Support","oauthClients":"OAuth Clients","partners":"Partners","selectApi":"Select API"},"productSelector":{"byProduct":"APIs by Product","supportive":"Supportive APIs"},"search":{"buttonPlaceholder":"Search","noResults":{"title":"No matching search results for","tips":{"title":"Search Tips:","tip1":"use more general keywords","tip2":"use different keywords","tip3":"make sure your words are spelled correctly"}},"resultTabs":{"all":"All","apis":"APIs","sdks":"SDKs"},"modal":{"title":"Search","searchField":{"label":"Type your search"},"productFilter":{"label":"Filter product","allProducts":"All Products"},"searchButton":"Search","searchResults":"Search Results"}},"logo":{"alt":"GoTo Developer"}},"footer":{"navigation":{"company":{"label":"Company","link1":"About Us","link2":"Contact Us","link3":"Careers","weAreHiring":"We're Hiring"},"resources":{"label":"Resources","link1":"Product Support Website","link2":"Community Forum","link3":"Manage Clients","link4":"Create Clients"},"products":{"label":"Products (APIS)"}},"logo":{"alt":"Company brand logo"},"socialNetworks":{"callToAction":"Follow & Share GoTo:","alt":{"facebook":"Facebook logo","linkedin":"LinkedIn logo","twitter":"Twitter logo","youtube":"YouTube logo","instagram":"Instagram logo"}},"subfooter":{"copyright":"2025 GoTo | All Rights Reserved","terms":"Terms and Conditions","privacy":"Privacy Policy","legal":"Legal","imprint":"Imprint","trademark":"Trademark"}}}}},"pageContext":{"slug":"/GoToConnect/","language":"en"}},
    "staticQueryHashes": ["2088588020","2243444437","3138960367","3360603394","943742221"]}