# Get single smtp

You can return a settings for a specific SMTP.

GET /smtp/:smtp_id/

Attributes Type Required Description
smtp_id integer yes A unique identifier for a SMTP automatically generated by User.com.

# 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/:smtp_id/"

# Response

  {
      "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
  }