1.6 KiB
1.6 KiB
Team Chat Get Started
This is the fast path for Zoom Team Chat integrations.
Step 1: Pick Integration Type First
-
User type (Team Chat API)
- Auth:
authorization_code(User OAuth) - Endpoint family:
/v2/chat/users/... - Messages appear as user
- Auth:
-
Bot type (Chatbot API)
- Auth:
client_credentials - Endpoint family:
/v2/im/chat/messages - Messages appear as bot
- Auth:
If this decision is wrong, auth/scopes/endpoints will all mismatch.
Step 2: Set Up App + Credentials
- Create General App (OAuth) in Zoom Marketplace.
- Configure scopes and feature settings.
- Gather credentials from app config:
ZOOM_CLIENT_IDZOOM_CLIENT_SECRETZOOM_BOT_JID(bot type)ZOOM_ACCOUNT_ID(bot type use cases)
See: concepts/environment-setup.md
Step 3A: User Type (Team Chat API)
- Implement OAuth code flow.
- Call
POST /v2/chat/users/me/messageswith bearer token. - Use OAuth endpoints correctly:
- authorize:
https://zoom.us/oauth/authorize - token exchange:
https://zoom.us/oauth/token
- authorize:
See:
examples/oauth-setup.mdexamples/send-message.md
Step 3B: Bot Type (Chatbot API)
- Get token via
grant_type=client_credentials. - Call
POST /v2/im/chat/messages. - Add webhook endpoint for interactive events.
- Use
https://zoom.us/oauth/tokenforclient_credentialstoken requests.
See:
examples/chatbot-setup.mdconcepts/webhooks.mdreferences/message-cards.md
Step 4: Validate with a Minimal Smoke Test
- User type: send one plain text channel message.
- Bot type: send one plain text bot message.
Then add advanced features (buttons/forms/slash commands).