Get webhook dispatch
GET/v2/webhook-dispatches/:dispatchId
Gets webhook dispatch object with all details.
Request
Path Parameters
dispatchId string required
Webhook dispatch ID.
Example:Zib4xbZsmvZeK55uaStatus 200
Response Headers
{
"data": {
"id": "asdLZtadYvn4mBZmm",
"userId": "wRsJZtadYvn4mBZmm",
"webhookId": "asdLZtadYvn4mBZmm",
"createdAt": "2019-12-12T07:34:14.202Z",
"status": "ACTIVE",
"eventType": "ACTOR.BUILD.ABORTED",
"eventData": "Unknown Type: object,null",
"calls": [
{
"startedAt": "2019-12-12T07:34:14.202Z",
"finishedAt": "2019-12-12T07:34:14.202Z",
"errorMessage": "Cannot send request",
"responseStatus": 200,
"responseBody": "{\"foo\": \"bar\"}"
}
]
}
}
Schema
data object required
- id string requiredExample:
asdLZtadYvn4mBZmm - userId string requiredExample:
wRsJZtadYvn4mBZmm - webhookId string requiredExample:
asdLZtadYvn4mBZmm - createdAt string<date-time> requiredExample:
2019-12-12T07:34:14.202Z - status WebhookDispatchStatus (string) required
Status of the webhook dispatch indicating whether the HTTP request was successful.
Possible values: [
ACTIVE,SUCCEEDED,FAILED] - eventType WebhookEventType (string) required
Type of event that triggers the webhook.
Possible values: [
ACTOR.BUILD.ABORTED,ACTOR.BUILD.CREATED,ACTOR.BUILD.FAILED,ACTOR.BUILD.SUCCEEDED,ACTOR.BUILD.TIMED_OUT,ACTOR.RUN.ABORTED,ACTOR.RUN.CREATED,ACTOR.RUN.FAILED,ACTOR.RUN.RESURRECTED,ACTOR.RUN.SUCCEEDED,ACTOR.RUN.TIMED_OUT,TEST] eventData eventData (object,null)
- actorId string requiredExample:
vvE7iMKuMc5qTHHsR - actorRunId string requiredExample:
JgwXN9BdwxGcu9MMF
- actorId string requiredExample:
calls object[]
- startedAt string,null<date-time> nullableExample:
2019-12-12T07:34:14.202Z - finishedAt string,null<date-time> nullableExample:
2019-12-12T07:34:14.202Z - errorMessage string | null nullableExample:
Cannot send request - responseStatus integer | null nullableExample:
200 - responseBody string | null nullableExample:
{"foo": "bar"}
- startedAt string,null<date-time> nullableExample:
- id string requiredExample:
Status 400
Bad request - invalid input parameters or request body.
{
"error": {
"type": "invalid-input",
"message": "Invalid input: The request body contains invalid data."
}
}
Schema
error object required
- type string requiredExample:
run-failed - message string requiredExample:
Actor run did not succeed (run ID: 55uatRrZib4xbZs, status: FAILED)
- type string requiredExample: