These docs are for AuthRocket 1. Looking for AuthRocket 2 docs?

What is a reference?

Q: In AuthRocket, what is a reference?


A: Reference is an indexed custom attribute. That is, while you can add multiple, named custom attributes (via custom), those are unindexed. reference is one additional custom attribute that’s indexed and searchable.

It’s most often used to map to a record ID in your app. For example, user.reference in AuthRocket might map to account.id in your system. You could query for it using Get Users:

GET /v1/users?reference=abcd

Tagged with: reference custom attributes

Questions? Find a Typo? Get in touch.