Whitelabel Callfluent AI for your agency’s services with full flexibility Explore Whitelabel

Constants

Share this guide

Constants Reference

This section includes various constants used throughout the CallFluent platform for agent setup, UI configuration, and third-party integrations. These are typically used in dropdowns or predefined selections.

Base URL

All requests must be sent to:
https://api.callfluent.ai/api

Authentication

Include your API key in the Authorization header:

Authorization: Bearer {api_key}  

1. Timezones

An array of supported timezones used for scheduling and agent settings.

[
        {
            "label": "Pacific/Midway UTC-11:00",
            "value": "UTC-11:00"
        },
        {
            "label": "Pacific/Honolulu UTC-10:00",
            "value": "UTC-10:00"
        },
        {
            "label": "America/Anchorage UTC-08:00",
            "value": "UTC-08:00"
        },
        {
            "label": "America/Los Angeles UTC-07:00",
            "value": "UTC-07:00"
        },
        {
            "label": "America/Chihuahua UTC-06:00",
            "value": "UTC-06:00"
        },
        {
            "label": "America/Chicago UTC-05:00",
            "value": "UTC-05:00"
        },
        {
            "label": "America/New York UTC-04:00",
            "value": "UTC-04:00"
        },
        {
            "label": "America/Caracas UTC-04:30",
            "value": "UTC-04:30"
        },
        {
            "label": "America/Asuncion UTC-03:00",
            "value": "UTC-03:00"
        },
        {
            "label": "America/St Johns UTC-02:30",
            "value": "UTC-02:30"
        },
        {
            "label": "America/Godthab UTC-02:00",
            "value": "UTC-02:00"
        },
        {
            "label": "Atlantic/Cape Verde UTC-01:00",
            "value": "UTC-01:00"
        },
        {
            "label": "Europe/London UTC+00:00",
            "value": "UTC+00:00"
        },
        {
            "label": "Europe/Budapest UTC+01:00",
            "value": "UTC+01:00"
        },
        {
            "label": "Europe/Amsterdam UTC+02:00",
            "value": "UTC+02:00"
        },
        {
            "label": "Europe/Athens UTC+03:00",
            "value": "UTC+03:00"
        },
        {
            "label": "Asia/Tehran UTC+03:30",
            "value": "UTC+03:30"
        },
        {
            "label": "Asia/Muscat UTC+04:00",
            "value": "UTC+04:00"
        },
        {
            "label": "Asia/Baku UTC+05:00",
            "value": "UTC+05:00"
        },
        {
            "label": "Asia/Kabul UTC+04:30",
            "name": "Kabul",
            "value": "UTC+04:30"
        },
        {
            "label": "Asia/Kolkata UTC+05:30",
            "value": "UTC+05:30"
        },
        {
            "label": "Asia/Katmandu UTC+05:45",
            "value": "UTC+05:45"
        },
        {
            "label": "Asia/Almaty UTC+06:00",
            "value": "UTC+06:00"
        },
        {
            "label": "Asia/Rangoon UTC+06:30",
            "value": "UTC+06:30"
        },
        {
            "label": "Asia/Bangkok UTC+07:00",
            "value": "UTC+07:00"
        },
        {
            "label": "Asia/Chongqing UTC+08:00",
            "value": "UTC+08:00"
        },
        {
            "label": "Asia/Tokyo UTC+09:00",
            "value": "UTC+09:00"
        },
        {
            "label": "Australia/Adelaide UTC+10:30",
            "value": "UTC+10:30"
        },
        {
            "label": "Australia/Darwin UTC+09:30",
            "value": "UTC+09:30"
        },
        {
            "label": "Australia/Brisbane UTC+10:00",
            "value": "UTC+10:00"
        },
        {
            "label": "Australia/Canberra UTC+11:00",
            "value": "UTC+11:00"
        },
        {
            "label": "Asia/Fiji UTC+12:00",
            "value": "UTC+12:00"
        },
        {
            "label": "Pacific/Auckland UTC+13:00",
            "value": "UTC+13:00"
        },
        {
            "label": "Pacific/Apia UTC+14:00",
            "value": "UTC+14:00"
        }
    ]

2. Languages

List of supported languages and regional variants.

