cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

support specifying booking questions for an Event Type on API

Open GeorgeShao opened this issue 1 year ago • 1 comments

Is your proposal related to a problem?

I want to use the API to create Event Types with custom booking questions. See example below. Screenshot 2024-06-11 at 9 12 24 PM

Describe the solution you'd like

Add the ability to specify custom booking questions in the body section of POST event-types route on API

Example:

{
  "summary": "An example of an individual event type POST request",
  "value": {
    "title": "Hello World",
    "slug": "hello-world",
    "length": 30,
    "hidden": false,
    ...
    "responses": [
        {
            "identifier": "organization",
            "label": "Organization",
            "placeholder": "",
            "inputType": "Short Text",
            "required": true
        }
    ]
    ...
  }
}

Describe alternatives you've considered

None

Additional context

No

Requirement/Document

(Share it here.)


House rules
  • If this issue has a 🚨 needs approval label, don't start coding yet. Wait until a core member approves feature request by removing this label, then you can start coding.
    • For clarity: Non-core member issues automatically get the 🚨 needs approval label.
    • Your feature ideas are invaluable to us! However, they undergo review to ensure alignment with the product's direction.

GeorgeShao avatar Jun 12 '24 01:06 GeorgeShao

i think you can do that already no? @alishaz-polymath

PeerRich avatar Jun 26 '24 16:06 PeerRich

cc @JDP-Neo

CarinaWolli avatar Oct 01 '25 16:10 CarinaWolli