API Reference

Introduction to JetSend APIs

The JetSend APIs are intended for developers who are learning to use JetSend APIs for sending transactional emails and using a variety of other features from JetSend. The JetSend APIs follow the Restful pattern. All requests and responses are encoded in JSON. The error codes are indicated in the form of HTTP error codes.   […]

SMTP APIs

The JetSend SMTP API offers an SMTP service with extended features available through the X-EmailSource: jetsend custom header.  Client Configuration To use JetSend as an SMTP relay you need to point your SMTP client or local MTA to the following endpoint:  NAME  VALUE  NOTES  Host  smtp.jetsendmail.com  _  Port  673 or 25  Port 25 is provided as alternate port for cases where […]

Errors

When you make an API call you may receive an error message in response. Either there is something wrong with your request or something went wrong on our end. Errors respond with an error code and JSON that contains a more precise message and API code.    Example Error 4002 From Address is invalid { “errors”: […]

Success

When you make an API call, you receive result in response. The result is received in JSON format and contains the following: messageId totalRejectedRecipients totalAcceptedReceipants   The following is a sample for API call response: { “result”: { “ID”: “50cffle8-3c5d-11ea-a481-0242acle3125”, “TotalAcceptedRecepients”: 1, “TotalRejectedRecepients”: 0 } }

Search in Blacklisted Emails

GET /blacklisted_email Endpoint Authorization https://app.jetsend.com/api/v1/blacklisted_email JWT Token   Description Retrieves the details of a given email address within the blacklisted emails.   Request The request body can contain the following parameters: Parameters Required? Description email_address Yes The email address to search for within the blacklisted emails.   Here’s an example of the request body:  { […]

Create API Key

POST /api_key Endpoint Authorization https://app.jetsend.com/api/v1/api_key.json JWT Token   Creates an API key.   Request:  Here’s an example of the request body: {     “master_account_id”: “973617ad-4833-4b65-8447-58944a6198fb”,     “account_id”: “eecbb27f-e620-41d6-8203-214e87874d29”,     “api_key”: {         “name”: “your_api_key_name”     } }  Response:  {   “id”: “17ba6de0-1606-4690-887e-e47b9e739510”,   “account_id”: “6b394fe8-8370-4103-a0a3-96522b7da038”,   “name”: “default-007”,   “key”: “e42bc43145a176f4b7d2650d947163c4f22b68ffcd3770231466d81f6b71cb61”,   “status”: “active”,   […]

Delete API Key

POST /api_key Endpoint Authorization https://app.jetsend.com/api/v1/api_key.json API Key   Deletes the API key.   Request: Here’s an example of the request body: {     “master_account_id”: “973617ad-4833-4b65-8447-58944a6198fb”,     “account_id”: “eecbb27f-e620-41d6-8203-214e87874d29”,     “api_key”:     {         “name”: “your_api_key_name”     } }  Response:  Http Status Code: 200 

Add in Blacklisted Emails

POST /blacklisted_email Endpoint Authorization https://app.jetsend.com/api/v1/blacklisted_email API Key   Description Adds an email as a blacklisted email.   Request The request body can contain the following parameters: Parameters Required? Description email_address Yes The email address to be added to the blacklisted emails.   Here’s an example of the request body: {   “blacklisted_email”: {         “email_address”: “blacklist@email.com” […]