Sign in

Create a new list

documented

Create a new list in the site.

POST {site_url}/_api/web/listsListsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$site_url}}/_api/web/lists" \
  -X POST \
  -H \"Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}\" \
  -H \"Accept: application/json;odata=verbose\" \
  -H \"Content-Type: application/json\" \
  -H \"X-RequestDigest: {{$form_digest}}\" \
  -d '{"__metadata": {"type": "SP.List"}, "AllowContentTypes": true, "BaseTemplate": 100, "ContentTypesEnabled": true, "Description": "{{$description}}", "Title": "{{$title}}"}'