Syndai Docs

List documents

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/external/coding/customers/{customer_id}/documents

Uploaded documents, newest first, paged by cursor; status=needs_review is the review queue, kind and project narrow it. Owners and admins only.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid

Query Parameters

status?string|null
kind?string|null
project?|null
cursor?string|null
limit?integer
Default50

Response Body

Request fulfilled, document follows

application/json
  1. response
items*array<>
needs_review*integer
next_cursor?string|null
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents'
Example Response
{  "items": [    {      "amount_minor": 0,      "confidence": 0,      "created_at": "2019-08-24T14:15:22Z",      "currency": "string",      "duplicate_candidates": 0,      "entity_id": "8161163a-f227-466f-bc01-090a01e80165",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "is_duplicate": false,      "kind": "string",      "matched_transaction_id": "9a05f196-d636-4dd6-a334-fee9d01e4b49",      "method": "string",      "name": "string",      "occurred_on": "string",      "pages": 0,      "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",      "reviewed_at": "2019-08-24T14:15:22Z",      "sha256": "string",      "size_bytes": 0,      "status": "string"    }  ],  "needs_review": 0,  "next_cursor": "string"}
Was this page helpful?