← Back to CLIs
Nardjo

tally-cli

Manage Tally forms via CLI - me, forms, submissions, workspaces, folders, webhooks, organizations. Use when user mentions 'tally', 'tally.so', 'form submissions', 'tally form', 'tally webhook', 'form analytics', or wants to interact with the Tally API.

Install

$ npx api2cli install Nardjo/tally-cli

Details

Skill type: Wrapper CLI
Auth type: api-key
Version: 0.1.0
Author: Nardjo
Views: 0

README

tally-cli

CLI for the Tally forms API. Made with api2cli.dev.

Base URL: https://api.tally.so · Auth: Bearer API key

Install

# From source (local)
npx api2cli bundle tally
npx api2cli link tally

# Or after publishing to the registry
npx api2cli install Nardjo/tally-cli

AgentSkill

# Linked automatically by api2cli link
# Or install skill only:
npx skills add Nardjo/tally-cli

Auth

Get an API key from Tally settings.

tally-cli auth set "your-token"
tally-cli auth test
tally-cli me get --json

Token path: ~/.config/tokens/tally-cli.txt

Usage

tally-cli --help
tally-cli forms list --json
tally-cli submissions list <form-id> --filter completed --json
tally-cli forms metrics <form-id> --period 7d --json

Resources

me

CommandDescription
tally-cli me get --jsonCurrent authenticated user
tally-cli me get --timezone Europe/Paris --jsonGet user and update stored timezone

forms

CommandDescription
tally-cli forms list --jsonList forms (paginated)
tally-cli forms list --limit 10 --jsonList with page size
tally-cli forms list --workspace-ids <id> --jsonFilter by workspace
tally-cli forms get <form-id> --jsonGet form with blocks and settings
tally-cli forms create --title "Contact form" --status PUBLISHED --jsonMinimal form (FORM_TITLE only)
tally-cli forms create --blocks-file ./blocks.json --status DRAFT --jsonCreate from full blocks JSON
tally-cli forms update <form-id> --name "New name" --jsonRename a form
tally-cli forms update <form-id> --status PUBLISHED --jsonPublish a form
tally-cli forms delete <form-id> --jsonDelete form (trash)
tally-cli forms questions <form-id> --jsonList form questions
tally-cli forms metrics <form-id> --period 7d --jsonAggregate metrics
tally-cli forms visits <form-id> --period 7d --jsonVisits over time
tally-cli forms submission-stats <form-id> --period 30d --jsonSubmission counts over time
tally-cli forms drop-off <form-id> --period 7d --jsonPer-question drop-off
tally-cli forms dimensions <form-id> --period 30d --jsonSource/browser/OS/device/location

submissions

CommandDescription
tally-cli submissions list <form-id> --jsonList submissions
tally-cli submissions list <form-id> --filter completed --limit 20 --jsonCompleted only
tally-cli submissions get <form-id> <submission-id> --jsonOne submission + responses
tally-cli submissions delete <form-id> <submission-id> --jsonDelete a submission

workspaces

CommandDescription
tally-cli workspaces list --jsonList workspaces
tally-cli workspaces get <workspace-id> --jsonWorkspace with members
tally-cli workspaces create --name "Marketing" --jsonCreate workspace (Pro)
tally-cli workspaces update <workspace-id> --name "Growth" --jsonRename workspace
tally-cli workspaces delete <workspace-id> --jsonDelete workspace + forms (trash)

folders

CommandDescription
tally-cli folders list <workspace-id> --jsonList folders (Pro)
tally-cli folders create <workspace-id> --name "Leads" --jsonCreate folder (Pro)
tally-cli folders update <workspace-id> <folder-id> --name "Inbound" --jsonRename folder
tally-cli folders delete <workspace-id> <folder-id> --jsonDelete folder subtree

webhooks

CommandDescription
tally-cli webhooks list --jsonList webhooks
tally-cli webhooks create --form-id <id> --url https://example.com/hook --jsonCreate webhook
tally-cli webhooks update <webhook-id> --enabled false --jsonDisable webhook
tally-cli webhooks delete <webhook-id> --jsonDelete webhook
tally-cli webhooks events <webhook-id> --jsonDelivery events
tally-cli webhooks retry-event <webhook-id> <event-id> --jsonRetry failed delivery

organizations

CommandDescription
tally-cli organizations users <organization-id> --jsonList org users
tally-cli organizations remove-user <organization-id> <user-id> --jsonRemove user
tally-cli organizations invites <organization-id> --jsonList pending invites
tally-cli organizations invite <organization-id> --email a@b.com --workspace-ids <id> --jsonInvite
tally-cli organizations cancel-invite <organization-id> <invite-id> --jsonCancel invite

Global Flags

All commands support: --json, --format <text|json|csv|yaml>, --verbose, --no-color, --no-header

--json envelope:

{ "ok": true, "data": { ... }, "meta": { "total": 42 } }

Exit codes: 0 = success, 1 = API error, 2 = usage error

Docs

Sponsors