Hosted sign-up step

The application's own sign-up questions

GET
/api/v1/oauth/signup-fields/

A hosted step between consent and the redirect back, reached only with a state this platform minted at consent time. GET returns the unanswered questions and the profile fields the application's organization requires that the person has not filled in; POST records the answers and returns the redirect_uri to navigate to. Part of the authorization flow rather than a portal call, which is why an integrator needs to know the chain can detour here.

Response Body

application/json

application/json

application/json

application/json

Error codes

Every error response carries one of these in its code field. Branch on the code, never on the detail text.

Statuscode
400signup_prompt_expired, signup_prompt_invalid
429rate_limited
curl -X GET "https://example.com/api/v1/oauth/signup-fields/"
{  "application": {    "auth_experience": {      "footer_note": "string",      "headline": "string",      "icon_set": "string",      "layout": "string",      "method_grouping": "string",      "method_order": [        "string"      ],      "provider_treatment": "string",      "regions": [        {          "animation_enabled": true,          "animation_speed": 0,          "gradient_angle": 0,          "gradient_position": "string",          "gradient_shape": "string",          "image_blend_mode": "string",          "image_fit": "string",          "image_opacity": 0,          "image_position": "string",          "image_scale": 0,          "image_url": "string",          "kind": "string",          "overlay_blur": 0,          "overlay_opacity": 0,          "parallax_enabled": true,          "parallax_intensity": 0,          "region": "string",          "scheme": "string",          "shader_contrast": 0,          "shader_intensity": 0,          "shader_kind": "string",          "shader_scale": 0        }      ],      "signup_heading": "string",      "signup_subline": "string",      "subline": "string"    },    "branding": {      "accent_color": "string",      "browser_title": "string",      "favicon_url": "string",      "font": "string",      "radius": "string",      "show_badge": true,      "theme": "string"    },    "email_otp_enabled": true,    "homepage_url": "string",    "logo_url": "string",    "magic_link_enabled": true,    "name": "string",    "passkey_login_enabled": true,    "password_login_enabled": true,    "privacy_policy_url": "string",    "providers": [      {        "label": "string",        "provider": "string"      }    ],    "signup_form": {      "steps": [        {          "description": "string",          "fields": [            {              "field_type": "short_text",              "help_text": "string",              "is_required": true,              "key": "string",              "kind": "question",              "label": "string",              "max_length": 0,              "options": [                "string"              ],              "placeholder": "string"            }          ],          "title": "string"        }      ]    },    "terms_of_service_url": "string"  },  "fields": [    {      "field_type": "short_text",      "help_text": "string",      "is_required": true,      "key": "string",      "kind": "question",      "label": "string",      "max_length": 0,      "options": [        "string"      ],      "placeholder": "string"    }  ],  "may_skip": true,  "profile_fields": {    "core": [      {        "label": "string",        "name": "string"      }    ],    "custom": [      {        "field_type": "short_text",        "help_text": "string",        "key": "string",        "label": "string",        "max_length": 0,        "options": [          "string"        ],        "placeholder": "string"      }    ]  },  "steps": [    {      "description": "string",      "fields": [        {          "field_type": "short_text",          "help_text": "string",          "is_required": true,          "key": "string",          "kind": "question",          "label": "string",          "max_length": 0,          "options": [            "string"          ],          "placeholder": "string"        }      ],      "title": "string"    }  ]}