Index SharePoint Site
Changed onIndex a SharePoint site's document library into a collection (headless).
Uses Microsoft Graph app-only auth (Entra ID App Registration with Sites.Selected or Sites.Read.All application permission) — no per-user OAuth. Scope to a folder or single file with the /directory or /file variants.
Headers:
- Authorization: Bearer {api_key}
- X-Organization-ID: Organization UUID
- Idempotency-Key: UUID for request deduplication (optional)
Returns: { job_id, status: "pending" }
Request
- Base URLhttps://api.captain.dev
- URLhttps://api.captain.dev/v2/collections/{collection_name}/index/sharepoint
- Authnone declared
Path parameters
Headers
Request body
Response
Successful Response
Changes
- breaking
the
request property type changed fromobjectto no type - warning
removed the request property
/ - warning
removed the request property
/ - info
added the new
captain-jevenum value to the request property - info
added the new
captain-presidioenum value to the request property - info
added
subschema #2to therequest propertyoneOflist
- breaking
- breaking
removed the enum value
captain-jevof the request property - breaking
removed the enum value
captain-presidioof the request property - breaking
the
request property type changed frombooleantoobject - breaking
the response's body type changed from no type to
objectfor status - info
added the new optional request property
/ - info
added the new optional request property
/ - info
the
request property default value changed fromcaptain-jevtokev - info
the
request property default valuetruewas removed - info
added the new
jevenum value to the request property - info
added the new
kevenum value to the request property - info
added the new
presidioenum value to the request property - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking