wildix-auth
Wildix Authentication
Authenticates users with Wildix apps (Collaboration 7, x-bees, x-hoppers) via AWS Cognito CUSTOM_AUTH. Tokens stored per-email in <BASE_DIR>/tokens/.
Which Token to Use
Use IdToken for all Wildix API calls (not AccessToken). Expires in 1 hour.
Always retrieve it via get-token.sh — auto-refreshes when expired, validates via API after refresh:
ID_TOKEN=$(bash <BASE_DIR>/scripts/get-token.sh "<email>" "<BASE_DIR>")
Exit code 2 = token rejected by API → go to Mode 2 (re-auth).
Mode 1: Get a Valid Token (tokens already exist)
More from wildix/agent-skills
wildix
Router for Wildix x-bees skills. Use when the user wants to work with x-bees chats, channels, conferences, or messaging — reads, sends, lists, summarizes, or fetches conference details.
7wildix-get-chat
Fetch x-bees chat info by raw channel ID, inbox URL, or full channelId. Use when you have a URL like https://app.x-bees.com/inbox/<rawId> or a bare rawId and need channel details (name, type, members) before fetching messages or sending.
7wildix-chats-overview
Use when asked to show messages, get an overview, or summarize x-bees chats for today, yesterday, a specific date, or a date range (e.g. current week)
7wildix-get-last-chats
Use when asked to list chats, show the inbox, browse recent conversations, or find a chat by name in x-bees, collaboration 7, or x-hoppers. Returns the user's chat list sorted by last activity. NOT for resolving a chat by its ID — use wildix-get-chat for that.
7wildix-get-conference
Fetch details for one or more x-bees/Wildix conferences by ID from wda.wildix.com. Use when you have a conferenceId and need participant list, duration, transcription status, recording availability.
7wildix-get-messages-in-chat
Use when asked to read messages in a chat, show chat history, fetch conversation messages, or get what was said in a specific x-bees, collaboration 7, or x-hoppers chat.
7