{ "uuid": "b3881317-3b9f-448d-82c0-ba20d6112653", "lastMigration": 29, "name": "Vonage Integration Suite", "endpointPrefix": "t/vbc.prod/vis/v1", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "5e531013-0885-48f4-a0e2-b37f45e2850c", "documentation": "User info", "method": "get", "endpoint": "self", "responses": [ { "uuid": "a2cc5d9a-2a10-4e00-a2b7-fa3df9bef949", "body": "{\n \"accountId\": 257073,\n \"acountLabel\": \"Vonage\",\n \"contactNumber\": 14155550100,\n \"emailAddress\": \"john.smith@example.com\",\n \"firstName\": \"Robert\",\n \"id\": 522078,\n \"lastName\": \"Smith\",\n \"roles\": [\n {\n \"code\": \"AU\",\n \"name\": \"Account User\"\n }\n ],\n \"status\": \"{{oneOf (array 'PENDING' 'ACTIVE' 'DELETED' 'ARCHIVED')}}\",\n \"ucis\": [\n {\n \"health\": {\n \"message\": \"\",\n \"status\": \"\"\n },\n \"id\": {{faker 'number.int' max=99999}},\n \"type\": \"USER_UCI\",\n \"ucpLabel\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6523342c-bbff-4344-b91b-647498fdc406", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "44dfe379-ee45-430e-9c4c-7d6d0cadfbfb", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "be6402bb-0202-4902-a1dc-6ecf07473078", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3bc810ec-f08d-4404-9576-29e395e2898d", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9fe9ad05-bbd0-4d89-88a5-79d9abfc012d", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f913a9d9-5927-4322-a819-34709ce1beb9", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b16e01c2-cefb-45fb-bfd0-d7fb519ed743", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bab611cb-8d5d-4804-b1f3-b7c246d5048b", "documentation": "Account info", "method": "get", "endpoint": "self/account", "responses": [ { "uuid": "ba7679b0-97d0-4217-9d06-1d095da93ae1", "body": "{\n \"id\": 257073,\n \"name\": \"Vonage\",\n \"org\": \"Vonage\",\n \"status\": \"{{oneOf (array 'PENDING' 'ACTIVE' 'DELETED' 'ARCHIVED')}}\",\n \"ucis\": [\n {\n \"health\": {\n \"message\": \"\",\n \"status\": \"\"\n },\n \"id\": {{faker 'number.int' max=99999}},\n \"type\": \"ACCOUNT_UCI\",\n \"ucpAccountId\": \"\",\n \"ucpLabel\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7d4b2a9e-489e-4e4c-bdc5-2c77a6cb9adf", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ee7d9e02-afc4-4a2f-b8e4-7e3e0ba1e2b3", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b9b6b6b0-f636-46a0-be79-6eaee69c37e0", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "63910099-286c-41a4-a941-4bf4edc9f7bf", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "016ab352-70da-482a-ae21-4f08336beaf7", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "66d02a97-1a00-46ce-9e49-bd1e8c52db80", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a718f127-207a-423e-8210-9f0d21bbab18", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f5032520-1d32-4e7b-8672-2bb877d1254b", "documentation": "List active calls", "method": "get", "endpoint": "self/calls", "responses": [ { "uuid": "683cbf69-0c67-44b4-8ad1-a95c67f3f6d1", "body": "[\n {\n \"accountId\": {{faker 'number.int' max=99999}},\n \"answerTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"callerId\": \"\",\n \"direction\": \"{{oneOf (array 'INBOUND' 'OUTBOUND')}}\",\n \"duration\": {{faker 'number.int' max=99999}},\n \"endTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"externalId\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"phoneNumber\": \"\",\n \"startTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"state\": \"{{oneOf (array 'INITIALIZING' 'RINGING' 'ACTIVE' 'HELD' 'REMOTE_HELD' 'DETACHED' 'REJECTED' 'CANCELLED' 'ANSWERED' 'MISSED')}}\",\n \"type\": \"{{oneOf (array 'CALL')}}\",\n \"uciId\": {{faker 'number.int' max=99999}},\n \"userId\": {{faker 'number.int' max=99999}}\n }\n]", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8b9ac07b-2257-4df5-b93d-ad88e00b7f4e", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "53e51dc2-5e11-4f5c-a7e8-a29289ac2c0b", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "25fde8d5-b70e-4cd1-95ef-49518511afab", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d63ac180-c48c-4b87-a8bb-2880d53c9bb5", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8f7ae9c0-3743-4f2a-a1e4-019a156cf662", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ab4f6f1d-a46b-4660-bb71-605cc6f23284", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "77beabeb-4085-448a-94aa-1f246eafba06", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "98812db2-43c5-4359-a9b8-ab09c43695b6", "documentation": "Place a call", "method": "post", "endpoint": "self/calls", "responses": [ { "uuid": "0c862b9e-cb46-435c-a79d-28bc62cf6f33", "body": "[\n {\n \"accountId\": {{faker 'number.int' max=99999}},\n \"answerTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"callerId\": \"\",\n \"direction\": \"{{oneOf (array 'INBOUND' 'OUTBOUND')}}\",\n \"duration\": {{faker 'number.int' max=99999}},\n \"endTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"externalId\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"phoneNumber\": \"\",\n \"startTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"state\": \"{{oneOf (array 'INITIALIZING' 'RINGING' 'ACTIVE' 'HELD' 'REMOTE_HELD' 'DETACHED' 'REJECTED' 'CANCELLED' 'ANSWERED' 'MISSED')}}\",\n \"type\": \"{{oneOf (array 'CALL')}}\",\n \"uciId\": {{faker 'number.int' max=99999}},\n \"userId\": {{faker 'number.int' max=99999}}\n }\n]", "latency": 0, "statusCode": 201, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "945a7ad2-9a78-47cf-9209-a2bc8b0630fb", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "283c4732-9b31-47b3-89f8-a083acc7e842", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3d6d51e8-a4c1-4b0d-bfef-c3d8485b070d", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "24d1196a-87b9-4d40-96df-b830520c36f1", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bbda61e8-78ea-4d8b-9e09-4431e8b5b1fa", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2ce95e0b-7fbe-4481-835c-eaf423416b4d", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "28cf609b-95ae-42c1-b52d-3950e1a245dc", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e18d1890-02a3-4cd0-b072-bcaf00f47352", "documentation": "Get calls count", "method": "get", "endpoint": "self/calls/count", "responses": [ { "uuid": "70d0d50c-49d3-4d13-b74f-b36a5715f1f6", "body": "{\n \"count\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e3ffcccc-6e99-42a1-bc75-4cdf00c05ae4", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3efee167-4bf5-4692-ac40-15062912e15c", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "57357810-4ede-4dbf-a8b0-9051168aa596", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3ee98ccb-2347-4d6c-868f-96f8c7e20ded", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "82c96d20-4277-48a4-9862-c49f22705194", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4a8178ce-3bbd-4e86-8bd3-2fa15a043897", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a81c67e6-ce23-42f2-9bf0-2188e9986ecd", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e087e519-7f4d-443d-9c51-655b0ce7eca6", "documentation": "End a call", "method": "delete", "endpoint": "self/calls/:id", "responses": [ { "uuid": "1655d142-1ed5-4e86-b787-2dc14479b481", "body": "[\n {\n \"accountId\": {{faker 'number.int' max=99999}},\n \"answerTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"callerId\": \"\",\n \"direction\": \"{{oneOf (array 'INBOUND' 'OUTBOUND')}}\",\n \"duration\": {{faker 'number.int' max=99999}},\n \"endTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"externalId\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"phoneNumber\": \"\",\n \"startTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"state\": \"{{oneOf (array 'INITIALIZING' 'RINGING' 'ACTIVE' 'HELD' 'REMOTE_HELD' 'DETACHED' 'REJECTED' 'CANCELLED' 'ANSWERED' 'MISSED')}}\",\n \"type\": \"{{oneOf (array 'CALL')}}\",\n \"uciId\": {{faker 'number.int' max=99999}},\n \"userId\": {{faker 'number.int' max=99999}}\n }\n]", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2ccae12e-14dc-4246-a47c-3356f1db3dd7", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "40fcaf4d-7485-41bc-a50c-e0b3351ac17d", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c0ca0e8f-f072-4ec9-8e61-e933a88f2fe0", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "46e75919-f571-446c-88f5-d9c602e42512", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2df5f7b8-42dd-4efb-840d-42f96c4f31f3", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "23f2d75a-d90e-49e7-a61c-cbb6ec0bb6a7", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b7f4899e-3575-4c6c-99d2-6f5c5ee08aa5", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c8a534e4-a3a0-49b5-a2f6-7d3ade823418", "documentation": "Get a call", "method": "get", "endpoint": "self/calls/:id", "responses": [ { "uuid": "dd61fae5-4edc-4235-8f05-934c2ac063a4", "body": "[\n {\n \"accountId\": {{faker 'number.int' max=99999}},\n \"answerTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"callerId\": \"\",\n \"direction\": \"{{oneOf (array 'INBOUND' 'OUTBOUND')}}\",\n \"duration\": {{faker 'number.int' max=99999}},\n \"endTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"externalId\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"phoneNumber\": \"\",\n \"startTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"state\": \"{{oneOf (array 'INITIALIZING' 'RINGING' 'ACTIVE' 'HELD' 'REMOTE_HELD' 'DETACHED' 'REJECTED' 'CANCELLED' 'ANSWERED' 'MISSED')}}\",\n \"type\": \"{{oneOf (array 'CALL')}}\",\n \"uciId\": {{faker 'number.int' max=99999}},\n \"userId\": {{faker 'number.int' max=99999}}\n }\n]", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5199475e-af87-47d7-aaa7-b983c751a262", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d81f51c9-cf74-4b10-a426-a70034d80f99", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "87217407-6b30-4418-8709-9ce54d6994b6", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ed405234-5fcb-430a-906d-36f28d29e33f", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "37cc1e46-2f2d-42e1-993d-4d0cab1c365d", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e64fa614-ecc7-489e-bc0b-aa24febec599", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9156624d-f3c8-4c5d-be04-9b35e034fc12", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "65bfbd82-7252-46d7-a09f-23f78078739c", "documentation": "Answer call (On supported devices)", "method": "put", "endpoint": "self/calls/:id/answer", "responses": [ { "uuid": "14e4a9eb-7883-4ef4-9a39-4b8b0fc99427", "body": "{\n \"accountId\": {{faker 'number.int' max=99999}},\n \"answerTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"callerId\": \"\",\n \"direction\": \"{{oneOf (array 'INBOUND' 'OUTBOUND')}}\",\n \"duration\": {{faker 'number.int' max=99999}},\n \"endTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"externalId\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"phoneNumber\": \"\",\n \"startTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"state\": \"{{oneOf (array 'INITIALIZING' 'RINGING' 'ACTIVE' 'HELD' 'REMOTE_HELD' 'DETACHED' 'REJECTED' 'CANCELLED' 'ANSWERED' 'MISSED')}}\",\n \"type\": \"{{oneOf (array 'CALL')}}\",\n \"uciId\": {{faker 'number.int' max=99999}},\n \"userId\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "64556300-a899-4a93-9f4b-82688d421c65", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cfdc28c5-a3c6-494c-b658-69ee696f7923", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "595c01ae-0844-4133-893e-63e911211bc5", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dcbd4d91-4ef4-4231-87e6-819b678cf9f3", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3f08c6cd-290b-487d-93f7-dade9937b5ef", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "36d7b7c6-02c4-4130-8906-68209b7e35d8", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ebc49b8a-a440-4f17-8af3-ea94c23a1363", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "17092ebc-0275-4013-8ffa-40d9d5b2fdb3", "documentation": "Unhold", "method": "delete", "endpoint": "self/calls/:id/hold", "responses": [ { "uuid": "10692bd7-5eee-4750-be5d-985cb1e95310", "body": "{\n \"accountId\": {{faker 'number.int' max=99999}},\n \"answerTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"callerId\": \"\",\n \"direction\": \"{{oneOf (array 'INBOUND' 'OUTBOUND')}}\",\n \"duration\": {{faker 'number.int' max=99999}},\n \"endTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"externalId\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"phoneNumber\": \"\",\n \"startTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"state\": \"{{oneOf (array 'INITIALIZING' 'RINGING' 'ACTIVE' 'HELD' 'REMOTE_HELD' 'DETACHED' 'REJECTED' 'CANCELLED' 'ANSWERED' 'MISSED')}}\",\n \"type\": \"{{oneOf (array 'CALL')}}\",\n \"uciId\": {{faker 'number.int' max=99999}},\n \"userId\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3f262e67-fbe3-4412-96dd-0e92c29074c1", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7a18ae2c-8bd6-4254-b364-8cff8bec5cc7", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ff7f7ce6-da7b-46f8-9a9b-81e747254762", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "74fddbb5-2b3d-4cae-afe6-76dae42b69b7", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "74d7b36a-bd94-479e-9cfd-e5f2379fdc75", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e55c9a9e-cb1d-4434-b846-3f7e4632f733", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "57f692f1-e804-4b8a-9038-4f3bb8169296", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8de26021-5ecc-45d4-a70b-5fc33816c080", "documentation": "Put call on hold", "method": "put", "endpoint": "self/calls/:id/hold", "responses": [ { "uuid": "a649cd53-898a-4c53-842c-8d41cd788e44", "body": "{\n \"accountId\": {{faker 'number.int' max=99999}},\n \"answerTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"callerId\": \"\",\n \"direction\": \"{{oneOf (array 'INBOUND' 'OUTBOUND')}}\",\n \"duration\": {{faker 'number.int' max=99999}},\n \"endTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"externalId\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"phoneNumber\": \"\",\n \"startTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"state\": \"{{oneOf (array 'INITIALIZING' 'RINGING' 'ACTIVE' 'HELD' 'REMOTE_HELD' 'DETACHED' 'REJECTED' 'CANCELLED' 'ANSWERED' 'MISSED')}}\",\n \"type\": \"{{oneOf (array 'CALL')}}\",\n \"uciId\": {{faker 'number.int' max=99999}},\n \"userId\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cebc4682-2040-48e8-94c8-ac5dc544be55", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d72ed3c8-0e9a-49cf-b7ca-215a3a45d943", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3730f1b7-dbf9-4ee8-bd39-10efad794f97", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fd71cc9c-e820-4509-b760-696e70de1ace", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4695e9be-c7d3-47d1-a265-0ec9f7d11f52", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "daf3be34-8bbb-4f2c-8855-f8d98db59f07", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "87f8d640-8675-4286-bdfa-835ecde09356", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7a43a095-0829-436a-93fd-b3e7d26a56ba", "documentation": "Transfer call", "method": "post", "endpoint": "self/calls/:id/transfer", "responses": [ { "uuid": "6728b0d1-d491-4975-a2d8-4aef27ef17ff", "body": "{\n \"accountId\": {{faker 'number.int' max=99999}},\n \"answerTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"callerId\": \"\",\n \"direction\": \"{{oneOf (array 'INBOUND' 'OUTBOUND')}}\",\n \"duration\": {{faker 'number.int' max=99999}},\n \"endTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"externalId\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"phoneNumber\": \"\",\n \"startTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"state\": \"{{oneOf (array 'INITIALIZING' 'RINGING' 'ACTIVE' 'HELD' 'REMOTE_HELD' 'DETACHED' 'REJECTED' 'CANCELLED' 'ANSWERED' 'MISSED')}}\",\n \"type\": \"{{oneOf (array 'CALL')}}\",\n \"uciId\": {{faker 'number.int' max=99999}},\n \"userId\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "76b21449-1be6-4604-80e7-06c251fd24c8", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2af82b43-904a-4848-9d9f-ac7f3a0beb27", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f98f91bf-2370-4019-8151-2ed586cfd83f", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7cf34c41-8e82-48cb-b635-f8c132289511", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ddb3b92b-aedb-4871-9dbd-91aaf01cb8fa", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5bc74c8a-c791-48ee-b658-a84a2a527234", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "77ece6ef-b94e-4654-bf83-75c9f332df16", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1e7db186-87a3-43a7-9b9c-a5e614b1c47b", "documentation": "Send call to voicemail", "method": "put", "endpoint": "self/calls/:id/vmtransfer", "responses": [ { "uuid": "6ddd3ce2-4648-4e03-ba47-60eae3bdff4b", "body": "{\n \"accountId\": {{faker 'number.int' max=99999}},\n \"answerTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"callerId\": \"\",\n \"direction\": \"{{oneOf (array 'INBOUND' 'OUTBOUND')}}\",\n \"duration\": {{faker 'number.int' max=99999}},\n \"endTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"externalId\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"phoneNumber\": \"\",\n \"startTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"state\": \"{{oneOf (array 'INITIALIZING' 'RINGING' 'ACTIVE' 'HELD' 'REMOTE_HELD' 'DETACHED' 'REJECTED' 'CANCELLED' 'ANSWERED' 'MISSED')}}\",\n \"type\": \"{{oneOf (array 'CALL')}}\",\n \"uciId\": {{faker 'number.int' max=99999}},\n \"userId\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "377df581-febb-48cc-810e-ac3720f75efb", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0ef58fda-f079-4806-8a8b-30e67eb3b7a3", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3568f77d-3ffd-43af-9052-0de906853ad9", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4e28f334-2f25-49e7-94af-10e7ab97d5bc", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dfcf25f9-3f0d-4269-aa44-29b700c47bd4", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0f6c4861-7033-4ada-9e88-7abcc653bc0f", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f67d1ffa-8aad-48dc-8058-f446aba6a73d", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "be0bd0af-68c9-4055-b945-89c72053fe21", "documentation": "List events", "method": "get", "endpoint": "self/events", "responses": [ { "uuid": "47500e16-507c-4c4a-9b84-2c32c46d05bf", "body": "[\n {\n \"accountId\": {{faker 'number.int' max=99999}},\n \"answerTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"callerId\": \"\",\n \"direction\": \"{{oneOf (array 'INBOUND' 'OUTBOUND')}}\",\n \"duration\": {{faker 'number.int' max=99999}},\n \"endTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"externalId\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"phoneNumber\": \"\",\n \"smsData\": \"\",\n \"startTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"state\": \"{{oneOf (array 'INITIALIZING' 'RINGING' 'ACTIVE' 'HELD' 'REMOTE_HELD' 'DETACHED' 'REJECTED' 'CANCELLED' 'ANSWERED' 'MISSED')}}\",\n \"type\": \"{{oneOf (array 'CALL')}}\",\n \"uciId\": {{faker 'number.int' max=99999}},\n \"userId\": {{faker 'number.int' max=99999}}\n }\n]", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "09015306-7ab6-45bd-9b87-49f299e466be", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b6fab897-b3ab-4363-9cce-60391de19783", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a5d6dd43-5f55-4d26-9e4e-00bdc83e310a", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "72de9816-4668-4caf-8650-41f1eac51ad3", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cac3e3a7-176e-49d9-91bb-55878022c1b3", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "28567a61-0dfa-4d2b-b715-a2f11edeeac9", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "11b1f951-a44b-4d64-bc4b-65814decc772", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "92bc1e07-3701-47ad-b8bf-4669094e51ba", "documentation": "Get events count", "method": "get", "endpoint": "self/events/count", "responses": [ { "uuid": "249c2b79-78a0-4dd2-90af-4e9fb744e949", "body": "{\n \"count\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5b048aaf-4d18-43d7-a2ce-cda62fe426d0", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "24cf4640-64b2-4e9e-ad74-f4b2a793ec41", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4ba3f917-6505-4b1a-94c0-2eabc0a18202", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6dffc47b-29c6-4eee-9fb2-3c8f30692b86", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f09f51f3-5f7a-41a2-a705-4bc68ead383c", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "917b35ff-a65f-46d7-b69e-7f8b76be4f11", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "60936950-c9c1-49a6-adf0-2239dddc0850", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "40643d2a-5110-446b-b770-fa91130c84c8", "documentation": "Get event", "method": "get", "endpoint": "self/events/:id", "responses": [ { "uuid": "d7184a9b-1c91-4f5d-bf51-90689135b95e", "body": "[\n {\n \"accountId\": {{faker 'number.int' max=99999}},\n \"answerTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"callerId\": \"\",\n \"direction\": \"{{oneOf (array 'INBOUND' 'OUTBOUND')}}\",\n \"duration\": {{faker 'number.int' max=99999}},\n \"endTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"externalId\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"phoneNumber\": \"\",\n \"smsData\": \"\",\n \"startTime\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"state\": \"{{oneOf (array 'INITIALIZING' 'RINGING' 'ACTIVE' 'HELD' 'REMOTE_HELD' 'DETACHED' 'REJECTED' 'CANCELLED' 'ANSWERED' 'MISSED')}}\",\n \"type\": \"{{oneOf (array 'CALL')}}\",\n \"uciId\": {{faker 'number.int' max=99999}},\n \"userId\": {{faker 'number.int' max=99999}}\n }\n]", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "950aec59-5f9a-4655-b01e-94550c8265ee", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "738321ee-b26a-4991-8c3c-c91365b1dfdc", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2b01e946-d24c-4f4c-9734-5ff6f9e581d5", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9643ad00-df9b-46c3-a3c2-439dfaeba489", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6adfb7b5-6c22-41d0-9116-2640b593cd7a", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b3c4e48f-a5b7-48dd-bf8e-f66f83635c6c", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e18fcc4f-12a5-486b-b946-f15cded85852", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "622c48bd-ad24-4cbc-980e-9489664d14e5", "documentation": "List web hooks", "method": "get", "endpoint": "self/webhooks", "responses": [ { "uuid": "b152ff3c-3481-4238-8912-9325baf5a28f", "body": "[\n {\n \"accountId\": 257073,\n \"createdAt\": \"2019-01-01T00:00:00.000Z\",\n \"events\": [\n \"CALL\"\n ],\n \"expireAt\": \"2019-01-01T00:00:00.000Z\",\n \"id\": 184094,\n \"metadataPolicy\": \"{{oneOf (array 'NONE' 'HEADER' 'BODY')}}\",\n \"purgeAt\": \"2019-01-01T00:00:00.000Z\",\n \"renewedAt\": \"2019-01-01T00:00:00.000Z\",\n \"signingAlgo\": \"{{oneOf (array 'HMAC_SHA256' 'NONE')}}\",\n \"signingKey\": \"\",\n \"statistics\": {\n \"failed\": {{faker 'datatype.boolean'}},\n \"totalAttempts\": 10,\n \"totalFailures\": 10,\n \"totalSuccesses\": 10\n },\n \"status\": \"{{oneOf (array 'ACTIVE' 'PAUSED')}}\",\n \"url\": \"https://www.example.com\",\n \"userId\": 522078\n }\n]", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "36388382-890c-4b45-bef4-c770a92cb300", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b3874f1c-de1a-406c-8698-8b19ff49680e", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "10ef640c-1f4d-43e5-996d-2bce1394dc09", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "37848cc3-7329-42d8-a5cf-a055f0abd3f9", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c2573da3-24ad-4876-a31c-6652ec6b60fe", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d1caef20-f608-439b-aec0-fcfa893b81b4", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b05ad93d-8713-489e-8ca6-6769e59fa044", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "49b672fd-a794-4429-a9b6-2e6185a82e82", "documentation": "Create a new webhook subscription", "method": "post", "endpoint": "self/webhooks", "responses": [ { "uuid": "34f67bbe-0f63-4cd6-8547-9dc2d0d8d6a3", "body": "{\n \"accountId\": 257073,\n \"createdAt\": \"2019-01-01T00:00:00.000Z\",\n \"events\": [\n \"CALL\"\n ],\n \"expireAt\": \"2019-01-01T00:00:00.000Z\",\n \"id\": 184094,\n \"metadataPolicy\": \"{{oneOf (array 'NONE' 'HEADER' 'BODY')}}\",\n \"purgeAt\": \"2019-01-01T00:00:00.000Z\",\n \"renewedAt\": \"2019-01-01T00:00:00.000Z\",\n \"signingAlgo\": \"{{oneOf (array 'HMAC_SHA256' 'NONE')}}\",\n \"signingKey\": \"\",\n \"statistics\": {\n \"failed\": {{faker 'datatype.boolean'}},\n \"totalAttempts\": 10,\n \"totalFailures\": 10,\n \"totalSuccesses\": 10\n },\n \"status\": \"{{oneOf (array 'ACTIVE' 'PAUSED')}}\",\n \"url\": \"https://www.example.com\",\n \"userId\": 522078\n}", "latency": 0, "statusCode": 201, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2a64e802-7ad6-4629-8653-9e3a24a49419", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5d6de50d-6d78-406f-ae78-97f57b18e842", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "817a4e2f-db10-4491-b79f-1bb07bd7f018", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e3bf9bb1-9b83-4a0d-922c-6a0dd306354f", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c61f1e49-7928-4c58-93e9-bfd0031f129f", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4bb42d01-268a-43d3-abb1-1c2f1ab0b909", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7ec91186-a93e-4c24-ada1-388be901feb9", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b457f6f4-37b5-43a1-a61b-3184211f1278", "documentation": "Remove a web hook", "method": "delete", "endpoint": "self/webhooks/:id", "responses": [ { "uuid": "b298e9b7-c03b-404d-8ac4-767d29fb962e", "body": "", "latency": 0, "statusCode": 204, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "048ecd8e-27ee-419e-95e4-bdcca0eb1743", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b537656d-dcce-4eb1-bf50-c7a34042e513", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a0990ddd-7b8f-4ae8-9d72-9a07758433f1", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2f898272-4cb1-45ba-8a91-113f1f0ea54b", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ef3b1fb2-7e08-4d93-8610-058b929ee9c1", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0065f21b-5aab-4752-820d-673c10ccaa06", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3835b136-5c02-4d89-b415-432e4b384762", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b2aef280-c5c1-4546-b9b1-65ca17f7c8ef", "documentation": "Get web hook details", "method": "get", "endpoint": "self/webhooks/:id", "responses": [ { "uuid": "5256c0af-4747-4210-87c0-89dd663259e1", "body": "{\n \"accountId\": 257073,\n \"createdAt\": \"2019-01-01T00:00:00.000Z\",\n \"events\": [\n \"CALL\"\n ],\n \"expireAt\": \"2019-01-01T00:00:00.000Z\",\n \"id\": 184094,\n \"metadataPolicy\": \"{{oneOf (array 'NONE' 'HEADER' 'BODY')}}\",\n \"purgeAt\": \"2019-01-01T00:00:00.000Z\",\n \"renewedAt\": \"2019-01-01T00:00:00.000Z\",\n \"signingAlgo\": \"{{oneOf (array 'HMAC_SHA256' 'NONE')}}\",\n \"signingKey\": \"\",\n \"statistics\": {\n \"failed\": {{faker 'datatype.boolean'}},\n \"totalAttempts\": 10,\n \"totalFailures\": 10,\n \"totalSuccesses\": 10\n },\n \"status\": \"{{oneOf (array 'ACTIVE' 'PAUSED')}}\",\n \"url\": \"https://www.example.com\",\n \"userId\": 522078\n}", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "26f7749a-1280-4d0f-8eec-ad4f333f7e47", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c4171d4d-2d29-4b04-875a-7234345d62fb", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e620e507-b65d-47b0-8deb-5048356a4636", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "409c2b2e-ca2b-4a9a-9c8c-7a775cf371ce", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8f670827-3823-416a-96c3-1e932f79aad9", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d3613e1e-b9bc-48e6-a9b7-0db22a22d90a", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "77a3d42b-703a-4cd4-bc77-0af1fa7a04cc", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dcc7291e-4735-47bd-a20d-99c2ab83b6ee", "documentation": "Renews a web hook", "method": "put", "endpoint": "self/webhooks/:id/renew", "responses": [ { "uuid": "3d41b635-6a30-470f-9cf3-f4aaa4966cd1", "body": "{\n \"accountId\": 257073,\n \"createdAt\": \"2019-01-01T00:00:00.000Z\",\n \"events\": [\n \"CALL\"\n ],\n \"expireAt\": \"2019-01-01T00:00:00.000Z\",\n \"id\": 184094,\n \"metadataPolicy\": \"{{oneOf (array 'NONE' 'HEADER' 'BODY')}}\",\n \"purgeAt\": \"2019-01-01T00:00:00.000Z\",\n \"renewedAt\": \"2019-01-01T00:00:00.000Z\",\n \"signingAlgo\": \"{{oneOf (array 'HMAC_SHA256' 'NONE')}}\",\n \"signingKey\": \"\",\n \"statistics\": {\n \"failed\": {{faker 'datatype.boolean'}},\n \"totalAttempts\": 10,\n \"totalFailures\": 10,\n \"totalSuccesses\": 10\n },\n \"status\": \"{{oneOf (array 'ACTIVE' 'PAUSED')}}\",\n \"url\": \"https://www.example.com\",\n \"userId\": 522078\n}", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "643bb2b1-e9fa-4097-a93f-20f452cf3395", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 400, "label": "Bad Request: The client should not repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "928223f1-ac76-4887-843e-f15cbbbce0ff", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized: Invalid access token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3967617b-b4a2-459e-b770-c27d793a9feb", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden: The user has no rights to access the resource(s)", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7c02059f-8fcc-45fe-82d7-80962c2d8420", "body": "", "latency": 0, "statusCode": 408, "label": "Timeout: The client may repeat the request without modifications", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "877b4b54-56c1-4d26-b01e-0cbf3e57dc34", "body": "{\n \"errorCode\": \"\",\n \"errorMessage\": \"\",\n \"errors\": [\n {\n \"field\": \"\",\n \"message\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 422, "label": "Validation Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b11f927b-0a84-4220-889f-323d04ee748f", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c90bee4e-5c22-4c3b-a122-3e82d6827cb3", "body": "", "latency": 0, "statusCode": 502, "label": "Bad Gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "5e531013-0885-48f4-a0e2-b37f45e2850c" }, { "type": "route", "uuid": "bab611cb-8d5d-4804-b1f3-b7c246d5048b" }, { "type": "route", "uuid": "f5032520-1d32-4e7b-8672-2bb877d1254b" }, { "type": "route", "uuid": "98812db2-43c5-4359-a9b8-ab09c43695b6" }, { "type": "route", "uuid": "e18d1890-02a3-4cd0-b072-bcaf00f47352" }, { "type": "route", "uuid": "e087e519-7f4d-443d-9c51-655b0ce7eca6" }, { "type": "route", "uuid": "c8a534e4-a3a0-49b5-a2f6-7d3ade823418" }, { "type": "route", "uuid": "65bfbd82-7252-46d7-a09f-23f78078739c" }, { "type": "route", "uuid": "17092ebc-0275-4013-8ffa-40d9d5b2fdb3" }, { "type": "route", "uuid": "8de26021-5ecc-45d4-a70b-5fc33816c080" }, { "type": "route", "uuid": "7a43a095-0829-436a-93fd-b3e7d26a56ba" }, { "type": "route", "uuid": "1e7db186-87a3-43a7-9b9c-a5e614b1c47b" }, { "type": "route", "uuid": "be0bd0af-68c9-4055-b945-89c72053fe21" }, { "type": "route", "uuid": "92bc1e07-3701-47ad-b8bf-4669094e51ba" }, { "type": "route", "uuid": "40643d2a-5110-446b-b770-fa91130c84c8" }, { "type": "route", "uuid": "622c48bd-ad24-4cbc-980e-9489664d14e5" }, { "type": "route", "uuid": "49b672fd-a794-4429-a9b6-2e6185a82e82" }, { "type": "route", "uuid": "b457f6f4-37b5-43a1-a61b-3184211f1278" }, { "type": "route", "uuid": "b2aef280-c5c1-4546-b9b1-65ca17f7c8ef" }, { "type": "route", "uuid": "dcc7291e-4735-47bd-a20d-99c2ab83b6ee" } ] }