Journey Docs
Partner API ExplorerLoyaltyPrograms

Create or replace the join page

Required scopepartner:loyalty:programs:write
PUT
/v1/partner/loyalty/programs/{externalId}/join-page

Full replacement of the program’s public join page content.

Authorization

headerAuthorizationBearer <token>

WorkOS access token (JWT) for a user who is a member of the partner organization. The organization the request is scoped to is taken from the token, not from a header or query parameter.

Only a JWT is accepted in this header. A Journey jny_ API key sent as a bearer token is rejected with 401 Invalid or expired token; send it in X-API-Key instead.

WorkOS organization API keys are not accepted yet.

Path Parameters

externalId*string

External loyalty program id.

Request Body

application/json
  1. body
internalName?string
Length1 <= length <= 255
organizationId?string

External org id for global/superadmin callers; partner tokens ignore it.

Response Body

The stored join page.

curl -X PUT 'https://api-prd.cf.journey.com/v1/partner/loyalty/programs/string/join-page' \  -H 'Content-Type: application/json' \  -d '{}'
Empty