API reference › Schemas

WebhookEndpoint

Fields

  • idstring (uuid)required
  • objectstringrequired

    one of: webhook_endpoint

  • urlstringrequired
  • descriptionstringrequirednullable
  • eventTypes[]array of stringrequirednullable

    null — every event type.

  • environmentstringrequired

    one of: sandbox · production

    The key's: a test endpoint receives test events only, a live one live events only.

  • livemodebooleanrequired
  • statusstringrequired

    one of: active · disabled · deleted

    disabled — IDS sends nothing: it kept failing (disabledReason failing) or answered 410 (gone) — ask IDS to switch it on, or create a new one; an IDS administrator switched it off (admin) — only IDS lifts it (you cannot delete it nor register its host again meanwhile); the account revoked (or replaced as leaked) the key that created it in the IDS cabinet (key_revoked, since KEY) — delete it and create a new one if it is yours. deleted — in the answer of DELETE only.

  • disabledReasonstringrequirednullable

    one of: admin · failing · gone · key_revoked · null

  • disabledAtstring (date-time)requirednullable
  • secretobjectrequired
  • versionintegerrequired≥ 1

    1, 2, … — each rotation adds one.

  • rotatedAtstring (date-time)requirednullable
  • previousValidUntilstring (date-time)requirednullable

    Until then the previous secret signs too (a second v1 signature in webhook-signature).

  • healthobjectrequired
  • lastSuccessAtstring (date-time)requirednullable
  • lastFailureAtstring (date-time)requirednullable
  • failingSincestring (date-time)requirednullable
  • createdAtstring (date-time)required
  • updatedAtstring (date-time)required