# export_deploy_hooks

Source: https://modulify.ai/docs/mcp/deploy-hooks/export-deploy-hooks

Exports every deploy hook on a site as plain data, with each URL masked.

- Title: Export the deploy hooks
- Scope: `config:read`
- Access: Read only

Each hook comes back under `DeployHooks` with its name, whether it is on, its masked URL, when it was last called and when it was created, and `ExportedAt` says when the export was made. This is the tool for showing somebody their whole deploy hook setup at once.

Each URL comes back masked, exactly as `list_deploy_hooks` reports it, because the real URL is a credential. So an export cannot be turned back into working URLs, and new hooks get new URLs of their own. See [Deploy hooks](https://modulify.ai/docs/automations/deploy-hooks#export-and-clear).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id. |