36 lines
874 B
Markdown
36 lines
874 B
Markdown
---
|
|
name: "agentmail-webhooks"
|
|
description: "AgentMail: Operations on webhooks"
|
|
---
|
|
|
|
# webhooks
|
|
|
|
> **PREREQUISITE:** Read `../agentmail-shared/SKILL.md` for auth, global flags, and output formatting. If missing, run `agentmail generate-skills` to create it.
|
|
|
|
```bash
|
|
agentmail webhooks <method> [flags]
|
|
```
|
|
|
|
## API Resources
|
|
|
|
- `create` — Create Webhook
|
|
- `delete` — Delete Webhook
|
|
- `get` — Get Webhook
|
|
- `get-headers` — Get Webhook Headers
|
|
- `list` — List Webhooks
|
|
- `update` — Update Webhook
|
|
- `update-headers` — Update Webhook Headers
|
|
## Discovering Commands
|
|
|
|
**Agents: always prefer `--schema` over `--help`** — `--schema` returns JSON; `--help` returns human prose.
|
|
|
|
```bash
|
|
# Machine-readable surface (use this)
|
|
agentmail webhooks --schema
|
|
agentmail webhooks <method> --schema
|
|
|
|
# Human-readable help (for humans)
|
|
agentmail webhooks --help
|
|
```
|
|
|