API Reference

Learn how to access UNLOQ end points

GET /custom/emails/templates/:code

Returns an approval information, identified by the given code.

GET https://api.unloq.io/v1/custom/emails/templates/:code
Headers:
   Authorization: Bearer {your application API Key}
URL Parameters
  • code (string, required) - The template code, unique application-wide.
Body parameters
  • lang (string) - Optional. Default value is 'en'
Result format (200 OK)
{
  "type": "api.application.email.template.read",
  "result": {
    "type": "default",
    "code": "confirm.account.activate",
    "name": "Account confirmation",
    "notes": null,
    "lang": "en",
    "subject": "Confirm your UNLOQ account",
    "variables": [
      "profile",
      "activation_url"
    ],
    "content": ""
  }
}

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.