Skip to main content
POST
/
integrations
/
vertofx
Add VertoFx Integrations
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
}
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Code Examples

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);

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
name
string
required

Name of the VertoFX integration instance

apiKey
string
required

API key for the VertoFX integration

clientId
string
required

Client ID for the VertoFX integration

memo
string

Optional memo for the integration

Response

Success

id
string
name
string
enabled
boolean
settings
object
memo
string | null
TenantId
integer
IntegrationId
string
updatedAt
string<date-time>
createdAt
string<date-time>
metadata
object | null