Create team webhook

Create an outbound Webhook for all appropriate actions for a given Team

SecurityJWT or DeveloperToken or OAuth2
Request
path Parameters
team_id
required
string <uuid>
Request Body schema: application/json

Webhook to create or update

url
required
string

HTTPS endpoint to delivery events to

name
required
string

Name of the Webhook

events
Array of strings
Responses
200

Webhook success response

Response Schema: application/json
account_id
string <uuid>
active
boolean
app_id
string <uuid>
deleted_at
string <date-time>
events
Array of strings (Events)
Items Enum: "project.created" "project.updated" "project.deleted" "asset.created" "asset.copied" "asset.updated" "asset.deleted" "asset.ready" "asset.versioned" "action.executed" "interaction.executed" "asset.label.updated" "comment.created" "comment.updated" "comment.deleted" "comment.completed" "comment.uncompleted" "reviewlink.created" "collaborator.created" "collaborator.deleted" "teammember.created" "teammember.deleted"
id
string <uuid>
inserted_at
string <date-time>
name
string
project_id
string <uuid>
secret
string
object (Team)
team_id
string <uuid>
updated_at
string <date-time>
url
string
401

Unauthorized response

404

Not Found response

post/v2/teams/{team_id}/hooks
Request samples
application/json
{
  • "name": "string",
  • "url": "string"
}
Response samples
application/json
{
  • "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
  • "active": true,
  • "app_id": "affd1d10-9538-4fc8-9e0b-4594a28c1335",
  • "deleted_at": "2019-08-24T14:15:22Z",
  • "events": [
    ],
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "inserted_at": "2019-08-24T14:15:22Z",
  • "name": "string",
  • "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
  • "secret": "string",
  • "team": {
    },
  • "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba",
  • "updated_at": "2019-08-24T14:15:22Z",
  • "url": "string"
}