# Get Windfall data for a member

> Source: /api-reference/partner/explorer/windfall/get-by-member-id
> Looks a member up by their internal numeric id. Requires both `partner:guests:read` (declared on the controller) and `partner:guests:pii:read` (on the handler) — the guard ANDs them.
> Full spec: https://docs.journey.com/openapi/partner.v1.json

## `GET /v1/partner/windfall/members/{memberId}`

```json
{
  "description": "Looks a member up by their internal numeric id. Requires both `partner:guests:read` (declared on the controller) and `partner:guests:pii:read` (on the handler) — the guard ANDs them.",
  "operationId": "windfallPartner_getByMemberId",
  "parameters": [
    {
      "description": "Internal numeric member id — not the external ULID used elsewhere on this surface. A non-integer value is rejected with 400 before the handler runs.",
      "in": "path",
      "name": "memberId",
      "required": true,
      "schema": {
        "type": "integer"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "The member’s Windfall profile."
    },
    "400": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "Request validation failed. `errors` lists the offending fields."
    },
    "401": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "No usable credential. Send `Authorization: Bearer <jwt>` or `X-API-Key: jny_...`."
    },
    "403": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "The credential authenticated but lacks the scopes in `x-required-scopes`, or the resource belongs to another organization."
    },
    "404": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "No such resource, or it is outside the organization the credential resolves to."
    }
  },
  "security": [
    {
      "partnerBearer": []
    },
    {
      "partnerApiKey": []
    }
  ],
  "summary": "Get Windfall data for a member",
  "tags": [
    "partner/windfall"
  ],
  "x-required-scopes": [
    [
      "partner:guests:read"
    ],
    [
      "partner:guests:pii:read"
    ]
  ]
}
```