Developer Documentation (API)
Send a pass via email
POST Request
Endpoint URL https://veski.leikbreytir.is/api/pass/deliver/{identifier}/email/{recipientMail}
Purpose
If an email template for ad hoc email submission is defined for the template, this will send an email for the pass specified.
Required input parameters
- HTTP Authorization Header that contains your API key
- identifier – the ID of an existing pass
- recipientMail – the email address of the recipient
Returned values
Status 200 if the email has been sent.
Status 400 if
- email address is invalid
- no email template for ad hoc submission is specified for the template of the pass
Status 404 if no pass could be found with that identifier