/
Create webhook configuration

Create webhook configuration

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

Parameter

Required

Description

<team_id>

Yes

Team ID for which you want to configure the webhooks.

See Get all organizations and teams to figure out the Team ID.

<api_key>

Yes

See Authorization

<access_token>

Yes

See Authorization

<webhook_configuration_object>

Yes

See Webhook configuration object 

Response example

{ "response_status": 200, "developer_message": "Success", "user_message": "Success", "data": "<webhook_configuration_id>", "_links": { "self": { "href": "https://rest.doo.net/v1/team/<team_id>/webhooks" } } }

 

Related content