Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Next »

For sending this request, you have to be authorized. See the API 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

<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 API Authorization

<access_token>

Yes

see API Authorization

<add_webhook_object>

Yes

see Webhook configuration object 

Response example

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

  • No labels