For sending this request, you have to be authorized. See the Authorization page for more details.
Request
curl -X POST https://rest.doo.net/v1/team/<team_id>/webhooks \ -H 'Content-Type: application/json' \ -H 'x-api-key: <api_key>' \ -H 'Authorization: Bearer <access_token>' \ -d '<webhook_configuration_object>'
Parameters
Parameter | Required | Description |
---|---|---|
| Yes | Team ID for which you want to configure the webhooks. See Get all organizations and teams to figure out the Team ID. |
| Yes | See Authorization |
| Yes | See Authorization |
| Yes |
Response example
{ "response_status": 200, "developer_message": "Success", "user_message": "Success", "data": "<webhook_id>", "_links": { "self": { "href": "https://rest.doo.net/v1/team/<team_id>/webhooks" } } }