Journey Docs
Partner API ExplorerPages

Update the page theme

Required scopepartner:pages:manage
PATCH
/v1/partner/pages/{pageGroupId}/theme

Partial update: only the theme fields present in the body are changed. Partners edit drafts only: writing to a published revision is a 409. Start a draft with POST /v1/partner/pages/{pageGroupId}/edit.

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

pageGroupId*string

External id of the page group.

Query Parameters

organizationId?string

Global (Journey staff) callers name the organization they act within.

Lengthlength <= 100
state?string

Which revision. Required when a page has both a draft and a published revision; otherwise the only revision is used.

Value in"draft""archived""published"

Request Body

application/json
  1. body
buttons?
colors?
fonts?
grid?
logoOverrides?|

An explicit null clears the overrides; omitting the key keeps them.

typography?

Response Body

The updated page theme.

curl -X PATCH 'https://api-prd.cf.journey.com/v1/partner/pages/string/theme' \  -H 'Content-Type: application/json' \  -d '{}'
Empty