Prerequisites
Before you can use the SendLayer API, youâll need to authorize your sending domain. This is an important step as it proves domain ownership and improves email deliverability. After authorizing your domain, youâll need to create/retrieve your API key. An API key is used to authenticate API requests.Installation
Run the command below to install the SendLayer SDK for your preferred programming language:Sending an email
Once, youâve installed the SDK, you can import it directly into your codebase and interact with the API. Hereâs an example of how to send an email using the SendLayer API:See our guide to learn more about sending emails using SendLayer API.
SDK reference
SendLayer offers SDK libraries for popular programming languages that simplify the process of integrating with the API. We currently offer/support the following SDKs:Node.js
Learn how to use the SendLayerâs Node.js SDK
Python
Learn how to use SendLayerâs Python SDK.
PHP
Learn how to use SendLayerâs PHP SDK.
Ruby
Learn how to use SendLayerâs Ruby SDK.
Go
Learn how to use SendLayerâs Go SDK.