This endpoint requires authentication. Include your Bearer token in the Authorization header.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Body
application/json
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/integrations/vertofx \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Royalti Demo Verto Integrations",
  "apiKey": "9JP4FKWP0TMTDFPYHGSEIUGFBWEFHGSLQVSHJF2KTR17HGSGHFKHGDBSJFVG",
  "clientId": "H812JHVLSDKJFBVKLJDBSFVBDFUVS86Y5"
}'{
  "id": "d3fa97e3-2573-4695-9d1d-516f8b11d874",
  "name": "Royalti Demo Verto Integrations",
  "enabled": true,
  "settings": {
    "apiKey": "9JP4FKWP0TMTDFPYHGSEIUGFBWEFHGSLQVSHJF2KTR17HGSGHFKHGDBSJFVG",
    "clientId": "H812JHVLSDKJFBVKLJDBSFVBDFUVS86Y5"
  },
  "memo": null,
  "TenantId": 2,
  "IntegrationId": "a4ab3109-b247-431c-a7c0-fd004a851475",
  "updatedAt": "2024-04-11T21:14:49.622Z",
  "createdAt": "2024-04-11T21:14:49.622Z",
  "metadata": null
}Create VertoFX Integration
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/integrations/vertofx \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Royalti Demo Verto Integrations",
  "apiKey": "9JP4FKWP0TMTDFPYHGSEIUGFBWEFHGSLQVSHJF2KTR17HGSGHFKHGDBSJFVG",
  "clientId": "H812JHVLSDKJFBVKLJDBSFVBDFUVS86Y5"
}'{
  "id": "d3fa97e3-2573-4695-9d1d-516f8b11d874",
  "name": "Royalti Demo Verto Integrations",
  "enabled": true,
  "settings": {
    "apiKey": "9JP4FKWP0TMTDFPYHGSEIUGFBWEFHGSLQVSHJF2KTR17HGSGHFKHGDBSJFVG",
    "clientId": "H812JHVLSDKJFBVKLJDBSFVBDFUVS86Y5"
  },
  "memo": null,
  "TenantId": 2,
  "IntegrationId": "a4ab3109-b247-431c-a7c0-fd004a851475",
  "updatedAt": "2024-04-11T21:14:49.622Z",
  "createdAt": "2024-04-11T21:14:49.622Z",
  "metadata": null
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/integrations/vertofx', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "name": "sample-name",
    "apiKey": "sample-apiKey",
    "clientId": "sample-clientId",
    "memo": "sample-memo"
  })
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"