Logo
Search
Docs

Shared with me list

GET https://app.sulus.ai/api/v1/kb/shared-with-me

List documents other people have shared with the current user

Authentication

Send a bearer token created on your dashboard's Developer page:

Authorization: Bearer <YOUR_API_KEY>

Errors

StatusMeaningBody
403 Policy denied — outside your organization, or you cannot write to this resource {"message":"This action is unauthorized."}
401 Missing or invalid bearer token
403 Feature knowledge_docs not enabled for the account

Notes

  • Ordered by shared_at, most recent first. shared_by reflects whoever most recently changed the share, not necessarily the original inviter.
curl --request GET \
  --url https://app.sulus.ai/api/v1/kb/shared-with-me \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
import requests

url = "https://app.sulus.ai/api/v1/kb/shared-with-me"
headers = {"Authorization": "Bearer <YOUR_API_KEY>"}

response = requests.get(url, headers=headers)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	url := "https://app.sulus.ai/api/v1/kb/shared-with-me"
	req, _ := http.NewRequest("GET", url, nil)
	req.Header.Add("Authorization", "Bearer <YOUR_API_KEY>")
	res, _ := http.DefaultClient.Do(req)
	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)
	fmt.Println(string(body))
}
Response 200
{
    "data": [
        {
            "id": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
            "knowledge_base_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
            "title": "Return Policy",
            "status": "published",
            "char_count": 73,
            "updated_at": "2026-07-30T14:35:19.000000Z",
            "shared_at": "2026-07-30T15:00:00.000000Z",
            "can_view": true,
            "can_edit": false,
            "shared_by": {
                "id": 42,
                "name": "Jane Cooper",
                "email": "[email protected]"
            },
            "knowledge_base": {
                "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                "name": "My Library"
            }
        }
    ]
}