EventSources

Rotate event source credentials

Changed on

Issues a new inbound_url token and signing secret for an inbound webhook source. The old URL answers 404 immediately, so update the sending service with the new inbound_url. 422 for sources that are not inbound webhooks.

post/event_sources/{id}/rotate

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

The resource's ID, as returned in its id field

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Response

Rotated event source

EventSource required
id, string required
object, string required
vendor, 'pipedream' | 'composio' | 'webhook' required
vendor_trigger_id, string nullable required
vendor_component_id, string nullable required
event_name, string required
configured_props, object required
description, string nullable required
signature_required, boolean required
active, boolean required
last_delivered_at, string date-time nullable required
created_at, string date-time required
updated_at, string date-time required
qualified_event_name, string required
inbound_url, string nullable required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    3 more changes in this revision