Skip to Content
Prets Developer Portal

The Event destination object

Every field on an event destination, as the API returns it.

An event destination is an HTTPS endpoint in your system where Prets delivers events, for example when a quote's financing status changes or Prets replies on a case. Destinations belong to your organization. Every delivery carries Authorization: Bearer {secret}. The secret is returned once, when you create the destination or rotate its secret, and is never part of this object.

Attributes

  • Stable destination id. Client-supplied at create, or server-generated when omitted.

  • namestring

    Human-readable label for this destination within the organization.

  • urlstring

    Public HTTPS endpoint that will receive event deliveries. Plain HTTP is rejected.

  • createdAtstring (date-time)

    When the destination was registered

  • updatedAtstring (date-time)

    When the destination name or URL last changed