Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Webhook

List repo webhooks

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
repo_identifierstringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

querystringOptional

The substring which is used to filter the webhooks by their identifier.

sortstring · enumOptional

The data by which the webhooks are sorted.

Default: identifierPossible values:
orderstring · enumOptional

The order of the output.

Default: ascPossible values:
pageinteger · min: 1Optional

The page to return.

Default: 1
limitinteger · min: 1 · max: 100Optional

The maximum number of results to return.

Default: 30
Responses
200

OK

application/json
createdintegerOptional
created_byintegerOptional
descriptionstringOptional
display_namestringOptional
enabledbooleanOptional
has_secretbooleanOptional
idintegerOptional
identifierstringOptional
insecurebooleanOptional
latest_execution_resultstring · enum · nullableOptionalPossible values:
parent_idintegerOptional
parent_typestring · enumOptionalPossible values:
scopeintegerOptional
updatedintegerOptional
urlstringOptional
versionintegerOptional
get/repos/{repo_identifier}/webhooks
GET /code/api/v1/repos/{repo_identifier}/webhooks?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
[
  {
    "created": 1,
    "created_by": 1,
    "description": "text",
    "display_name": "text",
    "enabled": true,
    "extra_headers": [
      {
        "key": "text",
        "masked": true,
        "value": "text"
      }
    ],
    "has_secret": true,
    "id": 1,
    "identifier": "text",
    "insecure": true,
    "latest_execution_result": "fatal_error",
    "parent_id": 1,
    "parent_type": "registry",
    "scope": 1,
    "triggers": [
      "artifact_created"
    ],
    "updated": 1,
    "url": "text",
    "version": 1
  }
]

Create repo webhook

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
repo_identifierstringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

Body
descriptionstringOptional
display_namestringOptional
enabledbooleanOptional
identifierstringOptional
insecurebooleanOptional
secretstringOptional
uidstringOptionalDeprecated
urlstringOptional
Responses
201

Created

application/json
createdintegerOptional
created_byintegerOptional
descriptionstringOptional
display_namestringOptional
enabledbooleanOptional
has_secretbooleanOptional
idintegerOptional
identifierstringOptional
insecurebooleanOptional
latest_execution_resultstring · enum · nullableOptionalPossible values:
parent_idintegerOptional
parent_typestring · enumOptionalPossible values:
scopeintegerOptional
updatedintegerOptional
urlstringOptional
versionintegerOptional
post/repos/{repo_identifier}/webhooks
POST /code/api/v1/repos/{repo_identifier}/webhooks?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 218

{
  "description": "text",
  "display_name": "text",
  "enabled": true,
  "extra_headers": [
    {
      "key": "text",
      "masked": true,
      "value": "text"
    }
  ],
  "identifier": "text",
  "insecure": true,
  "secret": "text",
  "triggers": [
    "artifact_created"
  ],
  "url": "text"
}
{
  "created": 1,
  "created_by": 1,
  "description": "text",
  "display_name": "text",
  "enabled": true,
  "extra_headers": [
    {
      "key": "text",
      "masked": true,
      "value": "text"
    }
  ],
  "has_secret": true,
  "id": 1,
  "identifier": "text",
  "insecure": true,
  "latest_execution_result": "fatal_error",
  "parent_id": 1,
  "parent_type": "registry",
  "scope": 1,
  "triggers": [
    "artifact_created"
  ],
  "updated": 1,
  "url": "text",
  "version": 1
}

Get repo webhook

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
repo_identifierstringRequired
webhook_identifierstringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

Responses
200

OK

