# Route Page

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/content/pages/route:
    post:
      summary: Route Page
      deprecated: false
      description: ''
      tags:
        - API Reference/Public API/CMS Content/Pages
      parameters:
        - name: Content-Type
          in: header
          description: '[Details](doc-341635)'
          required: true
          example: application/json
          schema:
            type: string
            default: application/json
            const: application/json
        - name: X-User-Agent
          in: header
          description: Arbitrary identifier of your client. [Details](doc-341635)
          required: true
          example: '{{X_USER_AGENT}}'
          schema:
            type: string
            default: '{{X_USER_AGENT}}'
        - name: X-Product-Name
          in: header
          description: API Product for API context. [Details](doc-341635)
          required: true
          example: '{{PRODUCT_NAME}}'
          schema:
            type: string
            default: '{{PRODUCT_NAME}}'
        - name: X-Loyalty-Club-Slug
          in: header
          description: LoyaltyClub for API context. [Details](doc-342138)
          required: false
          example: '{{LOYALTY_CLUB_SLUG}}'
          schema:
            type: string
            default: '{{LOYALTY_CLUB_SLUG}}'
        - name: X-Customer
          in: header
          description: Customer for API context.  [Details](doc-342139)
          required: false
          example: '{{CUSTOMER_ID}}'
          schema:
            type: string
            default: '{{CUSTOMER_ID}}'
        - name: Authorization
          in: header
          description: '[Member](doc-342129) or [User](doc-342130) Authorization.'
          required: false
          example: Bearer {{_OAUTH_TOKEN}}
          schema:
            type: string
            default: Bearer {{_OAUTH_TOKEN}}
        - name: X-Client-Authorization
          in: header
          description: '[Token](doc-342128) Authorization.'
          example: '{{API_TOKEN}}'
          schema:
            type: string
            default: '{{API_TOKEN}}'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                  examples:
                    - store/54
                  description: Relative address of the page on the website
                '':
                  type: string
              x-apidog-orders:
                - url
                - ''
              required:
                - url
                - ''
              x-apidog-ignore-properties: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  page:
                    type: object
                    properties:
                      id:
                        $ref: '#/components/schemas/id'
                      url:
                        type: string
                        description: |-
                          Relative address of the Page on the website.
                          See [Page URL](doc-341710#url) in Management API
                        format: uri
                        examples:
                          - my-page
                      service:
                        type: string
                        description: >-
                          When present, it serves a role of [Service
                          Pages](doc-341710#service-pages)
                        enum:
                          - home_page
                          - stores_list
                          - jobs_list
                          - press_releases_list
                          - events_list
                          - press_release_page
                          - job_page
                          - article_page
                          - event_page
                          - promotion_page
                          - store_page
                          - articles_list
                          - promotions_list
                        x-apidog-enum:
                          - value: home_page
                            name: ''
                            description: ''
                          - value: stores_list
                            name: ''
                            description: ''
                          - value: jobs_list
                            name: ''
                            description: ''
                          - value: press_releases_list
                            name: ''
                            description: ''
                          - value: events_list
                            name: ''
                            description: ''
                          - value: press_release_page
                            name: ''
                            description: ''
                          - value: job_page
                            name: ''
                            description: ''
                          - value: article_page
                            name: ''
                            description: ''
                          - value: event_page
                            name: ''
                            description: ''
                          - value: promotion_page
                            name: ''
                            description: ''
                          - value: store_page
                            name: ''
                            description: ''
                          - value: articles_list
                            name: ''
                            description: ''
                          - value: promotions_list
                            name: ''
                            description: ''
                        nullable: true
                      title:
                        type: string
                      components:
                        type: array
                        items:
                          type: object
                          properties: {}
                          x-apidog-orders: []
                          x-apidog-ignore-properties: []
                        description: >-
                          List of components the Page is built of - see:
                          [ComponentsSchema](doc-341662#public-componentsschema-model).

                          Not returned on the [List](doc-3510899)
                      meta:
                        type: object
                        properties:
                          title:
                            type: string
                            examples:
                              - 'Infinity Mall ::: New Page'
                          description:
                            type: string
                            examples:
                              - Best place for shopping
                          image:
                            $ref: '#/components/schemas/File'
                            description: Can be present only when service is null
                        x-apidog-orders:
                          - title
                          - description
                          - image
                        required:
                          - title
                          - description
                          - image
                        description: >-
                          Meta attributes for page. Will only be present if
                          seo_metadata feature is enabled.
                        x-apidog-ignore-properties: []
                    x-apidog-refs: {}
                    x-apidog-orders:
                      - id
                      - url
                      - service
                      - title
                      - components
                      - meta
                    required:
                      - id
                      - url
                      - service
                      - title
                      - components
                    x-apidog-ignore-properties: []
                  url_params:
                    type: object
                    properties: {}
                    x-apidog-orders: []
                    examples:
                      - id: 23
                        slug: awesome-store
                    description: Key-Value object containing params parsed from the URL
                    x-apidog-ignore-properties: []
                x-apidog-orders:
                  - page
                  - url_params
                required:
                  - page
                  - url_params
                x-apidog-ignore-properties: []
              example:
                page:
                  id: 1
                  url: my-page
                  service: events_list
                  title: eligendi reprehenderit eaque
                  components: []
                  meta:
                    title: 'Infinity Mall ::: New Page'
                    description: Best place for shopping
                    image: null
                url_params:
                  id: 23
                  slug: awesome-store
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: API Reference/Public API/CMS Content/Pages
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-3510901-run
components:
  schemas:
    File:
      type: object
      properties:
        url:
          type: string
          format: uri
          readOnly: true
          examples:
            - https://example.com/image.png
        identifier:
          type: string
          description: Only present when parent record has many files
          examples:
            - '1'
        mime_type:
          type: string
          examples:
            - image/jpeg
          readOnly: true
          description: Only present in certain circumstances
          nullable: true
        created_at:
          type: string
          format: date-time
          examples:
            - '2022-11-09T15:46:00.252860Z'
        updated_at:
          type: string
          format: date-time
          readOnly: true
          examples:
            - '2022-11-09T15:46:00.252860Z'
        image_details:
          type: object
          properties:
            width:
              type: integer
              minimum: 1
            height:
              type: integer
              minimum: 1
          x-apidog-orders:
            - width
            - height
          x-apidog-ignore-properties: []
          nullable: true
      x-apidog-orders:
        - url
        - identifier
        - mime_type
        - created_at
        - updated_at
        - image_details
      required:
        - url
        - created_at
        - updated_at
      readOnly: true
      x-apidog-ignore-properties: []
      nullable: true
      x-apidog-folder: ''
    id:
      type: integer
      description: Primary identifier of the record
      format: uint64
      readOnly: true
      examples:
        - 1
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```