---
title: "Get a Submission"
url: "https://developer-qual.migros.ch/apis/formigros-qual-0/versions/5cf4bb7f-1e47-4efc-a301-5c2ff79fea16/operations/getFormSubmissionByIdIntegration"
---

> Full API specification: https://developer-qual.migros.ch/apis/formigros-qual-0/versions/5cf4bb7f-1e47-4efc-a301-5c2ff79fea16.md

# Get a Submission

`GET` `/migros/forms/v1/integration/{formPath}/submission/{submissionId}`

Operation ID: `getFormSubmissionByIdIntegration`

This will retrieve a single submission within a form.

## Path parameters

- `formPath` (string, required) - Form Alias
- `submissionId` (string, required) - Submission Id

## Header parameters

- `x-jwt-token` (string, optional)

## Responses

- `200` - Get a Submission

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Formigros QUAL
  version: 0.0.1
servers:
  - url: https://api-qual.migros.ch
paths:
  /migros/forms/v1/integration/{formPath}/submission/{submissionId}:
    get:
      description: This will retrieve a single submission within a form.
      operationId: getFormSubmissionByIdIntegration
      parameters:
        - description: Form Alias
          in: path
          name: formPath
          required: true
          schema:
            example: AmazingContactForm
            type: string
        - description: Submission Id
          in: path
          name: submissionId
          required: true
          schema:
            example: 57d0a2fd76f943a4007e1529
            type: string
        - example: "{{token}}"
          in: header
          name: x-jwt-token
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              example:
                _fvid: 1
                _id: 5fc7c4082a992abe68b247b9
                _vid: 0
                access: []
                created: 2020-12-02T16:42:48.128Z
                data:
                  email: joe@example.com
                  firstName: Joe
                  lastName: Smith
                  phoneNumber: (123) 123-1234
                externalIds: []
                form: 5fc7c25a2a992abe68b247b4
                modified: 2020-12-02T16:42:48.129Z
                owner: 5fc7beeb2a992abe68b2475c
                project: 5fc7befe2a992abe68b24765
                roles: []
                state: submitted
              schema:
                properties:
                  _fvid:
                    type: integer
                  _id:
                    type: string
                  _vid:
                    type: integer
                  access:
                    items: {}
                    type: array
                  created:
                    format: date-time
                    type: string
                  data:
                    properties:
                      email:
                        format: email
                        type: string
                      firstName:
                        type: string
                      lastName:
                        type: string
                      phoneNumber:
                        type: string
                    type: object
                  externalIds:
                    items: {}
                    type: array
                  form:
                    type: string
                  modified:
                    format: date-time
                    type: string
                  owner:
                    type: string
                  project:
                    type: string
                  roles:
                    items: {}
                    type: array
                  state:
                    type: string
                type: object
          description: Get a Submission
          headers:
            Access-Control-Allow-Origin:
              example: "*"
              schema:
                type: string
            Access-Control-Expose-Headers:
              example: x-jwt-token
              schema:
                type: string
            Cache-Control:
              example: no-cache,max-age=0
              schema:
                type: string
            Connection:
              example: keep-alive
              schema:
                type: string
            Content-Length:
              example: 397
              schema:
                type: integer
            Date:
              example: Wed, 02 Dec 2020 16:44:35 GMT
              schema:
                type: string
            ETag:
              example: W/"18d-WTVXer2UdkEDeKfaQMFTYPuR3Ww"
              schema:
                type: string
            Vary:
              example: Origin
              schema:
                type: string
            X-Powered-By:
              example: Express
              schema:
                type: string
            x-jwt-token:
              example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Il9pZCI6IjVmYzdiZWViMmE5OTJhYmU2OGIyNDc1YyJ9LCJpc3MiOiJodHRwczovL2FwaS5mb3JtLmlvOjMwMDAiLCJzdWIiOiI1ZmM3YmVlYjJhOTkyYWJlNjhiMjQ3NWMiLCJqdGkiOiI1ZmM3YmVmMjJhOTkyYWJlNjhiMjQ3NjEiLCJmb3JtIjp7Il9pZCI6IjVlZDE4MGYzZDM2MGEyM2FlNTBiMDBkYSIsInByb2plY3QiOiI1ZWQxODBmMmQzNjBhMjNhZTUwYjAwZDYifSwicHJvamVjdCI6eyJfaWQiOiI1ZWQxODBmMmQzNjBhMjNhZTUwYjAwZDYifSwiaWF0IjoxNjA2OTI3NDc1LCJleHAiOjE2MDY5NDE4NzV9.MboJ5cX_nJD_sO76p8HA4bW2NMNHb9uowXJMayfXQNQ
              schema:
                type: string
      summary: Get a Submission
      tags:
        - Submission API
```
