---
title: "Login to a subaccount"
method: POST
path: "/subaccounts/authorize"
tags: ["subaccounts"]
---

# Login to a subaccount

`POST /subaccounts/authorize`

Login to a subaccount.

## Request body

- Email
  - `email` string, email, required

## Response `200`

Sucess

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

- AuthenticationLoginSuccessResponsetBody
  - `auth` string — API Key to be used in authorization header

## Other responses

- `400` — Bad Request ###### Produces: * missing_required_parameter_email
- `401` — Unauthorized This API requires a valid API Key to be provided. (Use [/authentication/authorize](#/authentication/AuthenticationLogin) to obtain an API Key) Produces: * missing_authorization_key * invalid_authorization_key * account_is_inactive
- `403` — Forbidden Email address or password provided are incorrect. ###### Produces: * wrong_credentials_specified * feature_not_available_for_active_plan

---

[API](https://skmtc.net/serversmtp/apis/turbosmtp-public-apis.md) · [All operations](https://skmtc.net/serversmtp/apis/turbosmtp-public-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/serversmtp/turbosmtp-public-apis/versions/8503e099b215/schema)
