Info |
---|
For sending this request, you have to be authorized. See the API Authorization page for more details. |
Request
Code Block | ||
---|---|---|
| ||
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 | |
| Yes | |
| Yes |
Response
Code Block | ||
---|---|---|
| ||
{
"response_status": 200,
"developer_message": "Success",
"user_message": "Success",
"data": "<webhook_group_id>", // created webhook group id
"_links": {
"self": {
"href": "https://rest.doo.net/v1/team/<team_id>/webhooks"
}
}
} |