Integration::postInsert

{
  "version": "0.1",
   "data": {
    "id": 12,
    "name": "smtp_kanoverhuur",
    "type": "smtp_password",
    "options": "{\"smtp_username\":\"noreply@kanoverhuurgroningen.nl\",\"smtp_server_hostname\":\"smtp.example.com\",\"smtp_server_port\":\"587\",\"smtp_encryption\":\"ssl\"}",
    "secrets": "{\"smtp_password\":\"********\"}"
  },
  "meta": {}
}

Explanation:

  • id: integer.

  • name: string. Unique together with type.

  • type: enum. One of: google_oauth, smtp_xoauth2_gsuite, smtp_password, smtp_legacy, mollie_oauth2, mollie_api_key.

  • options: string. JSON object as string; keys depend on type: - SMTP types: smtp_username (string), smtp_server_hostname (string), smtp_server_port (string or int), smtp_encryption (“ssl” or empty). - Mollie OAuth2: mollie_refreshtoken (string), mollie_profile_id (string). - Mollie API key: mollie_api_key (string).

  • secrets: string. JSON object as string; for SMTP password type contains smtp_password.