> For the complete documentation index, see [llms.txt](https://developers.gleantap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.gleantap.com/fetch-data/form-submissions.md).

# 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"}}}}}}}}}
```