[
  { value: "en", label: "English" },
  { value: "en-US", label: "English (United States)" },
  { value: "en-AU", label: "English (Australia)" },
  { value: "en-GB", label: "English (United Kingdom)" },
  { value: "en-NZ", label: "English (New Zealand)" },
  { value: "en-IN", label: "English (India)" },
  { value: "bg", label: "Bulgarian" },
  { value: "ca", label: "Catalan" },
  { value: "cs", label: "Czech" },
  { value: "da", label: "Danish" },
  { value: "da-DK", label: "Danish (Denmark)" },
  { value: "nl", label: "Dutch" },
  { value: "nl-BE", label: "Flemish (Belgium)" },
  { value: "et", label: "Estonian" },
  { value: "fi", label: "Finnish" },
  { value: "fr", label: "French" },
  { value: "fr-CA", label: "French (Canada)" },
  { value: "de", label: "German" },
  { value: "de-CH", label: "German (Switzerland)" },
  { value: "el", label: "Greek" },
  { value: "hi", label: "Hindi" },
  { value: "hi-Latn", label: "Hindi (Latin)" },
  { value: "hu", label: "Hungarian" },
  { value: "id", label: "Indonesian" },
  { value: "ja", label: "Japanese" },
  { value: "it", label: "Italian" },
  { value: "ko", label: "Korean" },
  { value: "ko-KR", label: "Korean (South Korea)" },
  { value: "lv", label: "Latvian" },
  { value: "ms", label: "Malay" },
  { value: "lt", label: "Lithuanian" },
  { value: "no", label: "Norwegian" },
  { value: "pl", label: "Polish" },
  { value: "pt", label: "Portuguese" },
  { value: "pt-BR", label: "Portuguese (Brazil)" },
  { value: "ro", label: "Romanian" },
  { value: "ru", label: "Russian" },
  { value: "sk", label: "Slovak" },
  { value: "es", label: "Spanish" },
  { value: "es-419", label: "Spanish (Latin America)" },
  { value: "sv", label: "Swedish" },
  { value: "sv-SE", label: "Swedish (Sweden)" },
  { value: "th", label: "Thai" },
  { value: "th-TH", label: "Thailand" },
  { value: "tr", label: "Turkish" },
  { value: "uk", label: "Ukrainian" },
  { value: "vi", label: "Vietnamese" },
]

3. Block Phone Types

Defines types of phone numbers that may be blocked or categorized for validation and routing.

[
  {
    id: 1,
    type: "landline",
    label: "Land Line",
    description:
      "The phone number is a landline number; generally not capable of receiving SMS messages.",
  },
  {
    id: 2,
    type: "mobile",
    label: "Mobile",
    description:
      "The phone number is a mobile number; generally capable of receiving SMS messages.",
  },
  {
    id: 3,
    type: "fixedVoip",
    label: "Fixed Voip",
    description:
      "A virtual phone number associated with a physical device (e.g., Comcast or Vonage).",
  },
  {
    id: 4,
    type: "nonFixedVoip",
    label: "Non Fixed Voip",
    description:
      "A virtual phone number that can be obtained on the internet without the need for a physical device (e.g., Google Voice or Enflick).",
  },
  {
    id: 5,
    type: "personal",
    label: "Personal",
    description: "A phone number designated for personal use.",
  },
  {
    id: 6,
    type: "tollFree",
    label: "Toll Free",
    description:
      "A toll-free phone number, which is one where calls are free for the calling party.",
  },
  {
    id: 7,
    type: "premium",
    label: "Premium",
    description:
      "A premium rate phone number, which typically charges higher than normal rates for special services.",
  },
  {
    id: 8,
    type: "sharedCost",
    label: "Shared Cost",
    description:
      "A shared cost phone number, which is one where the charge is partially paid by the calling party and charges higher than normal rates.",
  },
  {
    id: 9,
    type: "uan",
    label: "UAN",
    description:
      "A universal access number, which is a national number which can route incoming calls to different destinations.",
  },
  {
    id: 10,
    type: "voicemail",
    label: "Voice Email",
    description: "A phone number associated with a voicemail service.",
  },
  {
    id: 11,
    type: "pager",
    label: "Pager",
    description: "A phone number associated with a pager device.",
  },
  {
    id: 12,
    type: "unknown",
    label: "Unknown",
    description:
      "A valid phone number, but the line type could not be determined.",
  },
  {
    id: 13,
    type: "none",
    label: "None",
    description: "not allow non phone type",
  },
]

