Webhooks
fakturownia-webhooks
Fakturownia CLI webhooks: list, fetch, create, update, and delete webhooks using conservative README-backed request and output discovery.
SKILL.md
Full skill instructions
Auto-generated by
go run ./cmd/gen-skills. Do not edit manually.
Webhooks
PREREQUISITE: Read
fakturownia-sharedfirst.
Use This Skill When
- The task is about reading or mutating webhooks.
- You need the conservative webhook
kind,url,api_token, andactiverequest contract without inventing undocumented wrapper keys.
Covered Commands
fakturownia webhook list— List webhooksfakturownia webhook get— Fetch a single webhook by IDfakturownia webhook create— Create a webhook from the full top-level request objectfakturownia webhook update— Update a webhook from the full top-level request objectfakturownia webhook delete— Delete a webhook
Notable Flags
--page(default1): Requested result page--per-page(default25): Requested result count per page--id(required): Webhook ID--input(required): Full webhook request JSON as inline JSON, @file, or - for stdin--yes(required, defaultfalse): Confirm webhook deletion
Environment
FAKTUROWNIA_PROFILE: Select a profile unless --profile is providedFAKTUROWNIA_URL: Override the base account URL from any profileFAKTUROWNIA_API_TOKEN: Override the API token from any profile
Output and Request Discovery
- Use
fakturownia schema webhook list --jsonandfakturownia schema webhook get --jsonbefore building selectors. - Read
output.known_fieldsto discover conservative webhook fields such askind,url,api_token,active,created_at, andupdated_at. - Use
fakturownia schema webhook create --jsonandfakturownia schema webhook update --jsonto inspectrequest_body_schemabefore building webhook payloads. - Unlike most CRUD nouns, webhook create and update accept the full top-level request object because the direct README documents endpoints but not a wrapper key.
- Start from the curated
kindvalues in schema output and keep the payload conservative rather than inventing undocumented fields.
Examples
fakturownia webhook list --json
fakturownia webhook list --columns id,kind,url,active
fakturownia webhook list --page 2 --per-page 25 --raw
fakturownia webhook get --id 7
fakturownia webhook get --id 7 --fields id,kind,url,active --json
fakturownia webhook get --id 7 --raw
fakturownia webhook create --input '{"kind":"invoice:create","url":"https://example.com/hook","api_token":"secret","active":true}' --json
fakturownia webhook create --input @webhook.json
fakturownia webhook create --input '{"kind":"invoice:create","url":"https://example.com/hook"}' --dry-run --json
fakturownia webhook update --id 7 --input '{"active":false}' --json
fakturownia webhook update --id 7 --input @webhook-update.json
fakturownia webhook update --id 7 --input '{"url":"https://example.com/hook"}' --dry-run --json
fakturownia webhook delete --id 7 --yes --json
fakturownia webhook delete --id 7 --yes --dry-run --json
