phonic
Version:
[](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FPhonic-Co%2Fphonic-node) [ • 1.57 kB
TypeScript
import type * as Phonic from "../../../../index.js";
/**
* @example
* {
* to_phone_number: "+19189397081",
* config: {
* agent: "support-agent",
* welcome_message: "Hi {{customer_name}}. How can I help you today?",
* system_prompt: "You are an expert in {{subject}}. Be friendly, helpful and concise.",
* template_variables: {
* "customer_name": "David",
* "subject": "Chess"
* },
* voice_id: "sabrina",
* generate_no_input_poke_text: false,
* no_input_poke_sec: 30,
* no_input_poke_text: "Are you still there?",
* no_input_end_conversation_sec: 180,
* default_language: "en",
* additional_languages: ["es"],
* multilingual_mode: "request",
* push_to_talk: false,
* boosted_keywords: ["Load ID", "dispatch"],
* pronunciation_dictionary: [{
* word: "Phuket",
* pronunciation: "Poo-ket"
* }],
* min_words_to_interrupt: 1,
* tools: ["keypad_input"]
* },
* dry_run: false
* }
*/
export interface OutboundCallRequest {
/** The phone number to call in E.164 format. */
to_phone_number: string;
config?: Phonic.OutboundCallConfig;
/** If true, validates the outbound call setup without placing a call. Returns HTTP 200 with `conversation_id` set to null. */
dry_run?: boolean;
}