---
updatedAt: 2025-06-10T20:51:59.000Z
agentTools:
  projectIndex: https://docs.clerk.io/llms.txt
---

# /pages

Add or update pages in Clerk.io

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://api.clerk.io/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "key",
        "in": "query",
        "x-default": "your_api_key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/pages": {
      "post": {
        "summary": "/pages",
        "description": "Add or update pages in Clerk.io",
        "operationId": "pages-post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "key",
                  "private_key",
                  "pages"
                ],
                "properties": {
                  "key": {
                    "type": "string",
                    "description": "Your stores public API key."
                  },
                  "private_key": {
                    "type": "string",
                    "description": "Your stores private API key."
                  },
                  "pages": {
                    "type": "array",
                    "description": "List of [pages](/reference/page-resource) to add or update."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\"status\":\"ok\"}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "ok"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```