Product Updates

DatoCMS changelog for new features and general improvements
CLI New

New CLI command to call any DatoCMS API method directly

December 4th, 2025

You can now run any DatoCMS API method straight from our CLI with the new cma:call command. No need to write custom scripts anymore, just call the method you need directly from your terminal.

The command dynamically discovers all available resources and methods from @datocms/cma-client, so you're always working with the latest API surface.

Key features:

  • Dynamic discovery: All resources and methods are automatically available

  • Smart validation: Validates request body requirements and prompts for --data when needed

  • Flexible parameters: Supports URL placeholders via positional arguments and query parameters via --params

  • Helpful errors: Clear error messages with suggestions when something goes wrong

Perfect for quick API calls, testing, automation scripts, or when you just need to run a one-off command without spinning up a full script!

Start using DatoCMS today
According to Gartner 89% of companies plan to compete primarily on the basis of customer experience this year. Don't get caught unprepared.
  • No credit card
  • Easy setup
Subscribe to our newsletter! 📥
One update per month. All the latest news and sneak peeks directly in your inbox.
support@datocms.com ©2025 Dato srl, all rights reserved P.IVA 06969620480