npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@zapier/zapier-sdk-cli

v0.16.8

Published

Command line interface for Zapier SDK

Downloads

3,700

Maintainers

tims256tims256philip.ng-zapierphilip.ng-zapierzapetczapetcchaodonghuchaodonghujc.coto-zapierjc.coto-zapierandrew.gosnell-zapierandrew.gosnell-zapieremma-haysemma-haysmichaelannmichaelannnickaccuardizapiernickaccuardizapierjdaudierjdaudierjoaopimenteljoaopimentelrsiemensrsiemenskola-erkola-ercodebycalebcodebycalebcalebpetersoncalebpetersonzapier-engineeringzapier-engineeringbryanhelmigbryanhelmigpwhammanpwhammanamber.diehl-zapieramber.diehl-zapierpercy_at_zapierpercy_at_zapierlijennilijennikatestamzapkatestamzapfokkezbfokkezbzoeykim-zapierzoeykim-zapierjhk2020jhk2020natalie.davis-zapiernatalie.davis-zapiernik.danilov-zapiernik.danilov-zapierjonathan.harrell-zapierjonathan.harrell-zapierdilan-zapierdilan-zapiersandy.brydon-zapiersandy.brydon-zapieremily.harris-zapieremily.harris-zapiercorbin.schwartz-zapiercorbin.schwartz-zapiermikekucheramikekucheraandrew.kordampalos-zapierandrew.kordampalos-zapiernate.moore-zapiernate.moore-zapierjosuezapjosuezaprhubbardrhubbardtomasz.piechota-zapiertomasz.piechota-zapierservice-account-appsecservice-account-appsecmary.rising-zapiermary.rising-zapiernkroeker_zapnkroeker_zaphitchcockwillhitchcockwillibrahem.zayedibrahem.zayedchelsea.weberchelsea.weberseason.huangseason.huangchris.vanderkolk.zapierchris.vanderkolk.zapiererin.williams-zapiererin.williams-zapierdarko.ronic.zapierdarko.ronic.zapierkredlearkredlearchelschubbchelschubbskylershawskylershawmaggie.cody-zapiermaggie.cody-zapierandya-zapierandya-zapierianscoianscowill.wigginswill.wigginsannaulyanovaannaulyanovabskaurudbskaurudkaitrin.coxkaitrin.coxchasehambychasehambymilkrammilkrammburnimburnipeterbritnellpeterbritnellcarolinezapiercarolinezapierchris.lee-zapierchris.lee-zapieremmaielleemmaiellejeanetteujeanetteujordanraleighjordanraleighrobertsclrobertscldayne-taittdayne-taittlaurenmbeattylaurenmbeattyihor.horakihor.horakmaxwellgbrownmaxwellgbrownhanz.corteshanz.cortesalejandro-lagosalejandro-lagostom.leung-zapiertom.leung-zapierlizzyzaplizzyzapcolemacleancolemacleansdelosrios95sdelosrios95jason.rametta-zapierjason.rametta-zapierjoseph-corona-zapierjoseph-corona-zapierpedro.louro-zapierpedro.louro-zapierlachlan.willis-zapierlachlan.willis-zapieralphabrettalphabrettbrandon.parker-zapierbrandon.parker-zapierpoterekmpoterekmgreg-zapiergreg-zapierloveena.vattenkyloveena.vattenkymsholtymsholtyplorryplorryjoel.taddeijoel.taddeistandielplsstandielplsfgrafafgrafaaparkinaparkinilari.scheininilari.scheininannader-zapierannader-zapieramickael-zapamickael-zapkalenwesselkalenwesselkat.nestorkat.nestorxavierh-zapierxavierh-zapierjames.hong-zapierjames.hong-zapierservice-account-renovateservice-account-renovatecortega_zpcortega_zpjelani.jackson-zapierjelani.jackson-zapierbrandon.myers.zapierbrandon.myers.zapierben.clapp.zapierben.clapp.zapierrebecca.davis.zapierrebecca.davis.zapierdavidwin-zapdavidwin-zapdylan.laible-zapierdylan.laible-zapiermason.geloso-zapiermason.geloso-zapiervaleriia.shpinervaleriia.shpinerzac.jones-zapierzac.jones-zapiermanasseh_zapiermanasseh_zapierlisa.orrlisa.orraaclarker-zapaaclarker-zapfernando.velascosalazarfernando.velascosalazarnormanroanormanroadaniel.vagg-zapierdaniel.vagg-zapierpaulo.neto-zapierpaulo.neto-zapieralec.hinh-zapieralec.hinh-zapierscott.woodend-zapierscott.woodend-zapiersteven.nelemans-zapiersteven.nelemans-zapiercody.landrycody.landryschlickmannschlickmannjacquelynmccrayjacquelynmccraywojciech.matuszewski-zapierwojciech.matuszewski-zapieralex.blackalex.blackdanielheidornzapdanielheidornzapraquel.zapierraquel.zapiersarahstorysarahstorymatthew.hockenbury-zapiermatthew.hockenbury-zapierjonathan.wise-zapierjonathan.wise-zapierdewayne-zapierdewayne-zapierchrys.swingler-zapierchrys.swingler-zapiermahsa.khoshab-zapiermahsa.khoshab-zapieranna.hadnagy-zapieranna.hadnagy-zapierjake.talgard-zapierjake.talgard-zapierbenjamin.kempe-zapierbenjamin.kempe-zapierryan.vennell-zapierryan.vennell-zapierzackary.higgins-zapierzackary.higgins-zapierbryce.seagervandyk-zapierbryce.seagervandyk-zapierkit.burgess-zapierkit.burgess-zapierzapier-interfaceszapier-interfacesbrody-zapierbrody-zapieraaron.kosel-zapieraaron.kosel-zapierdiomerdiomercameron.barnes-zapiercameron.barnes-zapiersarah.hernandez-zapiersarah.hernandez-zapierdavid.jardine-zapierdavid.jardine-zapierryan.detzel-zapierryan.detzel-zapierjacob.blakely-zapierjacob.blakely-zapierkasey.cowley-zapierkasey.cowley-zapierjessica.winters-zapierjessica.winters-zapierabraham.duran-zapierabraham.duran-zapieraleks.ozolins-zapieraleks.ozolins-zapiernicholas.civili-zapiernicholas.civili-zapieraubry.stewart-zapieraubry.stewart-zapierkristen.keller-zapierkristen.keller-zapierryan.laxson-zapierryan.laxson-zapiershanan.holm-zapiershanan.holm-zapieromar.delossantos-zapieromar.delossantos-zapierosarhomiyeke.iyere-zapierosarhomiyeke.iyere-zapiermike.lambert-zapiermike.lambert-zapiercatherine.murray-zapiercatherine.murray-zapierken.ng-zapierken.ng-zapiermarina.handmarina.handvivian.lau-zapiervivian.lau-zapierdan.middleton-zapierdan.middleton-zapierjames.miltenberger-zapierjames.miltenberger-zapiercharan.mahesan-zapiercharan.mahesan-zapierolajide.ayinla-zapierolajide.ayinla-zapiersara.gomez-zapiersara.gomez-zapierismail.latona-zapierismail.latona-zapiertazrafiqtazrafiqservice-account-catalogservice-account-catalogashley.isles-zapierashley.isles-zapierryan.dunnewold-zapierryan.dunnewold-zapierrval-zapierrval-zapierjenna.macdonald-zapierjenna.macdonald-zapiersharvari.desai-zapiersharvari.desai-zapierlstensagerlstensagerkunal.mahajan-zapierkunal.mahajan-zapierben.mcadams-zapierben.mcadams-zapierjason.brandt-zapierjason.brandt-zapiernitish.sachar.zapiernitish.sachar.zapiermark.auburn-zapiermark.auburn-zapierjames-zapierjames-zapierjacob.bridges-zapierjacob.bridges-zapierbrian.corbinbrian.corbinpradeepan.michaelraj-zapierpradeepan.michaelraj-zapiervakeesh.kanna-zapiervakeesh.kanna-zapierdaria.usatyuk-zapierdaria.usatyuk-zapieralexis.hitt-zapieralexis.hitt-zapierjacob.webber-zapierjacob.webber-zapiersteve.gasior-zapiersteve.gasior-zapiermathieu.lavallee-zapiermathieu.lavallee-zapierjuancamilo.solano-zapierjuancamilo.solano-zapieralex.mcevoy-zapieralex.mcevoy-zapiernate.platt-zapiernate.platt-zapiervarand.abrahamian-zapiervarand.abrahamian-zapierdave.mathes-zapierdave.mathes-zapierrishi.goomar-zapierrishi.goomar-zapiernithun.harikrishnan-zapiernithun.harikrishnan-zapierenes.grahovac-zapierenes.grahovac-zapierpavel.vasv-zapierpavel.vasv-zapierbilly.kaufman-zapierbilly.kaufman-zapierkirby.hackett-zapierkirby.hackett-zapierjames.rosebaugh-nordan-zapierjames.rosebaugh-nordan-zapierindra.kabiraj-zapierindra.kabiraj-zapiernatay.aberra-zapiernatay.aberra-zapiernoahmangerzapiernoahmangerzapierjustin.zapierjustin.zapierjason.kotenko-zapierjason.kotenko-zapierchristian.wernert-zapierchristian.wernert-zapiermiguel.oteropedrido-zapiermiguel.oteropedrido-zapierlukecjohnson-zapierlukecjohnson-zapieryohana-heringeryohana-heringeradampieadampiekevin.mcgovern-zapierkevin.mcgovern-zapierkenyon.sparks-zapierkenyon.sparks-zapierdaniel.shepard-zapier-1daniel.shepard-zapier-1kamalsingh.narukakamalsingh.narukapeter.lord-zapierpeter.lord-zapierstephanie.coates-zapierstephanie.coates-zapierseth.duncan-zapierseth.duncan-zapiernick.fredman-zapiernick.fredman-zapiermatt.luksomatt.luksoerik.aybar-zapiererik.aybar-zapierchris.taylor-zapierchris.taylor-zapierchris.haferl-zapierchris.haferl-zapierjason.poole-zapierjason.poole-zapieramy.steen-zapieramy.steen-zapiermojtaba.hosseini-zapiermojtaba.hosseini-zapierandy.spezzatti-zapierandy.spezzatti-zapierseth.etter-zapierseth.etter-zapiersage-zapiersage-zapierblakek-zapierblakek-zapierkelly.vaughn-zapierkelly.vaughn-zapierdanielle.weisz-zapierdanielle.weisz-zapierenrique.maytorena-zapierenrique.maytorena-zapierhgascoigne_zapierhgascoigne_zapierandrew-scala-zapierandrew-scala-zapierjuan-vazquez-zapierjuan-vazquez-zapierandyzapierandyzapierdaniel-frazierdaniel-frazierjase.hackman-zapierjase.hackman-zapierrahul.es-zapierrahul.es-zapierrob.golding-day-zapierrob.golding-day-zapiercass.hill-zapiercass.hill-zapiernumichuunumichuujay.reddy-zapierjay.reddy-zapiercameron.phillips-zapiercameron.phillips-zapierajdlpajdlpalvaro.martin-zapieralvaro.martin-zapiersimon.charette-zapiersimon.charette-zapierchristopher.mclachlan-lee-zapierchristopher.mclachlan-lee-zapierbailey.griswold-zapierbailey.griswold-zapierchristopher.mckay-zapierchristopher.mckay-zapierthomas.cranny-zapierthomas.cranny-zapierrenae.corcoran-zapierrenae.corcoran-zapierjosh.newman-zapierjosh.newman-zapierchang-hung.liang-zapierchang-hung.liang-zapierrocio.aramberri-zapierrocio.aramberri-zapiercooksey-zapiercooksey-zapierkrishna.chaitanya-zapierkrishna.chaitanya-zapiersugatmahantisugatmahantianthony.torres-zapieranthony.torres-zapiermaria.bances-zapiermaria.bances-zapiernick.james-zapiernick.james-zapierclaire.mcnelis-zapierclaire.mcnelis-zapierchris.weaverchris.weaverjames.carr-zapierjames.carr-zapierbrodenzapierbrodenzapierrebecca-ghazalirebecca-ghazalibradley.bohen-zapierbradley.bohen-zapierstevemolitorstevemolitorsammons.zapiersammons.zapierchristophe.coutzoukis-zapierchristophe.coutzoukis-zapierana.krivokapic-zapierana.krivokapic-zapiersaraelizabeth.horning-zapiersaraelizabeth.horning-zapiervictor.avasiloaei-zapiervictor.avasiloaei-zapierjordy.vandomselaar-zapierjordy.vandomselaar-zapierjuancarlos.prida-zapierjuancarlos.prida-zapierjdeal_zapierjdeal_zapiermike.pirnat-zapiermike.pirnat-zapierkeerthana.mohan-zapierkeerthana.mohan-zapiernicole.thomasnicole.thomasahsanhassanahsanhassanchris.johns-zapierchris.johns-zapieralden.aikele-zapieralden.aikele-zapierryan.fitzgerald-zapierryan.fitzgerald-zapiermiklossimonmiklossimondave.kolas-zapierdave.kolas-zapierbrodie.kurczynski_zapierbrodie.kurczynski_zapierlindsay.smith-zapierlindsay.smith-zapierfrank.leng-zapierfrank.leng-zapiererika.satterfield-zapiererika.satterfield-zapierkaushibkaushibalexmichael.lewis-zapieralexmichael.lewis-zapieragustina.feijoo-zapieragustina.feijoo-zapierraj.balasubramaniam-zapierraj.balasubramaniam-zapieranna.mira-zapieranna.mira-zapiertravis.stephens-zapiertravis.stephens-zapierdenis.chendenis.chenluces.huayhuacalambert-zapierluces.huayhuacalambert-zapierbrad.peters-zapierbrad.peters-zapierdeirdremarie.massaro-zapierdeirdremarie.massaro-zapierashraf.khattab-zapierashraf.khattab-zapierwalt.della-zapierwalt.della-zapierthalida.noel-zapierthalida.noel-zapierruta.reisoglu-zapierruta.reisoglu-zapierlucas.carlson-zapierlucas.carlson-zapierbj.collins-zapierbj.collins-zapierjames.baldwin-zapierjames.baldwin-zapiereleanor.kiefelhaggerty-zapiereleanor.kiefelhaggerty-zapiermai.berrondo-zapiermai.berrondo-zapierjonathan.ballard-zapierjonathan.ballard-zapierveervikram.raj-zapierveervikram.raj-zapierbetsy.gottesman.zapierbetsy.gottesman.zapiergwen.myall-zapiergwen.myall-zapieradam.sukenik-zapieradam.sukenik-zapierali.tycast-zapierali.tycast-zapierrobin.salimans-zapierrobin.salimans-zapierhari.nandanan-zapierhari.nandanan-zapiersjimenez.zapiersjimenez.zapieralfonso.riosalfonso.riosjoanna.lu-zapierjoanna.lu-zapiercolt.pini-zapiercolt.pini-zapierjeff.bertrand-zapierjeff.bertrand-zapierchristopher.knight-zapierchristopher.knight-zapierjay.li-zapierjay.li-zapiermatthew.kiernander-zapiermatthew.kiernander-zapiersangeeta.jadoonanan-zapiersangeeta.jadoonanan-zapier

Keywords

zapierclisdk

Readme

@zapier/zapier-sdk-cli

Table of Contents

Installation

npm install -D @zapier/zapier-sdk-cli

Quick Start

# See all available commands
npx zapier-sdk --help

# Login to Zapier
npx zapier-sdk login

# List all available apps
npx zapier-sdk list-apps

# Generate TypeScript types for an app
npx zapier-sdk add slack --types-output ./types/slack.ts

Global Options

These options are available for all commands:

| Option | Short | Description | | ----------- | ----- | -------------------------------------------- | | --version | -v | Display version number | | --help | -h | Display help for command | | --debug | | Enable debug logging | | --json | | Output raw JSON instead of formatted results |

Available Commands

The CLI automatically generates commands from the SDK registry. All SDK functions are available as CLI commands using kebab-case naming.

Accounts

get-profile

Get current user's profile information

Usage:

npx zapier-sdk get-profile

login

Log in to Zapier to access your account

Options:

| Option | Type | Required | Default | Possible Values | Description | | ----------- | -------- | -------- | ------- | --------------- | --------------------------------------- | | --timeout | string | ❌ | — | — | Login timeout in seconds (default: 300) |

Usage:

npx zapier-sdk login [--timeout]

logout

Log out of your Zapier account

Usage:

npx zapier-sdk logout

