# Get a loyalty program

> Source: /api-reference/partner/explorer/loyalty/programs/get
> A program outside your organization returns 404 rather than 403, so the existence of another tenant’s program is never disclosed.
> Full spec: https://docs.journey.com/openapi/partner.v1.json

## `GET /v1/partner/loyalty/programs/{externalId}`

```json
{
  "description": "A program outside your organization returns 404 rather than 403, so the existence of another tenant’s program is never disclosed.",
  "operationId": "loyaltyProgramsPartner_get",
  "parameters": [
    {
      "description": "External loyalty program id.",
      "in": "path",
      "name": "externalId",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "description": "External organization id (HXP UUID or WorkOS organization id). Only Journey superadmin callers may set it; for a partner credential the organization is taken from the credential and this parameter is ignored.",
      "in": "query",
      "name": "organizationId",
      "required": false,
      "schema": {
        "type": "string",
        "examples": [
          "org_01HZY3Q8K9W2V4X6B8N0M2P4R6"
        ]
      }
    }
  ],
  "responses": {
    "200": {
      "description": "The program."
    },
    "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 a loyalty program",
  "tags": [
    "partner/loyalty/programs"
  ],
  "x-required-scopes": [
    [
      "partner:loyalty:programs:read"
    ]
  ]
}
```