Share Point Imports
Returns a paginated list of SharePoint imports for the project, sorted by date added (newest first by default).
Bearer authentication with JWT
trueOK
No content
Unauthorized
Forbidden
GET /projects/{projectIdentifier}/sharepoint-imports HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Creates a queued SharePoint import for the project, transfers the user's stored refresh token onto the import, and enqueues the worker message.
Bearer authentication with JWT
Created
Bad Request
Unauthorized
Forbidden
POST /projects/{projectIdentifier}/sharepoint-imports HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 282
{
"items": [
{
"itemType": "site",
"siteId": "text",
"driveId": "text",
"itemId": "text",
"displayName": "text",
"webUrl": "text"
}
],
"ocrEngine": "azureDocumentIntelligence",
"ocrStrategy": "never",
"coordinateExtractionStrategy": "never",
"parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"status": "queued",
"failureReason": "text",
"failureCode": "unknown",
"itemsTotal": 1,
"dateAdded": "2026-01-01T00:00:00.000Z",
"dateStarted": "2026-01-01T00:00:00.000Z",
"dateCompleted": "2026-01-01T00:00:00.000Z",
"documentUploadObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}Returns a single SharePoint import scoped to the supplied project. Responds 404 if the import does not exist or belongs to a different project.
Bearer authentication with JWT
OK
Unauthorized
Forbidden
Not Found
GET /projects/{projectIdentifier}/sharepoint-imports/{importIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"status": "queued",
"failureReason": "text",
"failureCode": "unknown",
"itemsTotal": 1,
"dateAdded": "2026-01-01T00:00:00.000Z",
"dateStarted": "2026-01-01T00:00:00.000Z",
"dateCompleted": "2026-01-01T00:00:00.000Z",
"documentUploadObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}Returns a paginated list of the user's selections for the supplied import, in insertion order.
Bearer authentication with JWT
OK
No content
Unauthorized
Forbidden
Not Found
GET /projects/{projectIdentifier}/sharepoint-imports/{importIdentifier}/items HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
