Skip to main content
The First Step
Jan 12, 2021 12:46 AM UTC
Question

Are all attachment IDs in the Message Store unique?

Quick question regarding the RingCentral API. I'd like to cache a bunch of attachment object in my local storage using the attachment ID's as a filename. Are all the ID's unique for an account?

    3 replies

    PhongVu
    Community Manager
    Community Manager
    Jan 12, 2021 4:23 PM UTC

    I think they are unique ids. I will check with the team to confirm but I believe it is and it's safe for you to use as unique name in your local storage.

    Employee
    Jan 12, 2021 6:34 PM UTC

    Yes, it's unique.

    The First Step
    Jan 12, 2021 10:03 PM UTC

    Attachments always have different and unique ids as it helps to differentiate between each attachment and with a particular attachment id we can retrieve content information via API by passing the id as parameter