WittyForm
App · 21 actions
Create forms and quizzes in WittyForm, collect and manage their responses, and act on new ones.
Actions
| Action | What it does |
|---|---|
| Create form | Create a new draft form. |
| Create form response | Submit a response to a published form. |
| Create quiz | Create a new draft quiz. |
| Create webhook | Have WittyForm send events about a form to a web address. |
| Delete form | Delete a form and all its responses for good. |
| Delete form response | Delete a response to a form for good. |
| Delete quiz | Delete a quiz and all its responses for good. |
| Delete quiz response | Delete a response to a quiz for good. |
| Delete webhook | Stop and remove one of a form's webhooks. |
| Get API usage | See how many requests your WittyForm API key has made, day by day. |
| Get form | Get a form with its fields and settings. |
| Get form response | Get one response to a form. |
| Get quiz | Get a quiz with its questions and results. |
| Get quiz response | Get one response to a quiz, with its score. |
| List form responses | List one page of a form's responses. |
| List forms | List one page of the forms in your workspace. |
| List quiz responses | List one page of a quiz's responses. |
| List quizzes | List one page of the quizzes in your workspace. |
| List webhooks | List a form's webhooks. |
| Update form | Change a form's title, description, fields, settings or status. |
| Update quiz | Change a quiz's details, questions or status. |
Create form
Create a new draft form.
Inputs
- Repeat-safe key
idempotency_keytext - Any text new to this request, such as a UUID. Sending the same key again within 24 hours returns the first result instead of creating a second one.
- Title
titletextRequired - The form's title.
- Description
descriptiontext - The form's description.
- Fields
fieldslist - The form's fields, in order. Give each its own id, a type (such as text, email or textarea), a label, and whether it is required, for example [{"id": "full_name", "type": "text", "label": "Full name", "required": true}].
- Settings
settingsobject - The form's settings, such as {"thankYouMessage": "Thanks!", "notifyOnSubmission": true}.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"form": {
"created_at": "2026-03-18T14:00:00.000Z",
"description": "Example",
"fields": [
{
"id": "id_123",
"label": "Example",
"placeholder": "Example",
"required": true,
"type": "Example"
}
],
"id": "id_123",
"published_at": "2026-03-18T14:00:00.000Z",
"settings": {
"key": "value"
},
"short_id": "id_123",
"status": "Example",
"title": "Example",
"updated_at": "2026-03-18T14:00:00.000Z"
}
},
"success": true
}
}Create form response
Submit a response to a published form.
Inputs
- Form
form_idtextRequired - The form to answer. It must be published.
- Repeat-safe key
idempotency_keytext - Any text new to this request, such as a UUID. Sending the same key again within 24 hours returns the first result instead of creating a second one.
- Answers
answersobjectRequired - The answers, keyed by field ID, such as {"full_name": "Jane Smith"}. Get Form shows each field's ID. WittyForm does not check them against the form.
- Metadata
metadataobject - Extra details to store with the response.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"response": {
"answers": {
"key": "value"
},
"browser": "Example",
"completion_time_seconds": 1,
"device_type": "Example",
"form_id": "id_123",
"id": "id_123",
"metadata": {
"key": "value"
},
"os": "Example",
"started_at": "2026-03-18T14:00:00.000Z",
"submitted_at": "2026-03-18T14:00:00.000Z"
}
},
"success": true
}
}Create quiz
Create a new draft quiz.
Inputs
- Repeat-safe key
idempotency_keytext - Any text new to this request, such as a UUID. Sending the same key again within 24 hours returns the first result instead of creating a second one.
- Title
titletextRequired - The quiz's title, up to 255 characters.
- Description
descriptiontext - The quiz's description, up to 2,000 characters.
- Quiz type
quiz_typetext - What kind of quiz it is. WittyForm uses Scored if you leave it empty.One of:
scored,personality,survey,trivia,assessment. - Scoring
scoring_methodtext - How answers are scored. WittyForm uses Points if you leave it empty.One of:
points,percentage,weighted,custom. - Pass mark
passing_scorenumber - The score from 0 to 100 needed to pass.From 0 to 100.
- Blocks
blockslist - The quiz's questions and content blocks. Give every block, question and answer its own id.
- Settings
settingsobject - The quiz's settings, such as {"showCorrectAnswers": true}.
- Outcomes
outcomeslist - The results a person can get, for personality and scored quizzes.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"quiz": {
"blocks": [
{
"key": "value"
}
],
"created_at": "2026-03-18T14:00:00.000Z",
"description": "Example",
"id": "id_123",
"outcomes": [
{
"key": "value"
}
],
"passing_score": 1,
"quiz_type": "Example",
"scoring_method": "Example",
"settings": {
"key": "value"
},
"short_id": "id_123",
"status": "Example",
"title": "Example",
"updated_at": "2026-03-18T14:00:00.000Z"
}
},
"success": true
}
}Create webhook
Have WittyForm send events about a form to a web address.
Inputs
- Form
form_idtextRequired - The form to send events about.
- Name
nametextRequired - A name for the webhook, up to 100 characters.
- URL
urltextRequired - The public HTTPS address to send events to.
- Events
eventslistRequired - The events to send.One or more of:
form.submitted(Form submitted),response.received(Response received),form.updated(Form changed),form.published(Form published),form.deleted(Form deleted),order.created(Order created),order.paid(Order paid),quiz.completed(Quiz completed).
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"webhook": {
"created_at": "2026-03-18T14:00:00.000Z",
"delivery_token": "Example",
"events": [
"Example"
],
"form_id": "id_123",
"id": "id_123",
"is_active": true,
"max_retries": 1,
"name": "Example",
"secret": "Example",
"updated_at": "2026-03-18T14:00:00.000Z",
"url": "https://example.com/page"
}
},
"success": true
}
}Delete form
Delete a form and all its responses for good.
Inputs
- Form
form_idtextRequired - The form to delete.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {}
}Delete form response
Delete a response to a form for good.
Inputs
- Form
form_idtextRequired - The form the response answers.
- Response
response_idtextRequired - The ID of the response to delete.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {}
}Delete quiz
Delete a quiz and all its responses for good.
Inputs
- Quiz
quiz_idtextRequired - The quiz to delete.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {}
}Delete quiz response
Delete a response to a quiz for good.
Inputs
- Quiz
quiz_idtextRequired - The quiz the response answers.
- Response
response_idtextRequired - The ID of the response to delete.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {}
}Delete webhook
Stop and remove one of a form's webhooks.
Inputs
- Form
form_idtextRequired - The form the webhook belongs to.
- Webhook
webhook_idtextRequired - The ID of the webhook to delete.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {}
}Get API usage
See how many requests your WittyForm API key has made, day by day.
Inputs
- Days
daysnumber - How many days of history to show, from 1 to 90. WittyForm shows 1 if you leave it empty.From 1 to 90.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"daily": [
{
"day": "Example",
"error_count": 1,
"request_count": 1
}
],
"key_id": "id_123",
"period_days": 1,
"rate_limit_per_minute": 1,
"total_errors": 1,
"total_requests": 1
},
"success": true
}
}Get form
Get a form with its fields and settings.
Inputs
- Form
form_idtextRequired - The form to read.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"form": {
"created_at": "2026-03-18T14:00:00.000Z",
"description": "Example",
"fields": [
{
"id": "id_123",
"label": "Example",
"placeholder": "Example",
"required": true,
"type": "Example"
}
],
"id": "id_123",
"published_at": "2026-03-18T14:00:00.000Z",
"settings": {
"key": "value"
},
"short_id": "id_123",
"status": "Example",
"title": "Example",
"updated_at": "2026-03-18T14:00:00.000Z"
}
},
"success": true
}
}Get form response
Get one response to a form.
Inputs
- Form
form_idtextRequired - The form the response answers.
- Response
response_idtextRequired - The ID of the response to read.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"response": {
"answers": {
"key": "value"
},
"browser": "Example",
"completion_time_seconds": 1,
"device_type": "Example",
"form_id": "id_123",
"id": "id_123",
"metadata": {
"key": "value"
},
"os": "Example",
"started_at": "2026-03-18T14:00:00.000Z",
"submitted_at": "2026-03-18T14:00:00.000Z"
}
},
"success": true
}
}Get quiz
Get a quiz with its questions and results.
Inputs
- Quiz
quiz_idtextRequired - The quiz to read.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"quiz": {
"blocks": [
{
"key": "value"
}
],
"created_at": "2026-03-18T14:00:00.000Z",
"description": "Example",
"id": "id_123",
"outcomes": [
{
"key": "value"
}
],
"passing_score": 1,
"quiz_type": "Example",
"scoring_method": "Example",
"settings": {
"key": "value"
},
"short_id": "id_123",
"status": "Example",
"title": "Example",
"updated_at": "2026-03-18T14:00:00.000Z"
}
},
"success": true
}
}Get quiz response
Get one response to a quiz, with its score.
Inputs
- Quiz
quiz_idtextRequired - The quiz the response answers.
- Response
response_idtextRequired - The ID of the response to read.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"response": {
"answers": {
"key": "value"
},
"completed_at": "2026-03-18T14:00:00.000Z",
"id": "id_123",
"max_score": 1,
"metadata": {
"key": "value"
},
"passed": true,
"percentage": 1,
"personality_outcome": {
"key": "value"
},
"quiz_id": "id_123",
"score": 1,
"started_at": "2026-03-18T14:00:00.000Z",
"submitted_at": "2026-03-18T14:00:00.000Z",
"time_spent": 1,
"trait_scores": {
"key": "value"
},
"user_email": "alex@example.com",
"user_name": "Example"
}
},
"success": true
}
}List form responses
List one page of a form's responses.
Inputs
- Form
form_idtextRequired - The form whose responses to list.
- Page
pagenumber - Which page of responses to read, starting at 1.At least 1.
- Page size
per_pagenumber - How many responses a page holds, up to 100. WittyForm sends 25 if you leave it empty.From 1 to 100.
- Order
sorttext - Newest or oldest first, by when they were submitted.One of:
desc(Newest first),asc(Oldest first). - Submitted from
sincedate and time - Only responses submitted at or after this time.
- Submitted until
untildate and time - Only responses submitted at or before this time.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"pagination": {
"page": 1,
"per_page": 1,
"total": 1,
"total_pages": 1
},
"responses": [
{
"answers": {
"key": "value"
},
"browser": "Example",
"completion_time_seconds": 1,
"device_type": "Example",
"form_id": "id_123",
"id": "id_123",
"metadata": {
"key": "value"
},
"os": "Example",
"started_at": "2026-03-18T14:00:00.000Z",
"submitted_at": "2026-03-18T14:00:00.000Z"
}
]
},
"success": true
}
}List forms
List one page of the forms in your workspace.
Inputs
- Page
pagenumber - Which page of forms to read, starting at 1.At least 1.
- Page size
per_pagenumber - How many forms a page holds, up to 100. WittyForm sends 25 if you leave it empty.From 1 to 100.
- Status
statustext - Only forms with this status. Leave empty for all.One of:
published,draft,archived. - Search
searchtext - Only forms whose title contains these words.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"forms": [
{
"created_at": "2026-03-18T14:00:00.000Z",
"description": "Example",
"fields": [
{
"id": "id_123",
"label": "Example",
"placeholder": "Example",
"required": true,
"type": "Example"
}
],
"id": "id_123",
"published_at": "2026-03-18T14:00:00.000Z",
"settings": {
"key": "value"
},
"short_id": "id_123",
"status": "Example",
"title": "Example",
"updated_at": "2026-03-18T14:00:00.000Z"
}
],
"pagination": {
"page": 1,
"per_page": 1,
"total": 1,
"total_pages": 1
}
},
"success": true
}
}List quiz responses
List one page of a quiz's responses.
Inputs
- Quiz
quiz_idtextRequired - The quiz whose responses to list.
- Page
pagenumber - Which page of responses to read, starting at 1.At least 1.
- Page size
per_pagenumber - How many responses a page holds, up to 100. WittyForm sends 25 if you leave it empty.From 1 to 100.
- Order
sorttext - Newest or oldest first, by when they were started.One of:
desc(Newest first),asc(Oldest first). - Started from
sincedate and time - Only responses started at or after this time.
- Started until
untildate and time - Only responses started at or before this time.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"pagination": {
"page": 1,
"per_page": 1,
"total": 1,
"total_pages": 1
},
"responses": [
{
"answers": {
"key": "value"
},
"completed_at": "2026-03-18T14:00:00.000Z",
"id": "id_123",
"max_score": 1,
"metadata": {
"key": "value"
},
"passed": true,
"percentage": 1,
"personality_outcome": {
"key": "value"
},
"quiz_id": "id_123",
"score": 1,
"started_at": "2026-03-18T14:00:00.000Z",
"submitted_at": "2026-03-18T14:00:00.000Z",
"time_spent": 1,
"trait_scores": {
"key": "value"
},
"user_email": "alex@example.com",
"user_name": "Example"
}
]
},
"success": true
}
}List quizzes
List one page of the quizzes in your workspace.
Inputs
- Page
pagenumber - Which page of quizzes to read, starting at 1.At least 1.
- Page size
per_pagenumber - How many quizzes a page holds, up to 100. WittyForm sends 25 if you leave it empty.From 1 to 100.
- Status
statustext - Only quizzes with this status. Leave empty for all.One of:
published,draft,archived. - Search
searchtext - Only quizzes whose title contains these words.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"pagination": {
"page": 1,
"per_page": 1,
"total": 1,
"total_pages": 1
},
"quizzes": [
{
"blocks": [
{
"key": "value"
}
],
"created_at": "2026-03-18T14:00:00.000Z",
"description": "Example",
"id": "id_123",
"outcomes": [
{
"key": "value"
}
],
"passing_score": 1,
"quiz_type": "Example",
"scoring_method": "Example",
"settings": {
"key": "value"
},
"short_id": "id_123",
"status": "Example",
"title": "Example",
"updated_at": "2026-03-18T14:00:00.000Z"
}
]
},
"success": true
}
}List webhooks
List a form's webhooks.
Inputs
- Form
form_idtextRequired - The form whose webhooks to list.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"webhooks": [
{
"created_at": "2026-03-18T14:00:00.000Z",
"delivery_token": "Example",
"events": [
"Example"
],
"form_id": "id_123",
"id": "id_123",
"is_active": true,
"max_retries": 1,
"name": "Example",
"updated_at": "2026-03-18T14:00:00.000Z",
"url": "https://example.com/page"
}
]
},
"success": true
}
}Update form
Change a form's title, description, fields, settings or status.
Inputs
- Form
form_idtextRequired - The form to change.
- Title
titletext - A new title.
- Description
descriptiontext - A new description.
- Fields
fieldslist - The whole new list of fields, replacing the old one. Give each its own id, a type, a label and whether it is required.
- Settings
settingsobject - The whole new settings, replacing the old ones, such as {"thankYouMessage": "Thanks!"}.
- Status
statustext - Publish the form, put it back to draft, or archive it.One of:
published,draft,archived.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"form": {
"id": "id_123",
"settings": {
"key": "value"
},
"status": "Example",
"title": "Example",
"updated_at": "2026-03-18T14:00:00.000Z"
}
},
"success": true
}
}Update quiz
Change a quiz's details, questions or status.
Inputs
- Quiz
quiz_idtextRequired - The quiz to change.
- Title
titletext - A new title.
- Description
descriptiontext - The quiz's description, up to 2,000 characters.
- Quiz type
quiz_typetext - What kind of quiz it is. WittyForm uses Scored if you leave it empty.One of:
scored,personality,survey,trivia,assessment. - Scoring
scoring_methodtext - How answers are scored. WittyForm uses Points if you leave it empty.One of:
points,percentage,weighted,custom. - Pass mark
passing_scorenumber - The score from 0 to 100 needed to pass.From 0 to 100.
- Blocks
blockslist - The quiz's questions and content blocks. Give every block, question and answer its own id.
- Settings
settingsobject - The quiz's settings, such as {"showCorrectAnswers": true}.
- Outcomes
outcomeslist - The results a person can get, for personality and scored quizzes.
- Status
statustext - Publish the quiz, put it back to draft, or archive it.One of:
published,draft,archived.
Outputs
dataobject- The response from WittyForm.
Example output
{
"data": {
"data": {
"quiz": {
"blocks": [
{
"key": "value"
}
],
"created_at": "2026-03-18T14:00:00.000Z",
"description": "Example",
"id": "id_123",
"outcomes": [
{
"key": "value"
}
],
"passing_score": 1,
"quiz_type": "Example",
"scoring_method": "Example",
"settings": {
"key": "value"
},
"short_id": "id_123",
"status": "Example",
"title": "Example",
"updated_at": "2026-03-18T14:00:00.000Z"
}
},
"success": true
}
}