Developer Documentation (API)
- Authentication
- PHP Package
- V2 Endpoints
- Pass Templates
- Get a list of templates
- Describe the structure of a pass template
- Create a new template
- Update a template
- Patch a template
- Publish changes of a template
- Get information about fields of a pass-template only
- Schedule a Push Notification
- List scheduled notifications of a template
- Delete a scheduled Push Notification
- Copy a Pass Template
- Delete a Pass Template
- Create an iFrame Integration for a Template
- Create an URL Integration for a Template
- Passes
- REST Hooks
- Validating passes
- Deprecated endpoints
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