Actions

get-action

Get detailed information about a specific action

Options:

| Option | Type | Required | Default | Possible Values | Description | | --------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | --------------------------------------------------- | | <app-key> | string | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github') | | <action-type> | string | ✅ | — | read, read_bulk, write, run, search, search_or_write, search_and_write, filter | Action type that matches the action's defined type | | <action-key> | string | ✅ | — | — | Action key to execute |

Usage:

npx zapier-sdk get-action <app-key> <action-type> <action-key>

get-input-fields-schema

Get the JSON Schema representation of input fields for an action. Returns a JSON Schema object describing the structure, types, and validation rules for the action's input parameters.

Options:

| Option | Type | Required | Default | Possible Values | Description | | --------------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | | <app-key> | string | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github') to get the input schema for | | <action-type> | string | ✅ | — | read, read_bulk, write, run, search, search_or_write, search_and_write, filter | Action type that matches the action's defined type | | <action-key> | string | ✅ | — | — | Action key to get the input schema for | | --authentication-id | string | ❌ | — | — | Authentication ID to use when fetching the schema. Required if the action needs authentication to determine available fields. | | --inputs | object | ❌ | — | — | Current input values that may affect the schema (e.g., when fields depend on other field values) |

Usage:

npx zapier-sdk get-input-fields-schema <app-key> <action-type> <action-key> [--authentication-id] [--inputs]

