メインコンテンツへスキップ
GET
/
api
/
v1
/
notifications
List notifications (tenant-wide, ADMIN only)
curl --request GET \
  --url https://assist.i.moneyforward.com/api/v1/notifications \
  --header 'X-API-Key: <api-key>'
import requests

url = "https://assist.i.moneyforward.com/api/v1/notifications"

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/notifications', 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/notifications",
  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/notifications"

	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/notifications")
  .header("X-API-Key", "<api-key>")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://assist.i.moneyforward.com/api/v1/notifications")

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,
  "notifications": [
    {
      "id": "<string>",
      "userId": "<string>",
      "type": "<string>",
      "priority": "<string>",
      "title": "<string>",
      "description": "<string>",
      "isRead": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "sessionKey": "<string>",
      "sessionTitle": "<string>",
      "actorName": "<string>"
    }
  ],
  "count": 0
}
{
  "ok": true,
  "error": "<string>"
}
{
  "ok": true,
  "error": "<string>"
}
{
  "ok": true,
  "error": "<string>"
}

承認

X-API-Key
string
header
必須

API key created via the Admina admin panel (Settings → API Keys → Create). Format: mb_live_<40-hex>.

クエリパラメータ

limit
number
デフォルト:20

Max results — 1..100, default 20

必須範囲: 1 <= x <= 100

レスポンス

Notification list

ok
boolean
必須
notifications
object[]
必須
count
integer
必須
必須範囲: -9007199254740991 <= x <= 9007199254740991
最終更新日 2026年7月8日