# Get SMTP credentials Retrieve your SMTP server credentials for sending emails. Use these credentials to configure your email client, application, or mail library. Port 587 (STARTTLS) is recommended for best compatibility. Endpoint: GET /api/smtp-credentials Version: 1.0.0 Security: ApiKeyAuth ## Response 200 fields (application/json): - `customer_id` (string) - `customer_name` (string) - `smtp_credentials` (object) - `smtp_credentials.host` (string) SMTP server hostname Example: "smtp.mailerlogic.io" - `smtp_credentials.ports` (array) Available SMTP ports - `smtp_credentials.recommended_port` (integer) Recommended port (usually 587 for STARTTLS) - `smtp_credentials.username` (string) SMTP username (customer email) - `smtp_credentials.password` (string) SMTP password - `note` (string) ## Response 401 fields (application/json): - `error` (string) Error code or message ## Response 500 fields (application/json): - `error` (string) Error code or message