Set Email Inbox
documentedConfigure an Omnichannel email inbox.
POST /api/v1/email-inboxNotificationsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{ROCKET_CHAT_BASE_URL}}/api/v1/email-inbox" \
-X POST \
-H "X-Auth-Token: {{OAUTH2_ACCESS_TOKEN}}" \
-H "X-User-Id: {{ROCKET_USER_ID}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "email": "{{$email}}", "active": {{$active}}, "description": "{{$description}}", "senderInfo": "{{$senderInfo}}", "department": "{{$department}}", "smtp": {"password": "{{$smtp_password}}", "port": {{$smtp_port}}, "secure": {{$smtp_secure}}, "server": "{{$smtp_server}}", "username": "{{$smtp_username}}"}, "imap": {"password": "{{$imap_password}}", "port": {{$imap_port}}, "secure": {{$imap_secure}}, "server": "{{$imap_server}}", "username": "{{$imap_username}}"}'"