---
title: "Get Journey schema"
method: GET
path: "/journeys/schema"
---

# Get Journey schema

`GET /journeys/schema`

## Request

- Base URL: `https://api.onesignal.com`
- URL: `https://api.onesignal.com/journeys/schema`
- Auth: none required
- TypeScript: <https://skmtc.dev/onesignal/apis/api-onesignal-com/docs/journeys/schema/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the JSON Schema for a Journey authoring operation without authentication or app context. The response identifies the document to validate. Schema retrieval does not validate permissions or business rules for a later write.

## Query parameters

- `operation` 'create' | 'duplicate' | 'update' | 'update_node', required

## Response `200`

The schema and its applicability.

- object
  - `operation` 'create' | 'duplicate' | 'update' | 'update_node', required: The requested operation.
  - `document` 'body' | 'overrides' | 'patch' | 'merged_node', required: The document that the schema describes. For update_node, merged_node is the complete node after applying the patch.
  - `schema` object, required: A self-contained JSON Schema Draft 6 document with local $defs references.

## Other responses

- `400`: Missing or unsupported operation.

## Changes

- **2026-11-06** `79328bbf7a4b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/onesignal/apis/api-onesignal-com/changes/journeys/schema/get.md)

---

[API](https://skmtc.dev/onesignal/apis/api-onesignal-com.md) - [All operations](https://skmtc.dev/onesignal/apis/api-onesignal-com/llms.txt) - [OpenAPI document](https://skmtc.dev/onesignal/apis/api-onesignal-com/revisions/79328bbf7a4b?raw)
