{"id":18015205,"url":"https://github.com/ibrahimbutt/workos-client-java","last_synced_at":"2025-07-06T21:34:38.826Z","repository":{"id":225670900,"uuid":"766533955","full_name":"ibrahimbutt/workos-client-java","owner":"ibrahimbutt","description":"A Java client library for WorkOS API, leveraging Spring's RestTemplate for streamlined integration and comprehensive access to WorkOS services in Java and Spring Boot applications.","archived":false,"fork":false,"pushed_at":"2024-03-11T23:24:54.000Z","size":146,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T21:03:49.164Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://workos.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibrahimbutt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-03-03T14:33:22.000Z","updated_at":"2024-03-03T23:23:42.000Z","dependencies_parsed_at":"2024-10-30T04:33:18.503Z","dependency_job_id":null,"html_url":"https://github.com/ibrahimbutt/workos-client-java","commit_stats":null,"previous_names":["ibrahimbutt/workos-client-java"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ibrahimbutt/workos-client-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimbutt%2Fworkos-client-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimbutt%2Fworkos-client-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimbutt%2Fworkos-client-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimbutt%2Fworkos-client-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibrahimbutt","download_url":"https://codeload.github.com/ibrahimbutt/workos-client-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibrahimbutt%2Fworkos-client-java/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263975815,"owners_count":23538394,"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":"2024-10-30T04:12:38.585Z","updated_at":"2025-07-06T21:34:38.800Z","avatar_url":"https://github.com/ibrahimbutt.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# workos-client\n\nExternal User Management API\n\n- API version: 1.0.0\n\nAPI for managing user information\n\n\n*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)*\n\n## Requirements\n\nBuilding the API client library requires:\n\n1. Java 1.8+\n2. Maven/Gradle\n\n## Installation\n\nTo install the API client library to your local Maven repository, simply execute:\n\n```shell\nmvn clean install\n```\n\nTo deploy it to a remote Maven repository instead, configure the settings of the repository and execute:\n\n```shell\nmvn clean deploy\n```\n\nRefer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information.\n\n### Maven users\n\nAdd this dependency to your project's POM:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.madebyibrahim\u003c/groupId\u003e\n  \u003cartifactId\u003eworkos-client\u003c/artifactId\u003e\n  \u003cversion\u003e0.1.0\u003c/version\u003e\n  \u003cscope\u003ecompile\u003c/scope\u003e\n\u003c/dependency\u003e\n```\n\n### Gradle users\n\nAdd this dependency to your project's build file:\n\n```groovy\n  repositories {\n    mavenCentral()     // Needed if the 'workos-client' jar has been published to maven central.\n    mavenLocal()       // Needed if the 'workos-client' jar has been published to the local maven repo.\n  }\n\n  dependencies {\n     implementation \"com.madebyibrahim:workos-client:0.1.0\"\n  }\n```\n\n### Others\n\nAt first generate the JAR by executing:\n\n```shell\nmvn clean package\n```\n\nThen manually install the following JARs:\n\n- `target/workos-client-0.1.0.jar`\n- `target/lib/*.jar`\n\n## Getting Started\n\nPlease follow the [installation](#installation) instruction and execute the following Java code:\n\n```java\n\nimport com.madebyibrahim.workosclient.*;\nimport com.madebyibrahim.workosclient.auth.*;\nimport org.openapitools.client.model.*;\nimport org.openapitools.client.api.UsersApi;\n\npublic class UsersApiExample {\n\n    public static void main(String[] args) {\n        ApiClient defaultClient = Configuration.getDefaultApiClient();\n        defaultClient.setBasePath(\"https://api.workos.com\");\n        \n        UsersApi apiInstance = new UsersApi(defaultClient);\n        AuthenticateUserRequest authenticateUserRequest = new AuthenticateUserRequest(); // AuthenticateUserRequest | \n        try {\n            AuthenticatedUserResponse result = apiInstance.authenticateUser(authenticateUserRequest);\n            System.out.println(result);\n        } catch (ApiException e) {\n            System.err.println(\"Exception when calling UsersApi#authenticateUser\");\n            System.err.println(\"Status code: \" + e.getCode());\n            System.err.println(\"Reason: \" + e.getResponseBody());\n            System.err.println(\"Response headers: \" + e.getResponseHeaders());\n            e.printStackTrace();\n        }\n    }\n}\n\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://api.workos.com*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*UsersApi* | [**authenticateUser**](docs/UsersApi.md#authenticateUser) | **POST** /user_management/authenticate | Authenticate a user\n*UsersApi* | [**confirmEmail**](docs/UsersApi.md#confirmEmail) | **POST** /user_management/users/{id}/email_verification/confirm | Confirm a user\u0026#39;s email address\n*UsersApi* | [**createUser**](docs/UsersApi.md#createUser) | **POST** /user_management/users | Create a new user\n*UsersApi* | [**deleteUser**](docs/UsersApi.md#deleteUser) | **DELETE** /user_management/users/{id} | Delete a user by ID\n*UsersApi* | [**getUser**](docs/UsersApi.md#getUser) | **GET** /user_management/users/{id} | Get a user by ID\n*UsersApi* | [**listUsers**](docs/UsersApi.md#listUsers) | **GET** /user_management/users | Get all users\n*UsersApi* | [**sendVerificationEmail**](docs/UsersApi.md#sendVerificationEmail) | **POST** /user_management/users/{id}/email_verification/send | Send a verification email\n*UsersApi* | [**updateUser**](docs/UsersApi.md#updateUser) | **PUT** /user_management/users/{id} | Update a user by ID\n\n\n## Documentation for Models\n\n - [AuthenticateUserRequest](docs/AuthenticateUserRequest.md)\n - [AuthenticatedUserResponse](docs/AuthenticatedUserResponse.md)\n - [ConfirmEmailRequest](docs/ConfirmEmailRequest.md)\n - [CreateUserRequest](docs/CreateUserRequest.md)\n - [EmailVerificationCodeAuthenticationRequest](docs/EmailVerificationCodeAuthenticationRequest.md)\n - [EmailVerificationRequiredResponse](docs/EmailVerificationRequiredResponse.md)\n - [ListUsers200Response](docs/ListUsers200Response.md)\n - [ListUsers200ResponseListMetadata](docs/ListUsers200ResponseListMetadata.md)\n - [PasswordAuthenticationRequest](docs/PasswordAuthenticationRequest.md)\n - [UpdateUserRequest](docs/UpdateUserRequest.md)\n - [User](docs/User.md)\n\n\n\u003ca id=\"documentation-for-authorization\"\u003e\u003c/a\u003e\n## Documentation for Authorization\n\n\nAuthentication schemes defined for the API:\n\u003ca id=\"BearerAuth\"\u003e\u003c/a\u003e\n### BearerAuth\n\n\n- **Type**: HTTP Bearer Token authentication\n\n\n## Recommendation\n\nIt's recommended to create an instance of `ApiClient` per thread in a multithreaded environment to avoid any potential issues.\n\n## Author\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibrahimbutt%2Fworkos-client-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibrahimbutt%2Fworkos-client-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibrahimbutt%2Fworkos-client-java/lists"}