Api: new resource to add hooks