{"id":28473232,"url":"https://github.com/nylas/nylas-apex","last_synced_at":"2026-02-03T16:03:41.462Z","repository":{"id":253460543,"uuid":"843574655","full_name":"nylas/nylas-apex","owner":"nylas","description":"Nylas Apex SDK","archived":false,"fork":false,"pushed_at":"2024-08-22T15:03:35.000Z","size":396,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-06-07T12:06:36.795Z","etag":null,"topics":["apex","salesforce"],"latest_commit_sha":null,"homepage":"","language":"Apex","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/nylas.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-16T20:26:06.000Z","updated_at":"2025-02-18T21:38:26.000Z","dependencies_parsed_at":"2024-08-20T05:39:26.227Z","dependency_job_id":null,"html_url":"https://github.com/nylas/nylas-apex","commit_stats":null,"previous_names":["nylas/nylas-apex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nylas/nylas-apex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylas%2Fnylas-apex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylas%2Fnylas-apex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylas%2Fnylas-apex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylas%2Fnylas-apex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nylas","download_url":"https://codeload.github.com/nylas/nylas-apex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylas%2Fnylas-apex/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261653262,"owners_count":23190424,"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":["apex","salesforce"],"created_at":"2025-06-07T12:06:36.281Z","updated_at":"2025-10-14T12:12:43.657Z","avatar_url":"https://github.com/nylas.png","language":"Apex","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Salesforce CI - Build and Test Package on PR](https://github.com/nylas/nylas-apex/actions/workflows/apex-tests-pr.yml/badge.svg?branch=main\u0026event=check_suite)](https://github.com/nylas/nylas-apex/actions/workflows/apex-tests-pr.yml)\n\n# Nylas SDK for Apex\n\nThis is the GitHub repository for the Nylas SDK for Apex. This repo is primarily for anyone who wants to make contributions to the SDK or install it from source.\n\n## ⚙️ Install\n\nThe Nylas SDK for Apex is installed as an unlocked Salesforce package. Click the link below to install the SDK in your Salesforce instance and get started.\n\n[Package Installation Link](https://login.salesforce.com/packaging/installPackage.apexp?p0=04tQk000000JPU9IAO)\n\n## ⚡️Usage\n\nTo use this SDK, you must first [get a free Nylas account](https://dashboard-v3.nylas.com/login).\n\nThen, follow the Quickstart guide to [set up your first app and get your API keys](https://developer.nylas.com/docs/v3-beta/v3-quickstart/).\n\nFor code examples that demonstrate how to use this SDK, take a look at our [Java repos in the Nylas Samples collection](https://github.com/orgs/nylas-samples/repositories?q=\u0026type=all\u0026language=java).\n\n### 🚀 Making Your First Request\n\nYou use the `NylasAPIV3Client` and `NylasAPIV3AdminClient`classes to make requests to the Nylas API via a number of provided static methods. The SDK is organized around these two separate classes, each of which has methods to make requests to the [Nylas Admin](https://developer.nylas.com/docs/api/v3/admin/) or [Email, Calendar, Contacts CRUD Endpoints](https://developer.nylas.com/docs/api/v3/ecc/). Each resource is available through the `NylasAPIV3Client` or `NylasAPIV3AdminClient` objects configured with your API key.\n\nFirst, navigate to Setup \u003e Custom Metadata Types \u003e Nylas V3 Setting \u003e Manage Nylas V3 Settings \u003e System_Config. This is where your API configuration is stored for all API callouts made via the SDK.\n\nConfigure the following values in the default custom metadata instance installed by the Nylas SDK with the label, System_Config .\n\n- Callback URI\n- Client ID\n- Nylas API Secret\n- Region (EU or US)\n\nBy following the [quickstart guide](https://developer.nylas.com/docs/v3-beta/v3-quickstart/) you will be able to obtain all of these values.\n\nAfter setting your configuration in the System_Config custom metadata instance. To get a list of messages, you can use the following code:\n\n```java\nNylasAPIV3Client.ReturnAllMessagesParams params = new NylasAPIV3Client.ReturnAllMessagesParams();\nparams.messageLimit = 20;\nparams.to = 'lincoln.r@nylas.com';\nparams.inFolder = 'inbox';\n\nReturnAllMessagesResponse response = NylasAPIV3Client.returnAllMessages('grant-id', params);\n```\n\n## 📚 Documentation\n\nWork in progress as the Nylas Apex language SDK was just released August 19, 2024\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnylas%2Fnylas-apex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnylas%2Fnylas-apex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnylas%2Fnylas-apex/lists"}