# Activate a loyalty program

> Source: /api-reference/partner/explorer/loyalty/programs/activate
> Takes the program live so members can join and earn.
> Full spec: https://docs.journey.com/openapi/partner.v1.json

## `POST /v1/partner/loyalty/programs/{externalId}/activate`

```json
{
  "description": "Takes the program live so members can join and earn.",
  "operationId": "loyaltyProgramsPartner_activate",
  "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 activated 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."
    },
    "409": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "The request conflicts with the current state of the resource."
    }
  },
  "security": [
    {
      "partnerBearer": []
    },
    {
      "partnerApiKey": []
    }
  ],
  "summary": "Activate a loyalty program",
  "tags": [
    "partner/loyalty/programs"
  ],
  "x-required-scopes": [
    [
      "partner:loyalty:programs:write"
    ]
  ]
}
```