Skip to main content
The First Step
January 20, 2021
Question

Do attachments has an API endpoint for metadata?

The attachment GET operation is rated a "Medium", but all I want to do is get the metadata for everything I've already cached without disturbing my rate limits. What's the best way to get cache message types?

    1 reply

    PhongVu
    Community Manager
    Community Manager
    January 20, 2021

    What metadata you are looking for. Reading the message store you will get a list of messages with the attachments object in each message. The attachments contains metadata about the attachments. Isn't that what you want to get?

    screen-shot-2021-01-19-at-83204-pm.png