APIリファレンス提供メニュー

提供メニュー

提供メニューの一覧と内容を取得する

エンドポイント
GET/v1/menus

提供メニューの一覧

ワークスペースの提供メニューを、下書き・非公開も含めて返します(削除したものを除く)。外に出してよい物だけが要るときは GET /v1/company-page を使ってください。

クエリ

  • limitinteger

    1回に返す件数(既定 50、最大 100)

    1〜100

  • cursorstring

    前の応答の nextCursor

    100文字まで

返る項目data の中身 · 200

  • idstring
  • titlestring
  • statusenum

    draft: 下書き / public: 会社サイトか Network に公開中 / private: 非公開

    draftpublicprivate
  • descriptionstring | null

    提供メニューの内容

  • priceTypeenum

    fixed: 固定報酬 / hourly: 時間単価 / free: 無料 / consultation: 要相談 / none: 未設定

    fixedhourlyfreeconsultationnone
  • priceinteger | null

    円。fixed と hourly のときだけ入る

  • deliveryDaysinteger | null

    納期の目安(日)

  • thumbnailstring | null
  • acceptingboolean

    いま相談を受け付けているか

  • createdAtstring
  • updatedAtstring

起こりうるエラー共通のエラー

  • 400invalid_request

    送った値が正しくない。message にどこが違うかが入ります

  • 403insufficient_scope

    キーにこの入口の権限(scope)が付いていない。requiredScopes に必要な権限が入ります

GET/v1/menus
curl https://tooon.app/api/v1/menus \
  -H "Authorization: Bearer $TOOON_API_KEY"
レスポンス
{
  "data": [
    {
      "id": "clx8k2m0a0001",
      "title": "Webサイト制作の業務委託",
      "status": "draft",
      "description": "…",
      "priceType": "fixed",
      "price": 100000,
      "deliveryDays": 0,
      "thumbnail": "…",
      "accepting": true,
      "createdAt": "2026-11-01T09:00:00.000Z",
      "updatedAt": "2026-11-01T09:00:00.000Z"
    }
  ],
  "nextCursor": null
}
GET/v1/menus/{id}

提供メニューを取得する

パスの値

  • idstring必須

    提供メニューのID

    100文字まで

返る項目data の中身 · 200

  • idstring
  • titlestring
  • statusenum

    draft: 下書き / public: 会社サイトか Network に公開中 / private: 非公開

    draftpublicprivate
  • descriptionstring | null

    提供メニューの内容

  • priceTypeenum

    fixed: 固定報酬 / hourly: 時間単価 / free: 無料 / consultation: 要相談 / none: 未設定

    fixedhourlyfreeconsultationnone
  • priceinteger | null

    円。fixed と hourly のときだけ入る

  • deliveryDaysinteger | null

    納期の目安(日)

  • thumbnailstring | null
  • acceptingboolean

    いま相談を受け付けているか

  • createdAtstring
  • updatedAtstring

起こりうるエラー共通のエラー

  • 403insufficient_scope

    キーにこの入口の権限(scope)が付いていない。requiredScopes に必要な権限が入ります

  • 404not_found

    対象がない、またはこのワークスペースのものではない

GET/v1/menus/{id}
curl https://tooon.app/api/v1/menus/clx8k2m0a0001 \
  -H "Authorization: Bearer $TOOON_API_KEY"
レスポンス
{
  "data": {
    "id": "clx8k2m0a0001",
    "title": "Webサイト制作の業務委託",
    "status": "draft",
    "description": "…",
    "priceType": "fixed",
    "price": 100000,
    "deliveryDays": 0,
    "thumbnail": "…",
    "accepting": true,
    "createdAt": "2026-11-01T09:00:00.000Z",
    "updatedAt": "2026-11-01T09:00:00.000Z"
  }
}