メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
forms
/
{id}
Go
package example

import (
    client "github.com/auth0/go-auth0/management/client"
    option "github.com/auth0/go-auth0/management/option"
    context "context"
    management "github.com/auth0/go-auth0/management"
)

func do() () {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.Forms.Get(
        context.TODO(),
        "id",
        &management.GetFormRequestParameters{},
    )
}
{
  "id": "<string>",
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "messages": {
    "errors": {},
    "custom": {}
  },
  "languages": {
    "primary": "<string>",
    "default": "<string>"
  },
  "translations": {},
  "nodes": [
    {
      "id": "<string>",
      "type": "FLOW",
      "config": {
        "flow_id": "<string>",
        "next_node": "<string>"
      },
      "coordinates": {
        "x": 0,
        "y": 0
      },
      "alias": "<string>"
    }
  ],
  "start": {
    "hidden_fields": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ],
    "next_node": "<string>",
    "coordinates": {
      "x": 0,
      "y": 0
    }
  },
  "ending": {
    "redirection": {
      "target": "<string>",
      "delay": 5
    },
    "after_submit": {
      "flow_id": "<string>"
    },
    "coordinates": {
      "x": 0,
      "y": 0
    },
    "resume_flow": true
  },
  "style": {
    "css": "<string>"
  },
  "embedded_at": "2023-12-25",
  "submitted_at": "2023-12-25"
}

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

The ID of the form to retrieve.

Maximum string length: 30

クエリパラメータ

hydrate
enum<string>[]

Query parameter to hydrate the response with additional data

利用可能なオプション:
flow_count,
links
Maximum string length: 50

レスポンス

Form successfully retrieved.

id
string<form-id>
必須
Maximum string length: 30
name
string
必須
Required string length: 1 - 150
created_at
string<date-time>
必須
updated_at
string<date-time>
必須
messages
object
languages
object
translations
object
nodes
object[]
start
object
ending
object
style
object
embedded_at
string<date>
submitted_at
string<date>