Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to eSputnik

Scalekit connector
Open markdown

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

Tools
59
What they doRead · write · destructive
31 · 21 · 731 read21 write7 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 eSputnik connection

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

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • esputnik_account_info_getGet account details.Read-only

    Get Account Info

    Get account details. Returns the organization name, account email and settings. Use this to confirm the connection.

    Inputs

    This tool takes no inputs.

  • esputnik_additional_fields_listList contact additional field groups and fields.Read-only

    List Additional Fields

    List contact additional field groups and fields. Returns fields with id, name and type. Use this to fill contact fields.

    Inputs

    This tool takes no inputs.

  • esputnik_address_books_listList address books (catalogs).Read-only

    List Address Books

    List address books (catalogs). Returns address books with id, name and field groups. Use this to find the address book ID.

    Inputs

    This tool takes no inputs.

  • esputnik_balance_getGet the organization balance.Read-only

    Get Balance

    Get the organization balance. Returns balance, currency and credit. Use this before large sends.

    Inputs

    This tool takes no inputs.

  • esputnik_balance_history_getGet the organization billing history for a date range.Read-only

    Get Billing History

    Get the organization billing history for a date range. Returns charges and payments. Use this for spend reporting.

    Inputs

    date_fromstring
    The initial date for the billing history. The date values are passed in the ISO_8061 format. Date format: YYYY-MM-DD. Defaults to Beginning of today. Example: 2026-01-01.
    date_tostring
    The end date for the billing history. The date values are passed in the ISO_8061 format. Date format: YYYY-MM-DD. Defaults to Now. Example: 2026-01-01.
  • esputnik_broadcast_getGet one broadcast.Read-only

    Get Broadcast

    Get one broadcast. Returns its message, segments, schedule and status. Use this to check a campaign.

    Inputs

    broadcast_idstringrequired
    Broadcast ID. Example: 6789012.
  • esputnik_broadcasts_listList broadcasts (campaign sends).Read-only

    List Broadcasts

    List broadcasts (campaign sends). Returns broadcasts with id, name, message, segments, status and send date. Use esputnik_broadcast_get for one.

    Inputs

    maxrowsinteger
    Maximum number of messages to return (maximum 500). Defaults to 10. Example: 1.
    startindexinteger
    Index of the first message to return from search results Numbering starts at 1. Defaults to 1. Example: 1.
  • esputnik_contact_getGet one contact by ID.Read-only

    Get Contact

    Get one contact by ID. Returns the contact with names, channels, address, additional fields and segments. Use this when you know the ID.

    Inputs

    idintegerrequired
    id. Example: 123456789.