Agency Customization Kit Api Service

Save the agency SMTP configuration. The password arrives in clear text and is stored encrypted

put/v2/agency-CK/{agencyId}/smtp-configuration

Request

  • Base URL: https://app.metricool.com/api
  • URL: https://app.metricool.com/api/v2/agency-CK/{agencyId}/smtp-configuration
  • Auth: none declared

Path parameters

agencyIdinteger required

id of an Agency Customization Kit

Request body

enabledboolean required

true to send with the agency SMTP (settings required), false to go back to the Metricool server keeping the stored configuration

provider'GOOGLE' | 'MICROSOFT' | 'AMAZON_SES' | 'SENDGRID' | 'MAILGUN' | 'BREVO' | 'OTHER'

Provider preset chosen in the form, for analytics only

Example request

{
  "settings": {
    "host": "smtp.office365.com",
    "port": 587,
    "from": "info@myagency.com"
  }
}

Response

Ok

metadataobject

Example response

{
  "data": {
    "host": "smtp.office365.com",
    "port": 587,
    "from": "info@myagency.com"
  }
}

Changes