Create
Create a webhook endpoint which receives POSTed JSON events for the app
tapit create webhook name=webhook-name url=https://example.com/hook [event_types=deploy_status] [headers='Name:value'] [enabled=true|false] [--ignore-existing]
Required
- name
- url
Parameters
name: Name for the webhook endpoint (required, unique within the app)url: The http(s) URL events are POSTed to (required)event_types: Comma separated list of event types to send. Available: deploy_statusheaders: Comma separated list of request headers as Name:value pairs (eg. headers=’X-Token:abc,X-Other:1’)enabled: Whether events are sent to this endpoint (default true)--ignore-existing: Skip creation if a resource with the same name already exists (useful for idempotent scripts)