Happening this week! Hear how Amplitude built a self-serve marketing engine to drive growth 🚀

Hook

Interact with hooks in your project

usage: sanity hook [-v|--version] [-d|--debug] [-h|--help] <command> [<args>]

Commands:
   attempt  Print details of a given webhook delivery attempt
   create   Create a new hook for the given dataset
   delete   Delete a hook within your project
   list     List hooks for a given project
   logs     List latest log entries for a given hook

See 'sanity help hook <command>' for specific information on a subcommand.

Commands

Attempt

usage: sanity hook attempt ATTEMPT_ID

   Print details of a given webhook delivery attempt

Create

usage: sanity hook create

   Create a new hook for the given dataset

Delete

usage: sanity hook delete [NAME]

   Delete a hook within your project

List

usage: sanity hook list

   List hooks for a given project

Logs

usage: sanity hook logs [NAME]

   List latest log entries for a given hook

Was this article helpful?