younifyd
Menu

Get All Webhooks

Get all webhooks

GET/spaces/{spaceId}/webhook_definitions

Use it in a workflow

  1. Add a step and choose the Contentful connector.
  2. Pick the Get All Webhooks action (under Contentful Content Management API).
  3. Fill in the fields below, then reference the result from later steps as {{getAllWebhooks.response.data}}.

Request

Path parameters

spaceIdstringrequired

ID of the space

Query parameters

limitinteger

Maximum number of items to return

Default 100

skipinteger

Number of items to skip

Default 0

Response

Returns 200 with an object. Read it in later steps with {{getAllWebhooks.response.data.<field>}}.

itemsarray<object>
headersarray<object>required2 fields

HTTP headers to send with the webhook request

httpBasicPasswordstring

Password for HTTP basic authentication

httpBasicUsernamestring

Username for HTTP basic authentication

namestringrequired

Name of the webhook

sysobject10 fields
topicsarray<string>required

Events that trigger the webhook

urlstringrequired

URL to call when the webhook is triggered

activeboolean

Whether the webhook is active

filtersarray<object>

Filters to apply to the webhook

limitinteger

Maximum number of webhooks returned

skipinteger

Number of webhooks skipped

sysobject
typestring

One ofArray

totalinteger

Total number of webhooks

json
{
  "items": [
    {
      "headers": [
        {
          "key": "string",
          "value": "string"
        }
      ],
      "name": "string",
      "topics": [
        "string"
      ],
      "url": "string",
      "httpBasicPassword": "string",
      "httpBasicUsername": "string",
      "sys": {
        "id": "string",
        "archivedAt": "2025-01-01T00:00:00Z",
        "contentType": {
          "sys": {
            "id": "string",
            "linkType": "ContentType",
            "type": "Link"
          }
        },
        "createdAt": "2025-01-01T00:00:00Z",
        "environment": {
          "sys": {
            "id": "string",
            "linkType": "Environment",
            "type": "Link"
          }
        },
        "publishedAt": "2025-01-01T00:00:00Z",
        "space": {
          "sys": {
            "id": "string",
            "linkType": "Environment",
            "type": "Link"
          }
        },
        "type": "string",
        "updatedAt": "2025-01-01T00:00:00Z",
        "version": 0
      },
      "active": false,
      "filters": [
        {}
      ]
    }
  ],
  "limit": 0,
  "skip": 0,
  "sys": {
    "type": "Array"
  },
  "total": 0
}

Need more? See the Contentful guide for connection setup and behaviour shared by every action.

Was this page helpful?