Forms
Brief an AI coding agent
/v1/forms/{formId}/agent-handoffWrite a one-time brief in markdown that an AI coding agent follows to embed, publish and check this form on its brand's website. By default it creates a new workspace API key for the brief. Revoke that key when the agent is done.
Path parameters
formIdstringrequired
Body
JSON, with Content-Type: application/json.
notesstringWhere and how to place the form, for the agent. It goes into the brief word for word.
max 5000 chars
includeSecretsbooleanDefaults to true. When true, a new API key is created and put in the brief, along with the signing secrets of the webhooks that get this form's responses. When false, no key is created and the brief has the placeholders YOUR_API_KEY and YOUR_WEBHOOK_SECRET instead.
Response
promptstringrequiredThe brief, in markdown.
apiKeyIdstring or nullrequiredThe API key created for the brief. Null when
includeSecretsis false.apiKeyNamestring or nullrequiredThe name of that key. Null when
includeSecretsis false.
Errors answer with a status and the error shape.