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"
}