---
title: "Créer un flow"
method: POST
path: "/api/v1/flows"
---

# Créer un flow

`POST /api/v1/flows`

## Request

- Base URL: `https://api.yesrelay.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.yesrelay.com/api/v1/flows`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Relay-Key`

Crée le flow d'un numéro à partir d'un gabarit (`team`, `hours`, `menu`, `blank`). Un seul flow par numéro. Créé DÉSACTIVÉ : il ne route aucun appel tant qu'un humain ne l'a pas publié dans l'app.

## Request body

- FlowCreateReq
  - `number` string, required: Numéro E.164 à router.
  - `name` string, nullable
  - `template` string, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/yesrelay/apis/relay-api-publique.md) · [All operations](https://skmtc.dev/yesrelay/apis/relay-api-publique/llms.txt) · [OpenAPI document](https://skmtc.dev/yesrelay/apis/relay-api-publique/revisions/6f5eda01fd98?raw)
