forms
Create a form token
post/v1/workspaces/{workspaceId}/forms
Request
- Base URL: https://api.dispatchtickets.com (the document declares no server; this is the origin it was published from)
- URL: https://api.dispatchtickets.com/v1/workspaces/{workspaceId}/forms
- Auth: HTTP bearer
Request body
Example request
{
"name": "Contact Form",
"successUrl": "https://example.com/thank-you",
"errorUrl": "https://example.com/error",
"thankYouMessage": "Thanks for reaching out! We will get back to you within 24 hours.",
"fieldMapping": {
"email": "customFields.requesterEmail",
"subject": "title"
},
"honeypotField": "_gotcha",
"allowedOrigins": [
"https://example.com",
"https://www.example.com"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.