Interface EventDestinationCreateRequest


public interface EventDestinationCreateRequest
EventDestinationCreateRequest
  • Method Details

    • getAppId

      String getAppId()
      The app that this webhook belongs to.

      Field is required

      Returns:
      appId
    • getClientCredentials

      ClientCredentials getClientCredentials()
      Get clientCredentials
      Returns:
      clientCredentials
    • getId

      String getId()
      The ID of the webhook.
      Returns:
      id
      Read Only
      This field is returned by the server and cannot be modified
    • getSecret

      String getSecret()
      Optional secret be used to sign contents of webhooks sent by the Conversation API. You can then use the secret to verify the signature.
      Returns:
      secret
    • getTarget

      String getTarget()
      The target url where events should be sent to. Maximum URL length is 742. The conversation-api.*.sinch.com subdomains are forbidden.

      Field is required

      Returns:
      target
    • getTargetType

      Get targetType
      Returns:
      targetType
    • getTriggers

      An array of triggers that should trigger the webhook and result in an event being sent to the target url. Refer to the list of Webhook Triggers for a complete list.
      Returns:
      triggers
    • builder

      Getting builder
      Returns:
      New Builder instance