Webhook Subscription object representation

The webhooksubscription object representation and fields are described below.

webhooksubscription was introduced in API version V1

webhooksubscription has not been marked for deprecation

Usages

Description

Representation of a webhook subscription to listen for events supported by the given subject

Fields

NameTypeDescriptionConstraints
urnString representation of a Unique Resource Name. Typically a UUID with 36 characters.
apiClientAPI ClientRequired on create. Ignored on update.
subjectA string representation of a enumeration name restricted to the documented valuesThe subject of the subscription. Note that subjects are fine grained to allow clients to subscribe only to the events which they require.Required on create.

Allowed values:

  • UNKNOWN
  • API_CLIENT
  • API_CLIENT_BEARER
  • API_CLIENT_OAUTH_TOKEN
  • API_CLIENT_ROLE
  • BOOLEAN_ITEM
  • COMPANY
  • DATETIME_ITEM
  • DOUBLE_ITEM
  • ENTITY
  • ENTITY_LIST
  • GROUP_MEMBERSHIP
  • IDENTITY
  • IDENTITY_ADDRESS
  • IDENTITY_CLIENT_IDENTIFIER
  • IDENTITY_EMAIL_ADDRESS
  • IDENTITY_PAYMENT_CARD
  • IDENTITY_PERSON
  • IDENTITY_PERSON_NAME
  • IDENTITY_ROLE
  • IDENTITY_TELEPHONE
  • IMAGE_ITEM
  • LATLONG_ITEM
  • LONG_ITEM
  • MARKDOWN_ITEM
  • MEMBERSHIP_GROUP
  • MESSAGE_THREAD
  • MONEY_ITEM
  • PAYMENT_INVOICE
  • PERMISSION
  • PERMISSION_ROLE
  • PROJECT
  • TASK
  • TASK_LOG
  • TEMPLATE_ITEM
  • TEXT_ITEM
  • THREAD_POST
  • WEBHOOK_SUBSCRIPTION
  • WORKFLOW
  • UNRECOGNIZED
eventA string representation of a enumeration name restricted to the documented valuesThe event trigger which the subscription would like to receive.Required on create.

Allowed values:

  • ALL
  • CREATE
  • UPDATE
  • DELETE
  • UNRECOGNIZED
destinationUrlURL represented as a stringRequired on create. Maximum length: 1024.
authA string representation of a enumeration name restricted to the documented valuesThe authentication mechanism to use when delivering webhook events.

Allowed values:

  • BASIC
  • DIGEST
  • BEARER
  • HMAC_SHA256
  • UNRECOGNIZED
secretA secret key string used for HMAC-SHA256 signing and in the case of BASIC and DIGEST authentication where it is used as the secret or the digest key.Secret value used for header HMAC SHA256 signature generation. If BASIC authentication is used then this value will be passed as the secret with the username as the client ID of the API client. For DIGEST, it will be used to calculate the digest. BEARER authentication uses a bearer token associated with the API client with the scope = 'webhook.baack.co.' as well as sending the HMAC header and is the suggested approach as it also allows key rotation. Note, on read a SHA256 digest of the secret is returned (the value is never returned by the API).Required on create.
expirationTimestampTimestamp expressed in ISO 8601 format without timezone including milliseconds. Note unless otherwise stated in UTC zone.Expiration time for the subscription or +90 days used if not set
eventsPerMinuteSigned int32The requested maximum events per minute that Baack will send for this subscription. Note that multiple subscriptions will result in multiple event rate limits per minute being combined with each subscription having it's own rate limit.Required on create. Minimum: 1. Maximum: 6000.