v1

latestOpenAPI 3.1.0MIT2026-08-0652106151.4 KB
authentication

Login - Get API Key

This endpoint allows you to get an API Key

By providing your turboSMTP authentication details you will be able to get an API Key.

Use your API Key to consume APIs that require authorization.

post/authorize

Request body

emailstring email required

The email of turboSMTP account

passwordstring required

The password of turboSMTP account

no_expireboolean

false: authentication will expire after 2 hours.

true: authentication will keep you signed in, and will never expire. (Use /authentication/deauthorize to logout and release your an API Key)

Example request

{
  "email": "developer@yourdomain.com",
  "password": "yourTurboSmtpPassword",
  "no_expire": true
}

Response

Sucess

User logged in sucessfully, use the auth value as API Key from request body in future API calls.

authstring

API Key to be used in authorization header

Example response

{
  "auth": "f8efa7be4e7457c463e8b800e1f11f92072d272c"
}