Create webhook
documentedCreate a new webhook for a given context (team/project/file).
POST /v2/webhooksWebhooksno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.figma.com/v2/webhooks" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"context": "{{$context}}", "context_id": "{{$context_id}}", "endpoint": "{{$endpoint}}", "event_type": "{{$event_type}}", "passcode": "{{$passcode}}", "team_id": "{{$team_id}}"}'