curl --request GET \
--url https://api.royalti.io/integrations/workspace \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "vertofx",
"enabled": true,
"settings": {
"apiKey": "your-api-key-here",
"region": "US"
},
"metadata": {
"customField": "custom-value"
},
"memo": "Integration for VertoFX payments",
"TenantId": "123e4567-e89b-12d3-a456-426614174000",
"IntegrationId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
}
]
}Retrieves a list of integrations for the workspace.
curl --request GET \
--url https://api.royalti.io/integrations/workspace \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "vertofx",
"enabled": true,
"settings": {
"apiKey": "your-api-key-here",
"region": "US"
},
"metadata": {
"customField": "custom-value"
},
"memo": "Integration for VertoFX payments",
"TenantId": "123e4567-e89b-12d3-a456-426614174000",
"IntegrationId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
}
]
}/integrations/workspaceGET
Query Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspaceId | string | Yes | Workspace ID |
const response = await fetch('https://api.royalti.io/integrations/workspace', {
method: 'GET',
headers: {
'Authorization': `Bearer ${token}`,
},
});
const data = await response.json();
console.log(data);