younifyd
Menu

Update App Event Subscription

Update or subscribe to an app event subscription

PUT/organizations/{organizationId}/app_definitions/{resourceId}/event_subscription

Use it in a workflow

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

Request

Path parameters

organizationIdstringrequired

ID of the organization

resourceIdstringrequired

ID of the resource

Request body

Enter the body as JSON in the step's Body field.

targetUrlstringrequired
topicsarray<string>required
json
{
  "targetUrl": "string",
  "topics": [
    "string"
  ]
}

Response

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

targetUrlstring
topicsarray<string>
json
{
  "targetUrl": "string",
  "topics": [
    "string"
  ]
}

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