ZITADEL Docs
APIsCore ResourcesV1Instance Objects

GetSMTPConfigById

Deprecated: Get SMTP provider configuration by its id

Get a specific SMTP provider configuration by its ID.

Deprecated: please move to the new endpoint GetEmailProviderById.

GET
/smtp/{id}

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://loading/smtp/string"
{
  "smtpConfig": {
    "details": {
      "sequence": 0,
      "creationDate": "1s",
      "changeDate": "1s",
      "resourceOwner": "string"
    },
    "senderAddress": "string",
    "senderName": "string",
    "tls": true,
    "host": "string",
    "user": "string",
    "replyToAddress": "string",
    "state": "SMTP_CONFIG_STATE_UNSPECIFIED",
    "description": "string",
    "id": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?