List document owners

Users you can assign as document owner when uploading.

GET https://cotlet.dev/api/v1/dext/document-owners

read

Returns the users shown in the Document owner dropdown of Add documents. Use the owner_id as document_owner in upload_document. None is always allowed for costs such as rent.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/dext/document-owners \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("dext", "list_document_owners")
Node.js
const result = await cotlet.call('dext', 'list_document_owners');
CLI
cotlet call dext list_document_owners

Example response

JSON

{
  "owners": [
    {
      "owner_id": "u_41",
      "name": "Dana Reyes"
    },
    {
      "owner_id": "u_42",
      "name": "Chris Wong"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.