GuideLab API

Create a form question

Creates a new reusable form question. Auto-assigns sort order if not specified. Lab-only endpoint.

POST
/forms/questions

Creates a new reusable form question. Auto-assigns sort order if not specified. Lab-only endpoint.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/forms/questions" \  -H "Content-Type: application/json" \  -d '{    "scope": "order_flow",    "label": "string",    "fieldType": "text"  }'
{  "question": null}
Empty
Empty
Empty
Empty