Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to Infobip

Scalekit connector
Open markdown

The Infobip connector lets your AI agent act in each user's Infobip account. Each user connects their own Infobip API key once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 65 tools.

Tools
65
What they doRead · write · destructive
22 · 37 · 622 read37 write6 destructive
Users sign in with

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the Infobip connection

    In AgentKit > Connections, create an Infobip connection. The name you give it is the connection_name your code passes. See Configure connections.

  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'infobip'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Infobip:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'infobip_2fa_applications_list',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user opens the link once and enters their Infobip credentials there. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • infobip_2fa_application_getGet one Infobip 2FA application and its PIN rules.Read-only

    Get 2FA Application

    Get one Infobip 2FA application and its PIN rules. Returns applicationId, name, enabled and configuration (pinAttempts, pinTimeToLive, rate limits). Use infobip_2fa_application_get to read an application's limits.

    Inputs

    application_idstringrequired
    ID of the 2FA application. Example: 1C9E3B2F4D5A6B7C8D9E0F1A2B3C4D5E
  • infobip_2fa_applications_listList your Infobip 2FA applications (each holds PIN rules such as attempts and time-to-live).Read-only

    List 2FA Applications

    List your Infobip 2FA applications (each holds PIN rules such as attempts and time-to-live). Returns applications with applicationId, name, configuration and enabled. Use infobip_2fa_applications_list to find the applicationId for the PIN tools.

    Inputs

    This tool takes no inputs.

  • infobip_2fa_message_template_getGet one PIN message template of an Infobip 2FA application.Read-only

    Get 2FA Message Template

    Get one PIN message template of an Infobip 2FA application. Returns messageId, messageText, pinType, pinLength, senderId, language and voice settings. Use infobip_2fa_message_template_get to check a template's text and PIN format.

    Inputs

    application_idstringrequired
    ID of the 2FA application. Example: 1C9E3B2F4D5A6B7C8D9E0F1A2B3C4D5E
    message_idstringrequired
    ID of the message template. Example: 9C815F8AF3328
  • infobip_2fa_message_templates_listList the PIN message templates of an Infobip 2FA application.Read-only

    List 2FA Message Templates

    List the PIN message templates of an Infobip 2FA application. Returns templates with messageId, messageText, pinType, pinLength, senderId and language. Use infobip_2fa_message_templates_list to find the messageId for infobip_2fa_pin_send_sms or _voice.

    Inputs

    application_idstringrequired
    ID of the 2FA application. Example: 1C9E3B2F4D5A6B7C8D9E0F1A2B3C4D5E
  • infobip_2fa_verification_status_getGet the verification history of a phone number or email address in an Infobip 2FA application.Read-only

    Get 2FA Verification Status

    Get the verification history of a phone number or email address in an Infobip 2FA application. Returns verifications with msisdn, verified, verifiedAt and sentAt. Use infobip_2fa_verification_status_get to check whether a number has already been verified.

    Inputs

    application_idstringrequired
    ID of the 2FA application. Example: 1C9E3B2F4D5A6B7C8D9E0F1A2B3C4D5E
    msisdnstringrequired
    Phone number (international format without +) or email address. Example: 41793026727
    sentboolean
    Only attempts whose message was sent (true) or not (false). Example: true
    verifiedboolean
    Only verified (true) or unverified (false) attempts. Example: true
  • infobip_account_balance_getGet the current balance of your Infobip account.Read-only

    Get Account Balance

    Get the current balance of your Infobip account. Returns balance and currency. Use infobip_account_balance_get to check credit before large sends.

    Inputs

    This tool takes no inputs.

  • infobip_account_free_messages_getGet how many free messages are left on your Infobip account (for example on a trial).Read-only

    Get Free Messages Count

    Get how many free messages are left on your Infobip account (for example on a trial). Returns freeMessages. Use infobip_account_free_messages_get to check trial allowance.

    Inputs

    This tool takes no inputs.

  • infobip_email_domain_getGet one Infobip sending domain with the DNS records (SPF, DKIM, MX, tracking CNAME) it needs.Read-only

    Get Email Domain

    Get one Infobip sending domain with the DNS records (SPF, DKIM, MX, tracking CNAME) it needs. Returns domainId, domainName, active, tracking, dnsRecords with verified flags, and blocked. Use infobip_email_domain_get to see which DNS records to publish before infobip_email_domain_verify.

    Inputs

    domain_namestringrequired
    The domain name. Example: mail.example.com