List topic forms
Lists the signup forms belonging to the visible topic.
GET
Lists the signup forms belonging to the visible topic. Forms contain exact HTTPS allowed origins, bounded confirmation and success copy, an optional HTTPS redirect, and a public key for hosted or embedded signup.
apiKeyheader
x-api-key<token>id*stringMatch
^tpc_[0-9a-hjkmnp-tv-z]{16,24}$Success
application/json- response
items*array<>import { createClient } from "samva";
const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });
const result = await samva.topicForms.list({
"id": "example"
});Example Response
{
"items": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"publicKey": "29f62ed2-b67a-44ba-84f5-217ecee94438",
"topicId": "string",
"allowedOrigins": [
"string"
],
"confirmationTitle": "string",
"confirmationMessage": "string",
"successTitle": "string",
"successMessage": "string",
"redirectUrl": "string",
"linkOrigin": "string",
"createdAt": "string",
"updatedAt": "string"
}
]
}