Get form
One form with its fields: ID, label and type of each.
GET https://cotlet.dev/api/v1/jotform/forms/{form_id}
read
Returns the form title and every field in order, with the field ID, the label shown to respondents, the field type and whether it is required. Use the field IDs when you read or edit answers. It reads the form as it is now, so a field added today is in the list.
Parameters
| Name | Type | Description |
|---|---|---|
| form_id string required | string | Form ID from list_forms. |
Request
curl https://cotlet.dev/api/v1/jotform/forms/form_8c41d2 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("jotform", "get_form", {"form_id":"form_8c41d2"}) const result = await cotlet.call('jotform', 'get_form', {"form_id":"form_8c41d2"}); cotlet call jotform get_form --data '{"form_id":"form_8c41d2"}' Example response
{
"form_id": "242831904782058",
"title": "Event registration",
"fields": [
{
"field_id": "3",
"label": "Full name",
"type": "text",
"required": true
},
{
"field_id": "7",
"label": "Email",
"type": "email",
"required": true
},
{
"field_id": "9",
"label": "Ticket type",
"type": "dropdown",
"required": true
}
]
}