API Reference

Learn how to access UNLOQ end points

PUT /custom/emails/templates/:code

Updates an email template, identified by the given code.

GET https://api-authenticator.iwelcome.com/v1/custom/emails/templates/:code
Headers:
   Authorization: Bearer {your application API Key}
   Content-Type: application/json
URL Parameters
  • code (string, required) - The template code, unique application-wide.
Body parameters
  • subject (string, required) - The subject of the email template.
  • content (string, required) - The content of the email template.
Result format (200 OK)
{
  "type": "api.application.email.template.save",
  "result": {
    "type": "custom",
    "code": "confirm.account.activate",
    "name": "Account confirmation",
    "notes": null,
    "lang": "en",
    "subject": "This is the new subject",
    "variables": [
      "profile",
      "activation_url"
    ],
    "content": "Some new random content",
    "created_at": "2016-11-16T08:16:59.000Z",
    "account_id": "1"
  }
}

Have a question? You can always send us an email at support@unloq.io, or contact us on chat.

For security related concerns, please visit our Security page.