Documents

Documents for a user

/selfservice/v2/$FLOCK/documents/

This endpoint returns a list of documents for the current user.

document_types

optional, list of document types to filter bookmarked, invoices, liked, membership_cards, membership_certificates, purchased, receipts, downloaded

unique

optional - 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"

    {
        ...
    }