---
title: "Reactions API"
url: "https://developer-qual.migros.ch/apis/migipedia-reactions-api-1/versions/4a05321c-6759-4bc8-bf5e-bf8098d5aa35/operations/reactionsApi"
---

> Full API specification: https://developer-qual.migros.ch/apis/migipedia-reactions-api-1/versions/4a05321c-6759-4bc8-bf5e-bf8098d5aa35.md

# Reactions API

`POST` `/migros/customers/reactions/v1/reactions`

Operation ID: `reactionsApi`

This endpoint will serve the Reactions GraphQL API.

## Request body

Content types: `application/json`

## Responses

- `200` - Successful operation
- `400` - Invalid Request Query

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Migipedia Reactions API
  version: "1.0"
servers:
  - url: https://api-qual.migros.ch
paths:
  /migros/customers/reactions/v1/reactions:
    post:
      description: This endpoint will serve the Reactions GraphQL API.
      operationId: reactionsApi
      requestBody:
        content:
          application/json:
            example:
              query: "query LastReviews { reviews(first: 5, orderBy: { created: DESC }) {
                content rating } }"
            schema:
              $ref: "#/components/schemas/GraphQLQuery"
        description: Subscription payload
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GraphQLResponse"
          description: Successful operation
        "400":
          content:
            application/json:
              schema:
                type: object
          description: Invalid Request Query
      security:
        - apikey: []
      summary: Reactions API
      tags:
        - migros/reactions
      x-kong-route-defaults:
        strip_path: true
        tags:
          - migros/reactions
security:
  - apikey: []
components:
  schemas:
    GraphQLQuery:
      properties:
        operationName:
          type: string
        query:
          description: GraphQL query string
          type: string
        variables:
          type: object
      type: object
    GraphQLResponse:
      properties:
        data:
          type: object
      type: object
  securitySchemes:
    apikey:
      in: header
      name: x-api-key
      type: apiKey
```
