# Form Submissions

## Get form submissions

> Retrieves form submissions based on the provided form ID, offset, and limit.

```json
{"openapi":"3.0.0","info":{"title":"Gleantap External API","version":"1.0.0"},"tags":[{"name":"External API","description":"External API endpoints for GleanTap integration"}],"servers":[{"url":"https://api.gleantap.com","description":"Production server"}],"paths":{"/v2/ExternalApi/getFormSubmissions/{form_id}":{"post":{"tags":["External API"],"summary":"Get form submissions","description":"Retrieves form submissions based on the provided form ID, offset, and limit.","operationId":"2add7cfc6e6449b4a2d2f216c5da4c61","parameters":[{"name":"form_id","in":"path","description":"Form ID","required":true,"schema":{"type":"string"}},{"name":"X-API-KEY","in":"header","description":"Your API key","required":true,"schema":{"type":"string"}},{"name":"X-SECRET-KEY","in":"header","description":"Your Secret key","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Form submission retrieval parameters","required":true,"content":{"application/json":{"schema":{"required":["offset","limit"],"properties":{"offset":{"description":"The offset for pagination","type":"integer"},"limit":{"description":"The limit for pagination","type":"integer"},"user_id":{"description":"The user ID to filter submissions by","type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Form submissions retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"properties":{"form_id":{"description":"The ID of the form","type":"string"},"submission_id":{"description":"The ID of the submission","type":"string"},"submission_data":{"description":"The data submitted in the form","type":"object"},"submission_date":{"description":"The date and time of the submission","type":"string","format":"date-time"}},"type":"object"}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"properties":{"status":{"type":"string"},"message":{"type":"string"}},"type":"object"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"properties":{"status":{"type":"string"},"message":{"type":"string"}},"type":"object"}}}},"404":{"description":"Form not found","content":{"application/json":{"schema":{"properties":{"status":{"type":"string"},"message":{"type":"string"}},"type":"object"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"properties":{"status":{"type":"string"},"message":{"type":"string"}},"type":"object"}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.gleantap.com/fetch-data/form-submissions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
