Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to ClickSend

Scalekit connector
Open markdown

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

Tools
84
What they doRead · write · destructive
38 · 40 · 638 read40 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 ClickSend connection

    In AgentKit > Connections, create a ClickSend 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
  • clicksend_account_getGet the authenticated ClickSend account's details.Read-only

    Get Account

    Get the authenticated ClickSend account's details. Returns user_id, username, name, email, country, currency, balance and account settings. Use clicksend_account_get to check credit balance or confirm the connection works. Use clicksend_account_usage_get for monthly usage.

    Inputs

    This tool takes no inputs.

  • clicksend_account_usage_getGet the account's message usage for one month, broken down by subaccount.Read-only

    Get Account Usage

    Get the account's message usage for one month, broken down by subaccount. Returns counts and costs per channel for that month. Use clicksend_account_usage_get for monthly reporting. Use clicksend_sms_statistics_get for recent SMS totals.

    Inputs

    monthstringrequired
    Month number to report on, 1-12. Example: "4".
    yearstringrequired
    Four-digit year to report on. Example: "2026".
  • clicksend_contact_getGet one contact in a contact list.Read-only

    Get Contact

    Get one contact in a contact list. Returns the contact's phone_number, email, fax_number, names, address and custom fields. Use clicksend_contact_get when you have both IDs. Use clicksend_contacts_lists_search to find a contact by name or number.

    Inputs

    contact_idintegerrequired
    ID of the contact. Get it from the contact_id field of clicksend_list_contacts_list or clicksend_contacts_lists_search. Example: 1503921.
    list_idintegerrequired
    ID of the contact list. Get it from the list_id field of clicksend_lists_list or clicksend_contacts_lists_search. Example: 428.
  • clicksend_countries_listList the countries ClickSend supports, with their codes.Read-only

    List Countries

    List the countries ClickSend supports, with their codes. Returns each country's name and two-letter code. Use clicksend_countries_list to look up country codes for country fields.

    Inputs

    This tool takes no inputs.

  • clicksend_email_address_getGet one allowed sender email address by ID.Read-only

    Get Allowed Email Address

    Get one allowed sender email address by ID. Returns email_address_id, email_address and verified status. Use clicksend_email_address_get to check whether an address is verified.

    Inputs

    email_address_idintegerrequired
    ID of the allowed email address, from clicksend_email_addresses_list. Example: 1.
  • clicksend_email_addresses_listList the sender email addresses allowed on the account and whether each is verified.Read-only

    List Allowed Email Addresses

    List the sender email addresses allowed on the account and whether each is verified. Returns a paginated list with email_address_id, email_address and verified status. Use clicksend_email_addresses_list to get the from_email_address_id for clicksend_email_send.

    Inputs

    limitinteger
    Number of records per page. ClickSend defaults to 15 and allows up to 100. Example: 50.
    pageinteger
    Page number of results to return, starting at 1. ClickSend defaults to 1. Example: 2.
  • clicksend_email_history_listList transactional emails previously sent from the account, optionally within a date range.Read-only

    List Email History

    List transactional emails previously sent from the account, optionally within a date range. Returns a paginated list with message_id, recipients, subject, status and price. Use clicksend_email_history_list to review sent emails.

    Inputs

    date_frominteger
    Only return emails on or after this time, as a Unix timestamp in seconds. Example: 1735689600 (2025-01-01 00:00 UTC).
    date_tointeger
    Only return emails on or before this time, as a Unix timestamp in seconds. Example: 1738367999 (2025-01-31 23:59 UTC).
    limitinteger
    Number of records per page. ClickSend defaults to 15 and allows up to 100. Example: 50.
    pageinteger
    Page number of results to return, starting at 1. ClickSend defaults to 1. Example: 2.