Skip to main content

Get collection

GET 

/v2/webhooks/:webhookId/dispatches

Gets a given webhook's list of dispatches.

Request

Path Parameters

    webhookId string required

    ID number of the webhook.


    Example: pVJtoTelgYUq4qJOt

Status 200

Response Headers
    {
    "data": {
    "total": 2,
    "offset": 0,
    "limit": 1000,
    "desc": false,
    "count": 2,
    "items": [
    {
    "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\"}"
    }
    ]
    }
    ]
    }
    }