Skip to main content
The First Step
January 12, 2021
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
    January 12, 2021

    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
    January 12, 2021

    Yes, it's unique.

    The First Step
    January 12, 2021

    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