Actions54
- Auth Signup Send OTP
- Auth Signup Verify
- Auth Logout
- Health
- Me
- Profile
- Channel Secrets
- Rotate Swagger Portal
- Sessions List
- Session Create
- Session Update
- Session Delete
- Session Disconnect
- Get Channel Secret
- Rotate Channel Secret
- Session Status
- Session Details
- Session QR
- Refresh Session QR
- Session Incoming
- Session Events
- Session Calls
- Download Inbound Media
- Set Webhook
- Send Raw Message
- Send Text
- Send Media
- Send List
- Send Chat State
- Typing Indicator On
- Typing Indicator Off
- Group Create
- Group Get
- Group Add Participants
- Group Remove Participants
- Group Promote Participants
- Group Demote Participants
- Group Set Subject
- Group Set Description
- Group Invite Code
- Group Revoke Invite
- Group Leave
- Group Set Add Members Admins Only
- Group Set Messages Admins Only
- Group Set Info Admins Only
- Group Set Picture
- Group Delete Picture
- Group Membership Requests
- Group Membership Approve
- Group Membership Reject
- V1 Sessions List
- V1 Send Message
- V1 Send List
- V1 Send Chat State
Get Channel Secret
AI-generatedSummary
Retrieve the channel secret for a specific session, optionally overriding the session ID used for the request.
Inputs
- Session ID Override — Provide a different session ID than the default credential session ID to use for retrieving the channel secret.
- Channel Secret Override — Provide a different channel secret than the default credential channel secret (not used to override in this operation but available as input parameter).
Output shape
a single JSON object representing the channel secret information for the specified session
If 'Session ID Override' is set, it uses that session ID; otherwise, it uses the credential's session ID. Returns the session's channel secret details from the TNEENWH API. Errors will throw or return an error object if 'Continue On Fail' is enabled.
Examples
Example 1: Retrieve channel secret for default session
Does not set 'Session ID Override'; uses credential session ID automatically.
Example 2: Retrieve channel secret for specific session
Sets 'Session ID Override' to target a specific session ID.