list-actions

List all actions for a specific app

Options:

| Option | Type | Required | Default | Possible Values | Description | | --------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | | <app-key> | string | ✅ | — | — | App key of actions to list (e.g., 'SlackCLIAPI' or slug like 'github') | | --action-type | string | ❌ | — | read, read_bulk, write, run, search, search_or_write, search_and_write, filter | Filter actions by type | | --page-size | number | ❌ | — | — | Number of actions per page | | --max-items | number | ❌ | — | — | Maximum total items to return across all pages | | --cursor | string | ❌ | — | — | Cursor to start from |

Usage:

npx zapier-sdk list-actions <app-key> [--action-type] [--page-size] [--max-items] [--cursor]

list-input-field-choices

Get the available choices for a dynamic dropdown input field

Options:

| Option | Type | Required | Default | Possible Values | Description | | --------------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------ | | <app-key> | string | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github') | | <action-type> | string | ✅ | — | read, read_bulk, write, run, search, search_or_write, search_and_write, filter | Action type that matches the action's defined type | | <action-key> | string | ✅ | — | — | Action key to execute | | <input-field-key> | string | ✅ | — | — | Input field key to get choices for. | | --authentication-id | string | ❌ | — | — | Authentication ID to use for this action | | --inputs | object | ❌ | — | — | Current input values that may affect available choices | | --page | number | ❌ | — | — | Page number for paginated results | | --page-size | number | ❌ | — | — | Number of choices per page | | --max-items | number | ❌ | — | — | Maximum total items to return across all pages | | --cursor | string | ❌ | — | — | Cursor to start from |

