List documents
Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.
GET
Uploaded documents, newest first, paged by cursor; status=needs_review is the review queue, kind and project narrow it. Owners and admins only.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidstatus?string|nullkind?string|nullproject?|nullcursor?string|nulllimit?integerDefault
50Request fulfilled, document follows
application/json- response
items*array<>needs_review*integernext_cursor?string|nullcurl -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"}