application/json
createdintegerOptional
created_byintegerOptional
descriptionstringOptional
display_namestringOptional
enabledbooleanOptional
has_secretbooleanOptional
idintegerOptional
identifierstringOptional
insecurebooleanOptional
latest_execution_resultstring · enum · nullableOptionalPossible values:
parent_idintegerOptional
parent_typestring · enumOptionalPossible values:
scopeintegerOptional
updatedintegerOptional
urlstringOptional
versionintegerOptional
get/repos/{repo_identifier}/webhooks/{webhook_identifier}
GET /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
{
  "created": 1,
  "created_by": 1,
  "description": "text",
  "display_name": "text",
  "enabled": true,
  "extra_headers": [
    {
      "key": "text",
      "masked": true,
      "value": "text"
    }
  ],
  "has_secret": true,
  "id": 1,
  "identifier": "text",
  "insecure": true,
  "latest_execution_result": "fatal_error",
  "parent_id": 1,
  "parent_type": "registry",
  "scope": 1,
  "triggers": [
    "artifact_created"
  ],
  "updated": 1,
  "url": "text",
  "version": 1
}

Delete repo webhook

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
repo_identifierstringRequired
webhook_identifierstringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

Responses
204

No Content

No content

delete/repos/{repo_identifier}/webhooks/{webhook_identifier}
DELETE /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*

No content

Update repo webhook

patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
repo_identifierstringRequired
webhook_identifierstringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

Body
descriptionstring · nullableOptional
display_namestring · nullableOptional
enabledboolean · nullableOptional
identifierstring · nullableOptional
insecureboolean · nullableOptional
secretstring · nullableOptional
uidstring · nullableOptionalDeprecated
urlstring · nullableOptional
Responses
200

OK

application/json
createdintegerOptional
created_byintegerOptional
descriptionstringOptional
display_namestringOptional
enabledbooleanOptional
has_secretbooleanOptional
idintegerOptional
identifierstringOptional
insecurebooleanOptional
latest_execution_resultstring · enum · nullableOptionalPossible values:
parent_idintegerOptional
parent_typestring · enumOptionalPossible values:
scopeintegerOptional
updatedintegerOptional
urlstringOptional
versionintegerOptional
patch/repos/{repo_identifier}/webhooks/{webhook_identifier}
PATCH /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 218

{
  "description": "text",
  "display_name": "text",
  "enabled": true,
  "extra_headers": [
    {
      "key": "text",
      "masked": true,
      "value": "text"
    }
  ],
  "identifier": "text",
  "insecure": true,
  "secret": "text",
  "triggers": [
    "artifact_created"
  ],
  "url": "text"
}
{
  "created": 1,
  "created_by": 1,
  "description": "text",
  "display_name": "text",
  "enabled": true,
  "extra_headers": [
    {
      "key": "text",
      "masked": true,
      "value": "text"
    }
  ],
  "has_secret": true,
  "id": 1,
  "identifier": "text",
  "insecure": true,
  "latest_execution_result": "fatal_error",
  "parent_id": 1,
  "parent_type": "registry",
  "scope": 1,
  "triggers": [
    "artifact_created"
  ],
  "updated": 1,
  "url": "text",
  "version": 1
}

List repo webhook executions

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
repo_identifierstringRequired
webhook_identifierstringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

pageinteger · min: 1Optional

The page to return.

Default: 1
limitinteger · min: 1 · max: 100Optional

The maximum number of results to return.

Default: 30
Responses
200

OK

application/json
createdintegerOptional
durationintegerOptional
errorstringOptional
idintegerOptional
resultstring · enum · nullableOptionalPossible values:
retrigger_ofinteger · nullableOptional
retriggerablebooleanOptional
trigger_typestring · enumOptionalPossible values:
webhook_idintegerOptional
get/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions
GET /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
[
  {
    "created": 1,
    "duration": 1,
    "error": "text",
    "id": 1,
    "request": {
      "body": "text",
      "headers": "text",
      "url": "text"
    },
    "response": {
      "body": "text",
      "headers": "text",
      "status": "text",
      "status_code": 1
    },
    "result": "fatal_error",
    "retrigger_of": 1,
    "retriggerable": true,
    "trigger_type": "artifact_created",
    "webhook_id": 1
  }
]

Get repo webhook execution

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
repo_identifierstringRequired
webhook_identifierstringRequired
webhook_execution_idintegerRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

pageinteger · min: 1Optional

The page to return.

Default: 1
limitinteger · min: 1 · max: 100Optional

