/
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

Webhook initialization
Webhook initialization
More like this
Webhook configuration object
Webhook configuration object
More like this
Supported resources and webhook types
Supported resources and webhook types
Read with this
List webhook configurations
List webhook configurations
More like this
Authorization request
Authorization request
More like this
Remove webhook configuration
Remove webhook configuration
More like this