{ "uuid": "fb931a3c-1acb-4286-88ca-1a783890ae1b", "lastMigration": 29, "name": "Webhooks API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "a9fff34a-b7e8-4548-a63a-2b1a5b12067a", "documentation": "", "method": "delete", "endpoint": "webhooks/v3/:appId/settings", "responses": [ { "uuid": "b35273e3-6592-4473-8327-d39dede23a1f", "body": "", "latency": 0, "statusCode": 204, "label": "No content", "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": "60cfcc2a-1e71-4307-8614-e64e08cf5759", "body": "", "latency": 0, "statusCode": 200, "label": "An error occurred.", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a550027a-0786-44a8-872c-599a1f4693f9", "documentation": "", "method": "get", "endpoint": "webhooks/v3/:appId/settings", "responses": [ { "uuid": "7a059329-18b0-4e59-8754-9ede11683ade", "body": "{\n \"createdAt\": \"2020-01-24T16:27:59Z\",\n \"targetUrl\": \"https://www.example.com/hubspot/target\",\n \"throttling\": {\n \"maxConcurrentRequests\": 10,\n \"period\": \"SECONDLY\"\n },\n \"updatedAt\": \"2020-01-24T16:32:43Z\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "10123e89-fa76-41cd-81b9-06afaed0a618", "body": "", "latency": 0, "statusCode": 200, "label": "An error occurred.", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5fe4efba-a094-4731-831b-7e8804e95819", "documentation": "", "method": "put", "endpoint": "webhooks/v3/:appId/settings", "responses": [ { "uuid": "35105bd6-e0fc-411f-8a0c-856a31efe4c6", "body": "{\n \"createdAt\": \"2020-01-24T16:27:59Z\",\n \"targetUrl\": \"https://www.example.com/hubspot/target\",\n \"throttling\": {\n \"maxConcurrentRequests\": 10,\n \"period\": \"SECONDLY\"\n },\n \"updatedAt\": \"2020-01-24T16:32:43Z\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "d556a6c8-e34c-4ffa-9657-f60de3267abf", "body": "", "latency": 0, "statusCode": 200, "label": "An error occurred.", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c5693c10-4859-470f-96fb-6323163582bc", "documentation": "", "method": "get", "endpoint": "webhooks/v3/:appId/subscriptions", "responses": [ { "uuid": "1676971f-a496-4f2a-84cb-c3558d88de69", "body": "{\n \"results\": [\n {\n \"active\": {{faker 'datatype.boolean'}},\n \"createdAt\": \"{{faker 'date.recent' 365}}\",\n \"eventType\": \"{{oneOf (array 'contact.propertyChange' 'company.propertyChange' 'deal.propertyChange' 'ticket.propertyChange' 'product.propertyChange' 'line_item.propertyChange' 'contact.creation' 'contact.deletion' 'contact.privacyDeletion' 'company.creation' 'company.deletion' 'deal.creation' 'deal.deletion' 'ticket.creation' 'ticket.deletion' 'product.creation' 'product.deletion' 'line_item.creation' 'line_item.deletion' 'conversation.creation' 'conversation.deletion' 'conversation.newMessage' 'conversation.privacyDeletion' 'conversation.propertyChange')}}\",\n \"id\": \"\",\n \"propertyName\": \"\",\n \"updatedAt\": \"{{faker 'date.recent' 365}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "cd38af30-02bd-4d5d-a7eb-1ec1104c8062", "body": "", "latency": 0, "statusCode": 200, "label": "An error occurred.", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "feebac04-9489-404a-a8cd-7de40281f1c2", "documentation": "", "method": "post", "endpoint": "webhooks/v3/:appId/subscriptions", "responses": [ { "uuid": "e5898f51-574f-4760-b701-ab9901db8589", "body": "{\n \"active\": {{faker 'datatype.boolean'}},\n \"createdAt\": \"{{faker 'date.recent' 365}}\",\n \"eventType\": \"{{oneOf (array 'contact.propertyChange' 'company.propertyChange' 'deal.propertyChange' 'ticket.propertyChange' 'product.propertyChange' 'line_item.propertyChange' 'contact.creation' 'contact.deletion' 'contact.privacyDeletion' 'company.creation' 'company.deletion' 'deal.creation' 'deal.deletion' 'ticket.creation' 'ticket.deletion' 'product.creation' 'product.deletion' 'line_item.creation' 'line_item.deletion' 'conversation.creation' 'conversation.deletion' 'conversation.newMessage' 'conversation.privacyDeletion' 'conversation.propertyChange')}}\",\n \"id\": \"\",\n \"propertyName\": \"\",\n \"updatedAt\": \"{{faker 'date.recent' 365}}\"\n}", "latency": 0, "statusCode": 201, "label": "successful operation", "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": "6407a0e9-7f43-447d-9d5b-00516077ce70", "body": "", "latency": 0, "statusCode": 200, "label": "An error occurred.", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "205770ce-a48b-40b3-8edf-e9f25e45b582", "documentation": "", "method": "post", "endpoint": "webhooks/v3/:appId/subscriptions/batch/update", "responses": [ { "uuid": "53067be9-e097-42a9-8242-c19b849df60c", "body": "{\n \"completedAt\": \"{{faker 'date.recent' 365}}\",\n \"links\": {},\n \"requestedAt\": \"{{faker 'date.recent' 365}}\",\n \"results\": [\n {\n \"active\": {{faker 'datatype.boolean'}},\n \"createdAt\": \"{{faker 'date.recent' 365}}\",\n \"eventType\": \"{{oneOf (array 'contact.propertyChange' 'company.propertyChange' 'deal.propertyChange' 'ticket.propertyChange' 'product.propertyChange' 'line_item.propertyChange' 'contact.creation' 'contact.deletion' 'contact.privacyDeletion' 'company.creation' 'company.deletion' 'deal.creation' 'deal.deletion' 'ticket.creation' 'ticket.deletion' 'product.creation' 'product.deletion' 'line_item.creation' 'line_item.deletion' 'conversation.creation' 'conversation.deletion' 'conversation.newMessage' 'conversation.privacyDeletion' 'conversation.propertyChange')}}\",\n \"id\": \"\",\n \"propertyName\": \"\",\n \"updatedAt\": \"{{faker 'date.recent' 365}}\"\n }\n ],\n \"startedAt\": \"{{faker 'date.recent' 365}}\",\n \"status\": \"{{oneOf (array 'PENDING' 'PROCESSING' 'CANCELED' 'COMPLETE')}}\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "2cfc5cfe-8421-4f10-ad1d-094084ba1afc", "body": "{\n \"completedAt\": \"{{faker 'date.recent' 365}}\",\n \"errors\": [\n {\n \"category\": {\n \"httpStatus\": \"{{oneOf (array 'CONTINUE' 'SWITCHING_PROTOCOLS' 'PROCESSING' 'OK' 'CREATED' 'ACCEPTED' 'NON_AUTHORITATIVE_INFORMATION' 'NO_CONTENT' 'RESET_CONTENT' 'PARTIAL_CONTENT' 'MULTI_STATUS' 'ALREADY_REPORTED' 'IM_USED' 'MULTIPLE_CHOICES' 'MOVED_PERMANENTLY' 'FOUND' 'SEE_OTHER' 'NOT_MODIFIED' 'USE_PROXY' 'TEMPORARY_REDIRECT' 'PERMANENT_REDIRECT' 'BAD_REQUEST' 'UNAUTHORIZED' 'PAYMENT_REQUIRED' 'FORBIDDEN' 'NOT_FOUND' 'METHOD_NOT_ALLOWED' 'NOT_ACCEPTABLE' 'PROXY_AUTHENTICATION_REQUIRED' 'REQUEST_TIMEOUT' 'CONFLICT' 'GONE' 'LENGTH_REQUIRED' 'PRECONDITION_FAILED' 'REQUEST_ENTITY_TOO_LARGE' 'REQUEST_URI_TOO_LONG' 'UNSUPPORTED_MEDIA_TYPE' 'REQUESTED_RANGE_NOT_SATISFIABLE' 'EXPECTATION_FAILED' 'IM_A_TEAPOT' 'MISDIRECTED_REQUEST' 'UNPROCESSABLE_ENTITY' 'LOCKED' 'FAILED_DEPENDENCY' 'UPGRADE_REQUIRED' 'PRECONDITION_REQUIRED' 'TOO_MANY_REQUESTS' 'REQUEST_HEADERS_FIELDS_TOO_LARGE' 'INTERNAL_STALE_SERVICE_DISCOVERY' 'UNAVAILABLE_FOR_LEGAL_REASONS' 'MIGRATION_IN_PROGRESS' 'INTERNAL_SERVER_ERROR' 'NOT_IMPLEMENTED' 'BAD_GATEWAY' 'SERVICE_UNAVAILABLE' 'GATEWAY_TIMEOUT' 'HTTP_VERSION_NOT_SUPPORTED' 'VARIANT_ALSO_NEGOTIATES' 'INSUFFICIENT_STORAGE' 'LOOP_DETECTED' 'NOT_EXTENDED' 'NETWORK_AUTHENTICATION_REQUIRED')}}\",\n \"name\": \"\"\n },\n \"context\": {},\n \"errors\": [\n {\n \"code\": \"\",\n \"context\": {\n \"missingScopes\": [\n \"scope1\",\n \"scope2\"\n ]\n },\n \"in\": \"\",\n \"message\": \"\",\n \"subCategory\": \"\"\n }\n ],\n \"id\": \"\",\n \"links\": {},\n \"message\": \"\",\n \"status\": \"\",\n \"subCategory\": {}\n }\n ],\n \"links\": {},\n \"numErrors\": {{faker 'number.int' max=99999}},\n \"requestedAt\": \"{{faker 'date.recent' 365}}\",\n \"results\": [\n {\n \"active\": {{faker 'datatype.boolean'}},\n \"createdAt\": \"{{faker 'date.recent' 365}}\",\n \"eventType\": \"{{oneOf (array 'contact.propertyChange' 'company.propertyChange' 'deal.propertyChange' 'ticket.propertyChange' 'product.propertyChange' 'line_item.propertyChange' 'contact.creation' 'contact.deletion' 'contact.privacyDeletion' 'company.creation' 'company.deletion' 'deal.creation' 'deal.deletion' 'ticket.creation' 'ticket.deletion' 'product.creation' 'product.deletion' 'line_item.creation' 'line_item.deletion' 'conversation.creation' 'conversation.deletion' 'conversation.newMessage' 'conversation.privacyDeletion' 'conversation.propertyChange')}}\",\n \"id\": \"\",\n \"propertyName\": \"\",\n \"updatedAt\": \"{{faker 'date.recent' 365}}\"\n }\n ],\n \"startedAt\": \"{{faker 'date.recent' 365}}\",\n \"status\": \"{{oneOf (array 'PENDING' 'PROCESSING' 'CANCELED' 'COMPLETE')}}\"\n}", "latency": 0, "statusCode": 207, "label": "multiple statuses", "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": "7e878bf6-0e35-465d-9b3a-1710ce3b3344", "body": "", "latency": 0, "statusCode": 200, "label": "An error occurred.", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "39629e23-558b-4e99-a2af-98049286669f", "documentation": "", "method": "delete", "endpoint": "webhooks/v3/:appId/subscriptions/:subscriptionId", "responses": [ { "uuid": "f353ba43-8688-406c-8275-01033c70dc28", "body": "", "latency": 0, "statusCode": 204, "label": "No content", "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": "84b9ede3-764f-4b39-aea3-68c159c37c5f", "body": "", "latency": 0, "statusCode": 200, "label": "An error occurred.", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "16c255fe-4bde-41af-8ccd-402634762c32", "documentation": "", "method": "get", "endpoint": "webhooks/v3/:appId/subscriptions/:subscriptionId", "responses": [ { "uuid": "4e8062e5-5060-47a1-96fa-8e781bac09ad", "body": "{\n \"active\": {{faker 'datatype.boolean'}},\n \"createdAt\": \"{{faker 'date.recent' 365}}\",\n \"eventType\": \"{{oneOf (array 'contact.propertyChange' 'company.propertyChange' 'deal.propertyChange' 'ticket.propertyChange' 'product.propertyChange' 'line_item.propertyChange' 'contact.creation' 'contact.deletion' 'contact.privacyDeletion' 'company.creation' 'company.deletion' 'deal.creation' 'deal.deletion' 'ticket.creation' 'ticket.deletion' 'product.creation' 'product.deletion' 'line_item.creation' 'line_item.deletion' 'conversation.creation' 'conversation.deletion' 'conversation.newMessage' 'conversation.privacyDeletion' 'conversation.propertyChange')}}\",\n \"id\": \"\",\n \"propertyName\": \"\",\n \"updatedAt\": \"{{faker 'date.recent' 365}}\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "93c9be85-4236-4fc5-8917-d42863f7069e", "body": "", "latency": 0, "statusCode": 200, "label": "An error occurred.", "headers": [{ "key": "Content-Type", "value": "*/*" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "04079067-0bee-419d-a954-272b38226b35", "documentation": "", "method": "patch", "endpoint": "webhooks/v3/:appId/subscriptions/:subscriptionId", "responses": [ { "uuid": "6c0e2851-e31f-485b-88ae-c8f3859576e9", "body": "{\n \"active\": {{faker 'datatype.boolean'}},\n \"createdAt\": \"{{faker 'date.recent' 365}}\",\n \"eventType\": \"{{oneOf (array 'contact.propertyChange' 'company.propertyChange' 'deal.propertyChange' 'ticket.propertyChange' 'product.propertyChange' 'line_item.propertyChange' 'contact.creation' 'contact.deletion' 'contact.privacyDeletion' 'company.creation' 'company.deletion' 'deal.creation' 'deal.deletion' 'ticket.creation' 'ticket.deletion' 'product.creation' 'product.deletion' 'line_item.creation' 'line_item.deletion' 'conversation.creation' 'conversation.deletion' 'conversation.newMessage' 'conversation.privacyDeletion' 'conversation.propertyChange')}}\",\n \"id\": \"\",\n \"propertyName\": \"\",\n \"updatedAt\": \"{{faker 'date.recent' 365}}\"\n}", "latency": 0, "statusCode": 200, "label": "successful operation", "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": "29922a5d-39da-45c3-96f1-9c310ec3bba6", "body": "", "latency": 0, "statusCode": 200, "label": "An error occurred.", "headers": [{ "key": "Content-Type", "value": "*/*" }], "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": "a9fff34a-b7e8-4548-a63a-2b1a5b12067a" }, { "type": "route", "uuid": "a550027a-0786-44a8-872c-599a1f4693f9" }, { "type": "route", "uuid": "5fe4efba-a094-4731-831b-7e8804e95819" }, { "type": "route", "uuid": "c5693c10-4859-470f-96fb-6323163582bc" }, { "type": "route", "uuid": "feebac04-9489-404a-a8cd-7de40281f1c2" }, { "type": "route", "uuid": "205770ce-a48b-40b3-8edf-e9f25e45b582" }, { "type": "route", "uuid": "39629e23-558b-4e99-a2af-98049286669f" }, { "type": "route", "uuid": "16c255fe-4bde-41af-8ccd-402634762c32" }, { "type": "route", "uuid": "04079067-0bee-419d-a954-272b38226b35" } ] }