Spring Boot Starter module will enable your Spring Boot application to work with Zenvia CPaaS SDK Webhook with Spring Web MVC.
- An Zenvia account
- An api token
- An implementation of
MessageEventCallback
and/orMessageStatusEventCallback
to handle the callback events
For Apache Maven:
<dependency>
<groupId>com.zenvia</groupId>
<artifactId>zenvia-api-sdk-starter-webhook-webmvc</artifactId>
<version>1.1.0</version>
</dependency>
For Gradle:
dependencies {
implementation group: 'com.zenvia', name: 'zenvia-api-sdk-starter-webhook-webmvc', version: '1.1.0'
}
You can configure your applications properties with environment variables, system properties, or configuration files. Take a look at the Spring Boot documentation for more details.
For webhook configuration, all properties is an optional configuration.
Property | Default | Details |
---|---|---|
zenvia.api.sdk.webhook.path | / | The URI path to serve requests for webhook call |
zenvia.api.sdk.webhook.url | null | URL to be used in subscription creation |
zenvia.api.sdk.webhook.channel | null | Channel to trigger the callbacks for subscription to be created |