Docs
Get API Keys

List webhooks for a webhook subscription #

This section covers how to view all fired webhooks for a webhook subscription. This endpoint contains optional query string parameters allowing you to filter by resourceId, limit, offset, startDate and endDate. Note: Dwolla will only guarantee access to webhook data through the API over a rolling 30-day period.

The resourceId query string parameter is a filter that returns an embedded webhooks array based on an exact match of the filter value. For example, if you would like to search for all webhooks associated with a resource having the ID ae7fb2e3-75a1-4f8c-bf59-9c43b14c6a87, you can append the additional parameter resourceId to the request URL as shown in the example HTTP request below.

Example Request URL using resourceId filter

GET https://api.dwolla.com/webhook-subscriptions/{id}/webhooks?resourceId=ae7fb2e3-75a1-4f8c-bf59-9c43b14c6a87

Pagination #

All listing endpoints support cursor-based pagination to traverse through an existing data set. With cursor-based pagination you must always start at the beginning of a list and query your way forward in the data set. Cursor-based endpoints accept the limit and cursor query string parameters.

A limit is set to control the number of objects that are returned in the response. By default, a limit is set to 25 objects that are returned and sorted by created timestamp. Limit can have a max value of 200 objects. The cursor is a pointer indicating the next item in the data set. The cursor to use for the next page of results is returned in the _links object where a URL is generated and returned for the next data set (referenced below). If you omit the cursor from your request, you will receive the first page of results.

It is recommended to use the _links object in the response which includes the following relational links for paging.

  • self link indicates the URL of the resource itself.
  • next includes the URL to list the next set of objects as defined by limit that is set. The absence of a next URL indicates that you have reached the end of the data set.
  • prev includes the URL to list the previous set of objects as defined by limit. the absence of a prev URL indicates that you are at the beginning of the data set.
Example HTTP Request

GET https://api.dwolla.com/webhook-subscriptions/{id}/webhooks?limit=10&cursor={encoded-cursor}

HTTP request #

GET https://api.dwolla.com/webhook-subscriptions/{id}/webhooks

Request parameters #

ParameterRequiredTypeDescription
idyesstringWebhook subscription unique identifier.
limitnostringA limit on the number of results to return. A minimum of 1 and a maximum of 200 objects.
cursornostringA pointer indicating the next item in the data set for pagination.
startDatenostringOnly include webhooks sent after this date. ISO-8601 format: YYYY-MM-DD. Can optionally be used with endDate to specify a date range.
endDatenostringOnly include webhooks sent before this date. ISO-8601 format: YYYY-MM-DD. Can optionally be used with startDate to specify a date range.
resourceIdnostringOnly include webhooks sent for a particular resource. Format: UUID.

Request and response #

Raw
GET https://api.dwolla.com/webhook-subscriptions/10d4133e-b308-4646-b276-40d9d36def1c/webhooks
Accept: application/vnd.dwolla.v1.hal+json
Authorization: Bearer connect.eyJraWQiOiJPNVVOUVR0VHdDSXBcL0lsYnNlWldtdUFVZHJaVjFuU3lIYlVubkpwYW54WT0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiIzZ2I3dTQyMjFkb2RwYWYwdGNyM3VrZm04MSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoiYnliLWFwaVwvZXh0ZXJuYWwtcGFydGllczpleGNoYW5nZXMuY3JlYXRlIGJ5Yi1hcGlcL2FjY291bnRzLnJlYWQgYnliLWFwaVwvZXhjaGFuZ2VzLmNyZWF0ZSBieWItYXBpXC9leHRlcm5hbC1wYXJ0aWVzLmNyZWF0ZSBieWItYXBpXC90cmFuc2ZlcnMuY3JlYXRlIGJ5Yi1hcGlcL2V4dGVybmFsLXBhcnRpZXM6ZXhjaGFuZ2VzLnJlYWQgYnliLWFwaVwvdHJlYXN1cnktYWNjb3VudHMucmVhZCBieWItYXBpXC90cmFuc2ZlcnMucmVhZCBieWItYXBpXC9leGNoYW5nZXMucmVhZCBieWItYXBpXC93ZWJob29rLXN1YnNjcmlwdGlvbnMuZGVsZXRlIGJ5Yi1hcGlcL3RyZWFzdXJ5LWFjY291bnRzLmNyZWF0ZSBieWItYXBpXC9leHRlcm5hbC1wYXJ0aWVzOmZ1bmRpbmctc291cmNlcy5yZWFkIGJ5Yi1hcGlcL3dlYmhvb2stc3Vic2NyaXB0aW9ucy5jcmVhdGUgYnliLWFwaVwvd2ViaG9va3MucmVhZCBieWItYXBpXC9leHRlcm5hbC1wYXJ0aWVzOnRyYW5zZmVycy5yZWFkIGJ5Yi1hcGlcL3dlYmhvb2stc3Vic2NyaXB0aW9ucy5yZWFkIGJ5Yi1hcGlcL2V4dGVybmFs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embedded": {
      "webhooks": [
          {
            "_links": {},
            "id": "string",
            "topic": "string",
            "accountId": "string",
            "eventId": "string",
            "subscriptionId": "string",
            "attempts": [
              {
                "id": "string",
                "request": {
                  "created": "2015-07-23T14:19:37.006Z",
                  "url": "string",
                  "headers": [
                    {
                      "name": "string",
                      "value": "string"
                    }
                  ],
                  "body": "string"
                },
                "response": {
                  "created": "2015-07-23T14:19:37.006Z",
                  "headers": [
                    {
                      "name": "string",
                      "value": "string"
                    }
                  ],
                  "statusCode": 500,
                  "body": "string"
                }
              }
          }
      ]
  }
}
Test in the Sandbox for free today.
Use sandbox environment to test API requests.
Get API Keys
2024 All Rights Reserved
Financial institutions play an important role in our network.

All funds transfers made using the Dwolla Platform are performed by a financial institution partner, and any funds held in a Dwolla Balance are held by a financial institution partner. Learn more about our financial institution partners.