# Get all smtp
You can return information about your SMTP settings.
GET
/smtp/
# Request
- CURL
- JavaScript
- PHP
- Python
curl -X GET -H "Authorization: Token <your_64_char_api_key>"
-H "Accept: */*; version=2"
"https://<your_app_subdomain>.user.com/api/public/smtp/"
# Response
{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"id": 9,
"hostname": "smtp.enclave.org",
"username": "frank.horrigan@enclave.org",
"port": 587,
"email": "frank.horrigan@enclave.org",
"reply_to": "frank.horrigan@enclave.org",
"sender": "Frank Horrigan",
"ssl": false,
"tls": true
},
{
"id": 54,
"hostname": "smtp.vault.com",
"username": "john.cassidy@vault.com",
"port": 587,
"email": "john.cassidy@vault.com",
"reply_to": "john.cassidy@vault.com",
"sender": "John Cassidy",
"ssl": false,
"tls": true
}
]
}