---
updatedAt: 2026-07-31T14:21:10.000Z
agentTools:
  projectIndex: https://reference.fidel.uk/llms.txt
---

# List MIDs

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "fidel-api",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.fidel.uk/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Fidel-Key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/locations/{locationId}/mids": {
      "get": {
        "summary": "List MIDs",
        "description": "",
        "operationId": "list-mids",
        "parameters": [
          {
            "name": "Content-Type",
            "in": "header",
            "description": "application/json",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Fidel-Key",
            "in": "header",
            "description": "test/live API secret key.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "locationId",
            "in": "path",
            "description": "Id of the Location.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"count\": 1,\n  \"items\": [\n    {\n      \"accountId\": \"3693ac7e-3e2b-432c-8c60-2b786453ca9b\",\n      \"status\": \"active\",\n      \"created\": \"2017-06-01T15:37:09.319Z\",\n      \"live\": false,\n      \"updated\": \"2017-06-01T15:37:09.319Z\",\n      \"programId\": \"e1d96ed3-dfd6-4896-8e57-37dca8b1c394\",\n      \"locationId\": \"f3376b7b-e28a-410e-a1c2-fda1c903906d\",\n      \"id\": \"a92b6688-e551-47d7-839b-f1c18faf3cb8\",\n      \"merchantId\": \"0123456789\"\n    }\n  ],\n  \"resource\": \"/v1/locations/f3376b7b-e28a-410e-a1c2-fda1c903906d/mids\",\n  \"status\": 200,\n  \"execution\": 94.035879\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "count": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "accountId": {
                            "type": "string",
                            "example": "3693ac7e-3e2b-432c-8c60-2b786453ca9b"
                          },
                          "status": {
                            "type": "string",
                            "example": "active"
                          },
                          "created": {
                            "type": "string",
                            "example": "2017-06-01T15:37:09.319Z"
                          },
                          "live": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "updated": {
                            "type": "string",
                            "example": "2017-06-01T15:37:09.319Z"
                          },
                          "programId": {
                            "type": "string",
                            "example": "e1d96ed3-dfd6-4896-8e57-37dca8b1c394"
                          },
                          "locationId": {
                            "type": "string",
                            "example": "f3376b7b-e28a-410e-a1c2-fda1c903906d"
                          },
                          "id": {
                            "type": "string",
                            "example": "a92b6688-e551-47d7-839b-f1c18faf3cb8"
                          },
                          "merchantId": {
                            "type": "string",
                            "example": "0123456789"
                          }
                        }
                      }
                    },
                    "resource": {
                      "type": "string",
                      "example": "/v1/locations/f3376b7b-e28a-410e-a1c2-fda1c903906d/mids"
                    },
                    "status": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "execution": {
                      "type": "number",
                      "example": 94.035879,
                      "default": 0
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "    curl -X GET \\\n      https://api.fidel.uk/v1/locations/f3376b7b-e28a-410e-a1c2-fda1c903906d/mids \\\n      -H 'content-type: application/json' \\\n      -H 'fidel-key: sk_test_50ea90b6-2a3b-4a56-814d-1bc592ba4d63'"
            }
          ],
          "samples-languages": [
            "curl"
          ]
        },
        "x-internal": true
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Content-Type",
        "value": "application/json"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```