{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tripetto FormBuilder SDK API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Forms",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Forms",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://tripetto.com/app/api/forms",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of forms per page"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a list of forms created in the Tripetto account."
        },
        {
          "info": {
            "name": "Create Form",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://tripetto.com/app/api/forms",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new form with a definition."
        },
        {
          "info": {
            "name": "Get Form",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://tripetto.com/app/api/forms/:formId",
            "params": [
              {
                "name": "formId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the form"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a specific form by its ID."
        },
        {
          "info": {
            "name": "Update Form",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://tripetto.com/app/api/forms/:formId",
            "params": [
              {
                "name": "formId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the form"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update an existing form definition."
        },
        {
          "info": {
            "name": "Delete Form",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://tripetto.com/app/api/forms/:formId",
            "params": [
              {
                "name": "formId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the form"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a form and all its responses."
        }
      ]
    },
    {
      "info": {
        "name": "Responses",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Form Responses",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://tripetto.com/app/api/forms/:formId/responses",
            "params": [
              {
                "name": "formId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the form"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of responses per page"
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "Filter responses from this ISO 8601 date"
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "Filter responses to this ISO 8601 date"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve all responses submitted for a specific form."
        },
        {
          "info": {
            "name": "Get Form Response",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://tripetto.com/app/api/forms/:formId/responses/:responseId",
            "params": [
              {
                "name": "formId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the form"
              },
              {
                "name": "responseId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the form response"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a specific form response by ID."
        }
      ]
    },
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Form Webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://tripetto.com/app/api/forms/:formId/webhooks",
            "params": [
              {
                "name": "formId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the form"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all configured webhooks for a form."
        },
        {
          "info": {
            "name": "Create Form Webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://tripetto.com/app/api/forms/:formId/webhooks",
            "params": [
              {
                "name": "formId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the form"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Configure a webhook to receive form responses at a custom URL."
        },
        {
          "info": {
            "name": "Delete Form Webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://tripetto.com/app/api/forms/:formId/webhooks/:webhookId",
            "params": [
              {
                "name": "formId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the form"
              },
              {
                "name": "webhookId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the webhook"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Remove a webhook configuration from a form."
        }
      ]
    }
  ],
  "bundled": true
}