List sessions
curl --request GET \
--url https://assist.i.moneyforward.com/api/v1/sessions \
--header 'X-API-Key: <api-key>'import requests
url = "https://assist.i.moneyforward.com/api/v1/sessions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://assist.i.moneyforward.com/api/v1/sessions', 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://assist.i.moneyforward.com/api/v1/sessions",
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>"
],
]);
$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://assist.i.moneyforward.com/api/v1/sessions"
req, _ := http.NewRequest("GET", url, nil)
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://assist.i.moneyforward.com/api/v1/sessions")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://assist.i.moneyforward.com/api/v1/sessions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"ok": true,
"sessions": [
{
"sessionKey": "<string>",
"channelId": "<string>",
"threadTs": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"ticketNumber": 0,
"title": "<string>",
"summary": "<string>",
"closedAt": "2023-11-07T05:31:56Z",
"closeReason": "<string>",
"messageCount": 0,
"requesterId": "<string>",
"assignedUserId": "<string>"
}
],
"count": 0
}{
"ok": true,
"error": "<string>"
}{
"ok": true,
"error": "<string>"
}Sessions
List sessions
Returns support sessions for the authenticated tenant. Optional filters by status and assignee type.
GET
/
api
/
v1
/
sessions
List sessions
curl --request GET \
--url https://assist.i.moneyforward.com/api/v1/sessions \
--header 'X-API-Key: <api-key>'import requests
url = "https://assist.i.moneyforward.com/api/v1/sessions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://assist.i.moneyforward.com/api/v1/sessions', 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://assist.i.moneyforward.com/api/v1/sessions",
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>"
],
]);
$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://assist.i.moneyforward.com/api/v1/sessions"
req, _ := http.NewRequest("GET", url, nil)
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://assist.i.moneyforward.com/api/v1/sessions")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://assist.i.moneyforward.com/api/v1/sessions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"ok": true,
"sessions": [
{
"sessionKey": "<string>",
"channelId": "<string>",
"threadTs": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"ticketNumber": 0,
"title": "<string>",
"summary": "<string>",
"closedAt": "2023-11-07T05:31:56Z",
"closeReason": "<string>",
"messageCount": 0,
"requesterId": "<string>",
"assignedUserId": "<string>"
}
],
"count": 0
}{
"ok": true,
"error": "<string>"
}{
"ok": true,
"error": "<string>"
}承認
API key created via the Admina admin panel (Settings → API Keys → Create). Format: mb_live_<40-hex>.
クエリパラメータ
Filter by status (pushed to DynamoDB — accurate)
利用可能なオプション:
open, in_progress, pending_approval, resolved Filter by assignee. NOTE: this filter is applied in-memory AFTER limit is enforced at the database layer, so when assigneeType is set the count in the response reflects matches within the first limit rows only — not the tenant-wide total. For exhaustive enumeration, call without assigneeType and filter client-side.
利用可能なオプション:
unassigned, ai_agent, human_agent, requester Max results — 1..100, default 50
必須範囲:
1 <= x <= 100最終更新日 2026年6月23日
このページは役に立ちましたか?
⌘I

