curl --request GET \
--url https://public-api.frictio.ai/v2/activities \
--header 'X-Api-Key: <api-key>' \
--header 'X-Workspace-Id: <x-workspace-id>'import requests
url = "https://public-api.frictio.ai/v2/activities"
headers = {
"X-Workspace-Id": "<x-workspace-id>",
"X-Api-Key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Workspace-Id': '<x-workspace-id>', 'X-Api-Key': '<api-key>'}
};
fetch('https://public-api.frictio.ai/v2/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://public-api.frictio.ai/v2/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-Api-Key: <api-key>",
"X-Workspace-Id: <x-workspace-id>"
],
]);
$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://public-api.frictio.ai/v2/activities"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Workspace-Id", "<x-workspace-id>")
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://public-api.frictio.ai/v2/activities")
.header("X-Workspace-Id", "<x-workspace-id>")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.frictio.ai/v2/activities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Workspace-Id"] = '<x-workspace-id>'
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "01J9Z0P8Q2K3M4N5P6R7S8T9V0",
"type": "ENGAGEMENT",
"source_type": "MEETING",
"source_id": "01J9Y8X7W6V5U4T3S2R1Q0P9N8",
"occurred_at": "2026-08-21T04:12:33.000Z",
"created_via": "UI:WEB",
"actor": {
"kind": "member",
"id": "01J9WABCDEF0123456789GHJKM"
},
"links": [
{
"context_type": "deal",
"context_id": "01J9V0N1M2L3K4J5H6G7F8D9S0",
"origin": "DIRECT"
}
]
}
],
"page_info": {
"end_cursor": "eyJ0eXBlIjoiYWN0aXZpdHktdGltZWxpbmUiLCJ2IjoxLCJvY2N1cnJlZEF0IjoiMjAyNi0wOC0yMVQwNDoxMjozMy4wMDBaIiwiYWN0aXZpdHlJZCI6IjAxSjlaMFA4UTJLM000TjVQNlI3UzhUOVYwIn0=",
"has_next_page": false
}
}List activities
ワークスペースで発生したアクティビティ(ミーティング・メッセージ・CRMオブジェクト変更)を一覧で取得します。
occurred_at の降順(新しい順)で返却されます。
context_id を指定する場合は context_type を併せて指定してください。
公開範囲が PUBLIC な Company / Contact / Deal に紐づくアクティビティのみが対象です。
context_id が非公開または存在しないレコードを指す場合、空の data を返します(404にはなりません)。
なお一覧は公開 context に紐づくアクティビティのみを対象としますが、GET /v2/activities/{activityId}
は発生源が公開対象であれば links が空でも返します(一覧との非対称は意図的です)。
ページングの継続判定は page_info.has_next_page だけで行ってください。page_info.end_cursor は
最終ページでも null になりません(差分同期の checkpoint token として使えるようにするためです)。
curl --request GET \
--url https://public-api.frictio.ai/v2/activities \
--header 'X-Api-Key: <api-key>' \
--header 'X-Workspace-Id: <x-workspace-id>'import requests
url = "https://public-api.frictio.ai/v2/activities"
headers = {
"X-Workspace-Id": "<x-workspace-id>",
"X-Api-Key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Workspace-Id': '<x-workspace-id>', 'X-Api-Key': '<api-key>'}
};
fetch('https://public-api.frictio.ai/v2/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://public-api.frictio.ai/v2/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-Api-Key: <api-key>",
"X-Workspace-Id: <x-workspace-id>"
],
]);
$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://public-api.frictio.ai/v2/activities"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Workspace-Id", "<x-workspace-id>")
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://public-api.frictio.ai/v2/activities")
.header("X-Workspace-Id", "<x-workspace-id>")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.frictio.ai/v2/activities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Workspace-Id"] = '<x-workspace-id>'
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "01J9Z0P8Q2K3M4N5P6R7S8T9V0",
"type": "ENGAGEMENT",
"source_type": "MEETING",
"source_id": "01J9Y8X7W6V5U4T3S2R1Q0P9N8",
"occurred_at": "2026-08-21T04:12:33.000Z",
"created_via": "UI:WEB",
"actor": {
"kind": "member",
"id": "01J9WABCDEF0123456789GHJKM"
},
"links": [
{
"context_type": "deal",
"context_id": "01J9V0N1M2L3K4J5H6G7F8D9S0",
"origin": "DIRECT"
}
]
}
],
"page_info": {
"end_cursor": "eyJ0eXBlIjoiYWN0aXZpdHktdGltZWxpbmUiLCJ2IjoxLCJvY2N1cnJlZEF0IjoiMjAyNi0wOC0yMVQwNDoxMjozMy4wMDBaIiwiYWN0aXZpdHlJZCI6IjAxSjlaMFA4UTJLM000TjVQNlI3UzhUOVYwIn0=",
"has_next_page": false
}
}Authorizations
Headers
ワークスペースID
Query Parameters
1–100(デフォルト30)
1 <= x <= 100次ページ取得用カーソル
紐づくCRMコンテキストの種別でフィルタします(GET /v2/objects の object名と同様に小文字)。
context_id を指定する場合は必須です。
company, contact, deal 紐づくCRMコンテキストのIDでフィルタします。context_type と併せて指定してください。
アクティビティの発生元でフィルタします。
MEETING, MESSAGE, OBJECT_CHANGE_EVENT 取得範囲の開始日時(以上)。ISO 8601 形式で指定してください。
取得範囲の終了日時(以下)。ISO 8601 形式で指定してください。