The maximum number of results to return.

Default: 30
Responses
200

OK

application/json
createdintegerOptional
durationintegerOptional
errorstringOptional
idintegerOptional
resultstring · enum · nullableOptionalPossible values:
retrigger_ofinteger · nullableOptional
retriggerablebooleanOptional
trigger_typestring · enumOptionalPossible values:
webhook_idintegerOptional
get/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions/{webhook_execution_id}
GET /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions/{webhook_execution_id}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
{
  "created": 1,
  "duration": 1,
  "error": "text",
  "id": 1,
  "request": {
    "body": "text",
    "headers": "text",
    "url": "text"
  },
  "response": {
    "body": "text",
    "headers": "text",
    "status": "text",
    "status_code": 1
  },
  "result": "fatal_error",
  "retrigger_of": 1,
  "retriggerable": true,
  "trigger_type": "artifact_created",
  "webhook_id": 1
}

Retrigger repo webhook execution

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
repo_identifierstringRequired
webhook_identifierstringRequired
webhook_execution_idintegerRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

Responses
200

OK

application/json
createdintegerOptional
durationintegerOptional
errorstringOptional
idintegerOptional
resultstring · enum · nullableOptionalPossible values:
retrigger_ofinteger · nullableOptional
retriggerablebooleanOptional
trigger_typestring · enumOptionalPossible values:
webhook_idintegerOptional
post/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions/{webhook_execution_id}/retrigger
POST /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions/{webhook_execution_id}/retrigger?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
{
  "created": 1,
  "duration": 1,
  "error": "text",
  "id": 1,
  "request": {
    "body": "text",
    "headers": "text",
    "url": "text"
  },
  "response": {
    "body": "text",
    "headers": "text",
    "status": "text",
    "status_code": 1
  },
  "result": "fatal_error",
  "retrigger_of": 1,
  "retriggerable": true,
  "trigger_type": "artifact_created",
  "webhook_id": 1
}

List acc, org or proj webhooks

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

querystringOptional

The substring which is used to filter the webhooks by their identifier.

sortstring · enumOptional

The data by which the webhooks are sorted.

Default: identifierPossible values:
orderstring · enumOptional

The order of the output.

Default: ascPossible values:
pageinteger · min: 1Optional

The page to return.

Default: 1
limitinteger · min: 1 · max: 100Optional

The maximum number of results to return.

Default: 30
Responses
200

OK

application/json
createdintegerOptional
created_byintegerOptional
descriptionstringOptional
display_namestringOptional
enabledbooleanOptional
has_secretbooleanOptional
idintegerOptional
identifierstringOptional
insecurebooleanOptional
latest_execution_resultstring · enum · nullableOptionalPossible values:
parent_idintegerOptional
parent_typestring · enumOptionalPossible values:
scopeintegerOptional
updatedintegerOptional
urlstringOptional
versionintegerOptional
get/webhooks
GET /code/api/v1/webhooks?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
[
  {
    "created": 1,
    "created_by": 1,
    "description": "text",
    "display_name": "text",
    "enabled": true,
    "extra_headers": [
      {
        "key": "text",
        "masked": true,
        "value": "text"
      }
    ],
    "has_secret": true,
    "id": 1,
    "identifier": "text",
    "insecure": true,
    "latest_execution_result": "fatal_error",
    "parent_id": 1,
    "parent_type": "registry",
    "scope": 1,
    "triggers": [
      "artifact_created"
    ],
    "updated": 1,
    "url": "text",
    "version": 1
  }
]

Create acc, org or proj webhook

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

Body
descriptionstringOptional
display_namestringOptional
enabledbooleanOptional
identifierstringOptional
insecurebooleanOptional
secretstringOptional
uidstringOptionalDeprecated
urlstringOptional
Responses
201

Created

