Documents
Documents for a user
Section titled “Documents for a user”/selfservice/v2/$FLOCK/documents/
This endpoint returns a list of documents for the current user.
| Parameter | Required | Description |
|---|---|---|
| document_types | No | List of document types to filter: bookmarked, invoices, liked, membership_cards, membership_certificates, purchased, receipts, downloaded |
| unique | No | Default false. If true, only unique documents will be returned |
http GET https://sls-api.sheepcrm.com/selfservice/v2/$FLOCK/documents/ document_types==liked document_types==invoices "Authorization: Bearer $APP_API_TOKEN"
{ ...}