{"id":25654208,"url":"https://github.com/magicbell/magicbell-java-user-client","last_synced_at":"2026-06-30T20:30:18.876Z","repository":{"id":268581585,"uuid":"902449303","full_name":"magicbell/magicbell-java-user-client","owner":"magicbell","description":"Java client SDK for the MagicBell API","archived":false,"fork":false,"pushed_at":"2025-02-17T05:04:07.000Z","size":205,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T17:50:11.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.magicbell.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magicbell.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-12T15:33:09.000Z","updated_at":"2025-02-12T11:09:25.000Z","dependencies_parsed_at":"2025-01-13T06:28:55.539Z","dependency_job_id":null,"html_url":"https://github.com/magicbell/magicbell-java-user-client","commit_stats":null,"previous_names":["magicbell/magicbell-java-client","magicbell/magicbell-java-user-client"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicbell%2Fmagicbell-java-user-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicbell%2Fmagicbell-java-user-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicbell%2Fmagicbell-java-user-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicbell%2Fmagicbell-java-user-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magicbell","download_url":"https://codeload.github.com/magicbell/magicbell-java-user-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240371854,"owners_count":19790903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-23T20:18:35.701Z","updated_at":"2026-06-30T20:30:16.819Z","avatar_url":"https://github.com/magicbell.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MagicbellUserClient Java SDK 0.3.0\n\nWelcome to the MagicbellUserClient SDK documentation. This guide will help you get started with integrating and using the MagicbellUserClient SDK in your project.\n\n[![This SDK was generated by liblab](https://public-liblab-readme-assets.s3.us-east-1.amazonaws.com/built-by-liblab-icon.svg)](https://liblab.com/?utm_source=readme)\n\n## Versions\n\n- API version: `2.0.0`\n- SDK version: `0.3.0`\n\n## About the API\n\nOpenAPI 3.0.3 Specification for MagicBell API.\n\n## Table of Contents\n\n- [Setup \u0026 Configuration](#setup--configuration)\n  - [Supported Language Versions](#supported-language-versions)\n  - [Installation](#installation)\n- [Authentication](#authentication)\n  - [Access Token Authentication](#access-token-authentication)\n- [Setting a Custom Timeout](#setting-a-custom-timeout)\n- [Sample Usage](#sample-usage)\n- [Services](#services)\n- [Models](#models)\n- [License](#license)\n\n# Setup \u0026 Configuration\n\n## Supported Language Versions\n\nThis SDK is compatible with the following versions: `Java \u003e= 1.8`\n\n## Installation\n\nIf you use Maven, place the following within the _dependency_ tag in your `pom.xml` file:\n\n```XML\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.magicbell\u003c/groupId\u003e\n    \u003cartifactId\u003emagicbell-user-client\u003c/artifactId\u003e\n    \u003cversion\u003e0.3.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nIf you use Gradle, paste the next line inside the _dependencies_ block of your `build.gradle` file:\n\n```Gradle\nimplementation group: com.magicbell, name: magicbell-user-client, version: 0.3.0\n```\n\nIf you use JAR files, package the SDK by running the following command:\n\n```shell\nmvn compile assembly:single\n```\n\nThen, add the JAR file to your project's classpath.\n\n## Authentication\n\n### Access Token Authentication\n\nThe MagicbellUserClient API uses an Access Token for authentication.\n\nThis token must be provided to authenticate your requests to the API.\n\n#### Setting the Access Token\n\nWhen you initialize the SDK, you can set the access token as follows:\n\n```java\nimport com.magicbell.magicbelluserclient.MagicbellUserClient;\nimport com.magicbell.magicbelluserclient.config.MagicbellUserClientConfig;\n\npublic class Main {\n\n  public static void main(String[] args) {\n    MagicbellUserClientConfig config = MagicbellUserClientConfig.builder().accessToken(\"YOUR_ACCESS_TOKEN\").build();\n\n    MagicbellUserClient magicbellUserClient = new MagicbellUserClient(config);\n  }\n}\n\n```\n\nIf you need to set or update the access token after initializing the SDK, you can use:\n\n```java\nmagicbellUserClient.setAccessToken('YOUR_ACCESS_TOKEN');\n```\n\n## Setting a Custom Timeout\n\nYou can set a custom timeout for the SDK's HTTP requests as follows:\n\n```java\nimport com.magicbell.magicbelluserclient.MagicbellUserClient;\nimport com.magicbell.magicbelluserclient.config.MagicbellUserClientConfig;\n\npublic class Main {\n\n  public static void main(String[] args) {\n    MagicbellUserClientConfig config = MagicbellUserClientConfig.builder().timeout(10000).build();\n    MagicbellUserClient magicbellUserClient = new MagicbellUserClient(config);\n  }\n}\n\n```\n\n# Sample Usage\n\nBelow is a comprehensive example demonstrating how to authenticate and call a simple endpoint:\n\n```java\nimport com.magicbell.magicbelluserclient.MagicbellUserClient;\nimport com.magicbell.magicbelluserclient.config.MagicbellUserClientConfig;\nimport com.magicbell.magicbelluserclient.models.ArrayOfMetadataApnsTokens;\nimport com.magicbell.magicbelluserclient.models.GetMobilePushApnsTokensParameters;\n\npublic class Main {\n\n  public static void main(String[] args) {\n    MagicbellUserClientConfig config = MagicbellUserClientConfig.builder().accessToken(\"YOUR_ACCESS_TOKEN\").build();\n\n    MagicbellUserClient magicbellUserClient = new MagicbellUserClient(config);\n\n    GetMobilePushApnsTokensParameters requestParameters = GetMobilePushApnsTokensParameters\n      .builder()\n      .pageSize(8L)\n      .pageAfter(\"page[after]\")\n      .pageBefore(\"page[before]\")\n      .build();\n\n    ArrayOfMetadataApnsTokens response = magicbellUserClient.channels.getMobilePushApnsTokens(requestParameters);\n\n    System.out.println(response);\n  }\n}\n\n```\n\n## Services\n\nThe SDK provides various services to interact with the API.\n\n\u003cdetails\u003e \n\u003csummary\u003eBelow is a list of all available services with links to their detailed documentation:\u003c/summary\u003e\n\n| Name                                                                                                                                      |\n| :---------------------------------------------------------------------------------------------------------------------------------------- |\n| ChannelsService: [[Java](documentation/services/ChannelsService.md)] [[Kotlin](documentation/services/ChannelsService.kt.md)]             |\n| IntegrationsService: [[Java](documentation/services/IntegrationsService.md)] [[Kotlin](documentation/services/IntegrationsService.kt.md)] |\n\n\u003c/details\u003e\n\n## Models\n\nThe SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.\n\n\u003cdetails\u003e \n\u003csummary\u003eBelow is a list of all available models with links to their detailed documentation:\u003c/summary\u003e\n\n| Name                                                                                           | Description |\n| :--------------------------------------------------------------------------------------------- | :---------- |\n| [ArrayOfMetadataApnsTokens](documentation/models/ArrayOfMetadataApnsTokens.md)                 |             |\n| [ApnsToken](documentation/models/ApnsToken.md)                                                 |             |\n| [MetadataApnsToken](documentation/models/MetadataApnsToken.md)                                 |             |\n| [DiscardResult](documentation/models/DiscardResult.md)                                         |             |\n| [ArrayOfMetadataExpoTokens](documentation/models/ArrayOfMetadataExpoTokens.md)                 |             |\n| [ExpoToken](documentation/models/ExpoToken.md)                                                 |             |\n| [MetadataExpoToken](documentation/models/MetadataExpoToken.md)                                 |             |\n| [ArrayOfMetadataFcmTokens](documentation/models/ArrayOfMetadataFcmTokens.md)                   |             |\n| [FcmToken](documentation/models/FcmToken.md)                                                   |             |\n| [MetadataFcmToken](documentation/models/MetadataFcmToken.md)                                   |             |\n| [ArrayOfMetadataSlackTokens](documentation/models/ArrayOfMetadataSlackTokens.md)               |             |\n| [SlackToken](documentation/models/SlackToken.md)                                               |             |\n| [MetadataSlackToken](documentation/models/MetadataSlackToken.md)                               |             |\n| [ArrayOfMetadataTeamsTokens](documentation/models/ArrayOfMetadataTeamsTokens.md)               |             |\n| [TeamsToken](documentation/models/TeamsToken.md)                                               |             |\n| [MetadataTeamsToken](documentation/models/MetadataTeamsToken.md)                               |             |\n| [ArrayOfMetadataWebPushTokens](documentation/models/ArrayOfMetadataWebPushTokens.md)           |             |\n| [WebPushToken](documentation/models/WebPushToken.md)                                           |             |\n| [MetadataWebPushToken](documentation/models/MetadataWebPushToken.md)                           |             |\n| [InboxConfig](documentation/models/InboxConfig.md)                                             |             |\n| [SlackInstallation](documentation/models/SlackInstallation.md)                                 |             |\n| [SlackFinishInstallResponse](documentation/models/SlackFinishInstallResponse.md)               |             |\n| [SlackStartInstall](documentation/models/SlackStartInstall.md)                                 |             |\n| [SlackStartInstallResponseContent](documentation/models/SlackStartInstallResponseContent.md)   |             |\n| [TemplatesInstallation](documentation/models/TemplatesInstallation.md)                         |             |\n| [WebPushStartInstallationResponse](documentation/models/WebPushStartInstallationResponse.md)   |             |\n| [Links](documentation/models/Links.md)                                                         |             |\n| [TokenMetadata](documentation/models/TokenMetadata.md)                                         |             |\n| [GetMobilePushApnsTokensParameters](documentation/models/GetMobilePushApnsTokensParameters.md) |             |\n| [GetMobilePushExpoTokensParameters](documentation/models/GetMobilePushExpoTokensParameters.md) |             |\n| [GetMobilePushFcmTokensParameters](documentation/models/GetMobilePushFcmTokensParameters.md)   |             |\n| [GetSlackTokensParameters](documentation/models/GetSlackTokensParameters.md)                   |             |\n| [GetTeamsTokensParameters](documentation/models/GetTeamsTokensParameters.md)                   |             |\n| [GetWebPushTokensParameters](documentation/models/GetWebPushTokensParameters.md)               |             |\n\n\u003c/details\u003e\n\n## License\n\nThis SDK is licensed under the MIT License.\n\nSee the [LICENSE](LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicbell%2Fmagicbell-java-user-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagicbell%2Fmagicbell-java-user-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicbell%2Fmagicbell-java-user-client/lists"}