application/json
createdintegerOptional
created_byintegerOptional
descriptionstringOptional
display_namestringOptional
enabledbooleanOptional
has_secretbooleanOptional
idintegerOptional
identifierstringOptional
insecurebooleanOptional
latest_execution_resultstring · enum · nullableOptionalPossible values:
parent_idintegerOptional
parent_typestring · enumOptionalPossible values:
scopeintegerOptional
updatedintegerOptional
urlstringOptional
versionintegerOptional
post/webhooks
POST /code/api/v1/webhooks?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 218

{
  "description": "text",
  "display_name": "text",
  "enabled": true,
  "extra_headers": [
    {
      "key": "text",
      "masked": true,
      "value": "text"
    }
  ],
  "identifier": "text",
  "insecure": true,
  "secret": "text",
  "triggers": [
    "artifact_created"
  ],
  "url": "text"
}
{
  "created": 1,
  "created_by": 1,
  "description": "text",
  "display_name": "text",
  "enabled": true,
  "extra_headers": [
    {
      "key": "text",
      "masked": true,
      "value": "text"
    }
  ],
  "has_secret": true,
  "id": 1,
  "identifier": "text",
  "insecure": true,
  "latest_execution_result": "fatal_error",
  "parent_id": 1,
  "parent_type": "registry",
  "scope": 1,
  "triggers": [
    "artifact_created"
  ],
  "updated": 1,
  "url": "text",
  "version": 1
}

Get acc, org or proj webhook

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
webhook_identifierstringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

Responses
200

OK

application/json
createdintegerOptional
created_byintegerOptional
descriptionstringOptional
display_namestringOptional
enabledbooleanOptional
has_secretbooleanOptional
idintegerOptional
identifierstringOptional
insecurebooleanOptional
latest_execution_resultstring · enum · nullableOptionalPossible values:
parent_idintegerOptional
parent_typestring · enumOptionalPossible values:
scopeintegerOptional
updatedintegerOptional
urlstringOptional
versionintegerOptional
get/webhooks/{webhook_identifier}
GET /code/api/v1/webhooks/{webhook_identifier}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
{
  "created": 1,
  "created_by": 1,
  "description": "text",
  "display_name": "text",
  "enabled": true,
  "extra_headers": [
    {
      "key": "text",
      "masked": true,
      "value": "text"
    }
  ],
  "has_secret": true,
  "id": 1,
  "identifier": "text",
  "insecure": true,
  "latest_execution_result": "fatal_error",
  "parent_id": 1,
  "parent_type": "registry",
  "scope": 1,
  "triggers": [
    "artifact_created"
  ],
  "updated": 1,
  "url": "text",
  "version": 1
}

Delete acc, org or proj webhook

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
webhook_identifierstringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

Responses
204

No Content

No content

delete/webhooks/{webhook_identifier}
DELETE /code/api/v1/webhooks/{webhook_identifier}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*

No content

Update acc, org or proj webhook

patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
webhook_identifierstringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

Body
descriptionstring · nullableOptional
display_namestring · nullableOptional
enabledboolean · nullableOptional
identifierstring · nullableOptional
insecureboolean · nullableOptional
secretstring · nullableOptional
uidstring · nullableOptionalDeprecated
urlstring · nullableOptional
Responses
200

OK

application/json
createdintegerOptional
created_byintegerOptional
descriptionstringOptional
display_namestringOptional
enabledbooleanOptional
has_secretbooleanOptional
idintegerOptional
identifierstringOptional
insecurebooleanOptional
latest_execution_resultstring · enum · nullableOptionalPossible values:
parent_idintegerOptional
parent_typestring · enumOptionalPossible values:
scopeintegerOptional
updatedintegerOptional
urlstringOptional
versionintegerOptional
patch/webhooks/{webhook_identifier}
PATCH /code/api/v1/webhooks/{webhook_identifier}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 218

