Skip to main content
Glama

mcp-google-sheets

common.ts1.26 kB
import { Property, OAuth2PropertyValue, DynamicPropsValue } from '@activepieces/pieces-framework'; import { HttpRequest, HttpMethod, AuthenticationType, httpClient, } from '@activepieces/pieces-common'; export const webflowCommon = { baseUrl: 'https://api.webflow.com/', subscribeWebhook: async ( siteId: string, tag: string, webhookUrl: string, accessToken: string, ) => { const request: HttpRequest = { method: HttpMethod.POST, url: `https://api.webflow.com/sites/${siteId}/webhooks`, headers: { 'Content-Type': 'application/json', }, body: { triggerType: tag, url: webhookUrl, }, authentication: { type: AuthenticationType.BEARER_TOKEN, token: accessToken, }, queryParams: {}, }; const res = await httpClient.sendRequest(request); return res; }, unsubscribeWebhook: async (siteId: string, webhookId: string, accessToken: string) => { const request: HttpRequest = { method: HttpMethod.DELETE, url: `https://api.webflow.com/sites/${siteId}/webhooks/${webhookId}`, headers: { 'Content-Type': 'application/json', }, authentication: { type: AuthenticationType.BEARER_TOKEN, token: accessToken, }, }; return await httpClient.sendRequest(request); }, };

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server