GET
/v1/portfoliosポートフォリオの一覧
ワークスペースのポートフォリオを、下書き・非公開も含めて返します(削除したものを除く)。外に出してよい物だけが要るときは GET /v1/company-page を使ってください。
クエリ
- limitinteger
1回に返す件数(既定 50、最大 100)
1〜100
- cursorstring
前の応答の nextCursor
100文字まで
返る項目data の中身 · 200
- idstring
- titlestring
- statusenum
draft: 下書き / public: 会社サイトか Network に公開中 / private: 非公開
draftpublicprivate - clientNamestring | null
クライアント名(社内向け。公開するかは画面で決めます)
- thumbnailstring | null
- orderIdstring | null
元になった取引(取引から作ったときだけ)
- pageIdstring | null
本文のページ。tooon_get_page などで中身を読めます
- createdAtstring
- updatedAtstring
起こりうるエラー共通のエラー
- 400invalid_request
送った値が正しくない。message にどこが違うかが入ります
- 403insufficient_scope
キーにこの入口の権限(scope)が付いていない。requiredScopes に必要な権限が入ります
GET
/v1/portfolioscurl https://tooon.app/api/v1/portfolios \
-H "Authorization: Bearer $TOOON_API_KEY"レスポンス
{
"data": [
{
"id": "clx8k2m0a0001",
"title": "Webサイト制作の業務委託",
"status": "draft",
"clientName": "…",
"thumbnail": "…",
"orderId": "clx8k2m0a0001",
"pageId": "clx8k2m0a0001",
"createdAt": "2026-11-01T09:00:00.000Z",
"updatedAt": "2026-11-01T09:00:00.000Z"
}
],
"nextCursor": null
}GET
/v1/portfolios/{id}ポートフォリオを取得する
パスの値
- idstring必須
ポートフォリオのID
100文字まで
返る項目data の中身 · 200
- idstring
- titlestring
- statusenum
draft: 下書き / public: 会社サイトか Network に公開中 / private: 非公開
draftpublicprivate - clientNamestring | null
クライアント名(社内向け。公開するかは画面で決めます)
- thumbnailstring | null
- orderIdstring | null
元になった取引(取引から作ったときだけ)
- pageIdstring | null
本文のページ。tooon_get_page などで中身を読めます
- createdAtstring
- updatedAtstring
起こりうるエラー共通のエラー
- 403insufficient_scope
キーにこの入口の権限(scope)が付いていない。requiredScopes に必要な権限が入ります
- 404not_found
対象がない、またはこのワークスペースのものではない
GET
/v1/portfolios/{id}curl https://tooon.app/api/v1/portfolios/clx8k2m0a0001 \
-H "Authorization: Bearer $TOOON_API_KEY"レスポンス
{
"data": {
"id": "clx8k2m0a0001",
"title": "Webサイト制作の業務委託",
"status": "draft",
"clientName": "…",
"thumbnail": "…",
"orderId": "clx8k2m0a0001",
"pageId": "clx8k2m0a0001",
"createdAt": "2026-11-01T09:00:00.000Z",
"updatedAt": "2026-11-01T09:00:00.000Z"
}
}