Returning.AI
  1. Channels
Returning.AI
  • Returning.AI
    • APIs
      • Authentication
      • System API
        • Auth
          • Secure Auth
          • register
          • verify email
          • login
        • Server
          • create new server
          • get my servers
          • update server
          • role list of server
          • channel list of server
        • Channel
          • get channels list
          • create new channel
          • update channel
          • delete channel
        • Role
          • create new role
          • update role
          • delete role
          • add role to a user on a server
          • remove role from a user on a server
          • get role list of user on a server
        • Badge
          • get badges list
          • create new badge
          • update badge
          • delete badge
          • award badge to user
          • remove badge from user
      • Integration API
        • Users
          • Get Users with Filters
          • Create New User
          • Get User Data
          • Manage User Account
          • Get User Gamification History
          • Get User Gamification Stats
          • Bulk Import
          • Bulk Update
        • Messages
          • Send Message
          • Reply Message
          • React Message
        • Channels
          • Get Channels List
        • User Api Key
          • Get User Api Key
          • Post User Api Key
          • Update User Api Key
          • Delete Endpoint
          • api key info
      • Application API
        • Community Users
          • Get community users
          • Get user
        • User Fields
          • Get All User Fields
          • Get specific user field
          • Create Custom User Field
          • Update user field
          • Delete user field
        • User Field Histories
          • Get all user field histories in a community
          • Get user field histories for a specific field
          • Get user field histories for a specific user
          • Get user field histories of specific user field and user
          • Create user field history for specific user
    • Channels
      • Iframe
      • Iframe deep links
    • Events
      • Outgoing webhooks
        • Encryption
        • User Joins Server
        • User Visits server
        • New Message Posted Anywhere
        • New Message Posted To channel
        • Purchased Store Item
      • Incoming webhooks
        • API Keys & Encryption
        • Send message into channels
        • Update Custom User Fields
        • Update In-game currency
    • Widgets
      • Channels
      • Leaderboard
      • Milestone
      • Socials
      • Store
  1. Channels

Iframe

Display any website or iframe content directly within a
channel.

Embeds#

1.
Insert the Iframe code in the input box directly,
Example:
<iframe 
    src="https://prod-widgets.returning.ai/channel-   widget/NjUwN2M4NjFkJkYTYxNTAzYkY2U5/open-widget" 
    id="returningAiWidgetIframe" 
    frameborder="0" 
    width="100%" 
    height="100%">
</iframe>
2.
Insert a URL to embed
https:// must be included in the URL.
Example: 
https://returning.ai/

Iframe listener script#

Capture user data (e.g., user ID) when someone accesses a channel, enabling analytics or personalized experiences.
Paste the provided script in the header of the site, when a user visits the channel, their user information will be send over.
Payload:
{
    "displayName": "John Doe",
    "email": "johndoe@gmail.com",
    "isGuest": undefined,
    "language": "en",
    "userID": "1234",
    "username": "johndoe"
}
Modified at 2025-09-10 08:03:52
Previous
Channels
Next
Iframe deep links