Each RPI Realtime endpoint method is linked to a role. Roles are used in both types of authentication supported at the RPI Realtime API:
• Static Token
• OAuth
Each of these is discussed separately below.
More:
Static Token Authentication
OAuth Authentication