For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
ReferenceGuidesClick-to-Call
ReferenceGuidesClick-to-Call
  • Core
    • Overview
  • SignalWire Client
    • Overview
    • Notifications
    • Client
      • Address Namespace
      • Chat Namespace
      • Conversation Namespace
        • connect
        • dial
        • disconnect
        • getSubscriberInfo
        • offline
        • online
        • updateToken
    • Utility functions
  • Video
    • Overview
    • LocalOverlay
    • RoomSession
    • RoomSessionDevice
    • RoomSessionPlayback
    • RoomSessionRecording
    • RoomSessionScreenShare
    • RoomSessionStream
    • RoomDevice
    • RoomScreenShare
  • Chat
    • Overview
    • Client
    • ChatMember
    • ChatMemberEntity
    • ChatMessage
    • ChatMessageEntity
  • PubSub
    • Overview
    • Client
    • PubSubMessage
  • WebRTC
    • Overview
LogoLogoSignalWire Docs
Log inSign up
Support
On this page
  • getSubscriberInfo
SignalWire ClientClientMethods

getSubscriberInfo

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous

offline

Next
Built with

getSubscriberInfo

  • getSubscriberInfo(): Promise<Object>

Get information about the subscriber that is currently logged in.

Returns

Promise<Object>

Example

1const client = SignalWire({ token: /* the access token of the currently logged in user */ })
2console.log(await client.getSubscriberInfo())
1{
2 "id": "0bc4b6fe-f388-4a6b-bee3-56096e9420ac",
3 "email": "john@example.com",
4 "first_name": "John",
5 "last_name": "Doe",
6 "display_name": "John Doe",
7 "job_title": "Engineer",
8 "time_zone": "PST",
9 "country": "US",
10 "region": "East",
11 "company_name": "Example Inc",
12 "app_settings": {
13 "display_name": "Cool Application",
14 "scopes": ["read", "write"]
15 }
16}