Api Documentation

Forms

A form is linked to an event or is available directly in the menu.
Creates a new form. Only available to API keys without user authentication.
Updates a form. Only available to API keys without user authentication.
Deletes a single form. Only available to API keys without user authentication.
Json
XML
POST https://api.bundeling.com/V2/forms

Parameters

Body

NameDescriptionTypeNillableRequired
nameThe name of the formstringfalsetrue
emailsThe email(s) that will receive the result (comma separated)stringfalsefalse
draftSave the event as draft or publishedbooleanfalsefalse
repeatingSet repeating true if the form can be filled in multiple timesbooleanfalsefalse
fieldsA collection of fields that together form the formjsonfalsefalse

Example request

Headers

Content-Type:application/json
Api-Key:RAegSX8yZfEbqSPM

Body

{
    "name": "New guest form",
    "emails": "support@bundeling.com",
    "draft": true,
    "repeating": false,
    "fields": [
        {
            "name": "Number of guests",
            "type": "number",
            "attributes": {
                "subtype": "float",
                "defaultValue": "1"
            },
            "id": "f3a8688ce8c04d08baaee34c0e1e981b",
            "key": "9cda81b0a10648308da3be99e22c5c55"
        },
        {
            "name": "Remarks",
            "type": "input",
            "attributes": [],
            "key": "dcaa2757675f4f9385d43b5bc9e6e6ec",
            "id": "7e2707717dd94d54b7ef9b0f2f1361ae"
        }
    ]
}

Example response

{
    "uuid": "eeb763c41c054dcc8f6d9362f24ee9b2",
    "name": "New guest form",
    "emails": "support@bundeling.com",
    "draft": false,
    "repeating": false,
    "fields": [
        {
            "name": "Number of guests",
            "type": "number",
            "attributes": {
                "subtype": "float",
                "defaultValue": "1"
            },
            "id": "f3a8688ce8c04d08baaee34c0e1e981b",
            "key": "9cda81b0a10648308da3be99e22c5c55"
        },
        {
            "name": "Remarks",
            "type": "input",
            "attributes": [],
            "key": "dcaa2757675f4f9385d43b5bc9e6e6ec",
            "id": "7e2707717dd94d54b7ef9b0f2f1361ae"
        }
    ],
    "creationdate": "2024-01-20T00:00:00+0100",
    "lastupdate": "2024-01-20T00:00:00+0100"
}