The application's own sign-up questions
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.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
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.
| Status | code |
|---|---|
| 400 | validation_failed, signup_prompt_expired, signup_prompt_invalid, signup_fields_required, signup_field_invalid |
| 409 | signup_prompt_already_submitted |
| 429 | rate_limited |
Before you run the sample
- Fill in the request body.
curl -X POST "https://example.com/api/v1/oauth/signup-fields/" \ -H "Content-Type: application/json" \ -d '{ "state": "string" }'{ "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" } ]}The published plan catalogue GET
Every plan with `is_public` set, on both ladders: `plans` bills one application on volume and capability, `organization_plans` bills one organization on people and consolidation. A published price of `0` means free; a price of `null` means contact us, and the two are deliberately not the same value. Two addresses, and they are not interchangeable. `business_email` is for a commercial conversation — a quoted tier, or a plan that does not exist yet. `contact_email` is for everything else, including a privacy or rights request, a security report and formal legal notice. Either may be `null` when the operator has not configured it.
The application's own sign-up questions GET
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.