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
Create an URL Integration for a Template
POST Request
Endpoint URL https://veski.leikbreytir.is/api/integration/url/{template-id}
Purpose
Creates an URL Integration for the given Template.
Required input parameters
- HTTP Authorization Header that contains your API key
- template-id – the UUID of the pass template that you want to create an Integration for
- name – the name of the Integration that will be created
Returned values
If the Integration was created, Status 201 (Created) will be returned. If there has been an integration of type URL for the template, Status 200 is returned. The response contains the integrationId and the URL in the body.
Example payload:
{
"name": "My integration"
}
Example response:
{
"integrationId": "330bc583-660a-4cfd-99d2-bbde2d56f320",
"url": "https://veski.leikbreytir.is/integration/createpass295c487d-6466-45ef-94f5-b65c5005a9df?barcode=Value%20for%20barcode&Name=Value%20for%20Name&new%20field=Value%20for%20new%20field&Optionen=Value%20for%20Optionen&expirationDate=2025-01-01%2015%3A00"
}