validateTwilioCredential (twilio/runtime.ts)

open-connector · src/providers/twilio/runtime.ts · typescript · Apache-2.0
voice, Voice / Speech, voice / speech

Provides Twilio provider actions and credential validation for the runtime.

// Source: https://github.com/oomol-lab/open-connector | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import type { CredentialValidationResult } from "../../core/types.ts";
import type { ProviderActionHandlers } from "../provider-executors.ts";
import type { ProviderFetch } from "../provider-runtime.ts";

import { optionalInteger, optionalString, optionalStringArray } from "../../core/cast.ts";
import { ProviderRequestError, providerUserAgent, requiredInputString } from "../provider-runtime.ts";

export const twilioApiBaseUrl: string = "https://api.twilio.com/2010-04-01";

interface TwilioActionContext {
  accountSid: string;
  authToken: string;
  fetcher: ProviderFetch;
  signa

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key