Relesys API Docs

v1.1

https://api.relesysapp.net/api/v1.1

Templates

Get Templates
GET /communication/templates
https://api.relesysapp.net/api/v1.1/communication/templates
Get list of available communication templates.
Scopes: relesys.api, relesys.api:read, relesys.api.users, relesys.api.users:read
Responses
application/json
JSON
{"count":2,"data":[{"id":"00000000-0000-0000-0000-000000000000","name":"Welcome","communicationTemplateCultures":[{"cultureCode":"da-DK","sms":{"body":"Kære #name#,\r\n \r\nVelkommen til #accountname# appen.\r\n \r\nFor at komme igang, download appen ved følge dette link:\r\n#nativedownloadurl#\r\n\r\nNår forespurgt, så brug følgende til at logge ind:\r\n\r\nUsername: #loginname#\r\nPassword: #temppassword#\r\nKodeordet gælder indtil: #temppasswordexpires#\r\n\r\nVi håber du bliver glad for appen,\r\n#accountname#"},"email":{"subject":"Velkommen","body":"<p>Hej #name#,</p>\r\n<p>Tillykke! Du har nu adgang til Relesys Portal hjemmesiden hvor du kan styre indholdet i din app.</p>\r\n<p>Kom igang ved at logge ind gennem Portal login siden: #portaldomain#</p>\r\n<p>User name: #loginname#</p>\r\n<p>Password: #temppassword#</p>\r\n<p>&nbsp;</p>\r\n<p>Sig endelig til hvis du har nogle spørgsmål på: support@relesys.net</p>\r\n<p>&nbsp;</p>\r\n<p>M.v.h.,</p>\r\n<p>Relesys Teamet</p>"}},{"cultureCode":"en-GB","sms":{"body":"Dear #name#,\r\n \r\nWelcome to the #accountname# app.\r\n \r\nTo get started, download the app now by following this link:\r\n#nativedownloadurl#\r\n\r\nWhen prompted, use these to login\r\n\r\nUsername: #loginname#\r\nPassword: #temppassword#\r\nThe password expires at: #temppasswordexpires#\r\n\r\nWe hope you enjoy the app,\r\n#accountname#"},"email":{"subject":"Welcome","body":"<p>Hi #name#,</p>\r\n<p>Congratulations! You&rsquo;re now ready to access the Relesys Portal Website from where you can manage the content of your app.</p>\r\n<p>Get started by signing in via the Portal login page: #portaldomain#</p>\r\n<p>User name: #loginname#</p>\r\n<p>Password: #temppassword#</p>\r\n<p>&nbsp;</p>\r\n<p>Please don&rsquo;t hesitate to reach out if you have questions: support@relesys.net</p>\r\n<p>&nbsp;</p>\r\n<p>Best regards,</p>\r\n<p>The Relesys Team</p>"}}],"creationDateTime":"2021-01-04T10:00:00+00:00","lastModifiedDateTime":"2021-06-17T11:00:00+00:00"},{"id":"67601441-eb12-4ec6-bb38-80474be46139","name":"Welcome","communicationTemplateCultures":[{"cultureCode":"da-DK","sms":{"body":"Kære #name#,\r\n \r\nDu har bedt om ny kodeord til #accountname# appen.\r\n \r\nDu kan se dit nye login nedenfor:\r\n\r\nUsername: #loginname#\r\nPassword: #temppassword#\r\nKodeordet er gyldigt indtil: #temppasswordexpires#\r\n\r\nGod fornøjelse,\r\n#accountname#"},"email":{"subject":null,"body":null}}],"creationDateTime":"2021-01-04T10:00:00+00:00","lastModifiedDateTime":"2021-06-17T11:00:00+00:00"}]}
object
  count integer      
  data array[object]      
   communicationTemplateCultures array[object]      
    cultureCode string      
    email object      
     body string      
     subject string      
    sms object      
     body string      
   creationDateTime datetimeoffset      
   id string / guid      
   lastModifiedDateTime datetimeoffset      
   name string      
  nextUrl string      
  previousUrl string