Usage:

npx zapier-sdk list-input-field-choices <app-key> <action-type> <action-key> <input-field-key> [--authentication-id] [--inputs] [--page] [--page-size] [--max-items] [--cursor]

list-input-fields

Get the input fields required for a specific action

Options:

| Option | Type | Required | Default | Possible Values | Description | | --------------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ----------------------------------------------------- | | <app-key> | string | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github') | | <action-type> | string | ✅ | — | read, read_bulk, write, run, search, search_or_write, search_and_write, filter | Action type that matches the action's defined type | | <action-key> | string | ✅ | — | — | Action key to execute | | --authentication-id | string | ❌ | — | — | Authentication ID to use for this action | | --inputs | object | ❌ | — | — | Current input values that may affect available fields | | --page-size | number | ❌ | — | — | Number of input fields per page | | --max-items | number | ❌ | — | — | Maximum total items to return across all pages | | --cursor | string | ❌ | — | — | Cursor to start from |

Usage:

npx zapier-sdk list-input-fields <app-key> <action-type> <action-key> [--authentication-id] [--inputs] [--page-size] [--max-items] [--cursor]

run-action

Execute an action with the given inputs

Options:

| Option | Type | Required | Default | Possible Values | Description | | --------------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | --------------------------------------------------- | | <app-key> | string | ✅ | — | — | App key (e.g., 'SlackCLIAPI' or slug like 'github') | | <action-type> | string | ✅ | — | read, read_bulk, write, run, search, search_or_write, search_and_write, filter | Action type that matches the action's defined type | | <action-key> | string | ✅ | — | — | Action key to execute | | --authentication-id | string | ❌ | — | — | Authentication ID to use for this action | | --inputs | object | ❌ | — | — | Input parameters for the action | | --page-size | number | ❌ | — | — | Number of results per page | | --max-items | number | ❌ | — | — | Maximum total items to return across all pages | | --cursor | string | ❌ | — | — | Cursor to start from |

Usage:

npx zapier-sdk run-action <app-key> <action-type> <action-key> [--authentication-id] [--inputs] [--page-size] [--max-items] [--cursor]

Apps

get-app

Get detailed information about a specific app