{
  "description": "text",
  "display_name": "text",
  "enabled": true,
  "extra_headers": [
    {
      "key": "text",
      "masked": true,
      "value": "text"
    }
  ],
  "identifier": "text",
  "insecure": true,
  "secret": "text",
  "triggers": [
    "artifact_created"
  ],
  "url": "text"
}
{
  "created": 1,
  "created_by": 1,
  "description": "text",
  "display_name": "text",
  "enabled": true,
  "extra_headers": [
    {
      "key": "text",
      "masked": true,
      "value": "text"
    }
  ],
  "has_secret": true,
  "id": 1,
  "identifier": "text",
  "insecure": true,
  "latest_execution_result": "fatal_error",
  "parent_id": 1,
  "parent_type": "registry",
  "scope": 1,
  "triggers": [
    "artifact_created"
  ],
  "updated": 1,
  "url": "text",
  "version": 1
}

List acc, org or proj webhook executions

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
webhook_identifierstringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

pageinteger · min: 1Optional

The page to return.

Default: 1
limitinteger · min: 1 · max: 100Optional

The maximum number of results to return.

Default: 30
Responses
200

OK

application/json
createdintegerOptional
durationintegerOptional
errorstringOptional
idintegerOptional
resultstring · enum · nullableOptionalPossible values:
retrigger_ofinteger · nullableOptional
retriggerablebooleanOptional
trigger_typestring · enumOptionalPossible values:
webhook_idintegerOptional
get/webhooks/{webhook_identifier}/executions
GET /code/api/v1/webhooks/{webhook_identifier}/executions?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
[
  {
    "created": 1,
    "duration": 1,
    "error": "text",
    "id": 1,
    "request": {
      "body": "text",
      "headers": "text",
      "url": "text"
    },
    "response": {
      "body": "text",
      "headers": "text",
      "status": "text",
      "status_code": 1
    },
    "result": "fatal_error",
    "retrigger_of": 1,
    "retriggerable": true,
    "trigger_type": "artifact_created",
    "webhook_id": 1
  }
]

Get acc, org or proj webhook execution

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
webhook_identifierstringRequired
webhook_execution_idintegerRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

pageinteger · min: 1Optional

The page to return.

Default: 1
limitinteger · min: 1 · max: 100Optional

The maximum number of results to return.

Default: 30
Responses
200

OK

application/json
createdintegerOptional
durationintegerOptional
errorstringOptional
idintegerOptional
resultstring · enum · nullableOptionalPossible values:
retrigger_ofinteger · nullableOptional
retriggerablebooleanOptional
trigger_typestring · enumOptionalPossible values:
webhook_idintegerOptional
get/webhooks/{webhook_identifier}/executions/{webhook_execution_id}
GET /code/api/v1/webhooks/{webhook_identifier}/executions/{webhook_execution_id}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
{
  "created": 1,
  "duration": 1,
  "error": "text",
  "id": 1,
  "request": {
    "body": "text",
    "headers": "text",
    "url": "text"
  },
  "response": {
    "body": "text",
    "headers": "text",
    "status": "text",
    "status_code": 1
  },
  "result": "fatal_error",
  "retrigger_of": 1,
  "retriggerable": true,
  "trigger_type": "artifact_created",
  "webhook_id": 1
}

Retrigger acc, org or proj webhook execution

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
webhook_identifierstringRequired
webhook_execution_idintegerRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

Responses
200

OK

application/json
createdintegerOptional
durationintegerOptional
errorstringOptional
idintegerOptional
resultstring · enum · nullableOptionalPossible values:
retrigger_ofinteger · nullableOptional
retriggerablebooleanOptional
trigger_typestring · enumOptionalPossible values:
webhook_idintegerOptional
post/webhooks/{webhook_identifier}/executions/{webhook_execution_id}/retrigger
POST /code/api/v1/webhooks/{webhook_identifier}/executions/{webhook_execution_id}/retrigger?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
{
  "created": 1,
  "duration": 1,
  "error": "text",
  "id": 1,
  "request": {
    "body": "text",
    "headers": "text",
    "url": "text"
  },
  "response": {
    "body": "text",
    "headers": "text",
    "status": "text",
    "status_code": 1
  },
  "result": "fatal_error",
  "retrigger_of": 1,
  "retriggerable": true,
  "trigger_type": "artifact_created",
  "webhook_id": 1
}

Last updated

Was this helpful?