Passer au contenu principal
GET
/
flows
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.flows.list({
        page: 1,
        perPage: 1,
        includeTotals: true,
        synchronous: true,
    });
}
main();
[
  {
    "id": "<string>",
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "executed_at": "2023-12-25"
  }
]

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de requête

page
integer

Page index of the results to return. First page is 0.

Plage requise: 0 <= x <= 1000
per_page
integer

Number of results per page. Defaults to 50.

Plage requise: 1 <= x <= 100
include_totals
boolean

Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).

hydrate
enum<string>[]

hydration param

Options disponibles:
form_count
Maximum string length: 50
synchronous
boolean

flag to filter by sync/async flows

Réponse

Flows successfully retrieved.

id
string<flow-id>
requis
Maximum string length: 30
name
string
requis
Required string length: 1 - 150
created_at
string<date-time>
requis
updated_at
string<date-time>
requis
executed_at
string<date>