POST/bots/{botId}/domains/{domainId}/members
Allows a user in a bot's domain to use the bot.
Caution
- Users will be notified if a bot is added to a domain under Service > Bot in the LINE WORKS Admin, but they will not if a bot domain is added using the API.
- The following API operations must not be called as parallel for same bot. Add, Update, Partially update, Delete, Add a domain, Update a domain, Partially update a domain, Delete a domain, Add a bot user, Delete a bot user
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
bot
| Parameter | Type | Description |
|---|---|---|
| botId | integer | Bot ID required example : 2000001 format : int64 |
| domainId | integer | Domain ID required example : 10000001 format : int64 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Property | Type | Description |
|---|---|---|
| userId | string | ID to identify users
required |
example
1{2 "userId": "d191e339-3299-44e6-7a44-04d9cb01a5e0"3}OK