---
title: Forms
description: L'API Datadog Forms vous permet de créer et de gérer des formulaires au sein de la plateforme App Builder.
breadcrumbs: Documentation > API > Forms
---

> For the complete documentation index, see [llms.txt](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/llms.txt).

# Forms

L'API Datadog Forms vous permet de créer et de gérer des formulaires au sein de la plateforme App Builder.
Vous pouvez configurer les paramètres de formulaire, gérer les versions et publier des formulaires.

## [List forms](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/forms/list-forms.md) (preview)

| Datadog site      | API endpoint                                   |
| ----------------- | ---------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/forms     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/forms |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/forms |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/forms      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/forms |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/forms |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/forms |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/forms      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/forms  |

## [Create a form](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/forms/create-a-form.md) (preview)

| Datadog site      | API endpoint                                    |
| ----------------- | ----------------------------------------------- |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/forms     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/forms |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/forms |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/forms      |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/forms |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/forms |
| uk1.datadoghq.com | POST https://api.uk1.datadoghq.com/api/v2/forms |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/forms      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/forms  |

## [Create and publish a form](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/forms/create-and-publish-a-form.md) (preview)

| Datadog site      | API endpoint                                                       |
| ----------------- | ------------------------------------------------------------------ |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/forms/create_and_publish     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/forms/create_and_publish |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/forms/create_and_publish |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/forms/create_and_publish      |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/forms/create_and_publish |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/forms/create_and_publish |
| uk1.datadoghq.com | POST https://api.uk1.datadoghq.com/api/v2/forms/create_and_publish |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/forms/create_and_publish      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/forms/create_and_publish  |

## [Delete a form](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/forms/delete-a-form.md) (preview)

| Datadog site      | API endpoint                                                |
| ----------------- | ----------------------------------------------------------- |
| app.datadoghq.com | DELETE https://api.datadoghq.com/api/v2/forms/{form_id}     |
| us3.datadoghq.com | DELETE https://api.us3.datadoghq.com/api/v2/forms/{form_id} |
| us5.datadoghq.com | DELETE https://api.us5.datadoghq.com/api/v2/forms/{form_id} |
| app.datadoghq.eu  | DELETE https://api.datadoghq.eu/api/v2/forms/{form_id}      |
| ap1.datadoghq.com | DELETE https://api.ap1.datadoghq.com/api/v2/forms/{form_id} |
| ap2.datadoghq.com | DELETE https://api.ap2.datadoghq.com/api/v2/forms/{form_id} |
| uk1.datadoghq.com | DELETE https://api.uk1.datadoghq.com/api/v2/forms/{form_id} |
| app.ddog-gov.com  | DELETE https://api.ddog-gov.com/api/v2/forms/{form_id}      |
| us2.ddog-gov.com  | DELETE https://api.us2.ddog-gov.com/api/v2/forms/{form_id}  |

## [Get a form](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/forms/get-a-form.md) (preview)

| Datadog site      | API endpoint                                             |
| ----------------- | -------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/forms/{form_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/forms/{form_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/forms/{form_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/forms/{form_id}      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/forms/{form_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/forms/{form_id} |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/forms/{form_id} |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/forms/{form_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/forms/{form_id}  |

## [Update a form](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/forms/update-a-form.md) (preview)

| Datadog site      | API endpoint                                               |
| ----------------- | ---------------------------------------------------------- |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/forms/{form_id}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/forms/{form_id} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/forms/{form_id} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/forms/{form_id}      |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/forms/{form_id} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/forms/{form_id} |
| uk1.datadoghq.com | PATCH https://api.uk1.datadoghq.com/api/v2/forms/{form_id} |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/forms/{form_id}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/forms/{form_id}  |

## [Create or update a form version](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/forms/create-or-update-a-form-version.md) (preview)

| Datadog site      | API endpoint                                                       |
| ----------------- | ------------------------------------------------------------------ |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/forms/{form_id}/versions     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/forms/{form_id}/versions |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/forms/{form_id}/versions |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/forms/{form_id}/versions      |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/forms/{form_id}/versions |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/forms/{form_id}/versions |
| uk1.datadoghq.com | POST https://api.uk1.datadoghq.com/api/v2/forms/{form_id}/versions |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/forms/{form_id}/versions      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/forms/{form_id}/versions  |

## [Publish a form version](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/forms/publish-a-form-version.md) (preview)

| Datadog site      | API endpoint                                                      |
| ----------------- | ----------------------------------------------------------------- |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/forms/{form_id}/publish     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/forms/{form_id}/publish |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/forms/{form_id}/publish |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/forms/{form_id}/publish      |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/forms/{form_id}/publish |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/forms/{form_id}/publish |
| uk1.datadoghq.com | POST https://api.uk1.datadoghq.com/api/v2/forms/{form_id}/publish |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/forms/{form_id}/publish      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/forms/{form_id}/publish  |

## [Clone a form](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/forms/clone-a-form.md) (preview)

| Datadog site      | API endpoint                                                    |
| ----------------- | --------------------------------------------------------------- |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/forms/{form_id}/clone     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/forms/{form_id}/clone |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/forms/{form_id}/clone |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/forms/{form_id}/clone      |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/forms/{form_id}/clone |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/forms/{form_id}/clone |
| uk1.datadoghq.com | POST https://api.uk1.datadoghq.com/api/v2/forms/{form_id}/clone |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/forms/{form_id}/clone      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/forms/{form_id}/clone  |

## [Upsert and publish a form version](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/forms/upsert-and-publish-a-form-version.md) (preview)

| Datadog site      | API endpoint                                                                          |
| ----------------- | ------------------------------------------------------------------------------------- |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/forms/{form_id}/versions/upsert_and_publish     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/forms/{form_id}/versions/upsert_and_publish |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/forms/{form_id}/versions/upsert_and_publish |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/forms/{form_id}/versions/upsert_and_publish      |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/forms/{form_id}/versions/upsert_and_publish |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/forms/{form_id}/versions/upsert_and_publish |
| uk1.datadoghq.com | POST https://api.uk1.datadoghq.com/api/v2/forms/{form_id}/versions/upsert_and_publish |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/forms/{form_id}/versions/upsert_and_publish      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/forms/{form_id}/versions/upsert_and_publish  |
