Sailup API Reference
Welcome to the Sailup API documentation. Here you'll find everything you need to integrate our SMS and Email delivery services into your application.
Getting Started
All API requests are made to the base URL below. Append the endpoint path to this URL for every request.
# Base URL
https://api.sailup.com/v1
https://api.sailup.com/v1
All API requests require authentication via a Bearer token. You can find your API key in the Sailup Dashboard under Developer Settings.
# Example Authorization Header
Authorization: Bearer sk_live_your_api_key_here
Authorization: Bearer sk_live_your_api_key_here
SMS API
Send text messages globally with high deliverability and low latency.
POST
/v1/messages/smsRequest Body
{
"from": "Sailup",
"to": ["+1234567890"],
"body": "Your verification code is 8492"
}
"from": "Sailup",
"to": ["+1234567890"],
"body": "Your verification code is 8492"
}
Parameters
fromYour sender ID. Must be registered in the Sailup Dashboard before use.toAn array of destination phone numbers in E.164 format.bodyThe text content of the message (max 1600 characters).Email API
Send transactional and marketing emails with built-in tracking and template support.
POST
/v1/messages/emailRequest Body
{
"from": "[email protected]",
"to": ["[email protected]"],
"subject": "Welcome to Sailup!",
"html": "<h1>Hello World</h1>"
}
"from": "[email protected]",
"to": ["[email protected]"],
"subject": "Welcome to Sailup!",
"html": "<h1>Hello World</h1>"
}
Parameters
fromThe sender's email address. Must be registered as a sender ID in the Sailup Dashboard before use.toAn array of recipient email addresses.subjectThe subject line of the email.htmlThe HTML content of the email body.