Robin Docs
  • Overview
  • Fundamentals
  • Messaging with Robin
    • Guides
      • How does Robin Messaging work?
      • Setting up your Robin account
      • Integrating Robin in your Nuxt.js app
      • Adding Users to your Robin App
      • What is the Robin User Token (RUT)?
      • The What and Why: Robin Keys
      • Customizing Robin for your Brand
    • SDKs for UI Kit
      • Robin with Vue
      • Robin with React
      • Robin with Flutter
    • Add Messaging with Core SDKs
      • Javascript
      • Go
      • Python
  • API Reference
  • Robin Messaging Events
  • Samples and Resources
Powered by GitBook
On this page

Was this helpful?

  1. Messaging with Robin
  2. Guides

The What and Why: Robin Keys

The idea of Robin Keys is to provide flexibility and make for a better developer experience while naming fields for your User model.

Fundamentally, the keys object consists of the three unique fields we currently have for each user — userToken, profileImage, and userName. The values of those fields should be strings you would rather refer to them as.

Here's an example:

keys: {
    userToken: 'user_token',
    profileImage: 'profile_image',
    userName: 'user_name'
},

This way, you can refer to a user’s user token as user_token, profile image as profile_image, and username as user_name.

Interesting, right? You’re welcome!

PreviousWhat is the Robin User Token (RUT)?NextCustomizing Robin for your Brand

Last updated 2 years ago

Was this helpful?