Create webhook
documentedCreate a webhook for a workspace to receive event notifications.
POST /v4/accounts/{account_id}/workspaces/{workspace_id}/webhooksFrame.iono 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.frame.io/v4/accounts/{{$account_id}}/workspaces/{{$workspace_id}}/webhooks" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "x-adobe-app-id: {{ADOBE_APP_ID}}" \
-d '{"name": "{{$name}}", "url": "{{$url}}", "events": ["{{$event1}}","{{$event2}}"], "is_active": {{$is_active}} }'