I want to create a service hook subscription for team projects on time of creation. I have tried REST API method, but it needs additional authentication even though I signed in VSTS.
Can anyone please help me?
What I have tried:
I have tried REST API:
{
"publisherId": "tfs",
"eventType": " workitem.created",
"resourceVersion": "1.0",
"consumerId": "webHooks",
"consumerActionId": "httpRequest",
"publisherInputs": {
“areaPath”: “MyProject”,
"projectId": "my project id"
},
"consumerInputs": { "url": "my azure url" },
}