C#
using Auth0.ManagementApi;
using System.Threading.Tasks;
using System.Collections.Generic;
public partial class Examples
{
public async Task Example() {
var client = new ManagementClient(
token: "<token>"
);
await client.Flows.GetAsync(
id: "id",
request: new GetFlowRequestParameters {
Hydrate = new List<GetFlowRequestParametersHydrateEnum>(){
GetFlowRequestParametersHydrateEnum.FormCount,
}
}
);
}
}package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &management.GetFlowRequestParameters{}
client.Flows.Get(
context.TODO(),
"id",
request,
)
}package com.example.usage;
import com.auth0.client.mgmt.ManagementApi;
import com.auth0.client.mgmt.resources.flows.requests.GetFlowRequestParameters;
import com.auth0.client.mgmt.types.GetFlowRequestParametersHydrateEnum;
import java.util.Arrays;
public class Example {
public static void main(String[] args) {
ManagementApi client = ManagementApi
.builder()
.token("<token>")
.build();
client.flows().get(
"id",
GetFlowRequestParameters
.builder()
.hydrate(
Arrays.asList(GetFlowRequestParametersHydrateEnum.FORM_COUNT)
)
.build()
);
}
}<?php
namespace Example;
use Auth0\SDK\API\Management\Management;
use Auth0\SDK\API\Management\Flows\Requests\GetFlowRequestParameters;
use Auth0\SDK\API\Management\Types\GetFlowRequestParametersHydrateEnum;
$client = new Management(
token: '<token>',
);
$client->flows->get(
'id',
new GetFlowRequestParameters([
'hydrate' => [
GetFlowRequestParametersHydrateEnum::FormCount->value,
],
]),
);from auth0.management import ManagementClient
client = ManagementClient(
token="<token>",
)
client.flows.get(
id="id",
hydrate=[
"form_count"
],
)require "auth0"
client = Auth0::Management.new(token: "<token>")
client.flows.get(
id: "id",
hydrate: ["form_count"]
)import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.flows.get("id", {});
}
main();import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.flows.get("id", {});
}
main();curl --request GET \
--url https://{tenantDomain}/api/v2/flows/{id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"actions": [
{
"id": "<string>",
"type": "ACTIVECAMPAIGN",
"action": "LIST_CONTACTS",
"params": {
"connection_id": "<string>",
"email": "<string>"
},
"alias": "<string>",
"allow_failure": true,
"mask_output": true
}
],
"executed_at": "2023-12-25"
}Get a flow
GET
https://{tenantDomain}/api/v2
/
flows
/
{id}
C#
using Auth0.ManagementApi;
using System.Threading.Tasks;
using System.Collections.Generic;
public partial class Examples
{
public async Task Example() {
var client = new ManagementClient(
token: "<token>"
);
await client.Flows.GetAsync(
id: "id",
request: new GetFlowRequestParameters {
Hydrate = new List<GetFlowRequestParametersHydrateEnum>(){
GetFlowRequestParametersHydrateEnum.FormCount,
}
}
);
}
}package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &management.GetFlowRequestParameters{}
client.Flows.Get(
context.TODO(),
"id",
request,
)
}package com.example.usage;
import com.auth0.client.mgmt.ManagementApi;
import com.auth0.client.mgmt.resources.flows.requests.GetFlowRequestParameters;
import com.auth0.client.mgmt.types.GetFlowRequestParametersHydrateEnum;
import java.util.Arrays;
public class Example {
public static void main(String[] args) {
ManagementApi client = ManagementApi
.builder()
.token("<token>")
.build();
client.flows().get(
"id",
GetFlowRequestParameters
.builder()
.hydrate(
Arrays.asList(GetFlowRequestParametersHydrateEnum.FORM_COUNT)
)
.build()
);
}
}<?php
namespace Example;
use Auth0\SDK\API\Management\Management;
use Auth0\SDK\API\Management\Flows\Requests\GetFlowRequestParameters;
use Auth0\SDK\API\Management\Types\GetFlowRequestParametersHydrateEnum;
$client = new Management(
token: '<token>',
);
$client->flows->get(
'id',
new GetFlowRequestParameters([
'hydrate' => [
GetFlowRequestParametersHydrateEnum::FormCount->value,
],
]),
);from auth0.management import ManagementClient
client = ManagementClient(
token="<token>",
)
client.flows.get(
id="id",
hydrate=[
"form_count"
],
)require "auth0"
client = Auth0::Management.new(token: "<token>")
client.flows.get(
id: "id",
hydrate: ["form_count"]
)import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.flows.get("id", {});
}
main();import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
token: "<token>",
});
await client.flows.get("id", {});
}
main();curl --request GET \
--url https://{tenantDomain}/api/v2/flows/{id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"actions": [
{
"id": "<string>",
"type": "ACTIVECAMPAIGN",
"action": "LIST_CONTACTS",
"params": {
"connection_id": "<string>",
"email": "<string>"
},
"alias": "<string>",
"allow_failure": true,
"mask_output": true
}
],
"executed_at": "2023-12-25"
}承認
bearerAuthoAuth2ClientCredentials
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
パスパラメータ
Flow identifier
Maximum string length:
30クエリパラメータ
hydration param
利用可能なオプション:
form_count, forms Maximum string length:
50レスポンス
Flow successfully retrieved.
Maximum string length:
30Required string length:
1 - 150- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
- Option 15
- Option 16
- Option 17
- Option 18
- Option 19
- Option 20
- Option 21
- Option 22
- Option 23
- Option 24
- Option 25
- Option 26
- Option 27
- Option 28
- Option 29
- Option 30
- Option 31
- Option 32
- Option 33
- Option 34
- Option 35
- Option 36
- Option 37
- Option 38
- Option 39
- Option 40
- Option 41
- Option 42
- Option 43
- Option 44
- Option 45
- Option 46
- Option 47
- Option 48
- Option 49
- Option 50
- Option 51
- Option 52
- Option 53
- Option 54
- Option 55
- Option 56
- Option 57
- Option 58
- Option 59
- Option 60
- Option 61
Show child attributes
Show child attributes
⌘I