Create a topic form (Preview)
Preview · Available to selected organizations. Creates a signup form for the visible topic and returns 201.
Creates a signup form for the visible topic and returns 201. The server generates its opaque public key. allowedOrigins contains exact HTTPS origins; the canonical web origin and current topic link origin are also accepted. Copy is plain text and redirectUrl is HTTPS or null. Requires topicSignup.
Authorization
apiKey In: header
Path Parameters
^unsub_[0-9a-hjkmnp-tv-z]{16,24}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
items <= 201 <= length <= 1201 <= length <= 20001 <= length <= 1201 <= length <= 2000Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/topics/string/forms" \ -H "Content-Type: application/json" \ -d '{ "allowedOrigins": [ "string" ], "confirmationTitle": "string", "confirmationMessage": "string", "successTitle": "string", "successMessage": "string", "redirectUrl": "string" }'{ "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"}Related documentation
Update a contact
Update a contact. Updates the fields you name and keeps the rest. `metadata` merges into the stored metadata by key, and a `null` value deletes that key.
Get a topic form (Preview)
Preview · Available to selected organizations. Returns a signup form belonging to the visible topic, including its public key and current link origin.