Statflo API
- SDK version: V4.1.110
- Build date: 2025-01-14T14:53:34.839132Z[Etc/UTC]
Automatically generated by the Swagger Codegen
Building the API client library requires:
- Java 1.7+
- Maven/Gradle
To install the API client library to your local Maven repository, simply execute:
mvn clean install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn clean deploy
Refer to the OSSRH Guide for more information.
Add the JitPack repository to your build file
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add this dependency to your project's POM:
<dependency>
<groupId>com.github.Statflo</groupId>
<artifactId>statflo-java-sdk</artifactId>
<version>V4.1.110</version>
</dependency>
Add it in your root build.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add this dependency to your project's build file:
dependencies {
implementation 'com.github.Statflo:statflo-java-sdk:V4.1.110'
}
At first generate the JAR by executing:
mvn clean package
Then manually install the following JARs:
target/statflo-java-sdk-V4.1.110.jar
target/lib/*.jar
Please follow the installation instruction and execute the following Java code:
import com.statflo.client.ApiClient;
import com.statflo.client.ApiException;
import com.statflo.client.api.AccountActionsApi;
import com.statflo.client.model.AccountActionPaginationResponse;
import com.statflo.client.model.AccountActionSummary;
import java.util.HashMap;
public class AccountActionExample {
public static void main(String[] args) throws ApiException {
ApiClient apiClient = new ApiClient();
apiClient.setBasePath(Config.HOST);
apiClient.setAccessToken(Config.accessToken);
AccountActionsApi accountActionsApi = new AccountActionsApi(apiClient);
HashMap<String, String> filter = new HashMap<>();
AccountActionPaginationResponse accountActionPaginationResponse = accountActionsApi.accountActionSearch(filter, "", 1, 10, "");
for (AccountActionSummary item : accountActionPaginationResponse.getItems()) {
System.out.println(item);
}
}
}
import com.statflo.client.ApiClient;
import com.statflo.client.ApiException;
import com.statflo.client.api.CampaignsApi;
import com.statflo.client.model.CampaignPaginationResponse;
import com.statflo.client.model.CampaignSummary;
import java.util.HashMap;
public class CampaignExample {
public static void main(String[] args) throws ApiException {
ApiClient apiClient = new ApiClient();
apiClient.setBasePath(Config.HOST);
apiClient.setAccessToken(Config.accessToken);
CampaignsApi campaignsApi = new CampaignsApi(apiClient);
HashMap<String, String> filter = new HashMap<>();
CampaignPaginationResponse campaignPaginationResponse = campaignsApi.campaignSearch(filter, "", 1, 10, "");
for (CampaignSummary campaignSummary : campaignPaginationResponse.getItems()) {
System.out.println(campaignSummary);
}
}
}
All URIs are relative to https://app.statflo.com
Class | Method | HTTP request | Description |
---|---|---|---|
AccountActionsApi | accountActionCreate | POST /v4/api/account-action | |
AccountActionsApi | accountActionGet | GET /v4/api/account-action/{id} | |
AccountActionsApi | accountActionSearch | GET /v4/api/account-action | |
AccountMembersApi | accountMemberCreate | POST /v4/api/account-member | |
AccountMembersApi | accountMemberDelete | DELETE /v4/api/account-member/{id} | |
AccountMembersApi | accountMemberGet | GET /v4/api/account-member/{id} | |
AccountMembersApi | accountMemberSearch | GET /v4/api/account-member | |
AccountMembersApi | accountMemberUpdate | PUT /v4/api/account-member/{id} | |
AccountsApi | accountCreate | POST /v4/api/account | |
AccountsApi | accountDelete | DELETE /v4/api/account/{id} | |
AccountsApi | accountGet | GET /v4/api/account/{id} | |
AccountsApi | accountSearch | GET /v4/api/account | |
AccountsApi | accountUpdate | PUT /v4/api/account/{id} | |
AuthenticationApi | authMe | GET /v4/api/auth/me | |
AuthenticationApi | login | POST /v4/api/auth/login | |
AuthenticationApi | logout | GET /v4/api/auth/logout | |
AuthenticationApi | switchDealer | GET /v4/api/auth/switch | |
CampaignMemberApi | campaignMemberCreate | POST /v4/api/campaign-member | |
CampaignMemberApi | campaignMemberDelete | DELETE /v4/api/campaign-member/{id} | |
CampaignMemberApi | campaignMemberGet | GET /v4/api/campaign-member/{id} | |
CampaignMemberApi | campaignMemberSearch | GET /v4/api/campaign-member | |
CampaignMemberApi | campaignMemberUpdate | PUT /v4/api/campaign-member/{id} | |
CampaignMetadataApi | campaignMetadataCreate | POST /v4/api/campaign-metadata | |
CampaignMetadataApi | campaignMetadataDelete | DELETE /v4/api/campaign-metadata/{id} | |
CampaignMetadataApi | campaignMetadataGet | GET /v4/api/campaign-metadata/{id} | |
CampaignMetadataApi | campaignMetadataSearch | GET /v4/api/campaign-metadata | |
CampaignMetadataApi | campaignMetadataUpdate | PUT /v4/api/campaign-metadata/{id} | |
CampaignPropertiesApi | campaignPropertyCreate | POST /v4/api/campaign-property | |
CampaignPropertiesApi | campaignPropertyDelete | DELETE /v4/api/campaign-property/{id} | |
CampaignPropertiesApi | campaignPropertyGet | GET /v4/api/campaign-property/{id} | |
CampaignPropertiesApi | campaignPropertySearch | GET /v4/api/campaign-property | |
CampaignPropertiesApi | campaignPropertyUpdate | PUT /v4/api/campaign-property/{id} | |
CampaignsApi | campaignCreate | POST /v4/api/campaign | |
CampaignsApi | campaignDelete | DELETE /v4/api/campaign/{id} | |
CampaignsApi | campaignGet | GET /v4/api/campaign/{id} | |
CampaignsApi | campaignSearch | GET /v4/api/campaign | |
CampaignsApi | campaignUpdate | PUT /v4/api/campaign/{id} | |
ContactsApi | contactCreate | POST /v4/api/contact | |
ContactsApi | contactDelete | DELETE /v4/api/contact/{id} | |
ContactsApi | contactGet | GET /v4/api/contact/{id} | |
ContactsApi | contactSearch | GET /v4/api/contact | |
ContactsApi | contactUpdate | PUT /v4/api/contact/{id} | |
ContentSharingCategoryApi | contentSharingCategoryCreate | POST /v4/api/content-sharing-category | |
ContentSharingCategoryApi | contentSharingCategoryDelete | DELETE /v4/api/content-sharing-category/{id} | |
ContentSharingCategoryApi | contentSharingCategoryGet | GET /v4/api/content-sharing-category/{id} | |
ContentSharingCategoryApi | contentSharingCategorySearch | GET /v4/api/content-sharing-category | |
ContentSharingCategoryApi | contentSharingCategoryUpdate | PUT /v4/api/content-sharing-category/{id} | |
ContentSharingLinkApi | contentSharingLinkCreate | POST /v4/api/content-sharing-link | |
ContentSharingLinkApi | contentSharingLinkDelete | DELETE /v4/api/content-sharing-link/{id} | |
ContentSharingLinkApi | contentSharingLinkGet | GET /v4/api/content-sharing-link/{id} | |
ContentSharingLinkApi | contentSharingLinkSearch | GET /v4/api/content-sharing-link | |
ContentSharingLinkApi | contentSharingLinkUpdate | PUT /v4/api/content-sharing-link/{id} | |
ContentSharingRecommendApi | contentSharingRecommendCreate | POST /v4/api/content-sharing-recommend | |
ContentSharingRecommendApi | contentSharingRecommendedDelete | DELETE /v4/api/content-sharing-recommend/{id} | |
ContentSharingRecommendApi | contentSharingRecommendedGet | GET /v4/api/content-sharing-recommend/{id} | |
ContentSharingRecommendApi | contentSharingRecommendedSearch | GET /v4/api/content-sharing-recommend | |
ContentSharingRecommendApi | contentSharingRecommendedUpdate | PUT /v4/api/content-sharing-recommend/{id} | |
DealersApi | dealerGet | GET /v4/api/dealer/{id} | |
DealersApi | dealerSearch | GET /v4/api/dealer | |
DistrictsApi | districtCreate | POST /v4/api/district | |
DistrictsApi | districtDelete | DELETE /v4/api/district/{id} | |
DistrictsApi | districtGet | GET /v4/api/district/{id} | |
DistrictsApi | districtSearch | GET /v4/api/district | |
DistrictsApi | districtUpdate | PUT /v4/api/district/{id} | |
LocationsApi | locationGet | GET /v4/api/location/{id} | |
LocationsApi | locationSearch | GET /v4/api/location | |
MessageTemplateAssignmentsApi | messageTemplateAssignmentCreate | POST /v4/api/message-template-assignment | |
MessageTemplateAssignmentsApi | messageTemplateAssignmentDelete | DELETE /v4/api/message-template-assignment/{id} | |
MessageTemplateAssignmentsApi | messageTemplateAssignmentGet | GET /v4/api/message-template-assignment/{id} | |
MessageTemplateAssignmentsApi | messageTemplateAssignmentSearch | GET /v4/api/message-template-assignment | |
MessageTemplateAssignmentsApi | messageTemplateAssignmentUpdate | PUT /v4/api/message-template-assignment/{id} | |
MessageTemplatesApi | messageTemplateCreate | POST /v4/api/message-template | |
MessageTemplatesApi | messageTemplateDelete | DELETE /v4/api/message-template/{id} | |
MessageTemplatesApi | messageTemplateGet | GET /v4/api/message-template/{id} | |
MessageTemplatesApi | messageTemplateSearch | GET /v4/api/message-template | |
MessageTemplatesApi | messageTemplateUpdate | PUT /v4/api/message-template/{id} | |
NotepadsApi | notepadCreate | POST /v4/api/notepad | |
NotepadsApi | notepadGet | GET /v4/api/notepad/{id} | |
NotepadsApi | notepadSearch | GET /v4/api/notepad | |
NotepadsApi | notepadUpdate | PUT /v4/api/notepad/{id} | |
RegionsApi | regionCreate | POST /v4/api/region | |
RegionsApi | regionDelete | DELETE /v4/api/region/{id} | |
RegionsApi | regionGet | GET /v4/api/region/{id} | |
RegionsApi | regionSearch | GET /v4/api/region | |
RegionsApi | regionUpdate | PUT /v4/api/region/{id} | |
TasksApi | taskCreate | POST /v4/api/task | |
TasksApi | taskDelete | DELETE /v4/api/task/{id} | |
TasksApi | taskGet | GET /v4/api/task/{id} | |
TasksApi | taskSearch | GET /v4/api/task | |
TasksApi | taskUpdate | PUT /v4/api/task/{id} | |
TeamsApi | teamCreate | POST /v4/api/team | |
TeamsApi | teamDelete | DELETE /v4/api/team/{id} | |
TeamsApi | teamGet | GET /v4/api/team/{id} | |
TeamsApi | teamSearch | GET /v4/api/team | |
TeamsApi | teamUpdate | PUT /v4/api/team/{id} | |
UserTeamsApi | userTeamCreate | POST /v4/api/user-team | |
UserTeamsApi | userTeamDelete | DELETE /v4/api/user-team/{team}/{user} | |
UsersApi | userGet | GET /v4/api/user/{id} | |
UsersApi | userSearch | GET /v4/api/user | |
VendorMessagesApi | vendorMessageCreate | POST /v4/api/vendor-message | |
VendorMessagesApi | vendorMessageGet | GET /v4/api/vendor-message/{id} | |
VendorMessagesApi | vendorMessageSearch | GET /v4/api/vendor-message | |
WidgetsApi | v4ApiWidgetsCampaignsAccountIdGet | GET /v4/api/widgets/campaigns/{accountId} |
- Account
- AccountAction
- AccountActionCreate
- AccountActionPaginationResponse
- AccountActionSummary
- AccountActionUpdate
- AccountContactMetadata
- AccountContactMetadataSummary
- AccountCreate
- AccountMember
- AccountMemberCreate
- AccountMemberPaginationResponse
- AccountMemberSummary
- AccountMemberUpdate
- AccountPaginationResponse
- AccountSummary
- AccountUpdate
- AuthLoginBody
- CallListVisibilityStatus
- CallListVisibilityStatusCreate
- CallListVisibilityStatusSummary
- CallListVisibilityStatusUpdate
- Campaign
- CampaignCreate
- CampaignMember
- CampaignMemberCreate
- CampaignMemberPaginationResponse
- CampaignMemberSummary
- CampaignMemberUpdate
- CampaignMetadata
- CampaignMetadataCreate
- CampaignMetadataPaginationResponse
- CampaignMetadataSummary
- CampaignMetadataUpdate
- CampaignPaginationResponse
- CampaignProperty
- CampaignPropertyCreate
- CampaignPropertyPaginationResponse
- CampaignPropertySummary
- CampaignPropertyUpdate
- CampaignSummary
- CampaignUpdate
- Carrier
- CarrierAllowedCallLists
- CarrierAllowedCallListsCreate
- CarrierAllowedCallListsSummary
- CarrierAllowedCallListsUpdate
- CarrierCreate
- CarrierStatistics
- CarrierStatisticsCreate
- CarrierStatisticsSummary
- CarrierStatisticsUpdate
- CarrierSummary
- CarrierUpdate
- Contact
- ContactCreate
- ContactPaginationResponse
- ContactSummary
- ContactUpdate
- ContentSharingCategory
- ContentSharingCategoryCreate
- ContentSharingCategoryPaginationResponse
- ContentSharingCategoryUpdate
- ContentSharingLink
- ContentSharingLinkCreate
- ContentSharingLinkPaginationResponse
- ContentSharingLinkUpdate
- ContentSharingRecommendPaginationResponse
- ContentSharingRecommended
- ContentSharingRecommendedCreate
- ContentSharingRecommendedUpdate
- Dealer
- Dealer2
- DealerCreate
- DealerFeature
- DealerFeatureCreate
- DealerFeatureSummary
- DealerFeatureUpdate
- DealerMetaData
- DealerMetaDataCreate
- DealerMetaDataSummary
- DealerMetaDataUpdate
- DealerPaginationResponse
- DealerSummary
- DealerUpdate
- District
- DistrictCreate
- DistrictPaginationResponse
- DistrictSummary
- DistrictUpdate
- Feature
- FeatureCreate
- FeatureSummary
- FeatureUpdate
- InlineResponse200
- Location
- LocationCreate
- LocationPaginationResponse
- LocationSummary
- LocationUpdate
- MessageTemplate
- MessageTemplateAssignment
- MessageTemplateAssignmentCreate
- MessageTemplateAssignmentPaginationResponse
- MessageTemplateAssignmentSummary
- MessageTemplateAssignmentUpdate
- MessageTemplateCreate
- MessageTemplatePaginationResponse
- MessageTemplateSummary
- MessageTemplateUpdate
- Notepad
- NotepadCreate
- NotepadPaginationResponse
- NotepadSummary
- NotepadUpdate
- OneOfVendorMessageCreatePayload
- OneOfVendorMessageDealer
- OneOfVendorMessagePayload
- OneOfVendorMessageSummaryDealer
- OneOfVendorMessageSummaryPayload
- Pagination
- Permission
- PermissionCreate
- PermissionSummary
- PermissionUpdate
- ReassignRep
- ReassignRepCreate
- ReassignRepSummary
- ReassignRepUpdate
- Region
- RegionCreate
- RegionPaginationResponse
- RegionSummary
- RegionUpdate
- Role
- RoleCreate
- RolePermission
- RolePermissionCreate
- RolePermissionSummary
- RolePermissionUpdate
- RoleSummary
- RoleUpdate
- Task
- TaskCreate
- TaskPaginationResponse
- TaskSummary
- TaskUpdate
- Team
- TeamCreate
- TeamPaginationResponse
- TeamSummary
- TeamUpdate
- Timeline
- TimelineCreate
- TimelineSummary
- TimelineUpdate
- User
- UserActivityLog
- UserActivityLogCreate
- UserActivityLogSummary
- UserActivityLogUpdate
- UserCreate
- UserPaginationResponse
- UserPermission
- UserPermissionCreate
- UserPermissionSummary
- UserPermissionUpdate
- UserSummary
- UserTeam
- UserTeamCreate
- UserTeamSummary
- UserTeamUpdate
- UserUpdate
- VendorMessage
- VendorMessageCreate
- VendorMessagePaginationResponse
- VendorMessageSummary
Authentication schemes defined for the API:
It's recommended to create an instance of ApiClient
per thread in a multithreaded environment to avoid any potential issues.