---
title: "Create an owned cookbook"
method: POST
path: "/api/v1/cookbooks"
tags: ["Cookbooks"]
---

# Create an owned cookbook

`POST /api/v1/cookbooks`

## Request

- Base URL: `https://spoonjoy.app`
- URL: `https://spoonjoy.app/api/v1/cookbooks`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__session`
  - OAuth 2 (authorization code, authorization URL `https://spoonjoy.app/oauth/authorize`, token URL `https://spoonjoy.app/oauth/token`, scopes: `kitchen:write`)

## Headers

- `X-Request-Id` string

## Request body

- CreateCookbookRequest
  - `clientMutationId` string, required
  - `title` string, required

## Response `201`

Success

- CreateCookbookEnvelope
  - `ok` unknown, required
  - `requestId` string, required
  - `data` CreateCookbookData, required
    - `created` boolean, required
    - `cookbook` CookbookDetail, required
      - `id` string, required
      - `title` string, required
      - `chef` ChefSummary, required
        - `id` string, required
        - `username` string, required
        - `photoUrl` string, uri, nullable
      - `recipeCount` integer, required
      - `coverImageUrls` string[], required: Public recipe cover image URLs for transient display. API v1 does not provide image alt text or a license to copy/store photos outside Spoonjoy.
      - `href` string, required
      - `canonicalUrl` string, uri, required
      - `attribution` CookbookAttribution, required
        - `creditText` string, required
        - `canonicalUrl` string, uri, required
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
      - `recipes` RecipeSummary[], required: Currently public, non-deleted recipe summaries in cookbook order.
        - `id` string, required
        - `title` string, required
        - `description` string, nullable, required
        - `servings` string, nullable, required
        - `chef` ChefSummary, required
          - `id` string, required
          - `username` string, required
          - `photoUrl` string, uri, nullable
        - `coverImageUrl` string, nullable, required: Public cover image URL for transient display. Spoonjoy-hosted /photos/ URLs accept ?w=<pixels> for a smaller WebP; see photoVariants in the API root. API v1 does not provide image alt text or a license to copy/store photos outside Spoonjoy.
        - `coverProvenanceLabel` string, nullable, required: Human-readable active cover provenance label such as Original photo, Editorial photo, Imported photo, or AI generated.
        - `coverSourceType` 'ai-placeholder' | 'chef-upload' | 'import' | 'spoon' | 'null', nullable, required: Active cover provenance source. Null when the recipe has no active public cover.
        - `coverVariant` 'image' | 'stylized' | 'null', nullable, required: Active cover variant: image is verbatim/pure AI/imported display; stylized is an editorialized chef photo. Null when no active cover is available.
        - `href` string, required
        - `canonicalUrl` string, uri, required
        - `attribution` RecipeAttribution, required
          - `creditText` string, required
          - `canonicalUrl` string, uri, required
          - `sourceUrl` string, nullable, required: User-provided provenance URL. Validate and allow-list schemes before rendering as a link.
          - `sourceHost` string, nullable, required
          - `sourceRecipe` SourceRecipeAttribution, required
            - `id` string, required
            - `title` string, nullable, required
            - `chef` ChefSummary, required
              - …
            - `href` string, nullable, required
            - `canonicalUrl` string, uri, nullable, required
            - `deleted` boolean, required
        - `createdAt` string, date-time, required
        - `updatedAt` string, date-time, required
    - `mutation` MutationMetadata, required
      - `clientMutationId` string, required
      - `replayed` boolean, required

## Other responses

- `400`: Errors: invalid_json, validation_error
- `401`: Errors: authentication_required, invalid_token
- `403`: Errors: insufficient_scope
- `405`: Errors: method_not_allowed
- `409`: Errors: idempotency_conflict, idempotency_in_progress
- `429`: Errors: rate_limited
- `500`: Errors: internal_error
- `503`: Errors: temporarily_unavailable

---

[API](https://skmtc.dev/spoonjoy/apis/spoonjoy-api.md) · [All operations](https://skmtc.dev/spoonjoy/apis/spoonjoy-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spoonjoy/apis/spoonjoy-api/revisions/b96eb5d4697d?raw)