Options:

| Option | Type | Required | Default | Possible Values | Description | | ----------- | -------- | -------- | ------- | --------------- | ------------------------------------------------------------------- | | <app-key> | string | ✅ | — | — | App key of app to fetch (e.g., 'SlackCLIAPI' or slug like 'github') |

Usage:

npx zapier-sdk get-app <app-key>

list-apps

List all available apps with optional filtering

Options:

| Option | Type | Required | Default | Possible Values | Description | | ------------- | -------- | -------- | ------- | --------------- | ------------------------------------------------------------------- | | --app-keys | array | ❌ | — | — | Filter apps by app keys (e.g., 'SlackCLIAPI' or slug like 'github') | | --search | string | ❌ | — | — | Search for apps by name | | --page-size | number | ❌ | — | — | Number of apps per page | | --max-items | number | ❌ | — | — | Maximum total items to return across all pages | | --cursor | string | ❌ | — | — | Cursor to start from |

Usage:

npx zapier-sdk list-apps [--app-keys] [--search] [--page-size] [--max-items] [--cursor]

Authentications

find-first-authentication

Find the first authentication matching the criteria

Options:

| Option | Type | Required | Default | Possible Values | Description | | -------------- | -------- | -------- | ------- | --------------- | ----------------------------------------------------------------------------- | | --app-key | string | ❌ | — | — | App key of authentication to find (e.g., 'SlackCLIAPI' or slug like 'github') | | --search | string | ❌ | — | — | Search term to filter authentications by title | | --title | string | ❌ | — | — | Filter authentications by exact title match | | --account-id | string | ❌ | — | — | Filter by account ID | | --owner | string | ❌ | — | — | Filter by owner |

Usage:

npx zapier-sdk find-first-authentication [--app-key] [--search] [--title] [--account-id] [--owner]

find-unique-authentication

Find a unique authentication matching the criteria

Options:

| Option | Type | Required | Default | Possible Values | Description | | -------------- | -------- | -------- | ------- | --------------- | ----------------------------------------------------------------------------- | | --app-key | string | ❌ | — | — | App key of authentication to find (e.g., 'SlackCLIAPI' or slug like 'github') | | --search | string | ❌ | — | — | Search term to filter authentications by title | | --title | string | ❌ | — | — | Filter authentications by exact title match | | --account-id | string | ❌ | — | — | Filter by account ID | | --owner | string | ❌ | — | — | Filter by owner |

Usage:

npx zapier-sdk find-unique-authentication [--app-key] [--search] [--title] [--account-id] [--owner]

get-authentication

Get a specific authentication by ID

Options:

| Option | Type | Required | Default | Possible Values | Description | | --------------------- | -------- | -------- | ------- | --------------- | ----------------------------- | | <authentication-id> | number | ✅ | — | — | Authentication ID to retrieve |

Usage:

npx zapier-sdk get-authentication <authentication-id>

list-authentications

List available authentications with optional filtering

Options:

| Option | Type | Required | Default | Possible Values | Description | | ---------------------- | -------- | -------- | ------- | --------------- | ------------------------------------------------------------------------------ | | --app-key | string | ❌ | — | — | App key of authentications to list (e.g., 'SlackCLIAPI' or slug like 'github') | | --authentication-ids | array | ❌ | — | — | List of authentication IDs to filter by | | --search | string | ❌ | — | — | Search term to filter authentications by title | | --title | string | ❌ | — | — | Filter authentications by exact title match | | --account-id | string | ❌ | — | — | Filter by account ID | | --owner | string | ❌ | — | — | Filter by owner, 'me' for your own authentications or a specific user ID | | --page-size | number | ❌ | — | — | Number of authentications per page | | --max-items | number | ❌ | — | — | Maximum total items to return across all pages | | --cursor | string | ❌ | — | — | Cursor to start from |

Usage:

npx zapier-sdk list-authentications [--app-key] [--authentication-ids] [--search] [--title] [--account-id] [--owner] [--page-size] [--max-items] [--cursor]

HTTP Requests

request

Make authenticated HTTP requests through Zapier's Relay service

Options:

