curl --request GET \
--url https://api.uat.frankie.one/v2/organizations/{entityId}/activities \
--header 'X-Frankie-CustomerID: <x-frankie-customerid>' \
--header 'api_key: <api-key>'import requests
url = "https://api.uat.frankie.one/v2/organizations/{entityId}/activities"
headers = {
"api_key": "<api-key>",
"X-Frankie-CustomerID": "<x-frankie-customerid>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {api_key: '<api-key>', 'X-Frankie-CustomerID': '<x-frankie-customerid>'}
};
fetch('https://api.uat.frankie.one/v2/organizations/{entityId}/activities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.uat.frankie.one/v2/organizations/{entityId}/activities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Frankie-CustomerID: <x-frankie-customerid>",
"api_key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.uat.frankie.one/v2/organizations/{entityId}/activities"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api_key", "<api-key>")
req.Header.Add("X-Frankie-CustomerID", "<x-frankie-customerid>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.uat.frankie.one/v2/organizations/{entityId}/activities")
.header("api_key", "<api-key>")
.header("X-Frankie-CustomerID", "<x-frankie-customerid>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.uat.frankie.one/v2/organizations/{entityId}/activities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api_key"] = '<api-key>'
request["X-Frankie-CustomerID"] = '<x-frankie-customerid>'
response = http.request(request)
puts response.read_body{
"activities": [
{
"party": {
"entityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"entityType": "INDIVIDUAL",
"externalReference": {
"name": "CUSTOMER-REFERENCE",
"value": "CUST-00001342",
"referenceId": "24de15f64-5717-4562-b3fc-2c963f66e23e",
"type": "CUSTOMER",
"sourceId": "93da15f64-5717-4562-b3fc-2c963f6663fe",
"metadata": {},
"updatedAt": "2023-11-07T05:31:56Z",
"description": "This is the customer ID in the core banking system."
},
"individual": {
"name": {
"familyName": "Doe",
"nameId": "87654321-4321-4321-4321-210987654321",
"language": "eng",
"givenName": "John",
"middleName": "R",
"otherName": null,
"prefix": "Dr.",
"suffix": "Jr.",
"sourceId": "87654321-4321-4321-4321-210987654322",
"displayName": "John Doe",
"updatedAt": "2023-11-07T05:31:56Z"
},
"dateOfBirth": {
"dateOfBirthId": "<string>",
"sourceId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"year": "1990",
"month": "03",
"day": "27",
"unstructured": "12 Rajab 1445 AH",
"type": "GREGORIAN",
"normalized": "1990-03-31"
}
},
"organization": {
"sourceId": "<string>",
"registeredName": "<string>"
},
"entityName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"customAttributes": {},
"addresses": [
{
"country": "<string>",
"addressId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"sourceId": "<string>",
"type": "OTHER",
"typeDescription": "<string>",
"validFrom": {
"year": "1990",
"month": "03",
"day": "27",
"unstructured": "12 Rajab 1445 AH",
"type": "GREGORIAN",
"normalized": "1990-03-31"
},
"validTo": {
"year": "1990",
"month": "03",
"day": "27",
"unstructured": "12 Rajab 1445 AH",
"type": "GREGORIAN",
"normalized": "1990-03-31"
},
"longForm": "<string>",
"unitNumber": "<string>",
"buildingName": "<string>",
"streetName": "<string>",
"streetNumber": "<string>",
"streetType": "<string>",
"neighborhood": "<string>",
"locality": "<string>",
"district": "<string>",
"subdivision": "<string>",
"postalCode": "<string>",
"careOf": "<string>",
"status": "CURRENT",
"unstructuredLongForm": "<string>"
}
],
"phoneNumbers": [
{
"phoneNumberId": "ad165f64-5717-4562-b3fc-2c963f66bfa9",
"isPreferred": true,
"type": "MOBILE",
"sourceId": "14fd5f64-5717-4562-b3fc-2c963f66ba34",
"country": "AUS",
"number": "0426192340",
"linkedAddresses": [
{
"addressId": "fa335f64-5717-4562-b3fc-2c963f66cf41"
}
],
"unstructuredLongForm": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"emailAddresses": [
{
"emailAddressId": "aa385f64-5717-4562-b3fc-2c963f66af21",
"type": "WORK",
"sourceId": "31dd15f64-5717-4562-b3fc-2c963f66234d",
"email": "leonardo_dc@outlook.com",
"isPreferred": true,
"linkedAddresses": [
{
"addressId": "adc215f64-5717-4562-b3fc-2c963f66222a"
}
],
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"riskSignals": {
"email": "UNKNOWN",
"emailDomain": "UNKNOWN",
"address": "UNKNOWN",
"phone": "UNKNOWN"
}
},
"detail": {
"activityType": "TRANSACTION",
"eventType": "LOGIN",
"customAttributes": {},
"activityAt": "2023-11-07T05:31:56Z"
},
"activityId": "<string>",
"session": {
"token": "<string>"
},
"device": {
"riskScore": 123,
"riskLevel": "UNKNOWN",
"behaviorBiometrics": {
"hesitationPercentileLongTermMemory": 123,
"hesitationPercentileNonLongTermMemory": 123,
"numberDistractionEvents": 123,
"riskLevel": "UNKNOWN"
},
"isRat": true,
"isSupported": true,
"isEmulated": true,
"isRooted": true,
"reputation": "<string>",
"vpnLikelihood": "LOW",
"proxyLikelihood": "LOW",
"botLikelihood": "LOW",
"remoteSoftwareLikelihood": "LOW",
"osAnomaly": "UNKNOWN",
"deviceId": "<string>",
"sourceId": "<string>",
"providerName": "<string>",
"externalIdentifiers": [
{
"name": "CUSTOMER-REFERENCE",
"value": "CUST-00001342",
"description": "This is the customer ID in the core banking system.",
"type": "CUSTOMER",
"metadata": {}
}
],
"os": "<string>",
"trueOs": "<string>",
"firstSeenAt": "2023-11-07T05:31:56Z",
"browser": "<string>",
"platform": "<string>",
"model": "<string>",
"fingerprint": "<string>",
"fingerprintConfidence": 123,
"geolocation": {
"city": [
"Melbourne",
"San Francisco"
],
"country": [
"AUS",
"USA"
],
"subdivision": [
"Victoria",
"California"
],
"latitude": 123,
"longitude": 123
},
"ipAddressInformation": {
"v4Address": "127.0.0.1",
"v6Address": "2606:4700:3108::ac42:2835",
"trueAddress": "<string>",
"asn": "<string>",
"connectionType": [
"Fixed Line ISP"
],
"location": {
"city": [
"Melbourne",
"San Francisco"
],
"country": [
"AUS",
"USA"
],
"subdivision": [
"Victoria",
"California"
],
"latitude": 123,
"longitude": 123
}
},
"createdAt": "2023-11-07T05:31:56Z"
},
"activityRequestId": "<string>",
"relatedProcessResults": [
{
"processResultId": "<string>",
"relatedActivityIds": [
"<string>"
],
"manualStatus": "FALSE_POSITIVE",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"activityResultId": "<string>",
"class": "AML"
}
],
"schemaVersion": 2,
"evaluation": {
"lastUpdatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"evaluatedAt": "2023-11-07T05:31:56Z",
"evaluationId": "<string>",
"activityResults": [
{
"activityResultId": "<string>",
"processResultId": "<string>",
"class": "AML",
"riskLevel": "UNKNOWN",
"manualStatus": "FALSE_POSITIVE",
"indicators": [
{
"indicatorId": "<string>",
"name": "<string>",
"value": "<string>",
"score": "<string>",
"rules": [
{
"ruleId": "<string>",
"reference": "Rule-12345",
"name": "<string>",
"description": "<string>",
"isActive": true
}
]
}
],
"reference": {
"name": "<string>",
"type": "URL",
"reference": "<string>"
},
"serviceProvider": "<string>"
}
]
}
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85",
"meta": {
"page": 123,
"total": 123,
"limit": 123,
"count": 123
}
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}Get Organization Activities
Get a list of activities for an organization.
curl --request GET \
--url https://api.uat.frankie.one/v2/organizations/{entityId}/activities \
--header 'X-Frankie-CustomerID: <x-frankie-customerid>' \
--header 'api_key: <api-key>'import requests
url = "https://api.uat.frankie.one/v2/organizations/{entityId}/activities"
headers = {
"api_key": "<api-key>",
"X-Frankie-CustomerID": "<x-frankie-customerid>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {api_key: '<api-key>', 'X-Frankie-CustomerID': '<x-frankie-customerid>'}
};
fetch('https://api.uat.frankie.one/v2/organizations/{entityId}/activities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.uat.frankie.one/v2/organizations/{entityId}/activities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Frankie-CustomerID: <x-frankie-customerid>",
"api_key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.uat.frankie.one/v2/organizations/{entityId}/activities"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api_key", "<api-key>")
req.Header.Add("X-Frankie-CustomerID", "<x-frankie-customerid>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.uat.frankie.one/v2/organizations/{entityId}/activities")
.header("api_key", "<api-key>")
.header("X-Frankie-CustomerID", "<x-frankie-customerid>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.uat.frankie.one/v2/organizations/{entityId}/activities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api_key"] = '<api-key>'
request["X-Frankie-CustomerID"] = '<x-frankie-customerid>'
response = http.request(request)
puts response.read_body{
"activities": [
{
"party": {
"entityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"entityType": "INDIVIDUAL",
"externalReference": {
"name": "CUSTOMER-REFERENCE",
"value": "CUST-00001342",
"referenceId": "24de15f64-5717-4562-b3fc-2c963f66e23e",
"type": "CUSTOMER",
"sourceId": "93da15f64-5717-4562-b3fc-2c963f6663fe",
"metadata": {},
"updatedAt": "2023-11-07T05:31:56Z",
"description": "This is the customer ID in the core banking system."
},
"individual": {
"name": {
"familyName": "Doe",
"nameId": "87654321-4321-4321-4321-210987654321",
"language": "eng",
"givenName": "John",
"middleName": "R",
"otherName": null,
"prefix": "Dr.",
"suffix": "Jr.",
"sourceId": "87654321-4321-4321-4321-210987654322",
"displayName": "John Doe",
"updatedAt": "2023-11-07T05:31:56Z"
},
"dateOfBirth": {
"dateOfBirthId": "<string>",
"sourceId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"year": "1990",
"month": "03",
"day": "27",
"unstructured": "12 Rajab 1445 AH",
"type": "GREGORIAN",
"normalized": "1990-03-31"
}
},
"organization": {
"sourceId": "<string>",
"registeredName": "<string>"
},
"entityName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"customAttributes": {},
"addresses": [
{
"country": "<string>",
"addressId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"sourceId": "<string>",
"type": "OTHER",
"typeDescription": "<string>",
"validFrom": {
"year": "1990",
"month": "03",
"day": "27",
"unstructured": "12 Rajab 1445 AH",
"type": "GREGORIAN",
"normalized": "1990-03-31"
},
"validTo": {
"year": "1990",
"month": "03",
"day": "27",
"unstructured": "12 Rajab 1445 AH",
"type": "GREGORIAN",
"normalized": "1990-03-31"
},
"longForm": "<string>",
"unitNumber": "<string>",
"buildingName": "<string>",
"streetName": "<string>",
"streetNumber": "<string>",
"streetType": "<string>",
"neighborhood": "<string>",
"locality": "<string>",
"district": "<string>",
"subdivision": "<string>",
"postalCode": "<string>",
"careOf": "<string>",
"status": "CURRENT",
"unstructuredLongForm": "<string>"
}
],
"phoneNumbers": [
{
"phoneNumberId": "ad165f64-5717-4562-b3fc-2c963f66bfa9",
"isPreferred": true,
"type": "MOBILE",
"sourceId": "14fd5f64-5717-4562-b3fc-2c963f66ba34",
"country": "AUS",
"number": "0426192340",
"linkedAddresses": [
{
"addressId": "fa335f64-5717-4562-b3fc-2c963f66cf41"
}
],
"unstructuredLongForm": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"emailAddresses": [
{
"emailAddressId": "aa385f64-5717-4562-b3fc-2c963f66af21",
"type": "WORK",
"sourceId": "31dd15f64-5717-4562-b3fc-2c963f66234d",
"email": "leonardo_dc@outlook.com",
"isPreferred": true,
"linkedAddresses": [
{
"addressId": "adc215f64-5717-4562-b3fc-2c963f66222a"
}
],
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"riskSignals": {
"email": "UNKNOWN",
"emailDomain": "UNKNOWN",
"address": "UNKNOWN",
"phone": "UNKNOWN"
}
},
"detail": {
"activityType": "TRANSACTION",
"eventType": "LOGIN",
"customAttributes": {},
"activityAt": "2023-11-07T05:31:56Z"
},
"activityId": "<string>",
"session": {
"token": "<string>"
},
"device": {
"riskScore": 123,
"riskLevel": "UNKNOWN",
"behaviorBiometrics": {
"hesitationPercentileLongTermMemory": 123,
"hesitationPercentileNonLongTermMemory": 123,
"numberDistractionEvents": 123,
"riskLevel": "UNKNOWN"
},
"isRat": true,
"isSupported": true,
"isEmulated": true,
"isRooted": true,
"reputation": "<string>",
"vpnLikelihood": "LOW",
"proxyLikelihood": "LOW",
"botLikelihood": "LOW",
"remoteSoftwareLikelihood": "LOW",
"osAnomaly": "UNKNOWN",
"deviceId": "<string>",
"sourceId": "<string>",
"providerName": "<string>",
"externalIdentifiers": [
{
"name": "CUSTOMER-REFERENCE",
"value": "CUST-00001342",
"description": "This is the customer ID in the core banking system.",
"type": "CUSTOMER",
"metadata": {}
}
],
"os": "<string>",
"trueOs": "<string>",
"firstSeenAt": "2023-11-07T05:31:56Z",
"browser": "<string>",
"platform": "<string>",
"model": "<string>",
"fingerprint": "<string>",
"fingerprintConfidence": 123,
"geolocation": {
"city": [
"Melbourne",
"San Francisco"
],
"country": [
"AUS",
"USA"
],
"subdivision": [
"Victoria",
"California"
],
"latitude": 123,
"longitude": 123
},
"ipAddressInformation": {
"v4Address": "127.0.0.1",
"v6Address": "2606:4700:3108::ac42:2835",
"trueAddress": "<string>",
"asn": "<string>",
"connectionType": [
"Fixed Line ISP"
],
"location": {
"city": [
"Melbourne",
"San Francisco"
],
"country": [
"AUS",
"USA"
],
"subdivision": [
"Victoria",
"California"
],
"latitude": 123,
"longitude": 123
}
},
"createdAt": "2023-11-07T05:31:56Z"
},
"activityRequestId": "<string>",
"relatedProcessResults": [
{
"processResultId": "<string>",
"relatedActivityIds": [
"<string>"
],
"manualStatus": "FALSE_POSITIVE",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"activityResultId": "<string>",
"class": "AML"
}
],
"schemaVersion": 2,
"evaluation": {
"lastUpdatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"evaluatedAt": "2023-11-07T05:31:56Z",
"evaluationId": "<string>",
"activityResults": [
{
"activityResultId": "<string>",
"processResultId": "<string>",
"class": "AML",
"riskLevel": "UNKNOWN",
"manualStatus": "FALSE_POSITIVE",
"indicators": [
{
"indicatorId": "<string>",
"name": "<string>",
"value": "<string>",
"score": "<string>",
"rules": [
{
"ruleId": "<string>",
"reference": "Rule-12345",
"name": "<string>",
"description": "<string>",
"isActive": true
}
]
}
],
"reference": {
"name": "<string>",
"type": "URL",
"reference": "<string>"
},
"serviceProvider": "<string>"
}
]
}
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85",
"meta": {
"page": 123,
"total": 123,
"limit": 123,
"count": 123
}
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}{
"errorCode": "<string>",
"errorMsg": "<string>",
"details": [
{
"issue": "<string>",
"issueLocation": "<string>",
"issueType": "<string>"
}
],
"requestId": "01HN9XHZN6MGXM9JXG50K59Q85"
}Headers
Open string that can be used to define the "channel" the request comes in from. It can potentially be used in routing and risk calculations upon request. Default values that can be used are: api portal smartui Any alphanumeric string is supported though. Anything over 64 characters will be truncated.
Path Parameters
Unique identifier for an entity Entities are assigned a FrankieOne auto-generated UUID to ensure global uniqueness, represented as entityId. The entityId allows for precise modification when required. To modify an entity, set the entityId of the entity you wish to update in an update request.
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
Query Parameters
The order in which your results will display.
This is to be used in conjunction with sortField.
If there are multiple matches for the same value, the results will be sorted by the primary identifier (e.g. activityId).
Sort records by a specific field in a specific direction.
This is to be used in conjunction with sortBy.
- DESC: Descending order (default)
- ASC: Ascending order
ASC, DESC Response
OK
Response object for getting summary and overview of activities
Was this page helpful?