> ## Documentation Index
> Fetch the complete documentation index at: https://developers.hubspot.jp/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# マーケティングAPI | フォーム 

export const ScopesList = ({scopes = [], description = "この API には、次のいずれかのスコープが必要です。"}) => {
  if (!scopes || scopes.length === 0) {
    return null;
  }
  const sortedScopes = scopes.sort((a, b) => a.localeCompare(b));
  return <div>
      <div className="text-sm mb-2">{description}</div>
      <div>
        {sortedScopes.map((scope, index) => <div key={index}>
            <code>
              <span className="text-xs">{scope}</span>
            </code>
          </div>)}
      </div>
    </div>;
};

<RelatedApiLink />

<Accordion title="スコープ要件">
  <ScopesList
    scopes={[
  'forms'
]}
  />
</Accordion>

HubSpotフォームを使用して、訪問者やコンタクトに関する情報を集めます。このページでご紹介しているエンドポイントを使用して、新しいフォームを設定したり、以前に作成したフォームの詳細を取得したりできます。また、HubSpotへフォーム送信データを送る場合は[フォームへのデータ送信エンドポイント](https://developers.hubspot.jp/docs/reference/api/marketing/forms/v3-legacy#submit-data-to-a-form-supporting-authentication)（英語）をご参照ください。

タイプはフォームの目的を示し、デフォルトで`hubspot`に設定されます。`formType`には次の値を使用できます。

* `hubspot`：さまざまなフィールドタイプとスタイリングオプションがあり、HubSpotページまたは外部ページのいずれに埋め込んでも使用できます。このタイプのフォームは、本ページで紹介しているエンドポイントで作成および編集可能で、HubSpotアカウント内で作成することもできます。詳しくは、[HubSpotフォームの作成方法](https://knowledge.hubspot.com/ja/forms/create-forms)をご覧ください。
* `captured`：外部ウェブサイトのHTMLフォームに対応しています。HubSpot以外のフォームを使用していて、［ウェブサイトフォームからデータを収集］機能がオンになっている場合、[トラッキングされたページ](https://knowledge.hubspot.com/ja/reports/install-the-hubspot-tracking-code)でフォーム送信があるとHubSpotでフォームが自動的に作成されます。詳しくは、[HubSpot以外のフォームを使用する方法](https://knowledge.hubspot.com/ja/forms/use-non-hubspot-forms)をご覧ください。
* `flow`：HubSpotページまたは外部ページのいずれでも使用できるポップアップフォームです。詳しくは、[HubSpotのポップアップフォームの作成方法](https://knowledge.hubspot.com/ja/ctas/create-calls-to-action)をご参照ください。
* `blog_comment`：これらのフォームは、HubSpotブログページでブログ記事へのコメントを収集する目的で自動的に作成されます。詳しくは、[ブログのコメントの設定と管理](https://knowledge.hubspot.com/ja/blog/set-up-and-moderate-your-blog-comments)をご覧ください。
