---
title: "Create a journal"
method: POST
path: "/api/external/v2/journals"
tags: ["Journals"]
---

# Create a journal

`POST /api/external/v2/journals`

## Request

- Base URL: `https://app.pennylane.com`
- URL: `https://app.pennylane.com/api/external/v2/journals`
- Auth: OAuth 2
  - Authorization code: `https://app.pennylane.com/oauth/authorize`
  - Token URL: `https://app.pennylane.com/oauth/oauth/token` scopes: `journals:all`

Create a journal

> ℹ️
> This endpoint requires the following scope: `journals:all`

## Headers

- `X-Company-Id` string

## Request body

- object
  - `code` string, required: 2 to 5 letters that represents the journal
  - `label` string, required: Label that describes the journal

## Response `201`

Returns the created journal

- object
  - `code` string, required
  - `id` integer, required
  - `label` string, required
  - `type` string, required

## Other responses

- `400`: Bad request
- `401`: Access token is missing or invalid
- `403`: Access to this resource forbidden
- `404`: The resource was not found
- `422`: Unprocessable content

## Changes

- **2026-11-03** `871f863307e5`: 1 info
  - added the new optional `header` request parameter `X-Company-Id`

[Operation history](https://skmtc.dev/pennylane/apis/company-v2/changes/api/external/v2/journals/post.md)

---

[API](https://skmtc.dev/pennylane/apis/company-v2.md) - [All operations](https://skmtc.dev/pennylane/apis/company-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/pennylane/apis/company-v2/revisions/871f863307e5?raw)