4. OpenAI Model List

Defines supported OpenAI models for agents using LLMs.

[
  { value: "gpt-3.5-turbo", label: "gpt-3.5-turbo" },
  { value: "gpt-3.5-turbo-1106", label: "gpt-3.5-turbo-1106" },
  { value: "gpt-4-turbo", label: "gpt-4-turbo" },
  { value: "gpt-4", label: "gpt-4" },
  { value: "gpt-4o", label: "gpt-4o" },
  { value: "gpt-4o-mini", label: "gpt-4o-mini" },
]

5. Agent Tone List

Available tones an agent can use during conversation.

[
  { value: "a Professional", label: "Professional" },
  { value: "a Conversational", label: "Conversational" },
  { value: "an Humorous", label: "Humorous" },
  { value: "an Empathic", label: "Empathic" },
  { value: "a Simple", label: "Simple" },
  { value: "an Academic", label: "Academic" },
  { value: "a Creative", label: "Creative" },
]

6. Agent Type List

Defines roles an agent can be configured for.

[
  { value: "sales", label: "Sales representative" },
  { value: "support", label: "Support agent" },
  { value: "lead", label: "Lead engagement" },
]

7. Background Noise List

Pre-recorded ambient sounds that simulate different environments for the agent’s voice.

[
  {
    value: "no",
    label: "No",
  },
  {
    value: "medical-office-building.wav",
    label: "Medical office building",
  },
  {
    value: "office-ambience.wav",
    label: "Office ambience",
  },
  {
    value: "office-ambience2.wav",
    label: "Office ambience second",
  },
  {
    value: "office-environment.wav",
    label: "Office environment",
  },
  {
    value: "office-keyboard-typing.wav",
    label: "Office keyboard typing",
  },
  {
    value: "office-keyboard-typing.wav",
    label: "Office keyboard typing",
  },
  {
    value: "pub-background.wav",
    label: "Pub background",
  },
]

8. Agent Action List

All available action types that agents can trigger during a call.

[
  { value: "sendEmail", label: "Send email" },
  { value: "callForwarding", label: "Call forwarding" },
  { value: "sms", label: "Send text message" },
  { value: "webhook", label: "Webhook" },
  { value: "zapier", label: "Zapier" },
  { value: "dataCollection", label: "Data collection" },
  { value: "ghl_calendar", label: "GHL Calendar" },
  { value: "google_calendar", label: "Google Calendar (Beta)" },
  { value: "email_push", label: "Email data Push" },
  { value: "sms_push", label: "SMS data Push" },
]

9. Action Period List

Predefined scheduling intervals used in booking workflows.

[
  { value: "1day", label: "1 Day" },
  { value: "1week", label: "1 Week" },
  { value: "1month", label: "1 Month" },
]

10. Google Action Duration List

Preset durations used when scheduling meetings with Google Calendar.

[
  { value: "30 mins", label: "30 mins" },
  { value: "45 mins", label: "45 mins" },
  { value: "1 hr", label: "1 hr" },
  { value: "1.5 hrs", label: "1.5 hrs" },
  { value: "2 hrs", label: "2 hrs" },
  { value: "2.5 hrs", label: "2.5 hrs" },
  { value: "3 hrs", label: "3 hrs" },
  { value: "12 hrs", label: "12 hrs" },
  { value: "24 hrs", label: "24 hrs" },
]

Conclusion

This concludes the Constants Reference section. These values are typically used in dropdowns, form selectors, and frontend logic across the CallFluent platform. The culmination of this section also concludes the API documentation for CallFluent AI.

Leave a reply

Your email address will not be published. Required fields are marked *

Automate your phone calls with AI

Create artificial inteligence powered, human-like voice agents ready to handle inbound and outbound calls 24/7

Discover Callfluent

Frequently asked questions

Get answers to commonly asked questions about our cutting-edge AI voice call technology & learn how our platform revolutionizes customer engagement line never before.

No, you don’t need to download or install anything. Callfluent is a cloud based app, that means that it is hosted in the cloud and you can access it from any device anytime.

Have more questions ? Check out our Knowledge base