Sign in

Create a list item

documented

Add a new item to the specified list.

POST {site_url}/_api/web/lists/getbytitle('{list_name}')/itemsListsno 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/getbytitle('{{$list_name}}')/items" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json;odata=verbose" \
  -H "Content-Type: application/json;odata=verbose" \
  -d '{\"__metadata\": {\"type\": \"SP.Data.{{$list_name}}ListItem\"}, \"Title\": \"{{$title}}\", \"Description\": \"{{$description}}\"}'