| Option | Type | Required | Default | Possible Values | Description | | --------------------------- | -------- | -------- | ------- | ---------------------------------------------------------- | -------------------------------------------------------------------- | | <url> | string | ✅ | — | — | The URL to request (will be proxied through Relay) | | --method | string | ❌ | — | GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS | HTTP method | | --body | string | ❌ | — | — | Request body as a string | | --authentication-id | number | ❌ | — | — | Zapier authentication ID to use for the request | | --callback-url | string | ❌ | — | — | URL to send async response to (makes request async) | | --authentication-template | string | ❌ | — | — | Optional JSON string authentication template to bypass Notary lookup | | --headers | string | ❌ | — | — | Request headers | | --relay-base-url | string | ❌ | — | — | Base URL for Relay service |

Usage:

npx zapier-sdk request <url> [--method] [--body] [--authentication-id] [--callback-url] [--authentication-template] [--headers] [--relay-base-url]

Utilities

add

Add apps with manifest locking and TypeScript type generation - updates .zapierrc with app versions and generates TypeScript definition files

Options:

| Option | Type | Required | Default | Possible Values | Description | | ---------------------- | -------- | -------- | ------- | --------------- | ------------------------------------------------------------------------------------------------------- | | <app-keys> | array | ✅ | — | — | One or more app keys to add (e.g., 'slack', 'github', 'trello') | | --authentication-ids | array | ❌ | — | — | Authentication IDs to use for type generation (e.g., ['123', '456']) | | --config-path | string | ❌ | — | — | Path to Zapier config file (defaults to '.zapierrc', e.g., './custom/.zapierrc') | | --types-output | string | ❌ | — | — | Directory for TypeScript type files (defaults to (src/lib/.)/zapier/apps/, e.g., './src/types/zapier/') |

Usage:

npx zapier-sdk add <app-keys> [--authentication-ids] [--config-path] [--types-output]

build-manifest

Build manifest entries for apps - can optionally write to disk or just return JSON

Options:

| Option | Type | Required | Default | Possible Values | Description | | --------------- | --------- | -------- | ------- | --------------- | ------------------------------------------------------------------------------------------------------------ | | <app-keys> | array | ✅ | — | — | One or more app keys to build manifest entries for (e.g., 'slack', 'github', 'trello') | | --skip-write | boolean | ❌ | — | — | If true, returns manifest entries without writing to disk. If false or omitted, writes to the manifest file. | | --config-path | string | ❌ | — | — | Path to the manifest file. Only used when skipWrite is false or omitted. |

Usage:

npx zapier-sdk build-manifest <app-keys> [--skip-write] [--config-path]

bundle-code

Bundle TypeScript code into executable JavaScript

Options:

| Option | Type | Required | Default | Possible Values | Description | | ---------- | --------- | -------- | ------- | --------------- | -------------------------------------------------------- | | <input> | string | ✅ | — | — | Input TypeScript file path to bundle | | --output | string | ❌ | — | — | Output file path (defaults to input with .js extension) | | --string | boolean | ❌ | — | — | Return bundled code as string instead of writing to file | | --minify | boolean | ❌ | — | — | Minify the bundled output | | --target | string | ❌ | — | — | ECMAScript target version | | --cjs | boolean | ❌ | — | — | Output CommonJS format instead of ESM |

Usage:

npx zapier-sdk bundle-code <input> [--output] [--string] [--minify] [--target] [--cjs]

generate-app-types

Generate TypeScript type definitions for apps - can optionally write to disk or just return type strings

Options:

| Option | Type | Required | Default | Possible Values | Description | | -------------------------- | --------- | -------- | ------- | --------------- | -------------------------------------------------------------------------------------------------- | | <app-keys> | array | ✅ | — | — | One or more app keys to generate types for (e.g., 'slack', 'github', 'trello') | | --authentication-ids | array | ❌ | — | — | Authentication IDs to use for type generation (e.g., ['123', '456']) | | --skip-write | boolean | ❌ | — | — | If true, returns type definitions without writing to disk. If false or omitted, writes type files. | | --types-output-directory | string | ❌ | — | — | Directory for TypeScript type files. Required when skipWrite is false or omitted. |

Usage:

npx zapier-sdk generate-app-types <app-keys> [--authentication-ids] [--skip-write] [--types-output-directory]

get-login-config-path

Show the path to the login configuration file

Usage:

npx zapier-sdk get-login-config-path

mcp

Start MCP server for Zapier SDK

Options:

| Option | Type | Required | Default | Possible Values | Description | | -------- | -------- | -------- | ------- | --------------- | --------------------------------------------- | | --port | string | ❌ | — | — | Port to listen on (for future HTTP transport) |

Usage:

npx zapier-sdk mcp [--port]