younifyd
Menu

List webhook events for a producer

List webhook events for a producer

GET/webhooks/producers/{producerIdentifier}/events

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the List webhook events for a producer action (under Webhooks).
  3. Fill in the fields below, then reference the result from later steps as {{listWebhookEventsForAProducer.response.data}}.

Request

Path parameters

producerIdentifierstringrequired

Producer name (identifier).

Query parameters

limitinteger

Maximum number of entities in the result. When fetching entities with children, the limit always applies to the amount of parent entities (max. 1000).

Default 100

cursorstring

Valid cursor used for pagination.

Response

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

entitiesarray<object>
idinteger

Event ID.

namestringrequired

Event name.

descriptionstring

Human-readable explanation of when the event is emitted.

targetSchemaobject3 fields

Subset of JSON Schema describing validated fields present in webhook payloads for this event.

cursorobject
nextstring

The cursor pointing to the next page. If null there is no next page available.

json
{
  "entities": [
    {
      "name": "customer-created",
      "id": 1,
      "description": "The event occurs whenever a new customer is registered or connected via a social network on the checkout application.",
      "targetSchema": {
        "type": "object",
        "properties": {},
        "required": [
          "string"
        ]
      }
    }
  ],
  "cursor": {
    "next": "MQ=="
  }
}

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

List webhook events for a producer — SCAYLE Admin — Documentation