Export API
Get export configurations
API Documentation
Data API
- GETGet datasets
- GETGet datasources
- GETGet datasource
- GETGet datasource uploads
- POSTStart ActiveCampaign synchronization
- POSTStart Agillic synchronization
- POSTStart Big Query synchronization
- POSTUpload CSV file
- POSTStart Google Analytics 4 synchronization
- POSTStart Google Cloud Storage synchronization
- POSTUpload JSON file
- POSTStart MSSQL synchronization
- POSTStart Naviga synchronization
- POSTStart SFTP synchronization
Model API
- GETGet models
- GETGet model
- GETGet model trainings
- POSTStart model training
- GETGet model training statistics: feature impact
- GETGet model training statistics: beeswarm
- GETGet model training statistics: feature dependence
- GETGet model training statistics: feature dependence with secondary feature
- GETGet model training statistics: waterfall data
Prediction API
Export API
Recommendation API
Export API
Get export configurations
GET
/
api
/
recommendation
/
v1.0
/
customer
/
{customerId}
/
ExportConfiguration
curl --request GET \
--url https://app.allyy.io/api/recommendation/v1.0/customer/{customerId}/ExportConfiguration \
--header 'Authorization: Bearer <token>'
{
"meta": {
"errors": [
{
"code": "<string>",
"message": "<string>"
}
],
"validation": [
{
"property": "<string>",
"message": "<string>"
}
],
"info": {}
},
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"datasetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dataset": "<string>",
"predictionConfigurationIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"contactTypeIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"rankingRule": {
"sortingFields": [
{
"displayField": {
"alias": "<string>",
"entityType": 1,
"fieldType": 0
},
"direction": 0
}
],
"previousExportsFilter": {
"appearancesCount": 123,
"daysCount": 123
},
"previousResponseFilter": [
{
"responseTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"categoricalValueId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"boolValue": true,
"numericValue": 123,
"operator": 1,
"daysCount": 123,
"occurrencesCount": 123
}
]
},
"predictionScoresPerContactCount": 123,
"predictionScoresPerContactPerClassCount": [
{
"className": "<string>",
"predictionScoresPerClassCount": 123
}
],
"webhookName": "<string>",
"destination": 1,
"bigQueryDestination": {
"serviceAccountKey": "<string>",
"projectId": "<string>",
"datasetId": "<string>",
"table": "<string>",
"writeMode": 1
},
"activeCampaignDestination": {
"url": "<string>",
"secret": "<string>",
"prefix": "<string>",
"lists": [
"<string>"
]
},
"agillicDestination": {
"developerKey": "<string>",
"secret": "<string>",
"table": "<string>"
},
"microsoftSqlServerDestination": {
"host": "<string>",
"userId": "<string>",
"password": "<string>",
"database": "<string>",
"table": "<string>",
"isActiveDirectoryAuthentication": true
},
"sftpServerDestination": {
"host": "<string>",
"username": "<string>",
"password": "<string>",
"portNumber": 123,
"fingerprint": "<string>",
"path": "<string>"
},
"googleCloudStorageDestination": {
"fileUrl": "<string>",
"serviceAccountKey": "<string>"
},
"microsoftDynamicsDestination": {
"tenantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"clientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationUrl": "<string>",
"secret": "<string>",
"entity": "<string>",
"entityCollectionName": "<string>",
"contactRelationshipSchemaName": "<string>"
},
"scoreAggregationFields": [
{
"alias": "<string>",
"entityType": 1,
"fieldType": 0
}
],
"displayFieldMappings": [
{
"displayField": {
"alias": "<string>",
"entityType": 1,
"fieldType": 0
},
"destinationName": "<string>"
}
]
}
],
"totalItemsCount": 123
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
Available options:
1
, 2
, 3
, 4
, 5
, 6
Response
200
text/plain
OK
Available options:
1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 11
, 12
, 13
, 14
, 17
, 18
, 19
Available options:
0
, 1
, 2
, 3
, 4
, 5
Available options:
0
, 1
Available options:
1
, 2
, 3
, 4
Available options:
1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
curl --request GET \
--url https://app.allyy.io/api/recommendation/v1.0/customer/{customerId}/ExportConfiguration \
--header 'Authorization: Bearer <token>'
{
"meta": {
"errors": [
{
"code": "<string>",
"message": "<string>"
}
],
"validation": [
{
"property": "<string>",
"message": "<string>"
}
],
"info": {}
},
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"datasetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dataset": "<string>",
"predictionConfigurationIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"contactTypeIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"rankingRule": {
"sortingFields": [
{
"displayField": {
"alias": "<string>",
"entityType": 1,
"fieldType": 0
},
"direction": 0
}
],
"previousExportsFilter": {
"appearancesCount": 123,
"daysCount": 123
},
"previousResponseFilter": [
{
"responseTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"categoricalValueId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"boolValue": true,
"numericValue": 123,
"operator": 1,
"daysCount": 123,
"occurrencesCount": 123
}
]
},
"predictionScoresPerContactCount": 123,
"predictionScoresPerContactPerClassCount": [
{
"className": "<string>",
"predictionScoresPerClassCount": 123
}
],
"webhookName": "<string>",
"destination": 1,
"bigQueryDestination": {
"serviceAccountKey": "<string>",
"projectId": "<string>",
"datasetId": "<string>",
"table": "<string>",
"writeMode": 1
},
"activeCampaignDestination": {
"url": "<string>",
"secret": "<string>",
"prefix": "<string>",
"lists": [
"<string>"
]
},
"agillicDestination": {
"developerKey": "<string>",
"secret": "<string>",
"table": "<string>"
},
"microsoftSqlServerDestination": {
"host": "<string>",
"userId": "<string>",
"password": "<string>",
"database": "<string>",
"table": "<string>",
"isActiveDirectoryAuthentication": true
},
"sftpServerDestination": {
"host": "<string>",
"username": "<string>",
"password": "<string>",
"portNumber": 123,
"fingerprint": "<string>",
"path": "<string>"
},
"googleCloudStorageDestination": {
"fileUrl": "<string>",
"serviceAccountKey": "<string>"
},
"microsoftDynamicsDestination": {
"tenantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"clientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationUrl": "<string>",
"secret": "<string>",
"entity": "<string>",
"entityCollectionName": "<string>",
"contactRelationshipSchemaName": "<string>"
},
"scoreAggregationFields": [
{
"alias": "<string>",
"entityType": 1,
"fieldType": 0
}
],
"displayFieldMappings": [
{
"displayField": {
"alias": "<string>",
"entityType": 1,
"fieldType": 0
},
"destinationName": "<string>"
}
]
}
],
"totalItemsCount": 123
}