Skip to content
Skip to main content

Batch create, update, and delete events

Calendar
  • Events batch endpoint. POST /v3/grants/<NYLAS_GRANT_ID>/events/batch creates, updates, and deletes up to 50 events on one calendar in a single request, for Google and Microsoft grants. Each operation takes the same body as the single-event request, and returns the same event or error.
  • A result for each operation. The response is 200 when every operation succeeds, and 207 Multi-Status when one or more fail. Operations that succeeded aren’t rolled back. Each failed result says whether it’s safe to retry.
  • SDK support. events.batch() is in the Node.js SDK v8.5.0, Python SDK v6.19.0, Ruby SDK v6.10.0, and Java SDK v2.18.2.

Each operation counts against the provider’s rate limits in the same way as a single-event request. See Create, update, and delete events in one request.