Microsoft SharePoint ListItems API

The ListItems API from Microsoft SharePoint — 2 operation(s) for listitems.

OpenAPI Specification

microsoft-sharepoint-listitems-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: SharePoint REST $batch $batch ListItems API
  description: Minimal OpenAPI definition for the SharePoint Online REST/OData web service exposing site, web, list, and list item resources.
  version: '1.0'
  x-generated-from: https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service
  x-generated-by: claude-crawl-2026-05-08
servers:
- url: https://{tenant}.sharepoint.com/_api
  description: SharePoint site collection root REST endpoint
  variables:
    tenant:
      default: contoso
security:
- bearerAuth: []
tags:
- name: ListItems
paths:
  /web/lists/getbytitle('{listTitle}')/items:
    parameters:
    - in: path
      name: listTitle
      required: true
      schema:
        type: string
    get:
      tags:
      - ListItems
      summary: Get list items
      operationId: getListItems
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericObject'
    post:
      tags:
      - ListItems
      summary: Create list item
      operationId: createListItem
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenericObject'
      responses:
        '200':
          description: OK
        '201':
          description: Created
  /web/lists/getbytitle('{listTitle}')/items({itemId}):
    parameters:
    - in: path
      name: listTitle
      required: true
      schema:
        type: string
    - in: path
      name: itemId
      required: true
      schema:
        type: integer
    get:
      tags:
      - ListItems
      summary: Get list item
      operationId: getListItem
      responses:
        '200':
          description: OK
    delete:
      tags:
      - ListItems
      summary: Delete list item
      operationId: deleteListItem
      responses:
        '200':
          description: OK
components:
  schemas:
    GenericObject:
      type: object
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT