{"id":20458756,"url":"https://github.com/resend/resend-java-legacy","last_synced_at":"2025-04-13T05:50:27.780Z","repository":{"id":128560141,"uuid":"592506880","full_name":"resend/resend-java-legacy","owner":"resend","description":"resend's java sdk","archived":false,"fork":false,"pushed_at":"2024-01-01T11:26:38.000Z","size":403,"stargazers_count":14,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-06T00:33:11.161Z","etag":null,"topics":["api","email","java","sdk"],"latest_commit_sha":null,"homepage":"https://resend.com/docs/api-reference/concepts","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/resend.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-01-23T21:49:16.000Z","updated_at":"2023-08-18T20:31:59.000Z","dependencies_parsed_at":"2023-12-12T15:02:54.671Z","dependency_job_id":null,"html_url":"https://github.com/resend/resend-java-legacy","commit_stats":null,"previous_names":["resend/resend-java-legacy"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fresend-java-legacy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fresend-java-legacy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fresend-java-legacy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fresend-java-legacy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/resend","download_url":"https://codeload.github.com/resend/resend-java-legacy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670501,"owners_count":21142901,"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":["api","email","java","sdk"],"created_at":"2024-11-15T12:13:44.844Z","updated_at":"2025-04-13T05:50:27.758Z","avatar_url":"https://github.com/resend.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cpicture\u003e\n        \u003csource srcset=\"https://user-images.githubusercontent.com/68016351/221072893-61d9e99a-ed2a-4f58-b167-0ff2cbea0614.svg\" media=\"(prefers-color-scheme: dark)\" width=\"500\"\u003e\n        \u003cimg src=\"https://user-images.githubusercontent.com/68016351/221070388-c5faf78a-d3b7-440b-a300-c2e7b635279b.svg\" width=\"500\"\u003e\n    \u003c/picture\u003e\n   \u003cp\u003eResend is the email platform for developers.\u003c/p\u003e\n   \u003ca href=\"https://resend.com/docs/api-reference/concepts\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=Docs\u0026message=API Ref\u0026color=000000\u0026style=for-the-badge\" /\u003e\u003c/a\u003e\n   \u003ca href=\"https://github.com/resendlabs/resend-java/actions\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/resendlabs/resend-java/speakeasy_sdk_generation.yaml?style=for-the-badge\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/resendlabs/resend-java/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/resendlabs/resend-java?sort=semver\u0026style=for-the-badge\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n\u003c!-- Start SDK Installation --\u003e\n## SDK Installation\n\n### Gradle\n\n```groovy\nimplementation 'com.resend.api:sdk:1.5.3'\n```\n\n### Maven\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.resend.api\u003c/groupId\u003e\n    \u003cartifactId\u003esdk\u003c/artifactId\u003e\n    \u003cversion\u003e1.5.3\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n\u003c!-- End SDK Installation --\u003e\n\n## Authentication\n\nTo authenticate you need to add an Authorization header with the contents of the header being Bearer re_123456789 where re_123456789 is your API Key. First, you need to get an API key, which is available in the [Resend Dashboard](https://resend.com/login).\n\n```bash\nAuthorization: Bearer re_123\n```\n\n## SDK Example Usage\n```java\npackage hello.world;\n\nimport com.resend.sdk.Resend;\nimport com.resend.sdk.models.shared.Security;\nimport com.resend.sdk.models.operations.SendEmailRequest;\nimport com.resend.sdk.models.operations.SendEmailResponse;\nimport com.resend.sdk.models.shared.Email;\n\npublic class Application {\n    public static void main(String[] args) {\n        try {\n            Resend.Builder builder = Resend.builder();\n\n            builder.setSecurity(\n                new Security() {{\n                    bearerAuth = \"Bearer YOUR_BEARER_TOKEN_HERE\";\n                }}\n            );\n\n            Resend sdk = builder.build();\n\n            SendEmailRequest req = new SendEmailRequest() {{\n                request = new Email() {{\n                    bcc = \"bob@acme.com\";\n                    cc = \"\";\n                    from = \"me@acme.com\";\n                    html = \"none\";\n                    replyTo = \"\";\n                    subject = \"hello world\";\n                    text = \"first email\";\n                    to = \"amy@acme.com\";\n                }};\n            }};\n\n            SendEmailResponse res = sdk.email.sendEmail(req);\n\n            if (res.sendEmailResponse.isPresent()) {\n                // handle response\n            }\n        } catch (Exception e) {\n            // handle exception\n        }\n```\n\n\u003c!-- Start SDK Available Operations --\u003e\n## SDK Available Operations\n\n\n### email\n\n* `sendEmail` - Send an email\n\u003c!-- End SDK Available Operations --\u003e\n\n## Contributions\n\nWhile we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !\n\n### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresend%2Fresend-java-legacy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fresend%2Fresend-java-legacy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresend%2Fresend-java-legacy/lists"}