@egain/ai-agent-sdk API Reference - v0.2.3-beta.2 / GetPortalsOptions
Interface: GetPortalsOptions
Options for ApiHelper.getMyPortals.
Hierarchy
↳
GetPortalsOptions
Table of contents
Properties
Properties
authToken
• Optional authToken: string
Authentication token (required if ApiHelper was constructed without getToken)
Inherited from
Defined in
language
• Optional language: string
Language code (e.g., "en-us", "da-dk")
Default
ts
"en-us"Inherited from
Defined in
userId
• Optional userId: string
Optional user ID for cache keying
Inherited from
Defined in
shortUrlTemplate
• Optional shortUrlTemplate: string
Optional short URL template for filtering (from agent theme)
Inherited from
GetMyPortalsOptions.shortUrlTemplate
Defined in
departmentId
• Optional departmentId: string | number
Department ID (from portal.department.id)